/* Fill-up book: scoped layout and accessible form controls. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.book-toolbar>div:first-child{display:block}
.book-toolbar h2{font-size:26px;line-height:1.3;margin-bottom:8px}
.book-toolbar>div:first-child>p{font-size:15px}
.book-toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.book-toolbar .secondary-btn:disabled{cursor:default}
.book-stats .stat-card strong>span{font:500 14px 'DM Sans',sans-serif;letter-spacing:0;white-space:nowrap}
.book-stats .stat-card small{font-size:14px;line-height:1.45}
.book-stats .stat-card>.muted{line-height:1.6}
.book-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.book-history-heading>.muted{font-size:14px}
.book-table td:first-child>.muted,.book-table td:nth-child(3)>.muted{display:block;max-width:340px;white-space:normal;font-size:13px;line-height:1.6;margin-top:5px}
.book-tank{display:inline-block;font-size:12px;line-height:1.4;padding:4px 7px;border-radius:5px;background:#eef4e6;color:#53664a;margin-top:7px}
.book-table .book-row-actions{white-space:normal;min-width:160px}
.book-table .book-row-actions>button{min-height:40px;margin:2px;font-size:14px;padding:8px 10px;text-decoration:none}
.book-table .book-row-actions>.danger-text{color:#984c3c}
.book-table tr:last-child td{border-bottom:0}
.book-privacy{font-size:14px;line-height:1.8;margin-top:20px;max-width:900px}
.book-history>.empty-state{border:0;padding:38px 20px}
.book-history .empty-illustration{display:grid;place-items:center;background:var(--lime-soft,#eff8e3);width:68px;height:68px;border-radius:20px;font-size:32px;margin:0 auto 20px}
.book-dialog{overflow-y:auto;box-shadow:0 25px 100px #1323213b}
.book-dialog .dialog-header .icon-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;flex-shrink:0;font-size:22px}
.book-dialog .dialog-header .icon-btn:hover{background:#f1f5ed}
.book-dialog .field{font-size:16px;line-height:1.5}
.book-dialog .field input,.book-dialog .field select{font-size:16px}
.book-dialog .field>small{font-size:13px;font-weight:400;line-height:1.6}
.book-dialog .field input[aria-invalid=true]{border-color:#a34c38;background:#fff9f7}
.checkbox-row{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--border,#e6ebe5);border-radius:10px;background:#fafcf7;font-size:16px;line-height:1.5;cursor:pointer}
.checkbox-row>input{width:21px;height:21px;flex-shrink:0;accent-color:#77a93e;margin:2px 0 0}
.checkbox-row small{display:block;font-size:13px;line-height:1.6;margin-top:5px}
.book-dialog .field-error{padding:12px 14px;border-radius:8px;background:#fff2ed;font-size:14px;line-height:1.6;margin-top:16px}
.book-dialog .dialog-actions{border-top:1px solid var(--border,#e6ebe5);padding-top:20px}
.book-dialog>p{font-size:16px;line-height:1.7}
@media(max-width:760px){.book-toolbar h2{font-size:23px}.book-toolbar>div:first-child>p{font-size:14px}.book-toolbar .book-toolbar-actions{width:100%;margin-top:10px}.book-toolbar .book-toolbar-actions>button{flex:1;font-size:14px}.book-table td{padding-block:15px}.book-table td:first-child>.muted{min-width:170px;max-width:220px}.book-table .book-row-actions{min-width:130px}.book-stats .stat-card small{font-size:13px}.book-privacy{font-size:13px}.book-dialog .book-form-grid{grid-template-columns:1fr}.book-dialog .dialog-header h2{font-size:21px}.book-dialog .dialog-actions>button{flex:1;font-size:14px;padding-inline:12px}}

.book-comparison{display:block;max-width:300px;margin-top:10px;padding:9px 10px;background:#f3f8eb;border-radius:8px;font-size:13px;line-height:1.6;white-space:normal;color:#405438}
.book-comparison>strong,.book-comparison>span{display:block}
.book-comparison-note{display:grid;gap:5px;margin:0 0 18px;padding:14px 16px;border:1px solid #d9e7c8;border-radius:10px;background:#f5f9ef;font-size:14px;line-height:1.6;color:#405438}
.book-comparison-note>strong{font-size:15px}.book-comparison-note>small{font-size:13px;color:#5b6756}
@media(max-width:760px){.book-toolbar .book-toolbar-actions>[data-simulate-fillup]{flex-basis:100%}.book-comparison{min-width:175px}.book-table .book-row-actions>button{min-height:44px}}
