/* Estilos da interface F2 do Medite 0.3.0, usados sem alteração visual na demonstração.
 * Ajustes: removida a regra de janela nativa e caminhos das fontes. */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/newsreader-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/newsreader-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400 600;font-display:swap;src:url('../fonts/newsreader-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400 600;font-display:swap;src:url('../fonts/newsreader-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Figtree';font-style:normal;font-weight:500 700;font-display:swap;src:url('../fonts/figtree-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Figtree';font-style:normal;font-weight:500 700;font-display:swap;src:url('../fonts/figtree-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
.f2-circle-stage{position:relative;width:96px;height:96px;background:transparent;}
.f2-orb{position:absolute;left:24px;top:24px;width:48px;height:48px;border-radius:50%;border:2px solid #ae8451;background:#fff6e4;
 color:#79431a;display:grid;place-items:center;font:30px Georgia,serif;cursor:grab;user-select:none;touch-action:none;padding:0;}
.f2-orb:focus-visible{outline:3px solid #246dd8;outline-offset:2px;}
.f2-orb:active{cursor:grabbing;}
.f2-error{position:absolute;left:0;top:0;background:#fee;color:#800;font:8px system-ui;}
.f2-stage{position:relative;width:100%;height:100%;background:transparent;color:#28313a;font:14px system-ui,sans-serif;}
.f2-page{box-sizing:border-box;background:#faf8f2;border-radius:13px;border:1px solid #d9d3c8;overflow:auto;
 box-shadow:none;display:flex;flex-direction:column;}
.f2-page header,.f2-sheet header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #dad5c9;}
.f2-page button,.f2-sheet button{font:inherit;cursor:pointer;}
.f2-page-content{padding:30px 24px;flex:1;overflow:auto;}
.f2-page-content span{font-size:11px;letter-spacing:1.1px;color:#6a7c91;}
.f2-page-content h1{font:28px Georgia,serif;font-weight:400;}
.f2-page-content p{line-height:1.6;}
.f2-page footer{padding:14px 18px;font-size:11px;border-top:1px solid #ddd8cf;}
.f2-ear{box-sizing:border-box;border:1px solid #ccc2ac;border-left:0;border-radius:0 10px 10px 0;background:#e7ebee;
 color:#374c5b;cursor:pointer;font-size:10px;font-weight:650;text-align:center;padding:3px;overflow:hidden;}
.f2-ear-1{background:#e7e6f2}.f2-ear-2{background:#e9eee2}.f2-ear-3{background:#eee7e1}
.f2-ear.active{filter:brightness(.9);outline:2px solid #637da2;outline-offset:-2px;}
.f2-sheet{box-sizing:border-box;background:#fffefb;border-radius:12px;border:1px solid #b5a890;overflow:auto;}
.f2-sheet p{padding:16px;line-height:1.5;}
.f2-inline{margin-top:12px;padding:14px;background:#fff;border:1px solid #cabfa9;border-radius:10px;}
.f2-veil{width:100%;height:100%;background:rgba(22,22,20,.30);cursor:default;}
.f2-page-error{position:absolute;top:0;left:0;background:#fee;padding:6px;color:#b00;z-index:100;}
.f2-no-layout{background:transparent;}

/* F2 E2 reading styles: local fonts only, explicit offline fallbacks. */
.f2-page{background:#f7f5f0;border:1px solid rgba(28,27,25,.2);border-radius:3px;color:#1c1b19;}
.f2-reading{height:100%;min-height:0;display:flex;flex-direction:column;color:#1c1b19;font-family:Figtree,"Segoe UI",sans-serif;}
.f2-reading-head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:10px 18px;border-bottom:1px solid rgba(28,27,25,.2);}
.f2-reading-person{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;}
.f2-reading-portrait{width:30px;height:30px;overflow:hidden;border-radius:50%;display:grid;place-items:center;}
.f2-reading-portrait img{max-width:100%;height:100%;object-fit:contain;}
.f2-reading-close{background:transparent;border:0;color:#5d5a54;cursor:pointer;}
.f2-reading-body{flex:1;min-height:0;overflow:auto;padding:28px 26px;}
.f2-reading-reference{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#5d5a54;}
.f2-reading-version{border:1px solid #bcb5ac;border-radius:3px;letter-spacing:.04em;font-size:10px;padding:2px 5px;margin-left:8px;}
.f2-reading blockquote{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:27px;line-height:1.4;margin:25px 0;color:#1c1b19;white-space:pre-wrap;}
.f2-reading blockquote.f2-reading-jesus{color:#9b1c2e;}
.f2-reading-notice,.f2-reading-feedback{font-size:12px;color:#5d5a54;}
.f2-reading-meditate{font:italic 16px Newsreader,Georgia,serif;color:#5d5a54;margin-top:20px;}
.f2-reading-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:24px;}
.f2-reading-actions button{border:0;border-right:1px solid #bcb5ac;background:none;color:#1c1b19;font-size:12px;padding:7px 10px;cursor:pointer;}
.f2-reading-actions button:last-child{border-right:0;}
.f2-reading-actions button:focus-visible,.f2-reading-close:focus-visible{outline:2px solid #246dd8;outline-offset:2px;}
.f2-reading-foot{border-top:1px solid rgba(28,27,25,.2);padding:13px 18px;color:#5d5a54;font-size:11.5px;font-weight:500;}
@media(prefers-reduced-motion:no-preference){.f2-reading{animation:f2-appear .45s ease-out both;}@keyframes f2-appear{from{opacity:0}to{opacity:1}}}
@media(prefers-reduced-motion:reduce){.f2-reading{animation:none!important;}}

.f2-orb{border:1.5px solid var(--f2-avatar-color,#d6b77f);background:rgba(18,24,32,.78);color:#fff;box-shadow:0 0 18px var(--f2-avatar-color,#d6b77f);overflow:hidden;}
.f2-orb-art{width:100%;height:100%;display:grid;place-items:center;overflow:hidden;border-radius:50%;}
.f2-orb-art img{width:100%;height:100%;object-fit:cover;}
.f2-orb-art .holy-cross{color:#f2eee2;font:28px Georgia,serif;}
.f2-orb-art .temporary-avatar{transform:scale(.45);transform-origin:center;}

@media(prefers-reduced-motion:no-preference){
 .f2-orb-pulse{animation:f2-orb-pulse 1.6s ease-in-out 4;}
 @keyframes f2-orb-pulse{0%,100%{box-shadow:0 0 18px var(--f2-avatar-color,#d6b77f);transform:scale(1)}50%{box-shadow:0 0 26px 8px var(--f2-avatar-color,#d6b77f);transform:scale(1.07)}}
}
@media(prefers-reduced-motion:reduce){.f2-orb-pulse{animation:none!important;}}

/* F2 E2: page controls stay accessible; passage fits the remaining viewport. */
.f2-page{overflow:hidden;}
.f2-reading{min-height:0;}
.f2-reading-body{overflow:hidden;min-height:0;flex:1 1 0;padding:20px 26px 12px;}
.f2-reading-body .f2-reading-reference{margin:0 0 14px;}
.f2-reading-body blockquote{margin:12px 0 15px;overflow-wrap:anywhere;}
.f2-reading-meditate{margin:12px 0 0;}
.f2-page .f2-reading-foot{flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:8px 14px 9px;}
.f2-reading-actions{margin:0;display:flex;justify-content:space-around;gap:0;flex-wrap:nowrap;width:100%;}
.f2-reading-actions button{flex:1 1 0;min-width:0;min-height:34px;padding:7px 5px;white-space:nowrap;}
.f2-reading-foot-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;line-height:1.3;}
.f2-reading-foot-meta .f2-reading-feedback{margin:0;white-space:nowrap;}

/* Verse-only crossfade; header and fixed actions never shift. */
.f2-reading-passage{opacity:1;transition:opacity 180ms ease-in-out;}
.f2-reading-passage-exit{opacity:0;}
@media(prefers-reduced-motion:reduce){
 .f2-reading-passage{transition:none!important;}
}

/* F2 quick-test placeholder; never requests avatar artwork. */
.f2-avatar-placeholder{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:rgba(247,245,240,.9);color:#1c1b19;font:600 18px "Segoe UI",sans-serif;}
.f2-orb .f2-avatar-placeholder{font-size:20px;}
.f2-reading-portrait .f2-avatar-placeholder{font-size:13px;}

/* F2 E3.1: structural sheet only; content is progressively integrated later. */
.f2-sheet{overflow:hidden;}
.f2-sheet-frame{height:100%;min-height:0;display:flex;flex-direction:column;font-family:Figtree,"Segoe UI",sans-serif;color:#1c1b19;background:#f7f5f0;}
.f2-sheet-frame-compact{width:100%;}
.f2-sheet-frame .f2-sheet-head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:12px 16px;border-bottom:1px solid rgba(28,27,25,.2);}
.f2-sheet-frame .f2-sheet-close{font-size:12px;background:transparent;border:0;color:#5d5a54;min-height:30px;}
.f2-sheet-frame .f2-sheet-close:focus-visible{outline:2px solid #246dd8;outline-offset:2px;}
.f2-sheet-frame .f2-sheet-body{flex:1;min-height:0;overflow:auto;padding:12px 16px;}
.f2-sheet-frame .f2-sheet-description{padding:0;margin:0;font-size:13px;line-height:1.5;}
.f2-ear:focus-visible{outline:2px solid #246dd8;outline-offset:-2px;}

/* F2 E3.2: offline listening and Bible navigation within the E3.1 sheet shell. */
.f2-panel{display:flex;flex-direction:column;gap:12px;font-size:13px;line-height:1.45;}
.f2-panel p{padding:0;margin:0;line-height:1.5;}
.f2-panel-meta{color:#5d5a54;font-size:11px;font-weight:650;letter-spacing:.045em;}
.f2-panel-lead{color:#504d49;}
.f2-panel-controls,.f2-bible-pickers{display:flex;flex-wrap:wrap;gap:10px;}
.f2-panel-controls label,.f2-bible-pickers label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:650;color:#5d5a54;min-width:0;}
.f2-panel-controls button,.f2-panel-controls select,.f2-bible-pickers select{font-family:Figtree,"Segoe UI",sans-serif;font-size:13px;color:#1c1b19;background:#fffefb;border:1px solid #bcb5ac;border-radius:4px;padding:8px;min-height:34px;}
.f2-panel-controls button{cursor:pointer;}
.f2-panel-controls select{min-width:82px;}
.f2-bible-pickers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;}
.f2-bible-pickers label:first-child{grid-column:1 / -1;}
.f2-bible-pickers select{width:100%;max-width:100%;text-overflow:ellipsis;}
.f2-panel select:focus-visible,.f2-panel button:focus-visible{outline:2px solid #246dd8;outline-offset:2px;}
.f2-bible-passage{border-top:1px solid #dad5c9;padding-top:12px;}
.f2-bible-passage blockquote{padding:0;margin:9px 0;font:20px/1.4 Newsreader,Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;}
.f2-panel-feedback{min-height:20px;color:#5d5a54;}
.f2-panel-warning{font-size:12px;color:#7d4a1c;}


/* F2 E3.2: accessible status without additional footer lines. */
.f2-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.f2-reading-error{position:absolute;top:54px;left:18px;right:18px;padding:8px 10px;background:#fff8ee;border:1px solid #b95b35;border-radius:4px;color:#71331b;font:12px Figtree,\"Segoe UI\",sans-serif;z-index:2;}
.f2-reading{position:relative;}

/* F2 E3.2: primary action inside the Bible sheet — clear button affordance. */
.f2-sheet .f2-bible-open,.f2-page .f2-bible-open{
 display:block;width:100%;min-height:44px;box-sizing:border-box;
 margin-top:4px;padding:11px 14px;border:1px solid #28313a;border-radius:7px;
 background:#28313a;color:#fffefb;font:650 13px Figtree,"Segoe UI",sans-serif;
 text-align:center;line-height:1.4;cursor:pointer;
 transition:background-color 140ms ease,border-color 140ms ease,transform 140ms ease;
}
.f2-sheet .f2-bible-open:hover,.f2-page .f2-bible-open:hover{background:#43515e;border-color:#43515e;}
.f2-sheet .f2-bible-open:active,.f2-page .f2-bible-open:active{transform:translateY(1px);}
.f2-sheet .f2-bible-open:focus-visible,.f2-page .f2-bible-open:focus-visible{outline:3px solid #246dd8;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.f2-sheet .f2-bible-open,.f2-page .f2-bible-open{transition:none;}}

/* F2 E3.3: private notes inside the existing E3.1 sheet geometry. */
.f2-notes{gap:10px;min-width:0;}
.f2-notes-label{font:650 12px Figtree,"Segoe UI",sans-serif;color:#44413d;}
.f2-notes textarea{box-sizing:border-box;width:100%;min-width:0;resize:vertical;min-height:92px;max-height:180px;
 padding:10px 11px;border:1px solid #bcb5ac;border-radius:6px;background:#fffefb;color:#1c1b19;
 font:13px/1.5 Figtree,"Segoe UI",sans-serif;}
.f2-notes textarea:focus-visible,.f2-notes button:focus-visible{outline:2px solid #246dd8;outline-offset:2px;}
.f2-notes-save-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#5d5a54;}
.f2-notes-save-row button{min-height:36px;padding:8px 13px;border:1px solid #28313a;border-radius:6px;
 background:#28313a;color:#fffefb;font:650 12px Figtree,"Segoe UI",sans-serif;cursor:pointer;}
.f2-notes-save-row button:hover:not(:disabled){background:#43515e;}
.f2-notes-save-row button:disabled{opacity:.48;cursor:not-allowed;}
.f2-notes-history{border-top:1px solid #dad5c9;padding-top:12px;display:flex;flex-direction:column;gap:10px;min-width:0;}
.f2-notes-history h3{margin:0;font:650 13px Figtree,"Segoe UI",sans-serif;color:#28313a;}
.f2-notes-history h3 span{font-weight:400;color:#5d5a54;}
.f2-notes-empty{font-size:12px;color:#5d5a54;}
.f2-notes-item{border:1px solid #dad5c9;background:#fffefb;border-radius:6px;padding:10px;min-width:0;}
.f2-notes-item>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#28313a;}
.f2-notes-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;
 margin-top:10px;font-size:10px;color:#5d5a54;}
.f2-notes-item-actions>span:first-child{margin-right:auto;}
.f2-notes-item-actions button{border:1px solid #bcb5ac;border-radius:5px;padding:5px 8px;background:transparent;
 color:#71331b;font:600 11px Figtree,"Segoe UI",sans-serif;cursor:pointer;min-height:30px;}
.f2-notes-item-actions button:hover{background:#f4eee8;}
.f2-notes-error{border:1px solid #a94435;background:#fff5ef;border-radius:6px;padding:12px;color:#71331b;}
.f2-notes-error p{margin:5px 0 0;}

/* F2 E3.4: compact, accessible settings inside the unchanged sheet shell. */
.f2-settings{gap:12px;}
.f2-settings-field{display:flex;flex-direction:column;gap:5px;font:650 11px Figtree,"Segoe UI",sans-serif;color:#504d49;min-width:0;}
.f2-settings-field select,.f2-settings-field input{width:100%;box-sizing:border-box;min-height:38px;
 padding:8px;border:1px solid #bcb5ac;border-radius:6px;background:#fffefb;color:#1c1b19;
 font:13px Figtree,"Segoe UI",sans-serif;}
.f2-settings-times{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;}
.f2-settings-toggle{display:flex;align-items:center;gap:9px;font:600 12px Figtree,"Segoe UI",sans-serif;color:#28313a;}
.f2-settings-toggle input{width:17px;height:17px;accent-color:#28313a;}
.f2-settings-hint{font-size:11px;color:#5d5a54;line-height:1.5;}
.f2-settings-save{min-height:42px;width:100%;padding:9px 14px;border:1px solid #28313a;
 border-radius:7px;background:#28313a;color:#fffefb;font:650 13px Figtree,"Segoe UI",sans-serif;cursor:pointer;}
.f2-settings-save:hover:not(:disabled){background:#43515e;}
.f2-settings-save:disabled{opacity:.55;cursor:not-allowed;}
.f2-settings-save:focus-visible,.f2-settings-field :focus-visible,.f2-settings-toggle input:focus-visible{outline:2px solid #246dd8;outline-offset:2px;}
.f2-settings-status{font-size:12px;color:#365844;min-height:17px;}


/* F2 E4.1: conservative visual polish. Preserve approved pale palette, positions,
   native hit regions, geometry, typography identities and existing interactions. */
.f2-ear{
 font-family:Figtree,"Segoe UI",sans-serif;font-size:11px;font-weight:700;line-height:1.2;
 transition:filter 140ms ease,box-shadow 140ms ease;
}
.f2-ear:hover:not(:disabled){filter:brightness(.96);}
.f2-ear.active{
 filter:none;
 box-shadow:inset 3px 0 0 #526e91,inset 0 0 0 1px rgba(37,63,88,.30);
 font-weight:750;
}
.f2-ear:focus-visible,.f2-panel select:focus-visible,.f2-panel button:focus-visible,
.f2-settings-field :focus-visible,.f2-settings-toggle input:focus-visible,
.f2-reading-actions button:focus-visible,.f2-reading-close:focus-visible,
.f2-sheet-close:focus-visible{
 outline:2px solid #17283f;outline-offset:-3px;
 box-shadow:inset 0 0 0 2px #fffefb;
}
.f2-page .f2-reading-actions button{
 border-radius:6px;transition:background-color 130ms ease,color 130ms ease;
}
.f2-page .f2-reading-actions button:hover{background:rgba(40,49,58,.08);}
.f2-page .f2-reading-actions button:active{background:rgba(40,49,58,.15);}
.f2-page .f2-reading-close,.f2-sheet .f2-sheet-close{
 border-radius:6px;padding:5px 9px;
}
.f2-page .f2-reading-close:hover,.f2-sheet .f2-sheet-close:hover{
 background:rgba(40,49,58,.08);color:#28313a;
}
.f2-sheet .f2-panel-controls button{
 border:1px solid #28313a;background:#28313a;color:#fffefb;
 border-radius:8px;min-height:44px;font-weight:650;
}
.f2-sheet .f2-panel-controls button:hover:not(:disabled){background:#43515e;}
.f2-notes textarea{resize:none;}
.f2-sheet .f2-panel select,.f2-settings-field select{
 border-radius:8px;
}
.f2-sheet .f2-panel select:hover,.f2-settings-field select:hover,.f2-settings-field input:hover{
 border-color:#77818b;
}
.f2-sheet-body,.f2-reading-body{
 scrollbar-color:#a8a29a transparent;scrollbar-width:thin;
}
.f2-sheet-body::-webkit-scrollbar,.f2-reading-body::-webkit-scrollbar{width:7px;}
.f2-sheet-body::-webkit-scrollbar-thumb,.f2-reading-body::-webkit-scrollbar-thumb{
 background:#a8a29a;border-radius:7px;
}
@media(prefers-reduced-motion:reduce){
 .f2-ear,.f2-page .f2-reading-actions button{transition:none!important;}
}


/* E4.2 — user-approved 3D binder, actual Windows F2 windows.
 * All relief remains INSIDE Windows SetWindowRgn rectangles. No outside shadows:
 * those would be hard-clipped and look jagged. Tabs TOUCH the page, never overlap.
 * Native geometry, click-through, hit regions and dimensions remain unchanged. */
.f2-page{
 border-radius:12px;
 border:1px solid #d6cbbd;
 background:linear-gradient(135deg,#fffefa 0%,#faf7f1 45%,#f0ebe2 100%);
 box-shadow:inset 1px 2px 0 rgba(255,255,255,.85),
            inset -3px -3px 8px rgba(82,71,55,.11),
            inset 0 -5px 0 rgba(129,113,90,.10);
}
.f2-page .f2-reading-head{
 background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(246,242,236,.6));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.f2-page .f2-reading-foot{
 background:linear-gradient(180deg,#f8f5ef,#eee9e1);
 box-shadow:inset 0 1px 0 #fff;
}
.f2-ear{
 /* White text for every saturated / dark tab, including amber. */
 color:#fff;
 font-family:Figtree,"Segoe UI",sans-serif;
 font-size:11px;font-weight:750;line-height:1.15;
 border:1px solid var(--f2-tab-edge);
 border-left:0;
 border-radius:12px;
 padding:2px 3px;
 background:linear-gradient(160deg,var(--f2-tab-light) 0%,var(--f2-tab-main) 47%,var(--f2-tab-edge) 145%);
 text-shadow:0 1px 1px rgba(0,0,0,.20);
 /* Inner relief rather than clipped exterior dropshadow. */
 box-shadow:inset 0 2px 1px rgba(255,255,255,.28),
            inset 0 -4px 4px rgba(0,0,0,.22),
            inset -2px 0 3px rgba(0,0,0,.10);
 filter:none;
 transition:filter 130ms ease,box-shadow 130ms ease;
}
.f2-ear-0{--f2-tab-light:#4a83ec;--f2-tab-main:#2967df;--f2-tab-edge:#1745a5;}
.f2-ear-1{--f2-tab-light:#9067e6;--f2-tab-main:#7548ce;--f2-tab-edge:#48258e;}
.f2-ear-2{--f2-tab-light:#1aab93;--f2-tab-main:#098975;--f2-tab-edge:#075546;}
.f2-ear-3{--f2-tab-light:#bf771c;--f2-tab-main:#a45d09;--f2-tab-edge:#704006;}
.f2-ear:hover:not(:disabled){filter:brightness(1.09);}
.f2-ear.active{
 color:#fff;
 font-weight:800;
 filter:none;
 outline:0;
 box-shadow:inset 0 0 0 2px rgba(255,255,255,.84),
            inset 0 0 0 4px rgba(0,0,0,.18),
            inset 0 -4px 4px rgba(0,0,0,.20);
}
.f2-ear:focus-visible,.f2-ear.active:focus-visible{
 outline:2px solid #fff;
 outline-offset:-4px;
 box-shadow:inset 0 0 0 5px #17283f;
}
.f2-sheet{
 border-radius:12px;
 border:1px solid #d5cab9;
 background:linear-gradient(135deg,#fffefa,#f0ebe2);
 box-shadow:inset 1px 2px 0 rgba(255,255,255,.92),
            inset -3px -3px 7px rgba(73,60,42,.12),
            inset 0 -5px 0 rgba(129,113,90,.10);
}
.f2-sheet-frame{
 background:linear-gradient(135deg,#fffefa,#f3efe7);
 --f2-sheet-light:#4a83ec;
 --f2-sheet-main:#2967df;
 --f2-sheet-edge:#1745a5;
}
.f2-sheet-theme-0{--f2-sheet-light:#4a83ec;--f2-sheet-main:#2967df;--f2-sheet-edge:#1745a5;}
.f2-sheet-theme-1{--f2-sheet-light:#9067e6;--f2-sheet-main:#7548ce;--f2-sheet-edge:#48258e;}
.f2-sheet-theme-2{--f2-sheet-light:#1aab93;--f2-sheet-main:#098975;--f2-sheet-edge:#075546;}
.f2-sheet-theme-3{--f2-sheet-light:#bf771c;--f2-sheet-main:#a45d09;--f2-sheet-edge:#704006;}
.f2-sheet-frame .f2-sheet-head{
 min-height:54px;
 box-sizing:border-box;
 color:#fff;
 background:linear-gradient(158deg,var(--f2-sheet-light) 0%,var(--f2-sheet-main) 56%,var(--f2-sheet-edge) 155%);
 border-bottom:2px solid var(--f2-sheet-edge);
 box-shadow:inset 0 2px 1px rgba(255,255,255,.26),
            inset 0 -3px 4px rgba(0,0,0,.16);
}
.f2-sheet-frame .f2-sheet-head strong{color:#fff;font-weight:800;text-shadow:0 1px 1px rgba(0,0,0,.18);}
.f2-sheet-frame .f2-sheet-head .f2-sheet-close{
 color:#fff;
 background:transparent;
 font-weight:650;
 text-shadow:0 1px 1px rgba(0,0,0,.18);
}
.f2-sheet-frame .f2-sheet-head .f2-sheet-close:hover{color:#fff;background:rgba(255,255,255,.18);}
.f2-sheet-frame .f2-sheet-head .f2-sheet-close:focus-visible{
 outline:2px solid #fff;outline-offset:-3px;box-shadow:inset 0 0 0 4px #17283f;
}
.f2-sheet-frame .f2-sheet-body{background:transparent;}
/* Harmonize 3D controls with existing functionality, without extra height. */
.f2-sheet .f2-bible-open,.f2-sheet .f2-settings-save,.f2-sheet .f2-panel-controls button,
.f2-sheet .f2-notes-save-row button:not(:disabled){
 background:linear-gradient(180deg,#435362,#28343f);
 color:#fff;
 border-color:#202c37;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -2px 1px rgba(0,0,0,.15);
}
.f2-sheet .f2-bible-open:hover,.f2-sheet .f2-settings-save:hover:not(:disabled),
.f2-sheet .f2-panel-controls button:hover:not(:disabled),
.f2-sheet .f2-notes-save-row button:hover:not(:disabled){
 background:linear-gradient(180deg,#526678,#334453);
}
@media(prefers-reduced-motion:reduce){.f2-ear{transition:none!important;}}


/* F2 E4.3-A: opt-in PROOF ONLY. The page WebView is transparent and
 * Windows receives rectangular native hit regions. Let Chromium rasterize
 * the visible rounded edges. Do not introduce E4.3-B layout or styling. */
.f2-e43a-transparency-test{background:transparent!important;}
.f2-e43a-transparency-test .f2-page{
 border-radius:12px;
 background-clip:padding-box;
}
.f2-e43a-transparency-test .f2-ear{
 border-radius:0 12px 12px 0;
 border-left:0;
}
/* The CSS shape stops at the rectangle edge; no shadow outside the native mask. */
.f2-e43a-transparency-test .f2-sheet{border-radius:12px;}


/* E4.3-A follow-up: action refinements, not the E4.3-B binder redesign. */
.f2-page .f2-reading-actions .f2-reading-whatsapp{
 background:#075e54;
 color:#fff;
 border:1px solid #075e54;
 border-radius:7px;
 font-weight:700;
}
.f2-page .f2-reading-actions .f2-reading-whatsapp:hover{
 background:#086e62;
 color:#fff;
}
.f2-page .f2-reading-actions .f2-reading-whatsapp:active{
 background:#064f47;
}
.f2-page .f2-reading-actions .f2-reading-whatsapp:focus-visible{
 outline:2px solid #1c1b19;
 outline-offset:2px;
}
.f2-page .f2-reading-actions .f2-reading-copy{
 font-weight:650;
}

/* F2 isolated 48 vs 56px circle comparison.
 * Exact 20px offset matches f2CircleMetrics and Rust hit region invoked by Circle.
 * Native main window remains 96x96; no changes to page, notes or sheet layout. */
.f2-orb.f2-orb-56{
 left:20px;
 top:20px;
 width:56px;
 height:56px;
 border-width:1.5px;
 box-shadow:0 0 12px var(--f2-avatar-color,#d6b77f);
}
.f2-orb.f2-orb-56 .f2-orb-art{width:100%;height:100%;}
@media(prefers-reduced-motion:reduce){
 .f2-orb.f2-orb-56{animation:none!important;}
}

/* Avatar Stage A 96px: visual antialiasing is owned by Chromium.
 * Native circular region is 2 logical px wider: its 1-bit perimeter must
 * never clip the CSS art. No scheduling, tray or hide-on-close changes. */
.f2-circle-stage.f2-circle-stage-96a{width:144px;height:144px;}
.f2-orb.f2-orb-96a{
 left:24px;
 top:24px;
 width:96px;
 height:96px;
 box-sizing:border-box;
 border:1px solid rgba(37,31,26,.75);
 background:transparent;
 box-shadow:0 1px 5px rgba(20,17,15,.15);
 overflow:hidden;
}
.f2-orb.f2-orb-96a .f2-orb-art{width:100%;height:100%;border-radius:50%;}
.f2-orb.f2-orb-96a .f2-orb-art img{width:100%;height:100%;object-fit:cover;}
@media(prefers-reduced-motion:no-preference){
 .f2-orb.f2-orb-96a.f2-orb-wave .f2-orb-art{
  transform-origin:50% 75%;
  animation:f2-avatar-96a-wave 1.45s ease-in-out infinite;
 }
 @keyframes f2-avatar-96a-wave{
  0%,100%{transform:rotate(0deg);}
  25%{transform:rotate(-3deg);}
  60%{transform:rotate(3deg);}
 }
}
@media(prefers-reduced-motion:reduce){
 .f2-orb.f2-orb-96a .f2-orb-art{animation:none!important;}
}

/* Approved visual preview: optional metallic gold 3D rim for 96px F2 avatar.
 * CSS only: native shape, 96px geometry, click/drag and waving stay unchanged.
 * No image, external asset or dependency required; no effect on legacy sizes. */
.f2-orb.f2-orb-96a.f2-orb-gold{
 padding:5px;
 border:1px solid #70431a;
 background:conic-gradient(from 230deg,
  #a96c22 0deg,#d9a440 35deg,#fff3b9 66deg,#f7d36f 100deg,
  #c58b2e 160deg,#80501a 210deg,#b37724 270deg,
  #f6ce72 319deg,#a96c22 360deg);
 box-shadow:
  0 2px 5px rgba(26,18,9,.24),
  inset 0 1px 1px rgba(255,248,207,.82),
  inset 0 -2px 2px rgba(88,48,10,.47);
}
.f2-orb.f2-orb-96a.f2-orb-gold .f2-orb-art{
 width:100%;
 height:100%;
 box-sizing:border-box;
 border:1px solid rgba(73,42,20,.75);
 border-radius:50%;
 box-shadow:0 0 0 1px rgba(255,229,143,.45);
 overflow:hidden;
 background:#46315d;
}
.f2-orb.f2-orb-96a.f2-orb-gold .f2-orb-art img{
 width:100%;
 height:100%;
 object-fit:cover;
}
.f2-orb.f2-orb-96a.f2-orb-gold:focus-visible{
 outline:3px solid #246dd8;
 outline-offset:2px;
}

/* Optional E4.3-A gold panels: golden metallic border INSIDE native square masks.
 * No geometry/margin/external shadow: do not bring back GDI jagged corners.
 * Light reading surfaces and all four existing colored tab headers are preserved. */
.f2-e43a-transparency-test.f2-gold-panels .f2-page,
.f2-e43a-transparency-test.f2-gold-panels .f2-sheet{
 border:3px solid transparent;
 border-radius:12px;
 background:
  linear-gradient(135deg,#fffefa 0%,#f7f3eb 70%,#eee8df 100%) padding-box,
  conic-gradient(from 225deg,
   #8d531a 0deg,#d4a047 32deg,#fff0a9 65deg,#f9d780 94deg,
   #c68d34 155deg,#87501c 217deg,#ba822f 280deg,#f2c86e 316deg,#8d531a 360deg) border-box;
 background-clip:padding-box,border-box;
}
.f2-e43a-transparency-test.f2-gold-panels .f2-page{
 color:#1c1b19;
}
.f2-e43a-transparency-test.f2-gold-panels .f2-sheet{
 color:#1c1b19;
}

/* F2 approved gold 3D return-to-meditation button: header only in Bible mode.
 * No new window, changed pane geometry, layout gap or external asset. */
.f2-reading-head{gap:10px;}
.f2-reading-person{min-width:0;flex:1 1 auto;}
.f2-reading-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.f2-page .f2-reading-return-meditation{
 flex:0 0 auto;
 min-height:32px;
 max-width:43%;
 padding:5px 12px;
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 white-space:nowrap;
 border:1px solid #8c571c;
 border-radius:10px;
 color:#432710;
 background:linear-gradient(180deg,
  #fff4bf 0%,#f9dc7c 18%,#e9b34d 45%,#c18a2f 72%,#a66b20 90%,#e3ad48 100%);
 box-shadow:inset 0 2px 1px rgba(255,255,225,.85),
            inset 0 -2px 2px rgba(101,57,13,.38),
            0 2px 3px rgba(68,40,16,.32);
 text-shadow:0 1px rgba(255,246,194,.8);
 font:700 12px Figtree,"Segoe UI",sans-serif;
 cursor:pointer;
}
.f2-page .f2-reading-return-meditation:hover{
 background:linear-gradient(180deg,#fff8d1,#ffe396 24%,#eabb57 65%,#ac7228 100%);
}
.f2-page .f2-reading-return-meditation:active{
 box-shadow:inset 0 2px 4px rgba(101,57,13,.45);
 transform:translateY(1px);
}
.f2-page .f2-reading-return-meditation:focus-visible{
 outline:2px solid #246dd8;
 outline-offset:2px;
}
.f2-page .f2-reading-return-meditation span[aria-hidden="true"]{
 font-size:15px;line-height:1;
 color:#744514;
}
