:root{font:16px/1.55 "Source Sans 3","Segoe UI",sans-serif;color:#152e35;background:#f7faf9;--teal:#075d58;--line:#c9d7d2}*{box-sizing:border-box}body{margin:0}header{background:white;border-bottom:1px solid var(--line)}.bar,main{max-width:1060px;margin:auto;padding:0 28px}.bar{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:12px}.brand{font-size:1.35rem;letter-spacing:-.04em;font-weight:750;color:var(--teal);text-decoration:none}.brand span{display:inline-grid;place-items:center;background:var(--teal);color:#fff;border-radius:6px;width:32px;height:32px}button,input,select{font:inherit}button{cursor:pointer;background:white;color:var(--teal);border:1px solid var(--line);border-radius:7px;padding:8px 14px;font-weight:600}button:hover{background:#e9f2ef}.primary{background:var(--teal);border-color:var(--teal);color:white}.primary:hover{background:#034843}:focus-visible{outline:3px solid #df922d;outline-offset:3px}.hero{display:flex;align-items:center;justify-content:space-between;background:#dcefe6;padding:34px 42px;margin:32px 0;border-radius:14px;gap:25px}.hero h1,h2,h3{font-family:"DM Serif Text",Georgia,serif;line-height:1.12}.hero h1{font-size:clamp(2.4rem,6vw,4rem);letter-spacing:-.055em;margin:0;color:#163d38}.hero p{max-width:460px;margin:14px 0 0}.shelf{display:flex;align-items:flex-end;border-bottom:7px solid #42675a;padding:0 12px;flex-shrink:0}.shelf i{writing-mode:vertical-rl;transform:rotate(180deg);background:#23746c;color:white;border-radius:3px;padding:9px 5px;height:105px;font:600 .92rem Georgia,serif;border-bottom:4px double white}.shelf i:nth-child(2){height:83px;background:#89503b}.shelf i:nth-child(3){height:96px;background:#384b71}.shelf i:nth-child(4){height:102px;background:#acda99;color:#163d38;transform:rotate(170deg);margin-left:8px}nav{display:flex;gap:18px;border-bottom:1px solid var(--line)}nav button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:#506361;padding:10px 2px}nav [aria-pressed=true]{color:var(--teal);border-bottom-color:var(--teal)}.filters{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin:22px 0}label{display:grid;gap:5px;font-size:.92rem;font-weight:600}input,select{width:100%;padding:10px;background:white;color:inherit;border:1px solid #a3b7af;border-radius:6px}#list{display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));margin-bottom:40px}.card,.empty{background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.card{border-left:6px solid #589c89}.card h3{font-size:1.5rem;margin:8px 0;overflow-wrap:anywhere}.card p,.empty p{margin:8px 0 14px}.empty{text-align:center;padding:28px}.empty h2{margin:0}.empty p{color:#506361}.message:empty,#formError:empty{display:none}.message,#formError{font-weight:600;color:#69460e}.head{display:flex;align-items:center;justify-content:space-between}.head h2{margin:0}.head button{font-size:1.4rem;line-height:1}dialog{border:1px solid var(--line);border-radius:12px;width:min(420px,94vw);color:inherit}dialog::backdrop{background:#102b29aa}form{display:grid;gap:14px;padding:8px}@media(max-width:580px){.bar,main{padding:0 14px}.hero{padding:23px;margin:18px 0}.shelf{display:none}.filters{grid-template-columns:1fr}.filters label:first-child{grid-column:1/-1}nav{gap:12px;font-size:.91rem}.brand{font-size:1.15rem}}
nav{flex-wrap:wrap;row-gap:0}
#watchOpen{margin-left:auto}
.book-cover{display:block;width:100%;height:210px;object-fit:contain;background:#edf3ee;border-radius:6px;margin:0 0 16px}
#coverPreview:not([hidden]){width:84px;height:110px;object-fit:contain}
dialog{max-height:90vh;overflow-y:auto}
#watchResult a{display:inline-block;padding:8px 14px;border-radius:6px;background:var(--teal);color:white;font-weight:650;text-decoration:none}
#watchForm p{margin:0}
#watchResult:not(:empty){display:grid;gap:8px}
@media(max-width:580px){#watchOpen{margin-left:0}}
[data-pickup-fields]{display:grid;gap:12px;margin-top:10px}
[data-pickup-fields] p,[data-pickup-fields] small{font-size:.875rem;margin:0;color:#455b58}
summary{cursor:pointer;font-weight:600;color:var(--teal)}
.card a{display:block;margin-bottom:12px;color:var(--teal)}
