:root{font-family:system-ui,Segoe UI,Roboto,sans-serif;line-height:1.5;color:#0f172a;background:#f8fafc}*{box-sizing:border-box}body{margin:0;min-height:100vh}.app{max-width:36rem;margin:2rem auto;padding:0 1rem}h1{font-size:1.5rem;font-weight:600;margin:0 0 .25rem}.lede{margin:0 0 1.25rem;color:#64748b;font-size:.9375rem}.book-form{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1.25rem}.book-form input{padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:.375rem;font:inherit}.book-form button[type=submit]{grid-column:1 / -1;justify-self:start}button{cursor:pointer;border:none;border-radius:.375rem;font:inherit;padding:.5rem .75rem;background:#0d9488;color:#fff;transition:transform .08s ease,filter .08s ease}button:active{transform:scale(.98)}button.danger{background:#dc2626;flex-shrink:0}ul.books{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}li.book-card{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.875rem 1rem;background:#fff;border-radius:.5rem;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0f172a0a;contain:content}.book-main{display:flex;flex-direction:column;gap:.25rem;min-width:0}.book-main strong{font-weight:600}.meta{font-size:.875rem;color:#64748b}.error{color:#b91c1c;font-size:.875rem;margin-bottom:.5rem}
