.kp-profile-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.kp-rec-promo{padding:18px;margin:20px 0;border-radius:18px;background:#e6f5f6}.kp-rec-promo h2{margin:0 0 12px}.kp-recommendations-page>.kp-recommendations{margin:20px 0;max-width:100%}.kp-shelf-groups{display:grid;gap:12px;margin:20px 0}.kp-shelf-group{min-width:0}.kp-shelf-group-label{display:block;font-weight:650;font-size:13px;color:#536473;margin-bottom:6px}.kp-shelf-groups .knigopolka-shelf-tabs{display:flex;flex-wrap:wrap;overflow:visible;gap:6px;margin:0}.kp-shelf-groups .knigopolka-shelf-tabs a{padding:8px 10px;white-space:normal;min-height:40px}.kp-rec-filters{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.kp-rec-filters label{min-width:0;font-size:15px;font-weight:600;line-height:1.4}.kp-rec-filters input,.kp-rec-filters select,.kp-rec-pick textarea{min-height:44px;font-size:16px}.kp-rec-filters .kp-checkbox-label,.kp-rec-taste .kp-checkbox-label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;grid-column:1/-1}.kp-checkbox-label input{flex:0 0 auto;width:20px;height:20px;min-height:0;margin:0}.kp-rec-filters .kp-location-controls{display:flex;flex-wrap:wrap;gap:6px}.kp-rec-filters .kp-location-controls button,.kp-rec-filters [data-kp-geo-request]{width:auto;min-height:36px;padding:6px 10px;font-size:13px;white-space:normal}.kp-rec-pick textarea{resize:none;max-height:36vh;overflow:auto}.kp-rec-status:empty,.kp-rec-grid:empty{display:none}.kp-rec-grid{margin-top:16px}.knigopolka-copy-card .knigopolka-copy-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.knigopolka-card-availability a{color:inherit;text-decoration:underline;text-underline-offset:3px}
textarea{resize:none;max-height:45vh;overflow:auto;scroll-margin-block:100px}input,textarea,select{scroll-margin-block:100px}.kp-keyboard-done{position:fixed;right:12px;top:calc(var(--kp-visible-bottom,100vh) - 48px);z-index:100000;padding:8px 12px;border:1px solid #b9cbd4;border-radius:12px;background:#fff;color:#183b5d;box-shadow:0 3px 15px #183b5d22;font:inherit;min-height:40px}.kp-keyboard-done[hidden]{display:none!important}html.kp-input-focused .knigopolka-app-bottom-nav,html.kp-input-focused .kp-bottom-nav{visibility:hidden;pointer-events:none}html.kp-input-focused{scroll-padding-bottom:60px}dialog[open]{max-height:calc(var(--kp-visible-height,100dvh) - 24px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:600px){.kp-rec-filters{grid-template-columns:minmax(0,1fr)}.kp-rec-pick>.knigopolka-button{width:100%;justify-self:stretch}.kp-profile-shortcuts>a{flex:1 1 140px;text-align:center}.kp-recommendations{padding:16px}.kp-rec-pick>details{min-width:0}.kp-rec-filters label{gap:6px}.kp-rec-pick textarea{min-height:96px}.kp-rec-grid .kp-tile-card{min-width:0}}

.kp-rec-filters label button{font-size:13px;min-height:36px;width:auto;padding:6px 10px;white-space:normal;text-align:left}.kp-rec-filters .kp-location-controls{grid-column:1/-1}

.kp-recommendations h2{font-size:24px;line-height:1.25;margin:0 0 14px}.kp-rec-pick>label{font-size:17px}.kp-rec-genres label{padding:6px;min-height:40px;cursor:pointer}.kp-shelf-groups a.is-active{outline-offset:2px}
