/* Additive book desk styling; no changes to existing Compendium theme. */
.book-editor-shell { max-width: 1270px; }
.book-editor-shell h1 { margin-bottom: 15px; }
.book-editor-shell button { font: 700 .91rem Arial,sans-serif; cursor:pointer; border:1px solid #004d4f; background:#004d4f; color:#fff; padding:12px 16px; border-radius:3px; }
.book-editor-shell button:hover { filter:brightness(1.12); }
.book-editor-shell button:disabled { opacity:.55; cursor:wait; }
.book-editor-shell .books-secondary { background:transparent;color:#004d4f; }
.book-editor-shell .books-quiet { background:transparent;color:#004d4f;border-color:transparent; text-decoration:underline; }
.books-login { margin:35px 0;max-width:600px; padding:25px;border:1px solid #597c79;background:rgba(255,253,247,.5); }
.book-editor-shell input,.book-editor-shell select,.book-editor-shell textarea { color:#183837; background:#fffdf7; border:1px solid #839a92; border-radius:3px; padding:11px; font:1rem Arial,sans-serif; max-width:100%; box-sizing:border-box; }
.book-editor-shell input[type=checkbox] { width:17px; height:17px; accent-color:#004d4f; }
.book-editor-shell textarea { resize:vertical; }
.book-editor-shell label { display:flex;flex-direction:column;gap:7px;font:700 .88rem Arial,sans-serif; }
.book-editor-shell label input,.book-editor-shell label textarea,.book-editor-shell label select { width:100%; }
.books-inline { display:flex;gap:12px;align-items:center;flex-wrap:wrap; }
.books-inline input { flex:1 1 230px; }
.books-login small,.books-small {font: .77rem/1.4 Arial,sans-serif; color:#50635c; font-weight:400;}
.books-login small {display:block;margin-top:10px;}
.books-layout {display:grid;grid-template-columns:minmax(210px,290px) minmax(0,1fr);align-items:start;gap:24px;margin-top:26px;}
.books-toolbar {display:flex;gap:10px;flex-wrap:wrap;margin-top:32px;}
.books-sidebar,.books-editor {border:1px solid rgba(0,77,79,.35);padding:25px;background:rgba(255,253,247,.44); min-width:0;}
.books-sidebar h2 {margin:0 0 18px;font-size:1.9rem;}
.books-sidebar input {width:100%;margin:6px 0 10px;}
.books-results {max-height:640px;overflow:auto;display:grid;gap:2px;}
.book-editor-shell .books-results button { border:0; border-radius:0;text-align:left; display:flex;flex-direction:column;gap:5px; background:transparent;color:#004d4f; padding:12px 9px; }
.book-editor-shell .books-results button:hover,.book-editor-shell .books-results button[aria-current="true"]{background:#f5e2a6;}
.books-results small {font-weight:400;color:#5b6b65;}
.books-editor-title {display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:16px;}
.books-editor-title h2 {margin:6px 0;font-size:2.3rem;}
.books-status {font: .73rem Arial,sans-serif;border:1px solid #9caa9f;padding:7px 11px;border-radius:22px;white-space:nowrap;}
.books-editor form {display:grid;gap:19px;}
.books-two,.books-three {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}
.books-three {grid-template-columns:repeat(3,minmax(0,1fr));}
.books-fieldset {border:1px solid rgba(0,77,79,.32);padding:17px;margin:0;}
.books-fieldset legend {font:700 .84rem Arial,sans-serif;padding:0 8px;color:#004d4f;}
.books-checks {display:flex;flex-wrap:wrap;gap:22px;margin-bottom:20px;}
.books-checks label {flex-direction:row;align-items:center;}
.books-lookup {align-items:center;}
.books-lookup-results {border:1px solid rgba(0,77,79,.32); padding:10px;display:grid;gap:6px;}
.books-lookup-results[hidden] {display:none;}
.book-editor-shell .books-lookup-results button {text-align:left;background:transparent;color:#004d4f;border:0;padding:10px;display:grid;gap:5px;}
.book-editor-shell .books-lookup-results button:hover {background:#f5e2a6;}
.books-more {border:1px solid rgba(0,77,79,.32);padding:14px;}
.books-more summary {font:700 .92rem Arial,sans-serif;cursor:pointer;color:#004d4f;margin:0 0 12px;}
.books-more .books-three {margin-top:12px;}
.books-calculated {display:grid;gap:4px;align-content:end;font:.8rem Arial,sans-serif;}
.books-calculated strong {font:2.1rem Garamond,serif;color:#004d4f;}
.books-calculated small {color:#64766c;}
.books-actions {display:flex;gap:10px;flex-wrap:wrap;}
.books-feedback {min-height:1.4em;font:.9rem/1.5 Arial,sans-serif;color:#004d4f;margin:0;}
.books-feedback.error {color:#a02e2e;}
.required {color:#9a2525;}
@media(max-width:880px){.books-layout{grid-template-columns:1fr}.books-results{max-height:200px}.books-sidebar,.books-editor{padding:17px;}}
@media(max-width:650px){.books-two,.books-three{grid-template-columns:1fr}.books-login{padding:17px}.books-checks{gap:13px}}
/* Small call-to-action on the public Books archive page. */
.comp-book-manager-link {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:18px 0 28px;}
.comp-book-manager-link a {display:inline-block;background:#004d4f;border:1px solid #004d4f;color:white;font:700 .95rem Arial,sans-serif;padding:13px 18px;text-decoration:none;border-radius:3px;}
.comp-book-manager-link a:hover {filter:brightness(1.12);}
.comp-book-manager-link span {font:.82rem Arial,sans-serif;color:#526762;}
