
:root{--ink:#293d32;--green:#42644e;--sage:#e8ecdf;--cream:#f8f7f0;--muted:#788074;--line:#e0e4d8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,sans-serif;font-size:15px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #ad9259;outline-offset:4px}.header{max-width:1280px;margin:auto;padding:27px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-family:Georgia,serif;font-size:25px;display:flex;align-items:center;gap:12px;line-height:1.2}.brand-icon{font-size:48px;color:#86956c}.brand small{font:15px Arial,sans-serif;letter-spacing:2.1px;display:block;margin-top:8px}nav{display:flex;gap:30px;align-items:center;font-size:15px}.text-button{border:1px solid #cfd6c5;background:transparent;padding:9px 16px;border-radius:5px}.hero{max-width:1280px;margin:auto;display:grid;grid-template-columns:1.15fr 1fr;min-height:540px;padding:60px 5% 65px;gap:50px;align-items:center}.eyebrow{font-size:15px;letter-spacing:2px;font-weight:bold;color:#7d876e}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:normal;line-height:1.15}h1{font-size:clamp(43px,4.8vw,67px);letter-spacing:-2px;margin:22px 0}h1 em{font-weight:normal;color:#74856a}.hero-copy>p{max-width:460px;color:#7a8074;font-size:15px;line-height:1.85;margin-bottom:28px}.button{display:inline-flex;align-items:center;gap:28px;background:var(--green);color:white;border:0;padding:14px 23px;border-radius:5px;font-size:15px}.button:hover{background:#304e39}.hero-note{margin-top:30px;color:#89917d;font-size:15px}.hero-note span{font-size:21px;vertical-align:middle;margin-right:8px}.botanical{height:390px;background:#e8ecdf;border-radius:48% 48% 5px 5px;position:relative;overflow:hidden;background-image:radial-gradient(ellipse at 70% 25%,#f5f1d5,transparent 65%)}.sun{position:absolute;top:40px;left:48%;width:160px;height:160px;background:#e2d9ac;opacity:.35;border-radius:50%}.stem{position:absolute;width:3px;background:#7d8e61;bottom:55px;height:210px;left:45%;transform:rotate(-17deg);transform-origin:bottom}.stem b{position:absolute;color:#d9c67c;text-shadow:1px 3px 0 #a99a5c;top:-64px;left:-42px;font-size:100px;font-weight:normal;line-height:1}.stem i{position:absolute;width:63px;height:26px;top:80px;left:0;background:#8a9c72;border-radius:0 100% 0 100%;transform:rotate(-30deg);transform-origin:left}.stem i+i{top:125px;left:-60px;transform:rotate(25deg);background:#a4b08a}.s2{left:58%;height:240px;transform:rotate(20deg)}.s2 b{color:#eee6ba;font-size:120px;left:-50px}.s3{left:67%;height:145px;transform:rotate(40deg)}.s3 b{color:#a9b79a;font-size:75px;left:-32px;top:-45px}.botanical-caption{position:absolute;bottom:13px;width:100%;text-align:center;font-size:15px;letter-spacing:2px;color:#788568}.catalog{background:#fffefa;border-top:1px solid var(--line);padding:60px max(5%,calc((100vw - 1152px)/2));padding-bottom:65px}.section-top{display:flex;align-items:center;justify-content:space-between}h2{font-size:35px;margin:12px 0 28px}.muted{color:var(--muted);font-size:15px}.search{border:1px solid var(--line);background:#fafaf5;display:flex;align-items:center;padding:12px 18px;border-radius:6px;gap:12px;margin:4px 0 35px}.search>span{font-size:30px;line-height:1;color:#8a957a}.search input{width:100%;background:transparent;border:0;outline:none;font-size:15px;color:var(--ink)}kbd{font-family:Arial;font-size:15px;letter-spacing:1.2px;color:#909783}.catalog-layout{display:grid;grid-template-columns:215px 1fr;gap:35px}aside{border-right:1px solid var(--line);padding-right:22px}aside h3{font:15px Arial;letter-spacing:2px;color:#858d78;margin:8px 0 20px}.category-row{display:flex;align-items:center}.category{border:0;background:none;text-align:left;width:100%;padding:12px 10px;margin-bottom:5px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:4px;font-size:15px}.category span{font-size:15px;color:#8a967e}.category.active{background:var(--sage);color:#3d5d42}.category:hover{background:#f0f2e9}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:white}.card-art{height:150px;background:#edf0e5;position:relative;overflow:hidden;display:grid;place-items:center}.card-art span{font:145px Georgia;color:#b3bda0;transform:rotate(20deg);position:relative;z-index:1}.card-art:after{content:'';position:absolute;width:160px;height:160px;border:1px solid #d2dac4;border-radius:50%;right:25px;top:40px}.art-1{background:#f0eadb}.art-1 span{color:#c9b47c;transform:rotate(-14deg)}.art-2{background:#e7ede8}.art-2 span{color:#9db29f}.card-content{padding:24px}.card-content .eyebrow{font-size:15px;letter-spacing:1.2px}.card h3{font-size:25px;margin:12px 0}.card p{font-size:15px;color:var(--muted);min-height:43px;overflow-wrap:anywhere}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef0e7;margin-top:22px;padding-top:15px}.read,.edit-small{background:none;border:0;padding:0;font-size:15px;color:#4d6a50}.edit-small{padding:5px;color:#788a64}.about{max-width:1100px;margin:70px auto;display:flex;gap:50px;align-items:center;padding:0 5%}.about img{width:190px;height:235px;object-fit:cover;filter:sepia(.3);border-radius:100px 100px 4px 4px}.about h2{font-size:31px;margin-bottom:18px}.about p{max-width:630px;font-size:15px;color:var(--muted)}.about small{font-size:15px;color:#909582}footer{border-top:1px solid var(--line);padding:30px 5%;display:flex;justify-content:space-between;align-items:center;font-size:15px;color:#838c78}footer .brand{font-size:20px}dialog{border:1px solid var(--line);border-radius:12px;padding:40px;max-width:680px;width:calc(100% - 30px);max-height:88vh;color:var(--ink);background:#fffef9}dialog::backdrop{background:#1b2d2470;backdrop-filter:blur(4px)}.close{position:absolute;right:16px;top:10px;font-size:26px;background:none;border:0}.article-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}.lead{color:var(--muted);font-size:15px}form label{display:block;font-size:15px;margin:15px 0}form input,form textarea,form select{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #cbd4bf;border-radius:4px;background:#fff;color:var(--ink)}textarea{resize:vertical}.form-actions{display:flex;justify-content:space-between;align-items:center}.danger{color:#9c4036;background:none;border:0}#formError{color:#a34032;font-size:15px}.empty{grid-column:1/-1;text-align:center;padding:45px 15px;background:#f5f6ef;border-radius:6px}.empty>span{font-size:45px;color:#9aa984}.empty p{color:var(--muted);font-size:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;background:var(--ink);color:white;padding:14px 22px;border-radius:6px;z-index:5;font-size:15px}[hidden]{display:none!important}#categoryIntro h3{font-size:26px;margin:0 0 8px}#categoryIntro p{margin-bottom:25px}@media(max-width:800px){.hero{gap:25px;padding-top:40px}.botanical{height:330px}.catalog-layout{grid-template-columns:170px 1fr;gap:20px}.cards{grid-template-columns:1fr}nav{gap:15px}.brand{font-size:21px}.brand small{font-size:15px}footer>span:last-child{display:none}}@media(max-width:580px){.header{padding:18px 5%;align-items:flex-start}nav{gap:12px;flex-wrap:wrap;justify-content:flex-end;max-width:160px;font-size:15px}.text-button{padding:4px 9px;font-size:15px}.brand{font-size:19px}.brand-icon{font-size:35px}.hero{grid-template-columns:1fr;padding-bottom:35px;gap:30px}.hero h1{font-size:48px}.botanical{height:280px;border-radius:45% 45% 5px 5px}.catalog{padding-top:38px}h2{font-size:29px}.section-top{align-items:flex-start;gap:10px}.section-top>.muted{white-space:nowrap;margin-top:30px}.catalog-layout{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line);padding:0 0 15px}#categories{display:flex;flex-wrap:wrap;gap:6px}.category-row{max-width:100%}.category{width:auto;gap:12px;margin:0;padding:8px 11px}.search kbd{display:none}.cards{grid-template-columns:1fr}.about{gap:22px;align-items:flex-start;margin:45px auto}.about img{width:90px;height:130px}.about h2{font-size:25px}.about .eyebrow{font-size:15px}footer{gap:18px;flex-wrap:wrap}dialog{padding:32px 22px}.hero-note{font-size:15px}}

.card-cover{height:230px;background:#eef0e7;display:flex;align-items:center;justify-content:center;padding:15px}.card-cover img{max-width:100%;height:100%;object-fit:contain;box-shadow:0 5px 14px #293d3225}.detail-cover{display:block;max-width:100%;max-height:350px;margin:15px auto 25px;object-fit:contain}.cover-preview{display:block;max-width:150px;max-height:180px;object-fit:contain;margin:12px 0}.upload-group{border:1px solid var(--line);padding:16px;margin:22px 0;border-radius:6px;min-width:0}.upload-group legend{font-family:Georgia,serif;font-size:19px;padding:0 8px}.upload-group small{font-size:15px;color:var(--muted)}form .check-label{display:flex;align-items:center;gap:8px;margin:8px 0}form .check-label input{display:inline-block;width:auto;margin:0}.managed-file{padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.managed-file>a{font-size:15px;text-decoration:underline}.attachments{margin-top:28px;border-top:1px solid var(--line);padding-top:14px}.attachments h3{font-size:23px}.attachment{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 15px;background:var(--sage);border-radius:5px;margin:8px 0;font-size:15px}.attachment span{overflow-wrap:anywhere;min-width:0}.attachment small{white-space:nowrap;color:var(--muted)}.attachment:hover{background:#dce4d2}.upload-group input[type=file]{font-size:15px;max-width:100%}#selectedFiles{overflow-wrap:anywhere}

/* Minimum text size: 15 pixels, including browser defaults. */
small,kbd,input,select,textarea,button{font-size:15px}
nav{flex-wrap:wrap;justify-content:flex-end;row-gap:12px}
.header{gap:24px}.brand{flex-shrink:0}.brand small{letter-spacing:.5px;line-height:1.4}
.brand-icon{flex-shrink:0}.catalog-layout{grid-template-columns:255px minmax(0,1fr)}
.category{overflow-wrap:anywhere}.category span{flex-shrink:0}.category-row{min-width:0}
.card-content .eyebrow{letter-spacing:1px}.card-bottom{flex-wrap:wrap;gap:14px}
.hero-note{line-height:1.6}.botanical-caption{letter-spacing:.5px;line-height:1.5;padding:0 14px}
.section-top{gap:20px}.section-top .muted{flex-shrink:0}.search kbd{letter-spacing:0}
footer{flex-wrap:wrap;gap:20px}
.attachment{flex-wrap:wrap}.form-actions{gap:18px;flex-wrap:wrap}
@media(max-width:1000px){.header{align-items:flex-start}.header nav{gap:16px}.catalog-layout{grid-template-columns:210px minmax(0,1fr)}.cards{grid-template-columns:1fr}.search kbd{display:none}}
@media(max-width:700px){.header{flex-direction:column;gap:18px}.header nav{max-width:none;justify-content:flex-start;gap:16px}.hero{grid-template-columns:1fr}.catalog-layout{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line);padding:0 0 16px}#categories{display:flex;flex-wrap:wrap;gap:8px}.category{width:auto;gap:12px}.section-top{flex-wrap:wrap;gap:0}.section-top>.muted{margin:0 0 18px}.about{flex-direction:column}.about img{width:140px;height:180px}.brand small{font-size:15px}.brand{font-size:24px}.hero h1{font-size:44px}.botanical{height:330px}.catalog{padding-left:5%;padding-right:5%}}
input::file-selector-button{font:inherit}input::placeholder,textarea::placeholder{font-size:inherit}
/* Book catalog front page */
.library-intro{max-width:1320px;margin:auto;padding:44px 5% 35px;display:flex;align-items:center;justify-content:space-between;gap:30px}.library-intro h1{font-size:clamp(38px,4vw,56px);margin:14px 0 18px}.library-intro h1 em{color:#74856a}.library-intro p{max-width:790px;color:var(--muted);font-size:15px}.library-flower{font-family:Georgia,serif;font-size:150px;line-height:1;color:#b6bf9e;padding:0 30px;transform:rotate(12deg)}.catalog{padding-top:35px}.catalog-layout{grid-template-columns:245px minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.card{display:flex;flex-direction:column}.card-cover{height:290px;padding:22px;background:linear-gradient(140deg,#e8eddf,#f4f2e7)}.card-cover img{width:auto;max-width:100%;height:100%;object-fit:contain}.card-content{display:flex;flex-direction:column;flex:1;padding:24px}.card-content h3{font-size:27px;line-height:1.3;overflow-wrap:anywhere}.card-content p{min-height:0}.card-content .book-author{margin:0 0 10px;color:#526c51;font-size:15px}.card-bottom{margin-top:auto;padding-top:18px}.book-formats{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 22px}.book-formats span{font-size:15px;border:1px solid #d9dfcc;border-radius:4px;padding:2px 9px;color:#637357;background:#f6f7ef}.book-placeholder{height:290px;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 26px;background:#dfe7d4;border-left:14px solid #839570;box-shadow:inset 6px 0 12px #344c3220;gap:15px;color:#3f5b42}.book-placeholder>span{font-size:58px;line-height:1;color:#8a9e72}.book-placeholder strong{font:26px Georgia,serif;line-height:1.3}.book-placeholder small{font-size:15px}.tone-1{background:#eae2ce;border-color:#a69873;color:#756440}.tone-2{background:#dde7e1;border-color:#789386;color:#4c675c}.detail-cover{max-height:440px}.library-intro+.catalog .section-top h2{margin-bottom:18px}@media(min-width:1450px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog{padding-left:5%;padding-right:5%}}@media(max-width:1050px){.catalog-layout{grid-template-columns:210px minmax(0,1fr)}.card-content{padding:18px}.cards{gap:18px}.card-content h3{font-size:25px}.library-flower{padding:0;font-size:100px}}@media(max-width:800px){.catalog-layout{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px}#categories{display:flex;flex-wrap:wrap;gap:8px}.category{width:auto}.library-flower{display:none}.library-intro{padding-top:32px}}@media(max-width:580px){.cards{grid-template-columns:1fr}.library-intro h1{font-size:38px}.card-cover,.book-placeholder{height:320px}.card-content{padding:23px}.catalog .section-top h2{font-size:30px}}
/* Compact introduction: retain all text and a minimum type size of 15px. */
.library-intro{display:block;padding:14px 5%;min-height:0}
.library-intro .eyebrow{display:block;font-size:15px;letter-spacing:.5px;line-height:1.3}
.library-intro h1{font-size:20pt;line-height:1.2;letter-spacing:0;margin:5px 0}
.library-intro p{max-width:none;font-size:15px;line-height:1.35;margin:0}
.library-intro+.catalog{padding-top:22px}
@media(max-width:580px){.library-intro{padding:12px 5%}.library-intro h1{font-size:18pt}}
/* Supplied photograph: shared logo and compact masthead background. */
.site-masthead{background-color:#f6e5cf;background-image:linear-gradient(90deg,rgba(250,240,225,.97) 0%,rgba(250,240,225,.90) 50%,rgba(250,240,225,.40) 100%),url('assets/bach-essences.webp');background-size:cover;background-position:center 54%;border-bottom:1px solid #ded4be}
.site-masthead .header{padding-top:14px;padding-bottom:14px;border-color:#daceb8}
.brand-logo{display:block;width:120px;height:68px;object-fit:contain;border-radius:6px;border:1px solid #dacbb5;flex-shrink:0}
.site-masthead nav a,.site-masthead .text-button{background:#fffaf0ed;border:1px solid #d9cfba;border-radius:5px;padding:7px 12px;color:#293d32}
.site-masthead .library-intro{padding-top:12px;padding-bottom:14px}
.site-masthead .library-intro .eyebrow{color:#4e6344}
.site-masthead .library-intro h1 em{color:#4e6344}
.site-masthead .library-intro p{color:#3c4c38}
footer .brand-logo{width:80px;height:45px}
@media(max-width:700px){.site-masthead .header{flex-direction:row;flex-wrap:wrap;gap:14px}.site-masthead .header nav{gap:10px}.brand-logo{width:100px;height:57px}.site-masthead{background-image:linear-gradient(90deg,rgba(250,240,225,.96),rgba(250,240,225,.78)),url('assets/bach-essences.webp')}}
@media(max-width:400px){.site-masthead .brand{font-size:20px;gap:10px}.site-masthead .brand small{font-size:15px;letter-spacing:0}.brand-logo{width:88px;height:50px}}
/* Two brand lines beside the logo; a single compact tagline underneath. */
.site-masthead .header{flex-wrap:wrap;gap:14px 24px}
.site-masthead .brand{flex-shrink:1;min-width:0;max-width:100%}
.site-masthead .brand-copy{display:block;min-width:0}
.site-masthead .brand-title{display:block;font-size:18pt;line-height:1.3;overflow-wrap:anywhere}
.site-masthead .brand small{font-size:15px;line-height:1.35;letter-spacing:.4px;margin-top:5px}
.site-masthead .library-intro{padding-top:6px;padding-bottom:10px}
.site-masthead .library-intro h1{margin:0;font-size:18pt;line-height:1.3}
@media(max-width:580px){.site-masthead .brand-title{font-size:16pt}.site-masthead .brand small{letter-spacing:0}.site-masthead .library-intro h1{font-size:16pt}}
/* Shared horizontal alignment for the masthead and catalog. */
:root{--page-gutter:max(5vw,calc((100vw - 1152px)/2))}
.site-masthead .header,.site-masthead .library-intro,.catalog{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.site-masthead nav a,.site-masthead .text-button{background:#fff}
@media(min-width:1450px){:root{--page-gutter:5vw}}

.admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}.admin-list{display:grid;gap:8px;margin-bottom:24px}.admin-item{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;text-align:left;padding:12px 14px;background:#f2f5eb;border:1px solid var(--line);border-radius:5px;font-size:15px}.admin-item>span:first-child{min-width:0;overflow-wrap:anywhere}.admin-item>span:last-child{flex-shrink:0;color:var(--green)}.admin-item:hover{background:var(--sage)}
.site-masthead .brand-title{color:#922953}
.site-masthead .library-intro h1,.site-masthead .library-intro h1 em{color:#3f7d20}
.cover-link{display:block;color:inherit;text-decoration:none}.title-link{color:inherit;text-decoration:none}.title-link:hover{text-decoration:underline;text-underline-offset:4px}.cover-link:hover img{filter:brightness(1.03)}
/* Tagline sits at the right end of the catalog count row. */
.catalog>.section-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:16px;margin-bottom:14px}
.catalog>.section-top>#count{margin:0;white-space:nowrap;flex-shrink:0}
.catalog .catalog-tagline{margin:0 0 0 auto;text-align:right;line-height:1.3;letter-spacing:normal;color:#3f7d20}
.catalog .catalog-tagline em{color:#3f7d20}
.management-page{padding:26px max(5vw,calc((100vw - 1152px)/2)) 45px;background:#fffef9;min-height:60vh}.management-navigation{display:flex;justify-content:flex-start;gap:12px;margin-bottom:25px}.management-page h2{margin-top:0}.management-page form{max-width:900px}.management-page .admin-list{max-width:100%}.management-page #loginForm{max-width:460px}.management-page .upload-group{background:#fafbf5}@media(min-width:1450px){.management-page{padding-left:5vw;padding-right:5vw}}
/* Five catalog books per row on desktop, adapting to smaller screens. */
.catalog .cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.catalog .card-content{padding:16px}
.catalog .card-cover,.catalog .book-placeholder{height:230px}
@media(max-width:1199px){.catalog .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.catalog .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.catalog .cards{grid-template-columns:1fr}.catalog .card-cover,.catalog .book-placeholder{height:300px}}
/* Catalog book titles. */
body .catalog .card h3,body .catalog .card h3 *,body .catalog .book-placeholder strong{font-family:Georgia,"Times New Roman",serif!important;font-size:16pt!important;font-weight:700!important;color:#234d32}
/* More compact catalog cards with 14pt book titles. */
body .catalog .card h3,body .catalog .card h3 *,body .catalog .book-placeholder strong{font-size:14pt!important}
.catalog .cards{gap:12px}
.catalog .card-content{padding:12px;gap:0}
.catalog .card-content h3{line-height:1.2;margin:7px 0}
.catalog .card-content p{margin:5px 0;line-height:1.3}
.catalog .card-content .book-author{margin:0 0 5px}
.catalog .card-cover{height:180px;padding:10px}
.catalog .book-placeholder{height:180px;padding:16px 12px;gap:8px}
.catalog .book-formats{gap:5px;margin:7px 0 10px}
.catalog .book-formats span{padding:0 6px;line-height:1.3}
.catalog .card-bottom{padding-top:9px;gap:8px}
@media(max-width:580px){.catalog .card-cover,.catalog .book-placeholder{height:220px}}
/* Full-text search results replace the card grid while searching. */
.catalog .cards.search-results{display:block}
.search-list{padding:0;margin:0;list-style:none}
.search-hit{padding:17px 0;border-bottom:1px solid var(--line)}
.search-hit:first-child{padding-top:0}
.search-hit .search-source{margin:0 0 5px;color:#66765e;line-height:1.3}
body .catalog .search-hit h3,body .catalog .search-hit h3 *{font-size:14pt!important;font-weight:bold;color:#234d32}
.search-hit h3{margin:0 0 8px;line-height:1.3}
.search-hit h3 a{text-decoration:underline;text-underline-offset:3px}
.search-hit>p:last-child{margin:0;line-height:1.5;overflow-wrap:anywhere}
.search-hit mark{background:#f2e4a8;color:#293d32;padding:0 1px}
.search-results>[data-search-more]{margin-top:20px;background:#fff}
/* Combined category and author filters for catalog search. */
.search-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:-17px 0 26px}
.search-filters label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:180px;line-height:1.3}
.search-filters select{width:100%;max-width:100%;padding:9px 12px;background:#fff;border:1px solid #cbd4bf;border-radius:5px;color:var(--ink)}
.search-filters .text-button{padding:9px 12px;line-height:1.3;background:#fff}
@media(max-width:580px){.search-filters{gap:10px}.search-filters label{min-width:100%}.search-filters .text-button{width:100%}}
/* Search text, category and author share one desktop row. */
.search-row{display:flex;align-items:flex-end;gap:12px;margin-bottom:26px}
.search-row>.search{flex:1.4;min-width:0;margin:0;min-height:47px}
.search-row .search-filters{flex:2;min-width:0;margin:0;flex-wrap:nowrap;gap:12px}
.search-row .search-filters label{min-width:0;flex:1}
.search-row .search-filters .text-button{flex-shrink:0;white-space:nowrap}
.search-row .search kbd{display:none}
@media(max-width:900px){.search-row{flex-wrap:wrap}.search-row>.search{flex-basis:100%}.search-row .search-filters{flex-basis:100%}}
@media(max-width:580px){.search-row .search-filters{flex-wrap:wrap}.search-row .search-filters label{min-width:100%}}
