/* Less decoration, readable controls. NexaCore prompt: rounded icon-button chrome. */
.auth-page .auth-shell{min-height:calc(100dvh - 100px);padding-block:42px;align-items:center}
.auth-page .auth-story-copy{padding:32px 0}
.auth-page .auth-story h1{margin:0 0 24px}
.auth-page .auth-story p{font-size:16px;line-height:1.9}
.auth-page .auth-form-panel{padding:32px 36px}
.auth-page .auth-switch{margin-bottom:24px}
.auth-page .auth-form-content h2{margin:0 0 28px}
.auth-page .auth-nav-actions{gap:12px}
.auth-page #authMotion{display:grid;place-items:center;width:44px;height:44px;min-width:44px;max-width:none;padding:0;border:1px solid #eeeaf2;border-radius:12px;background:#f8f7fa;color:#322446;transition:background .18s,transform .18s}
.auth-page #authMotion:hover{background:#eeeaf5}
.auth-page #authMotion:active{transform:scale(.95)}
.auth-page #authMotion svg{width:20px;height:20px}
#authMotion[data-playing=true] .auth-motion-play,#authMotion[data-playing=false] .auth-motion-pause{display:none}
.auth-page :is(.auth-switch a,.auth-nav-cta,.auth-roles label,.auth-roles legend,.auth-password button,.auth-divider,.auth-social button,#authSubmit,#authError),.auth-page #authForm>label{font-size:14px;line-height:1.6}
.auth-page #authForm :is(input:not([type=radio]),select){font-size:16px;min-height:48px}
.auth-page #authForm input::placeholder{font-size:14px;color:#b5a9c8}
.auth-page .auth-switch a{min-height:40px;display:grid;place-items:center}
.auth-page .auth-social{margin-bottom:0}
.auth-page .auth-social button{min-height:44px}
.auth-page #authSubmit{min-height:48px}

html body :is(.text-button,.tiny-button,.tag,.filter-chip,.form-hint,.source-note,.detail-note,.cover-credit,.market-footnote,.library-status,.library-search-help,.library-source-choice,.library-source-state,.library-sort-label,.book-meta,.book-delivery,.book-location,.category-label,.result-count,.client-nav,.client-quick-links a,.client-promises,.client-footer nav,.footer-links a,.footer-links h3,.portal-stats article>span,.overview-order small,.status-bar,.database-status,.database-header nav,.database-sidebar button,.database-pagination,.database-schema,.database-table-name,.database-scroll table,.database-scroll th,.database-scroll .text-button,.database-record pre,.assistant-heading p,.assistant-checkbox,.assistant-status,.assistant-connected,.assistant-settings label,.assistant-editor label,.assistant-settings summary span,.assistant-saved strong,.assistant-saved p,.assistant-note,.assistant-book-body p,.assistant-loading-copy p,.assistant-loading-bottom,.assistant-loading-bottom button,.assistant-reply-label,.assistant-followups button,.widget-top,.widget-streak,.widget-progress p,.widget-checkin label,.widget-settings summary,.widget-goal label,.widget-status,.note-meta,.reading-calendar p,.reader-meta,.reader-progress-row,.reader-page-status small,.reader-font-control,.reader-source,.reader-hint,.command-hint,.account-summary small){font-size:14px;line-height:1.65}
html body :is(.primary-button,.secondary-button,.nav-item,.client-account>.secondary-button,.client-search .primary-button,.assistant-suggestions button,.assistant-book .primary-button,.assistant-settings .primary-button,.assistant-settings .secondary-button,.assistant-list .secondary-button,.form-grid label,.market-filters label,.market-price legend){font-size:14px}
html body :is(.library-source-state small,.library-detail-sources small,.library-book-origin>span:last-child:not(.tag),.database-sidebar button small,.database-sidebar button b,.assistant-loading-steps li,.assistant-list small,.note-composer small,.note-meta time,.reader-pagination button,.reader-font-value){font-size:14px}
html body :is(.library-sources-heading span,.library-sources-heading strong){font-size:14px}
html body :is(.library-source-choice,.assistant-followups button,.assistant-loading-bottom button){min-height:40px}
html body :is(.client-shell,.admin-shell,.database-shell) :is(input,textarea,select){font-size:16px}
html body :is(.client-shell,.admin-shell,.database-shell) :is(input,textarea)::placeholder{font-size:14px}
.admin-shell .sidebar-note{padding:14px 16px;background:none;border:0;min-height:0}
.admin-shell .sidebar-note a{margin:0;font-size:14px}
.admin-welcome h1{margin-top:0}
.portal-stats article{padding-block:24px}
.portal-stats strong{margin:10px 0 0}
.admin-entry-panel a>span{font-size:15px;align-items:center}
.brand-copy{gap:0}
.page-intro h1,.database-intro h1{margin-top:0}
.page-intro{padding-block:16px 22px}
.database-table-name{display:block;margin-bottom:6px;color:var(--muted)}
.database-actions,.database-header nav{flex-wrap:wrap}
.library-sources-heading>div{min-width:0}
.library-source-state{align-content:start}
.library-source-state span,.library-source-state small{overflow-wrap:anywhere}
.library-card .book-footer,.book-location,.assistant-buttons{flex-wrap:wrap}
.library-search-help,.assistant-loading-bottom{gap:10px}
.assistant-loading-steps{flex-wrap:wrap;gap:6px}
.assistant-loading-copy p{min-height:0}
.assistant-loading{grid-template-columns:100px minmax(0,1fr)}
.assistant-messages .assistant-loading-copy h3{font-size:18px}
.assistant-messages .assistant-loading{padding:22px;gap:18px}
.assistant-loading-copy h3{margin-top:0}
.assistant-settings input,.assistant-editor input,.assistant-editor textarea{font-size:16px}
.client-search,.client-search input,.assistant-search,.database-search{min-width:0}
.client-footer{padding-block:24px}
.footer-cta h2{margin-top:16px}
.footer-feature-pills a{font-size:14px}

@media(max-width:750px){
  html body :is(.client-mobile-nav>a,.bottom-nav>a){font-size:13px}
  html body :is(.client-mobile-nav svg,.bottom-nav svg){width:22px;height:22px}
  .database-header nav{gap:14px}
  .database-scroll :is(th,td){font-size:14px}
  .library-source-status{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .auth-page .auth-shell{min-height:auto;gap:28px;padding:32px 20px}
  .auth-page .auth-story-copy{padding:0}
  .auth-page .auth-story h1{margin:0 0 16px}
  .auth-page .auth-form-panel{padding:28px 24px}
  .auth-page .auth-nav-actions{gap:8px}
  .auth-page .auth-nav-cta{padding:10px 12px}
}
@media(max-width:520px){
  .library-source-status{grid-template-columns:1fr}
  .assistant-messages .assistant-loading{grid-template-columns:minmax(0,1fr);gap:8px;padding:16px}
  .assistant-loading-scene{justify-self:center}
  .assistant-loading .book-buddy{width:76px;margin:0}
  .assistant-loading-copy h3{font-size:17px}
  .assistant-loading-bottom{align-items:flex-start}
  .library-source-choice{padding:8px 12px}
  .client-promises{flex-wrap:wrap;gap:8px 14px}
  .client-header{gap:12px}
  .client-account>.secondary-button{max-width:112px}
  .database-actions{gap:8px}
}
@media(max-width:360px){
  .auth-page .auth-shell{padding-inline:14px}
  .auth-page .auth-form-panel{padding:24px 18px}
  .auth-page .auth-nav-cta{gap:5px;padding-inline:10px}
  .auth-page .auth-brand{font-size:17px}
  html body .client-search .primary-button{padding-inline:10px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.auth-page #authMotion{transition:none}.auth-page #authMotion:active{transform:none}}

/* Retain readable book metadata and controls; remove decorative captions in markup. */
html body :is(kbd,.campus-label,.footer-start,.discovery-search button,.directory-trust,.discovery-book>small,.community-strip>span,.portal-links a,.widget-ring small,.shelf-top>span,.shelf-counter,.shelf-caption p,.condition-label,.price small,.price del,.note-composer label,.reading-calendar .section-heading span,.reading-heatmap span,.source-link,.client-hero-books>button>span,.reader-header p,.reader-themes button,.reader-font-control output,.reader-actions a,.reader-actions button,.reader-feedback,.reader-folio,.reader-page-heading p,.reader-retry,.reader-progress-row>span){font-size:14px;line-height:1.6}
html body .library-banner p{font-size:16px}
#libraryView .library-sort-label{font-size:14px}
.directory-trust{flex-wrap:wrap}
.discovery-book>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

html body :is(.reading-tabs button,.fan-card-copy p,.path-action,.request-card>p,.request-bottom span,.request-bottom strong,.shelf-caption h3,.topic-pause,.topic-link,.appearance-options p){font-size:14px;line-height:1.6}
#readingSelectionDescription,#readingFanCounter{font-size:14px;line-height:1.6}

#readingPaths .reading-tabs button,#readingPaths .reading-card .path-action{font-size:14px;line-height:1.6}
#readingPaths .reading-card{height:310px}
html body :is(.library-counts span,.library-counts strong,.library-pagination span,.form-card>p,.preview-info p,.preview-info small,.order-reference,.order-main p,.order-address summary,.order-address span,.order-address p,.shipment-record small,.shipment-record p,.order-timeline span){font-size:14px;line-height:1.6}

html body :is(.library-stat-pills span,.library-stat-pills strong,.form-heading p,.publication-preview p,.publication-preview small,.order-steps span,.admin-row){font-size:14px;line-height:1.6}
