
.book-colors{border:0;border-top:1px solid var(--line);padding:26px 0 10px;margin:26px 0 12px;min-width:0}.book-colors legend{float:left;width:100%;font:400 26px/1.25 var(--serif);margin-bottom:12px}.book-colors legend small{font:14px/1.5 sans-serif;color:var(--muted)}.book-colors>p{clear:both;font-size:16px;line-height:1.6}.palette-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.palette-option{position:relative;margin:0!important;cursor:pointer}.palette-option input{position:absolute;opacity:0;width:1px;height:1px}.palette-card{position:relative;display:block;border:1px solid #b9c5bb;border-radius:8px;padding:16px;min-height:155px;background:#fffdf8}.palette-card strong{display:block;font:400 21px/1.25 var(--serif);margin:11px 20px 5px 0;color:#173f32}.palette-card small{display:block;font-size:14px;line-height:1.4;color:#526454}.palette-swatches{display:flex;gap:5px;max-width:160px}.palette-swatches i{display:block;width:34px;height:26px;border-radius:4px;border:1px solid #0002;flex-shrink:0}.palette-check{display:none;position:absolute;right:12px;top:15px;background:#173f32;color:white;border-radius:50%;width:23px;height:23px;text-align:center;line-height:23px}.palette-option input:checked+.palette-card{border:2px solid #173f32;padding:15px;background:#f0f5ee}.palette-option input:checked+.palette-card .palette-check{display:block}.palette-option input:focus-visible+.palette-card{outline:3px solid #ad8547;outline-offset:3px}.palette-preview{display:flex;align-items:center;gap:18px;padding:17px;background:#edf2ea;border-radius:8px;margin:16px 0}.palette-preview strong{font-size:16px}.palette-preview p{font-size:14px;line-height:1.5;margin:5px 0 0}.palette-preview .palette-swatches{flex-direction:column}.custom-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.custom-colors label{font-size:14px}.custom-colors input[type=color]{display:block;width:100%;height:48px;padding:4px;margin-top:6px;cursor:pointer;border:1px solid #a6b7a9;border-radius:6px;background:white}#summary-palette{margin-bottom:20px}#summary-palette p{margin-bottom:8px;font-size:15px}#summary-palette .palette-swatches{margin-bottom:12px}.book-colors [hidden]{display:none!important}@media(max-width:420px){.palette-card{padding:12px;min-height:165px}.palette-option input:checked+.palette-card{padding:11px}.palette-card strong{font-size:19px}.palette-swatches i{width:25px;height:24px}.palette-check{right:8px;top:12px;width:19px;height:19px;line-height:19px}.custom-colors{gap:8px}.palette-preview{gap:12px}}