.notebook-study main.fp-page{max-width:1160px;padding:32px}
.fp-page .tool-intro{max-width:none}
.fp-page .fp-intro{border-left:6px solid #136a62;padding:24px 28px;margin-bottom:24px}
.fp-page .fp-lead{font-family:'Notebook Barlow','Arial Narrow',sans-serif;font-size:32px;line-height:1.15;margin:12px 0}
.fp-page .fp-intro h1{font-size:56px;margin:8px 0}
.fp-page .fp-intro p{max-width:66ch}
.fp-page .fp-dashboard{margin-bottom:28px}
.fp-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.fp-section-head h2{margin:0}
.fp-badge{display:inline-block;border:1px solid #7c5209;color:var(--copper);background:#f6ebd2;padding:4px 12px;font-size:16px;font-weight:700}
.fp-page .saved-item{border:1px solid #bda477;border-left:4px solid #136a62;padding:20px;margin:16px 0;background:#f6ebd2;overflow-wrap:anywhere}
.fp-page .saved-item.is-due{border-left-color:#7c5209}
.fp-page .saved-item h3{font-size:28px;margin:0 0 8px}
.fp-page .saved-item p{margin:8px 0}
.fp-page .saved-item dl{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;margin:12px 0}
.fp-page .saved-item dt{font-weight:700}
.fp-page .saved-item dd{margin:0}
.fp-page .actions{display:flex;gap:12px;flex-wrap:wrap}
.fp-page .actions>*{max-width:100%;white-space:normal}
.fp-page .chip,.fp-page summary{min-height:44px}
.fp-page summary{cursor:pointer;padding:10px 0;font-weight:700}
.fp-page .fp-options{border-top:1px solid #bda477;margin:20px 0;padding-top:8px}
.fp-page input:not([type=checkbox]),.fp-page select,.fp-page textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;font:inherit}
.fp-page textarea{padding:10px;background:var(--white);color:#48371f;border:1px solid #bda477}
.fp-page .fp-log{margin-top:16px;padding:16px;border:1px solid #bda477;background:#e8d8b5}
.fp-page .fp-log .field{margin-bottom:12px}
.fp-page pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f6ebd2;padding:16px;border:1px solid #bda477}
.fp-page .fp-how li{margin-bottom:16px}
.fp-page .fp-history{padding-left:24px}
.fp-page [hidden]{display:none!important}
.fp-page :focus-visible{outline:3px solid #136a62;outline-offset:3px}
.fp-page .notice{border-left-color:#7c5209}
.fp-page .tool-columns>div{min-width:0}
@media(min-width:900px){.fp-page #saved-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fp-page #saved-list .saved-item{margin:12px 0}.fp-page .saved-item dl{grid-template-columns:1fr}.fp-page .saved-item dd{margin-bottom:6px}}
@media(max-width:700px){.fp-page .fp-intro{padding:20px}.fp-page .fp-intro h1{font-size:46px}.fp-page .fp-lead{font-size:28px}.fp-page .tool-columns{display:block}.fp-page .saved-item{padding:16px}.fp-section-head{align-items:start}.fp-page .saved-item dl{display:block}.fp-page .saved-item dd{margin-bottom:8px}.fp-page .tool-card{padding:20px}.fp-page .fp-badge{white-space:nowrap}}

/* SITE-BIBLE S15/S15a/S28: legible controls, locked palette, meaningful emphasis. */
.notebook-study .fp-page .button,.fp-page .chip,.fp-page small,.fp-page figcaption,.fp-page .source-stamp{font-size:16px}
.fp-page h4{font-family:var(--font-display);font-size:24px;line-height:1.2}
.fp-page .chip,.fp-page input:not([type=checkbox]),.fp-page select,.fp-page textarea{border-color:var(--muted)}
.notebook-study .fp-page .button.secondary{background:var(--white);color:var(--ink);border:1px solid var(--muted)}
.notebook-study .fp-page .notice{background:var(--paper);color:var(--ink);border-color:var(--copper)}
.fp-page .error{color:var(--copper)}
.fp-page .saved-item{border-radius:1px}
.fp-page a:not(.button):not(.chip){color:var(--ink);text-decoration-color:var(--copper);text-decoration-thickness:1px}
.fp-page .chip[aria-pressed=true]{background:var(--ink);color:var(--white)}
.fp-page a.chip{display:inline-flex;align-items:center}
@media(max-width:700px){.notebook-study main.fp-page{width:calc(100% - 40px);margin:20px;padding:20px 12px 28px}.fp-page .fp-intro{padding:12px}.fp-page .tool-card{padding:16px}.fp-page .saved-item .fp-section-head{flex-wrap:wrap}.fp-page .saved-item h3{margin-bottom:0}}

/* Fast household setup: the same notebook controls with shared batch inputs. */
.fp-page .fp-quick{margin:24px 0}
.fp-page .fp-quick-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}
.fp-page .fp-quick fieldset{border:0;padding:0;margin:0;min-width:0}
.fp-page .fp-quick legend,.fp-page .fp-step-label{font-family:var(--font-display);font-size:24px;font-weight:700;margin:12px 0}
.fp-page .fp-quick .choice-row{gap:8px}
.fp-page .fp-quick .fp-options{margin:12px 0}
.fp-page .fp-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:10px 0}
.fp-page .fp-quantity-controls{display:flex;align-items:center;gap:6px}
.fp-page .fp-quantity-controls .chip{min-width:44px;padding:8px}
.fp-page .fp-quantity-controls output{min-width:24px;text-align:center;font-weight:700}
.fp-page .fp-quick-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px}
.fp-page #quick-success{margin-top:20px;border-left:4px solid var(--teal, #136a62);padding:0 16px}
.fp-page .fp-editor{margin:24px 0}
.fp-page .fp-editor>summary{border-top:1px solid var(--muted);border-bottom:1px solid var(--muted)}
@media(max-width:700px){.fp-page .fp-quick-grid{grid-template-columns:1fr;gap:12px}.fp-page .fp-quick{padding:16px}.fp-page .fp-quick-footer .button{width:100%}}
/* Calendar step after saving (Nov 7, 2026): one clear choice, Google buttons flow in the same row */
#quick-success h3{margin:18px 0 6px}.fp-google-links{display:contents}#storage-note{margin-top:4px}
/* iPhone Safari gives date fields a wide native minimum; keep them inside the card (seen in the iOS simulator, Nov 7, 2026) */
.notebook-study input[type=date]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%}
