:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.book-detail-segment{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;transition:background .15s}.book-detail-segment:hover{background:#f8fafc}.book-detail-segment__index{color:#64748b;min-width:2rem;font-variant-numeric:tabular-nums;font-size:.875rem}.book-detail-segment__name{font-weight:500;color:#1e293b;min-width:0}.book-detail-segment__id{color:#94a3b8;font-size:.8125rem}.book-detail-segment__actions{margin-left:auto;display:flex;align-items:center;gap:.5rem;flex-shrink:0}.book-detail-btn,.book-detail-link{display:inline-flex;align-items:center;justify-content:center;padding:.4rem .75rem;font-size:.8125rem;font-weight:500;font-family:inherit;border-radius:8px;cursor:pointer;transition:background .2s,color .2s,border-color .2s,box-shadow .2s;text-decoration:none;border:none}.book-detail-btn:active,.book-detail-link:active{transform:scale(.98)}.book-detail-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.book-detail-link--primary{background:linear-gradient(135deg,#6366f1,#5b21b6);color:#fff;box-shadow:0 1px 3px #6366f140}.book-detail-link--primary:hover{background:linear-gradient(135deg,#5558e3,#6d28d9);color:#fff;box-shadow:0 2px 6px #6366f159}.book-detail-btn--primary{background:linear-gradient(135deg,#6366f1,#5b21b6);color:#fff;box-shadow:0 1px 3px #6366f140}.book-detail-btn--primary:hover:not(:disabled){background:linear-gradient(135deg,#5558e3,#6d28d9);box-shadow:0 2px 6px #6366f159}.book-detail-btn--secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.book-detail-btn--secondary:hover:not(:disabled){background:#e2e8f0;color:#334155;border-color:#cbd5e1}.book-detail-btn--outline{background:transparent;color:#6366f1;border:1.5px solid #6366f1}.book-detail-btn--outline:hover:not(:disabled){background:#eef2ff;color:#4f46e5}.book-detail-segment__edit-form{display:flex;align-items:center;gap:.5rem;flex:1 1 auto;min-width:0}.book-detail-segment__edit-form input{padding:.4rem .6rem;font-size:.9375rem;border:1px solid #e2e8f0;border-radius:8px;flex:1;min-width:0}.book-detail-segment__edit-form input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.book-detail-segment__edit-form .book-detail-btn{flex-shrink:0}.book-detail-overview__form{max-width:480px;padding:1.25rem;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.book-detail-overview__form-row{margin-bottom:1rem}.book-detail-overview__form-row--inline{display:flex;gap:1rem;flex-wrap:wrap}.book-detail-overview__form-row--inline .book-detail-overview__label{flex:1;min-width:140px}.book-detail-overview__label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;font-weight:500;color:#334155}.book-detail-overview__input{padding:.5rem .65rem;font-size:.9375rem;font-family:inherit;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.book-detail-overview__input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.book-detail-overview__textarea{resize:vertical;min-height:4rem}.book-detail-overview__input--narrow{max-width:6rem}.book-detail-overview__form-actions{display:flex;gap:.5rem;margin-top:1.25rem}.assessment{width:100%;max-width:560px;margin:0 auto;padding:1.5rem 0;text-align:left}.assessment__header{margin-bottom:1.75rem}.assessment__title{font-size:1.125rem;font-weight:600;color:#334155;margin:0 0 .5rem;letter-spacing:-.02em}.assessment__progress-wrap{height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden;margin-top:.75rem}.assessment__progress-bar{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:2px;transition:width .35s ease}.assessment-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;color:#64748b;font-size:.9375rem}.assessment-loading__spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#6366f1;border-radius:50%;animation:assessment-spin .7s linear infinite;margin-bottom:1rem}@keyframes assessment-spin{to{transform:rotate(360deg)}}.assessment-results{text-align:center;padding:2.5rem 1.5rem;background:linear-gradient(160deg,#f8fafc,#f1f5f9);border-radius:16px;border:1px solid #e2e8f0}.assessment-results__title{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.assessment-results__score{font-size:2rem;font-weight:700;color:#6366f1;margin:.25rem 0;letter-spacing:-.03em}.assessment-results__sub{font-size:.875rem;color:#64748b;margin:0}.question{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:1.75rem 1.5rem;box-shadow:0 1px 3px #0000000d}.question__prompt{font-size:1.0625rem;font-weight:500;color:#1e293b;line-height:1.5;margin:0 0 1.25rem}.question__options{display:flex;flex-direction:column;gap:.625rem}.question__option{position:relative;display:block;width:100%;text-align:left;padding:.875rem 1rem .875rem 2.75rem;font-size:.9375rem;color:#334155;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}.question__option:hover:not(.question__option--disabled){border-color:#c7d2fe;background:#eef2ff}.question__option--selected{border-color:#6366f1;background:#eef2ff;box-shadow:0 0 0 2px #6366f133}.question__option--correct{border-color:#10b981;background:#ecfdf5;cursor:default}.question__option--incorrect{border-color:#ef4444;background:#fef2f2;cursor:default}.question__option--disabled{cursor:default;opacity:.9}.question__option input{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:18px;height:18px;margin:0;accent-color:#6366f1;cursor:pointer}.question__option--disabled input{cursor:default}.question__actions{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.75rem}.question__btn{padding:.625rem 1.25rem;font-size:.9375rem;font-weight:500;font-family:inherit;border:none;border-radius:10px;cursor:pointer;transition:background .2s,transform .15s,box-shadow .2s}.question__btn:active{transform:scale(.98)}.question__btn--primary{background:linear-gradient(135deg,#6366f1,#5b21b6);color:#fff;box-shadow:0 2px 8px #6366f159}.question__btn--primary:hover:not(:disabled){background:linear-gradient(135deg,#5558e3,#6d28d9);box-shadow:0 4px 12px #6366f166}.question__btn--secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.question__btn--secondary:hover:not(:disabled){background:#e2e8f0;color:#334155}.question__btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
