/* Change the three primary website colors in site-settings.js, not here. */
:root { --header-color: #182237; --accent-color: #bf3b35; --background-color: #f6f7fa; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; color: #233044; background: var(--background-color); font-synthesis: none; text-rendering: optimizeLegibility; }
* { box-sizing: border-box; }
body { margin: 0; }
button,input,select { font: inherit; }
button { cursor: pointer; }
button:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid #f4b1ad; outline-offset: 2px; }
a { color: inherit; }
.shell { max-width: 1190px; margin: 0 auto; padding: 0 24px; }
.header { background: var(--header-color); color: #171c25; border-bottom: 2px solid var(--accent-color); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { font-weight: 850; letter-spacing: -5px; font-size: 42px; line-height: 1; padding-right: 6px; }
.brand-red { color: var(--accent-color); }
.brand-text { display: flex; flex-direction: column; gap: 4px; font-size: 13px; letter-spacing: 1.5px; }
.brand-text small { color: #647185; font-size: 10px; letter-spacing: 1.55px; }
.year-chip { font-size: 11px; color: #647185; border: 1px solid #dde2ea; background: #f7f8fa; padding: 9px 12px; border-radius: 30px; font-weight: 750; letter-spacing: 1px; }
.layout { padding-top: 26px; padding-bottom: 26px; }
.intro { margin-bottom: 20px; }
h1 { color: #172137; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.15; margin: 0 0 7px; letter-spacing: -.9px; }
h1 span { color: var(--accent-color); }
.blessing { color: #6a7485; font-size: 13px; line-height: 1.55; margin: 0; }
.workspace { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 19px; align-items: start; }
.panel { background: #fff; border: 1px solid #e0e5ed; border-radius: 12px; box-shadow: 0 6px 22px rgba(26,39,68,.035); }
.sidebar { padding: 24px 20px; }
.panel-title-row,.search-top,.results-header,.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { color: #1e293f; font-size: 16px; margin: 0; letter-spacing: -.2px; }
h3 { color: #24314a; margin: 0; font-size: 13px; }
.sidebar label, .search-label { font-size: 12px; color: #37455a; font-weight: 750; display: block; margin: 23px 0 9px; }
select { background: #fff; border: 1px solid #d9dfea; border-radius: 7px; padding: 12px; width: 100%; color: #263247; }
.limit-title { margin-top: 18px; }
.limit-title label { margin-bottom: 2px; }
.mini,.preset-label { color: #7f8998; font-size: 11px; }
.limit-input-wrap { display: flex; align-items: center; border: 1px solid #dbe0e7; border-radius: 8px; overflow: hidden; margin: 11px 0 14px; }
.limit-input-wrap input { border: 0; width: 100%; min-width: 0; padding: 12px 13px; font-size: 18px; font-weight: 800; color: #20324e; }
.limit-input-wrap span { background: #f5f6f9; color: #929baa; padding: 16px 11px; white-space: nowrap; font-size: 12px; }
input[type=range] { accent-color: var(--accent-color); width: 100%; height: 18px; }
.limit-meta { display: flex; justify-content: space-between; color: #99a1ad; font-size: 11px; margin: 4px 0 22px; }
.preset-label { font-weight: 700; margin-bottom: 10px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { font-size: 11px; color: #5d6a7e; background: #f7f8fa; border: 1px solid #e0e4ea; padding: 8px 9px; border-radius: 5px; font-weight: 650; }
.presets button.active { border-color: #bd4540; background: #fcf0ef; color: #aa2f2d; }
.side-note { margin: 17px 0 0; background: #f8f9fc; border-left: 3px solid #c6d0df; padding: 10px 11px; font-size: 11px; line-height: 1.5; color: #6a7588; }
.divider { height: 1px; background: #ebedf2; margin: 23px 0; }
.search-panel { padding: 25px 29px; min-height: 580px; }
.search-top p, .results-header p { color: #919aaa; font-size: 12px; margin: 6px 0 0; line-height: 1.45; }
.search-label { margin-top: 26px; }
.search-wrap { display: flex; align-items: center; color: #6d778a; border: 2px solid #c8d0df; border-radius: 9px; padding: 0 14px; height: 53px; gap: 11px; position: relative; }
.search-wrap:focus-within { border-color: var(--accent-color); box-shadow: 0 0 0 3px #f7e4e3; }
.search-wrap input { flex: 1; min-width: 0; border: 0; outline: none; height: 100%; font-size: 15px; color: #1c2c46; background: transparent; }
.search-wrap input:focus { outline: none; }
.search-wrap input::placeholder { color: #a4adba; }
kbd { font-family: inherit; font-size: 12px; border: 1px solid #e1e5ec; border-radius: 4px; color: #a9b1c0; padding: 3px 7px; }
.mode-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.mode { border: 1px solid #dee3eb; background: #fff; color: #707d91; border-radius: 5px; padding: 9px 12px; font-size: 11px; font-weight: 800; }
.mode.active { background: #1e293b; color: #fff; border-color: #1e293b; }
.action-row { display: flex; flex-wrap: wrap; gap: 7px; }
.secondary-button { font-size: 11px; color: #536178; border: 1px solid #dce1eb; background: #fff; border-radius: 6px; padding: 9px 10px; font-weight: 700; }
.secondary-button:disabled { cursor: not-allowed; opacity: .4; }
.results { margin-top: 19px; }
.result { padding: 15px 0 18px; border-bottom: 1px solid #edf0f4; }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.reference { font-weight: 800; font-size: 13px; color: var(--accent-color); }
.result-number { font-weight: 650; font-size: 11px; color: #9ca5b2; }
.result-body { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; line-height: 1.65; color: #2e3745; margin: 0; }
.result-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.result-match { color: #8090a3; font-size: 11px; }
.copy-verse { background: none; border: 0; color: #7d889a; font-size: 11px; font-weight: 700; padding: 4px 0; }
.copy-verse:hover { color: #ac3531; }
mark { background: #ffe7a4; color: #30281c; border-radius: 2px; padding: 1px 0; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 240px; gap: 9px; color: #9aa5b5; }
.empty-state h3 { font-size: 15px; margin: 0; color: #526073; }
.empty-state p { margin: 0; font-size: 12px; max-width: 340px; line-height: 1.6; }
.empty-icon { font-size: 42px; line-height: 1; color: #c9cfda; }
.show-more { display: block; margin: 20px auto 0; background: #fff; color: #a83732; font-weight: 800; border: 1px solid #e4c3c0; border-radius: 8px; padding: 11px 20px; }
.hidden { display: none !important; }
.bottom-note { margin: 23px 0 0; color: #8590a1; font-size: 11px; line-height: 1.6; }
.footer { background: #eff1f5; border-top: 1px solid #dfe3eb; }
.footer-inner { min-height: 71px; font-size: 11px; color: #8390a2; }
.link-button { border: 0; background: none; font-weight: 700; color: #a03e3b; font-size: 11px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; pointer-events: none; background: #1c2a3c; color: #fff; border-radius: 9px; padding: 12px 19px; font-size: 12px; box-shadow: 0 7px 25px #0003; opacity: 0; transition: opacity .2s; }
.toast.shown { opacity: 1; }
@media (max-width: 860px) { .workspace { grid-template-columns: 1fr; } .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; } .sidebar .panel-title-row, .sidebar .side-note { grid-column: 1 / -1; } .sidebar .limit-title { margin-top: 6px; } .sidebar select { grid-column: 1; } .presets { grid-column: 1 / -1; } }
@media (max-width: 580px) { .shell { padding: 0 14px; } .header-inner { min-height: 68px; } .brand-text { font-size: 10px; letter-spacing: 1px; } .brand-text small { font-size: 8px; } .brand-mark { font-size: 36px; } .year-chip { font-size: 9px; padding: 7px 8px; } .layout { padding-top: 29px; } .workspace { gap: 13px; } .sidebar { display: block; padding: 21px; } .search-panel { padding: 22px 18px; } .live-indicator { font-size: 10px; } .mode { padding: 9px 10px; } .results-header { align-items: start; flex-direction: column; } .footer-inner { flex-direction: column; align-items: start; justify-content: center; padding-top: 15px; padding-bottom: 15px; gap: 7px; } .intro p { font-size: 13px; } }

.frequency-tool { background: #fafbfe; border: 1px solid #e5eaf2; border-radius: 8px; margin-top: 22px; padding: 12px 14px; }
.frequency-tool summary { font-size: 12px; font-weight: 800; color: #3b4c65; cursor: pointer; display: flex; justify-content: space-between; }
.frequency-tool p { font-size: 11px; line-height: 1.6; color: #7b8799; margin: 10px 0; }
.frequency-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.frequency-controls select { width: auto; min-width: 150px; padding: 8px 9px; font-size: 12px; }
.frequency-controls span { font-size: 11px; color: #7f8898; }
.frequency-words { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; max-height: 210px; overflow: auto; }
.frequency-word { border: 1px solid #e2e7ef; background: #fff; border-radius: 5px; padding: 5px 8px; color: #7c4240; font-size: 11px; }
.frequency-word:hover { border-color: #bd4742; background: #fdf5f4; }
/* On small phones, keep the four search modes tidy and easy to tap. */
@media (max-width: 580px) {
  .mode-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .mode { width: 100%; }
}

/* Minimal branding. Copy a PNG into site/assets/logo.png; no HTML edit needed. */
.brand-logo { display: block; width: auto; height: 60px; max-width: 90px; object-fit: contain; }
/* Keep the uploaded logo legible on narrow screens. */
@media (max-width: 580px) { .brand-logo { height: 47px; max-width: 68px; } }

/* White header shows the original black/red Paddio Resources logo without modification. */


/* Compact results alternative: only the result list spacing changes.
   To adjust later, edit the numbers in this block. */
.result { padding: 8px 0 9px; }
.result-top { margin-bottom: 3px; }
.result-body { font-size: 15.5px; line-height: 1.4; }
.result-bottom { margin-top: 2px; }
.copy-verse { padding: 2px 0; }
