.book-workspace [hidden]{display:none!important}
.book-intro{padding-bottom:68px}
.book-workspace{margin-bottom:88px}
.book-import-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:28px;margin-top:28px;padding:28px 0;border-top:1px solid var(--line)}
.book-import-grid>div{min-width:0}
.book-import-grid label{display:block;margin-bottom:12px}
.book-import-grid input[type=file]{display:block;width:100%;padding:14px;border:1px solid #405260;border-radius:8px;background:var(--panel);color:var(--text);font:inherit;font-size:13px}
.book-import-grid input[type=file]::file-selector-button{margin-right:14px;background:var(--teal);color:var(--bg);border:0;border-radius:5px;padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer}
.book-example{padding-left:28px;border-left:1px solid var(--line)}
.book-example p{font-size:13px;line-height:1.6;color:var(--muted);margin:14px 0}
.book-button{min-height:44px;padding:10px 17px;border:1px solid var(--teal);border-radius:7px;background:var(--teal);color:var(--bg);font:700 12px "Segoe UI",system-ui,sans-serif;cursor:pointer}
.book-button:hover{filter:brightness(1.1)}
.book-button-secondary{background:transparent;color:var(--teal)}
.book-error{padding:14px 17px;border:1px solid var(--red);border-radius:8px;background:#4d222540;color:var(--red);font-size:13px}
.book-preview{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;background:#14332f;border:1px solid #43806f;border-radius:9px}
.book-preview p{font-size:15px;line-height:1.5;margin:9px 0}
.book-preview small{color:var(--muted);line-height:1.5}
.book-preview .book-button{flex-shrink:0}
.book-preview-actions{display:flex;flex-wrap:wrap;justify-content:end;gap:10px}
.book-state{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0}
.book-state p{font-size:12px;color:var(--muted)}
.book-empty{text-align:center;border:1px dashed #415262;border-radius:12px;padding:62px 20px;color:var(--muted)}
.book-empty span{display:block;font-size:38px;color:var(--teal);margin-bottom:14px}
.book-empty h3{font:700 24px Manrope,"Segoe UI",sans-serif;letter-spacing:-.04em;color:var(--text);margin:0 0 8px}
.book-empty p{margin:0;font-size:13px}
.book-summary{display:flex;justify-content:space-between;gap:26px;align-items:start;padding:25px 0;border-top:1px solid var(--line)}
.book-summary h3{font:700 22px Manrope,"Segoe UI",sans-serif;letter-spacing:-.04em;margin:0 0 10px}
.book-summary p:not(.eyebrow){font-size:12px;line-height:1.5;color:var(--muted);margin:0;max-width:410px}
.book-totals{display:flex;flex-wrap:wrap;justify-content:end;gap:10px}
.book-total{min-width:180px;padding:15px 18px;background:var(--panel);border:1px solid var(--line);border-radius:8px}
.book-total span{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}
.book-total strong{font:700 20px Manrope,"Segoe UI",sans-serif;color:var(--teal)}
.book-workspace .table-scroll{max-height:460px;overflow:auto}
.book-workspace table{min-width:850px}
.book-table-hint{display:none;font-size:11px;color:var(--muted);margin:0 0 12px}
.book-method{padding-top:0}
@media(max-width:800px){.book-import-grid{grid-template-columns:1fr}.book-example{padding:0;border:0}.book-summary{display:block}.book-totals{justify-content:start;margin-top:22px}}
@media(max-width:670px){.book-table-hint{display:block}}
@media(max-width:550px){.book-preview{display:block}.book-preview-actions{justify-content:start;margin-top:16px}.book-state{align-items:start}.book-total{min-width:0;width:100%}}
