/* A. S. Bookbinding Document Studio V38.55 — native actions + safe large-document mode */
#ds55PageNav{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0;padding:9px 12px;border:1px solid #cfd8e3;border-radius:10px;background:#f8fbff;position:sticky;top:0;z-index:4;box-shadow:0 2px 9px rgba(25,42,61,.08)}
#ds55PageNav.hidden{display:none}
#ds55PageNav input{width:70px;text-align:center;padding:7px 8px}
#ds55PageNav .ds55-safe-label{display:flex;align-items:center;gap:7px;margin-right:8px;color:#174d35;font-weight:700}
#ds55PageNav .ds55-safe-dot{width:9px;height:9px;border-radius:50%;background:#2c9b68;box-shadow:0 0 0 4px rgba(44,155,104,.14)}
#ds55PageName{font-weight:700;color:#1d3148;min-width:110px;text-align:center}
body.ds55-large-document #ds52Editor{contain:layout style paint;min-height:10.3in}
body.ds55-large-document #ds52Editor section[data-pdf-page]{content-visibility:auto;contain-intrinsic-size:9.5in}
body.ds55-large-document #ds54Spellcheck+*{opacity:.65}
.ds55-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 4px}
.ds55-choice{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:4px;text-align:left!important;min-height:78px;padding:14px!important;border:1px solid #ccd6e1!important;border-radius:10px!important;background:#fff!important;color:#17283a!important}
.ds55-choice:hover{border-color:#7d98b4!important;box-shadow:0 4px 14px rgba(31,55,78,.1)}
.ds55-choice.primary{background:#153552!important;color:#fff!important;border-color:#153552!important}
.ds55-choice b{font-size:15px}.ds55-choice span{font-size:12px;opacity:.78;line-height:1.35}
.ds55-compose{display:grid;gap:12px}.ds55-compose label{display:grid;gap:5px;font-weight:700;color:#24364a}.ds55-compose input,.ds55-compose textarea,.ds55-compose select{width:100%;font:inherit}
.ds55-compose-row{display:grid;grid-template-columns:1fr;gap:10px}.ds55-cc-row{grid-template-columns:1fr 1fr}
.ds55-attachment-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #cad5e0;background:#f5f8fb;border-radius:10px;padding:11px 13px}
.ds55-attachment-bar>div{display:flex;flex-direction:column;gap:3px}.ds55-attachment-bar span{font-size:12px;color:#526579}.ds55-attachment-bar select{max-width:220px}
.ds55-send-progress{min-height:22px;padding:6px 0;color:#36546f;font-size:13px}.ds55-send-progress .error{color:#a3262d;font-weight:700}
.ds55-share-head{display:flex;flex-direction:column;gap:3px;padding:4px 0 12px}.ds55-share-head b{font-size:17px}.ds55-share-head span{color:#5f6f80;font-size:13px}
.ds55-share-format{display:flex;align-items:center;gap:10px;border-top:1px solid #e1e6ec;border-bottom:1px solid #e1e6ec;padding:10px 0;margin-bottom:12px;font-weight:700}.ds55-share-format select{margin-left:auto;max-width:260px}
.ds55-confirm{display:flex;align-items:flex-start;gap:16px;padding:8px 0 14px}.ds55-confirm-icon{font-size:34px}.ds55-confirm h3{margin:0 0 5px}.ds55-confirm p{margin:0;color:#556579;line-height:1.45}
.ds55-trash-list{display:grid;gap:9px;max-height:55vh;overflow:auto}.ds55-trash-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #d7dfe8;border-radius:9px;padding:11px}.ds55-trash-row>div:first-child{display:flex;flex-direction:column;gap:3px}.ds55-trash-row small{color:#6b7987}.ds55-trash-row>div:last-child{display:flex;gap:7px;flex-wrap:wrap}
.ds54-filebar button{white-space:nowrap}.ds54-save-state.error{color:#a3262d;background:#fff0f0;border-color:#e3b4b4}
.ds54-file-item .ds54-file-actions button{min-width:31px}
@media(max-width:900px){.ds55-choice-grid{grid-template-columns:1fr}.ds55-cc-row{grid-template-columns:1fr}.ds55-attachment-bar{align-items:flex-start;flex-direction:column}.ds55-attachment-bar select{max-width:none}#ds55PageNav{flex-wrap:wrap}}
