/* Library visual layer. Screen only; application and print remain intact. */
@media screen {
 body[data-lele-theme] { background:#fff; color:#1a1a1a; font-size:16px; }
 body[data-lele-theme] button { min-height:44px; font-size:14px; }
 body[data-lele-theme] :is(input:not([type=file]):not([type=checkbox]):not([type=range]),select,textarea) { min-height:44px; font-size:16px; border-radius:14px; border-color:#e0e0e0; background:#f8f8f8; }
 body[data-lele-theme] :is(.hint,.subtitle,.sub,.book-meta,footer,.footer) { color:#666; }
 body[data-lele-theme] { --primary:#b94b45; --primary-dark:#9f3f39; --primary-light:#fff0e6; --bg:#fff; --border:#e0e0e0; --muted:#666; }
 header h1 { font-size:28px; }
 header .sub { font-size:15px; }
 .card { border-radius:14px; border-color:#eee; box-shadow:none; padding:24px; }
 label { font-size:14px; }
 .btn { border-radius:20px; }
 .segmented { background:#f8f8f8; border:1px solid #e0e0e0; border-radius:8px; }
 .segmented button { border-radius:8px; color:#666; }
 .segmented button.active { background:#b94b45; color:#fff; }
 .chip { display:inline-flex; align-items:center; min-height:44px; border-radius:20px; font-size:14px; }
 .chip.muted { background:#fff; color:#666; border-color:#e0e0e0; }
 .chip:hover { background:#fff0e6; border-color:#e8786f; }
 .hint a { color:#a8443e; }
 .title-bar { background:#fff7e3; }
 .toolbar .right { flex-wrap:wrap; }
 @media(max-width:600px) { .container{padding:24px 16px 60px;} .card{padding:20px;} header h1{font-size:24px;} .toolbar{padding:16px;} .toolbar .right{width:100%;} .toolbar .right #modeSeg{flex-basis:100%;} }
}
