/* Knelt printables: the free prayer list and prayer journal page generators and the
   prayer list examples guide. Same look as printable-prayer-cards/ (Vellum page,
   moss actions, Cormorant + Lora); the printed sheets are real inches, scaled on screen. */
:root {
    --page: #FBF7EE; --desk: #F3ECDF; --edge: #E2D8C6;
    --ink: #28231D; --secondary: #6A6053;
    --moss: #2F4A3A; --moss-deep: #22392c; --brass: #B5852B; --leather: #5A2534;
    --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --body: 'Lora', Georgia, serif;
    --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ui); font-size: 16px;
    background:
      radial-gradient(120% 80% at 8% 0%, rgba(47,74,58,.07) 0%, rgba(47,74,58,0) 48%),
      radial-gradient(120% 90% at 94% 6%, rgba(181,133,43,.08) 0%, rgba(181,133,43,0) 52%),
      linear-gradient(170deg,#F3ECDF 0%, #F1E9D9 54%, #EFE5D2 100%);
    background-attachment: fixed;
    color: var(--ink); line-height: 1.7; overflow-x: hidden;
}
header { background: linear-gradient(180deg,#FBF7EF 0%, #F6EFDF 100%); padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--edge); }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: .7rem; }
.header-inner img { width: 34px; height: 34px; border-radius: 9px; }
.header-inner a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.adelyons-breadcrumb { padding: .5rem 0; border-bottom: 1px solid rgba(40,35,29,.1); font-size: .875rem; }
.adelyons-breadcrumb ol { list-style: none; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.adelyons-breadcrumb li { display: flex; align-items: center; gap: .35rem; opacity: .75; }
.adelyons-breadcrumb li:last-child { opacity: .95; }
.adelyons-breadcrumb a { color: inherit; text-decoration: none; }
.adelyons-breadcrumb .bc-sep { opacity: .4; }
main { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.prose { max-width: 820px; }
h1 { font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1.05; margin: 2.2rem 0 .8rem; color: var(--ink); text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 2.5rem 0 .75rem; color: var(--moss); line-height: 1.15; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; color: var(--ink); }
p, li { color: var(--secondary); }
p { margin: .9rem 0; }
.lede { font-size: 1.12rem; color: #4e463d; max-width: 62ch; }
ul, ol { margin: .8rem 0 .8rem 1.4rem; }
li { margin: .35rem 0; }
strong { color: var(--ink); }
a { color: var(--moss); }
a:hover { color: var(--moss-deep); }
.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin: 2rem 0 0; }

/* The desk: form | sheet preview, stacked on a phone */
.desk { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 1.6rem; align-items: start; margin: 1.4rem 0 1rem; }
.panel { background: var(--page); border: 1px solid var(--edge); border-radius: 10px; padding: 1.2rem 1.2rem 1.3rem; box-shadow: 0 14px 30px -28px rgba(40,35,29,.35); min-width: 0; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; min-width: 0; }
.field > label, .field > .label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }
.hint { font-size: .875rem; color: var(--secondary); margin: 0; line-height: 1.5; }
textarea, input[type=text], input[type=date], input[type=number], select {
    width: 100%; max-width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
    border: 1px solid var(--edge); border-radius: 6px; padding: .6rem .7rem; min-height: 44px;
}
textarea { min-height: 170px; line-height: 1.55; resize: vertical; font-family: var(--body); }
textarea:focus, input:focus, select:focus, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: block; border: 1px solid var(--edge); border-radius: 8px; background: #fff; padding: .5rem .6rem; font-size: .9rem; line-height: 1.3; color: var(--ink); font-weight: 600; min-height: 44px; }
.pick small { display: block; font-weight: 400; font-size: .875rem; color: var(--secondary); margin-top: .15rem; }
.pick input:checked + span { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); background: rgba(47,74,58,.06); }
.pick input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 1px; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.checks label { font-size: .95rem; color: var(--ink); display: flex; align-items: center; gap: .45rem; min-height: 40px; }
.checks input { width: 20px; height: 20px; accent-color: var(--moss); }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: .2rem 0 .4rem; }
.btn { font: inherit; font-weight: 700; border-radius: 10px; padding: .72rem 1.15rem; cursor: pointer; border: 1px solid transparent; text-decoration: none; display: inline-block; min-height: 44px; font-size: 1rem; }
.btn-primary { background: var(--moss); color: #FBF7EF; }
.btn-primary:hover { background: var(--moss-deep); color: #FBF7EF; }
.btn-quiet { background: transparent; color: var(--moss); border-color: var(--edge); }
.btn-quiet:hover { background: rgba(47,74,58,.06); }
.btn-print { width: 100%; }
.status { font-size: .9rem; color: var(--secondary); margin: .4rem 0 0; line-height: 1.5; }
.status b { color: var(--ink); font-weight: 600; }
.more { margin-top: 1rem; border: 1px solid var(--edge); border-radius: 8px; background: #fff; padding: .2rem .8rem; }
.more summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.more[open] summary { margin-bottom: .5rem; }

/* Preview column: real-inch sheets, scaled to fit */
.preview { position: relative; overflow: hidden; min-height: 300px; min-width: 0; }
.sheets { display: flex; flex-direction: column; gap: 16px; width: max-content; }
.sheet { position: relative; background: #fff; box-shadow: 0 10px 26px -14px rgba(40,35,29,.45); flex: none; overflow: hidden; font-family: var(--body); break-after: page; page-break-after: always; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet:last-child { break-after: auto; page-break-after: auto; }
.sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: .2in; border-bottom: 2px solid; padding-bottom: .08in; }
.sh-title { font-family: var(--display); font-weight: 700; font-size: 24pt; line-height: 1.05; word-wrap: break-word; min-width: 0; }
.sh-sub { font-size: 9pt; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.sh-sub.line { min-width: 2.2in; border-bottom: 1px solid; height: 14pt; }
.sh-foot { position: absolute; left: 0; right: 0; bottom: .22in; text-align: center; font-size: 7pt; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
/* weekly */
.wk { display: grid; grid-template-columns: 1fr 1fr; gap: .14in; margin-top: .14in; }
.wk-box { border: 1px solid; border-radius: 4px; padding: .06in .12in; overflow: hidden; }
.wk-day { font-family: var(--display); font-weight: 700; font-size: 14pt; line-height: 1; display: flex; justify-content: space-between; align-items: baseline; }
.wk-day small { font-family: var(--body); font-weight: 400; font-size: 8pt; letter-spacing: .1em; text-transform: uppercase; }
.wk-line { border-bottom: 1px solid; display: flex; align-items: flex-end; gap: .08in; font-size: 10pt; line-height: 1.15; overflow: hidden; white-space: nowrap; }
.wk-line .bx, .bx { display: inline-block; width: 9pt; height: 9pt; border: 1px solid; flex: none; margin-bottom: 3pt; }
.wk-line .tx { overflow: hidden; text-overflow: ellipsis; padding-bottom: 2pt; }
/* tables (daily / group / month / tracker) */
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: .16in; font-size: 10.5pt; }
.tbl th { font-size: 8pt; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; text-align: left; padding: 0 .06in .05in; border-bottom: 1.5px solid; }
.tbl td { border-bottom: 1px solid; padding: 0 .06in; vertical-align: middle; overflow: hidden; line-height: 1.2; }
.tbl td.c, .tbl th.c { text-align: center; padding-left: 0; padding-right: 0; }
.tbl td + td, .tbl th + th { border-left: 1px solid; }
.who { font-family: var(--display); font-weight: 700; font-size: 12pt; }
.verse { font-family: var(--display); font-style: italic; font-size: 9.5pt; }
.month { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .25in; }
/* journal */
.jp { display: flex; flex-direction: column; overflow: hidden; }
.jp + .jp { border-top: 1px dashed #bbb; }
.jp-sec { overflow: hidden; display: flex; flex-direction: column; }
.jp-label { font-size: 8.5pt; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; height: .3in; display: flex; align-items: flex-end; padding-bottom: .04in; }
.jp-label b { font-family: var(--display); font-size: 13pt; letter-spacing: .02em; margin-right: .06in; text-transform: none; }
.jp-area { flex: 1; }

/* Content below the tool */
.steps { counter-reset: step; margin-left: 0; }
.steps li { list-style: none; position: relative; padding-left: 2.2rem; margin: .7rem 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: .1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--moss); color: #FBF7EF; font-size: .875rem; font-weight: 700; display: grid; place-items: center; }
.styles-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; background: var(--page); border: 1px solid var(--edge); }
.styles-table th, .styles-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--edge); color: var(--secondary); vertical-align: top; }
.styles-table th { color: var(--ink); background: rgba(47,74,58,.06); }
.styles-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
details.faq { background: var(--page); border: 1px solid var(--edge); border-radius: 8px; padding: .7rem 1rem; margin: .6rem 0; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.app-note { background: var(--page); border-left: 3px solid var(--moss); border-radius: 10px; padding: 1.4rem 1.6rem; margin: 2rem 0; box-shadow: 0 14px 30px -28px rgba(40,35,29,.35); }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .8rem; }
.cta { display: inline-block; background: var(--moss); color: #FBF7EF; font-weight: 700; padding: .7rem 1.2rem; border-radius: 12px; text-decoration: none; }
.cta:hover { color: #FBF7EF; opacity: .92; }
.related { background: rgba(47,74,58,.07); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 2rem 0; }
.related p { margin: 0 0 .4rem; font-weight: 700; color: var(--moss); }
.related ul { margin: 0 0 0 1.2rem; }
/* examples guide */
.example { background: var(--page); border: 1px solid var(--edge); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 1.4rem 0; box-shadow: 0 14px 30px -28px rgba(40,35,29,.35); }
.example h2 { margin-top: 0; font-size: 1.5rem; }
.example .for { font-size: .9rem; color: var(--secondary); margin: .2rem 0 .6rem; }
.example ul.req { list-style: none; margin: .6rem 0; padding: 0; border-top: 1px solid var(--edge); }
.example ul.req li { margin: 0; padding: .45rem 0 .45rem 1.5rem; border-bottom: 1px solid var(--edge); position: relative; color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.45; }
.example ul.req li::before { content: ""; position: absolute; left: 0; top: .72rem; width: .7rem; height: .7rem; border: 1.5px solid var(--moss); border-radius: 2px; }
.example .make { margin-top: .5rem; }
.toc { background: rgba(47,74,58,.07); border-radius: 12px; padding: 1rem 1.4rem; margin: 1.5rem 0; }
.toc ol { margin: .3rem 0 0 1.2rem; }
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--edge); color: var(--secondary); margin-top: 3rem; }
footer a { color: var(--moss); text-decoration: none; }
@media (max-width: 860px) {
    .desk { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.45rem; }
}
@media (max-width: 480px) {
    header, main { padding-left: 1rem; padding-right: 1rem; }
    .adelyons-breadcrumb ol { padding: 0 1rem; }
    .two { grid-template-columns: 1fr; }
    .panel { padding: 1rem .85rem; }
    .example { padding: 1rem; }
    h1 { font-size: 1.85rem; margin-top: 1.4rem; }
    .app-note { padding: 1.1rem 1.1rem; }
}
@media print {
    body { background: #fff; }
    header, nav, .prose, .panel, footer, .no-print, .lang-switch { display: none !important; }
    main { max-width: none; padding: 0; margin: 0; }
    .desk { display: block; margin: 0; }
    .preview { overflow: visible; min-height: 0; height: auto !important; }
    .sheets { display: block; transform: none !important; }
    .sheet { box-shadow: none; margin: 0; }
}
