/*
Theme Name: The Ledger
Description: An editorial discussion theme for the Forgotten Fortunes community.
Version: 1.0.21
Author: Forgotten Fortunes
License: GPL-2.0-or-later
Text Domain: the-ledger
*/
:root{--bg:#101918;--panel:#14201e;--emerald:#1d4136;--gold:#c8aa70;--paper:#e9e3d5;--muted:#a3afa8;--line:#2a3a33;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--paper);font-family:var(--sans);font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}a,button{transition:color .15s,background .15s}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;top:8px;left:8px;background:var(--gold);color:var(--bg);z-index:99999;padding:12px}.ledger-header{max-width:1500px;margin:auto;padding:25px 44px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}.ledger-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.ledger-monogram{width:43px;height:48px;border:1px solid var(--gold);display:grid;place-items:center;font:34px var(--serif);color:var(--gold);position:relative}.ledger-monogram span{position:absolute;right:5px;bottom:0}.ledger-brand strong{display:block;font:30px/1.1 var(--serif);letter-spacing:-1px}.ledger-brand small{font-size:8px;letter-spacing:2.2px;color:var(--gold)}.ledger-search{margin-left:auto;display:flex;width:min(330px,30vw);border-bottom:1px solid #526256}.ledger-search input{min-width:0;width:100%;border:0;background:transparent;color:var(--paper);padding:10px 0;font-size:13px}.ledger-search button{border:0;background:none;color:var(--gold);font-size:26px;width:44px;cursor:pointer}.ledger-account{display:flex;align-items:center;gap:24px;font-size:12px;white-space:nowrap}.ledger-button{padding:11px 18px;color:var(--paper);background:var(--emerald);border:1px solid #44644f;border-radius:2px}.ledger-button:hover{background:#2a5344}.ledger-shell{max-width:1420px;margin:auto;display:grid;grid-template-columns:260px minmax(0,1fr);padding:0 36px}.ledger-sidebar{padding:35px 30px 30px 0;border-right:1px solid var(--line)}.eyebrow{display:block;font-size:9px;font-weight:700;letter-spacing:2.2px;color:var(--gold);margin-bottom:18px}.ledger-discover a{display:block;font-size:13px;padding:9px 12px;margin:1px 0;border-radius:2px}.ledger-discover a:hover{background:var(--emerald)}.ledger-discover a:first-of-type{color:var(--gold);background:#1d3028}.ledger-side-section{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}.ledger-side-section>a{font-size:12px;display:flex;align-items:baseline;gap:12px;padding:9px 0;line-height:1.5}.ledger-side-section>a>span{margin-left:auto;color:var(--muted)}.ledger-trending a small{font:15px var(--serif);color:var(--gold)}.ledger-side-note{margin-top:34px;padding:22px 18px;border:1px solid #3b4635;background:linear-gradient(145deg,#22362b,#14201e)}.ledger-side-note .eyebrow{font-size:8px;letter-spacing:1.5px}.ledger-side-note p{font:24px/1.4 var(--serif);margin:14px 0}.ledger-side-note>a{font-size:10px;color:var(--gold)}.ledger-mobile-nav>summary{display:none}.ledger-main{padding:40px 0 50px 48px;min-width:0;min-height:80vh}.ledger-intro{padding:10px 0 30px;border-bottom:1px solid var(--line);position:relative}.ledger-intro h1{font:clamp(32px,4vw,53px)/1.14 var(--serif);font-weight:400;letter-spacing:-1.5px;margin:0 0 20px}.ledger-intro h1 em{color:var(--gold);font-weight:400}.ledger-intro p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 18px}.ledger-tabs{display:flex;gap:25px;overflow:auto;border-bottom:1px solid var(--line);scrollbar-width:thin}.ledger-tabs a{white-space:nowrap;padding:19px 0 15px;font-size:11px;color:var(--muted)}.ledger-tabs a[aria-current]{color:var(--gold);border-bottom:2px solid var(--gold)}.ledger-section-label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:23px}.ledger-section-label h2{font:19px var(--serif);margin:0}.ledger-section-label>span{font-size:9px;color:var(--muted);letter-spacing:.4px}.ledger-topic-row{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;gap:15px;padding:26px 0;border-bottom:1px solid var(--line)}.ledger-row-number{font:13px var(--serif);color:#7d8d7c;padding-top:4px}.ledger-category{color:var(--gold);font-size:9px;text-transform:uppercase;letter-spacing:1.5px}.ledger-topic-row h3{font:24px/1.3 var(--serif);font-weight:400;margin:7px 0 9px}.ledger-topic-row p{font-size:12px;color:#b6c1b8;line-height:1.8;margin:0 0 12px;max-width:760px}.ledger-row-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:9px;color:var(--muted)}.ledger-arrow{font-size:23px;color:var(--gold);padding-top:22px}.ledger-empty{padding:40px 0;color:var(--muted)}.ledger-pagination{display:flex;justify-content:space-between;margin-top:20px}.ledger-page{max-width:760px}.ledger-page h1{font:42px/1.2 var(--serif);margin-bottom:30px}.ledger-page h2{font:25px var(--serif);margin-top:32px}.ledger-page p{color:#bfc8c0;font-size:15px}.ledger-page a,.ledger-entry-body a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.ledger-footer{border-top:1px solid var(--line);padding:28px 44px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;max-width:1500px;margin:auto;color:var(--muted);font-size:10px}.ledger-footer strong{font:18px var(--serif);color:var(--paper)}.ledger-footer nav{margin-left:auto;display:flex;gap:18px}.ledger-footer small{display:block;width:100%;font-size:10px;color:#87988a}.ledger-entry{padding:26px 0;border-bottom:1px solid var(--line)}.ledger-entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-bottom:18px}.ledger-entry-number{color:var(--gold);font-family:var(--serif)}.ledger-entry-meta time{font-size:9px}.ledger-badge{font-size:9px;color:var(--gold);border:1px solid #526045;padding:2px 6px;margin-left:auto}.ledger-entry-body{font-size:16px;line-height:1.95}.ledger-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;flex-wrap:wrap}.ledger-vote{display:flex;align-items:center;gap:8px}.ledger-vote button{cursor:pointer;background:none;border:1px solid var(--line);color:var(--muted);min-width:36px;height:36px;border-radius:2px}.ledger-vote button[aria-pressed=true]{color:var(--gold);border-color:var(--gold)}.ledger-vote span,.ledger-vote-score{color:var(--gold);font-size:12px}.ledger-vote-score span{color:var(--muted);font-size:10px}.ledger-notice{color:var(--gold);background:var(--emerald);padding:10px}.ledger-lead{font:25px var(--serif)}
/* wpForo is the persistent discussion and account engine; this skin changes presentation only. */
body #wpforo-wrap{padding:0!important;margin:0!important;width:100%!important;max-width:none!important;background:transparent!important;color:var(--paper)!important;font-family:var(--sans)!important;font-size:14px!important;--wpforo-color-1:var(--bg);--wpforo-color-2:var(--paper)}body #wpforo-wrap a{color:var(--gold)}body #wpforo-wrap h1,body #wpforo-wrap #wpforo-title{font:36px/1.25 var(--serif)!important;color:var(--paper)!important;letter-spacing:-.6px}body #wpforo-wrap h2,body #wpforo-wrap h3{color:var(--paper)}body #wpforo-wrap .wpf-head-bar{background:none!important;padding:5px 0 22px!important;border-bottom:1px solid var(--line)!important}body #wpforo-wrap .wpforo-post-content{background:transparent!important;color:var(--paper)!important;padding:0!important;font:16px/1.95 var(--sans)!important}body #wpforo-wrap .wpforo-post-content p{font:inherit!important;margin:0 0 18px!important}body #wpforo-wrap .wpforo-post-content strong{color:var(--paper)}body #wpforo-wrap .post-wrap{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;margin:0!important;padding:26px 0!important}body #wpforo-wrap .wpf-post-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}body #wpforo-wrap .wpf-action{font-size:10px!important;color:var(--muted)!important;cursor:pointer;min-height:32px;display:inline-flex;align-items:center;gap:5px}body #wpforo-wrap input:not([type=checkbox]):not([type=radio]):not([type=submit]),body #wpforo-wrap textarea,body #wpforo-wrap select{background:#182620!important;color:var(--paper)!important;border:1px solid #4a5c4b!important;border-radius:2px!important;padding:10px!important;max-width:100%}body #wpforo-wrap .wpf-button,body #wpforo-wrap input[type=submit],body #wpforo-wrap button[type=submit]{background:var(--emerald)!important;color:var(--paper)!important;border:1px solid #4a6451!important;border-radius:2px!important;min-height:42px}body #wpforo-wrap .wpforo-category,body #wpforo-wrap .wpforo-forum,body #wpforo-wrap .wpforo-topic,body #wpforo-wrap .topic-wrap{background:transparent!important;color:var(--paper)!important;border-color:var(--line)!important;border-radius:0!important}body #wpforo-wrap .wpforo-forum-info,body #wpforo-wrap .wpforo-topic-info{padding:12px!important}body #wpforo-wrap .wpforo-forum-title,body #wpforo-wrap .wpforo-topic-title{font:23px/1.4 var(--serif)!important}body #wpforo-wrap .wpforo-topic-head,body #wpforo-wrap .wpforo-forum-head{background:var(--emerald)!important;color:var(--paper)!important;border:0!important}body #wpforo-wrap .wpforo-bottom{background:transparent!important;color:var(--muted)!important}body #wpforo-wrap .wpf-breadcrumb{font-size:10px!important;color:var(--muted)!important}body #wpforo-wrap .wpf-form-wrapper{background:#14201b!important;border:1px solid var(--line)!important;padding:20px!important;border-radius:2px!important}body #wpforo-wrap .wpf-reply-form-title{font:24px var(--serif)!important;color:var(--paper)!important}body #wpforo-wrap .ledger-entry-meta a{font-size:11px!important}body #wpforo-wrap .ledger-entry-actions .wpf-post-actions{float:none!important}body #wpforo-wrap .wpf-bar-right{color:var(--muted)}body #wpforo-wrap .wpfcl-1{color:var(--paper)!important}body #wpforo-wrap .wpfcl-2,body #wpforo-wrap .wpfcl-3,body #wpforo-wrap .wpfcl-4{color:var(--muted)!important}body #wpforo-wrap .wpforo-profile-content{background:var(--panel)!important}body #wpforo-wrap .wpforo-profile-head{background:var(--emerald)!important}body #wpforo-wrap table td{border-color:var(--line)!important}body #wpforo-wrap .mce-panel{background:#d9dfd7!important}body #wpforo-wrap .wpforo-post-content img{max-width:100%;height:auto}body #wpforo-wrap .ledger-entry-body{overflow-wrap:anywhere}
@media(min-width:1500px){.ledger-main{padding-right:40px}}@media(max-width:1000px){.ledger-header{padding:20px 24px;gap:24px}.ledger-shell{grid-template-columns:220px minmax(0,1fr);padding:0 24px}.ledger-main{padding-left:30px}.ledger-sidebar{padding-right:22px}.ledger-account{gap:14px}.ledger-brand strong{font-size:26px}.ledger-tabs{gap:20px}}@media(max-width:760px){.ledger-header{padding:17px 18px;gap:14px;flex-wrap:wrap}.ledger-brand{gap:9px}.ledger-brand strong{font-size:27px}.ledger-brand small{font-size:7px;letter-spacing:1.5px}.ledger-monogram{height:40px;width:35px;font-size:28px}.ledger-account{margin-left:auto;gap:10px;font-size:10px}.ledger-button{padding:8px 10px}.ledger-search{order:3;width:100%;margin:0}.ledger-search input{font-size:14px}.ledger-shell{display:block;padding:0 18px}.ledger-sidebar{padding:0;border-right:0;border-bottom:1px solid var(--line)}.ledger-mobile-nav>summary{display:block;list-style:none;padding:14px 0;cursor:pointer;font-size:12px;color:var(--gold)}.ledger-mobile-nav>summary:after{content:' −';float:right}.ledger-mobile-nav:not([open])>summary:after{content:' +'} .ledger-discover{display:flex;overflow-x:auto;gap:16px;padding-bottom:8px}.ledger-discover>.eyebrow{display:none}.ledger-discover a{white-space:nowrap;font-size:10px;padding:6px 0}.ledger-discover a:first-of-type{background:none}.ledger-side-section,.ledger-side-note{display:none}.ledger-main{padding:26px 0 36px;min-height:65vh}.ledger-intro{padding:0 0 24px}.ledger-intro .eyebrow{font-size:8px;letter-spacing:1.5px}.ledger-intro h1{font-size:35px;letter-spacing:-1px}.ledger-intro p{font-size:12px}.ledger-tabs{gap:22px}.ledger-tabs a{padding:16px 0;font-size:10px}.ledger-section-label>span{font-size:8px}.ledger-section-label h2{font-size:18px}.ledger-topic-row{grid-template-columns:18px minmax(0,1fr) 18px;gap:10px;padding:24px 0}.ledger-topic-row h3{font-size:23px}.ledger-topic-row p{font-size:12px}.ledger-row-meta{font-size:8px;gap:12px}.ledger-category{font-size:8px;letter-spacing:1px}.ledger-footer{padding:24px 18px}.ledger-footer nav{margin-left:0;gap:18px;flex-wrap:wrap}.ledger-entry-meta{gap:8px}.ledger-badge{margin-left:0}.ledger-entry-body{font-size:15px}.ledger-page h1{font-size:34px}body #wpforo-wrap h1,body #wpforo-wrap #wpforo-title{font-size:29px!important}body #wpforo-wrap .wpforo-post-content{font-size:15px!important}body #wpforo-wrap .wpf-post-actions{gap:12px}body #wpforo-wrap .wpf-action{min-height:40px}body #wpforo-wrap .wpf-form-wrapper{padding:12px!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* The Ledger 1.0.1: targeted mobile and composer polish (no wpForo core modifications) */
body #wpforo-wrap,body #wpforo-wrap .wpforo-main,body #wpforo-wrap .wpforo-content {min-width:0!important;max-width:100%!important;}
body #wpforo-wrap .mce-container,body #wpforo-wrap .mce-container-body,body #wpforo-wrap .mce-toolbar-grp,body #wpforo-wrap .mce-statusbar,body #wpforo-wrap .mce-menubar,body #wpforo-wrap .mce-edit-area{max-width:100%!important;box-sizing:border-box!important;}
body #wpforo-wrap .mce-toolbar-grp,body #wpforo-wrap .mce-statusbar{background-color:#26352e!important;border-color:#536353!important;}
body #wpforo-wrap .mce-edit-area{background-color:#182620!important;border-color:#536353!important;}
body #wpforo-wrap .mce-container iframe{max-width:100%!important;}
body #wpforo-wrap .wpf-form-wrapper input,body #wpforo-wrap .wpf-form-wrapper textarea{color:#e9e3d5!important;}
body #wpforo-wrap .wpf-form-wrapper input::placeholder,body #wpforo-wrap .wpf-form-wrapper textarea::placeholder{color:#a3afa8!important;}
@media(max-width:760px){
 .ledger-discover{flex-wrap:wrap;overflow:visible;gap:4px 14px;padding-bottom:12px;}
 .ledger-discover a{white-space:normal;line-height:1.4;padding:7px 0;font-size:11px;}
 .ledger-tabs{flex-wrap:wrap;overflow:visible;gap:0 16px;}
 .ledger-tabs a{white-space:normal;padding:10px 0;font-size:11px;}
 .ledger-header{gap:12px;}
 .ledger-topic-row p{overflow-wrap:anywhere;}
 body #wpforo-wrap .mce-toolbar-grp{overflow-x:auto;}
 body #wpforo-wrap .wpforo-post-content,body #wpforo-wrap .wpforo-form{max-width:100%;}
}


/* The Ledger 1.0.2 — wpForo profile and forum statistics dark-surface repair.
   Profile labels stay readable; nothing about wpForo users, IDs or account data changes. */
body #wpforo-wrap .wpforo-profile-wrap,
body #wpforo-wrap .wpforo-profile-wrap .wpforo-profile-head,
body #wpforo-wrap .wpforo-profile-wrap .wpforo-profile-home,
body #wpforo-wrap .wpforo-profile-wrap .wpforo-profile-content,
body #wpforo-wrap .wpforo-profile-wrap .h-top,
body #wpforo-wrap .wpforo-profile-wrap .h-bottom,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-section,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-section-body,
body #wpforo-wrap .wpforo-profile-wrap .profile-data,
body #wpforo-wrap .wpforo-profile-wrap .profile-info,
body #wpforo-wrap .wpforo-profile-wrap .profile-stat-data,
body #wpforo-wrap .wpforo-profile-wrap .profile-stat-data-item,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-menu,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-content,
body #wpforo-wrap .wpforo-profile-wrap .wpf-table,
body #wpforo-wrap .wpforo-profile-wrap .wpf-td,
body #wpforo-wrap .wpforo-profile-wrap .wpf-tr {
    background-color:#182821!important;
    background-image:none!important;
    color:#e9e3d5!important;
    border-color:#344b3d!important;
}
/* wpForo profile display-name area has additional nested light-colored wrappers. */
body #wpforo-wrap .wpforo-profile-wrap .profile-display-name,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap .profile-name-wrap,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap .profile-name,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap .profile-user-name,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap .profile-nicename,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap .profile-stat-data-item,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap .wpf-member-title,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-section-title {
    color:#e9e3d5!important;
    text-shadow:none!important;
}
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap a,
body #wpforo-wrap .wpforo-profile-wrap .wpforo-profile-home a {
    color:#d6b87d!important;
}
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap a:hover,
body #wpforo-wrap .wpforo-profile-wrap .wpforo-profile-home a:hover {
    color:#f3d898!important;
}
body #wpforo-wrap .wpforo-profile-wrap .profile-stat-data-item,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-section,
body #wpforo-wrap .wpforo-profile-wrap .wpf-tr {
    box-shadow:none!important;
}
/* Preserve recognizable stat icons, but remove glaring pale tiles behind them. */
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-stat,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-stat-item,
body #wpforo-wrap .wpforo-profile-wrap .wpf-stat-data,
body #wpforo-wrap .wpforo-profile-wrap .profile-stat,
body #wpforo-wrap .wpforo-profile-wrap .wpf-stat-icon {
    background-color:#22372e!important;
    color:#e9e3d5!important;
    border-color:#40594a!important;
}
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-stat span,
body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-stat-item span,
body #wpforo-wrap .wpforo-profile-wrap .profile-stat span {
    color:#e9e3d5!important;
}
/* The 'Forum Information' box is distinct from profile, but also defaults to a stark white panel. */
body #wpforo-wrap #wpforo-stat-body,
body #wpforo-wrap #wpforo-stat-body .wpforo-stat-table,
body #wpforo-wrap #wpforo-stat-body .wpf-row,
body #wpforo-wrap #wpforo-stat-body .wpf-cell,
body #wpforo-wrap #wpforo-stat-body .wpf-stat-other,
body #wpforo-wrap #wpforo-stat-body .wpf-stat-item {
    background-color:#182821!important;
    background-image:none!important;
    color:#d8e4d9!important;
    border-color:#344b3d!important;
}
body #wpforo-wrap #wpforo-stat-body a {color:#d6b87d!important;}
body #wpforo-wrap #wpforo-stat-body a:hover {color:#f3d898!important;}
body #wpforo-wrap #wpforo-stat-body .wpf-newest-member,
body #wpforo-wrap #wpforo-stat-body .wpf-stat-other,
body #wpforo-wrap #wpforo-stat-body span {
    color:#d8e4d9!important;
}
@media(max-width:760px){
 body #wpforo-wrap .wpforo-profile-wrap .wpf-profile-data-wrap,
 body #wpforo-wrap .wpforo-profile-wrap .wpforo-profile-content,
 body #wpforo-wrap #wpforo-stat-body{max-width:100%!important;overflow-wrap:anywhere;}
}


/* The Ledger 1.0.3 — verified wpForo v3 ID selectors. Remove stock footer,
   repair composer wrappers and the fallback light forum panels. */
#wpforo #wpforo-wrap #wpforo-poweredby,
#wpforo #wpforo-wrap #wpforo-stat-header,
#wpforo #wpforo-wrap #wpforo-stat-body,
#wpforo #wpforo-wrap #wpforo-footer,
#wpforo-wrap #wpforo-poweredby,
#wpforo-wrap #wpforo-stat-header,
#wpforo-wrap #wpforo-stat-body,
#wpforo-wrap #wpforo-footer {
  display:none!important;
}
#wpforo #wpforo-wrap .wpforo-post-form,
#wpforo #wpforo-wrap .wpforo-form,
#wpforo #wpforo-wrap .wpf-form-wrapper,
#wpforo #wpforo-wrap .wpf-reply-form,
#wpforo #wpforo-wrap .wp-editor-wrap,
#wpforo #wpforo-wrap .wp-editor-container,
#wpforo #wpforo-wrap .wp-editor-tools,
#wpforo #wpforo-wrap .wp-editor-tabs,
#wpforo #wpforo-wrap .quicktags-toolbar,
#wpforo #wpforo-wrap .mce-toolbar-grp,
#wpforo #wpforo-wrap .mce-panel,
#wpforo #wpforo-wrap .mce-statusbar,
#wpforo #wpforo-wrap .mce-edit-area,
#wpforo #wpforo-wrap .wpforo-reply,
#wpforo #wpforo-wrap .wpforo-topic-form,
#wpforo #wpforo-wrap .wpf-form-field,
#wpforo #wpforo-wrap .wpf-field {
  background-color:#17271f!important;
  background-image:none!important;
  color:#e9e3d5!important;
  border-color:#35493c!important;
}
#wpforo #wpforo-wrap .wpforo-post-form label,
#wpforo #wpforo-wrap .wpforo-form label,
#wpforo #wpforo-wrap .wpf-form-wrapper label,
#wpforo #wpforo-wrap .wpf-field label,
#wpforo #wpforo-wrap .wpf-form-field label,
#wpforo #wpforo-wrap .wpf-reply-form label {
  color:#e9e3d5!important;
}
#wpforo #wpforo-wrap .mce-edit-area iframe,
#wpforo #wpforo-wrap .wp-editor-container iframe,
#wpforo-wrap .mce-edit-area iframe {
  background-color:#17271f!important;
  color-scheme:dark;
  border-color:#35493c!important;
}
#wpforo #wpforo-wrap .mce-toolbar .mce-btn,
#wpforo #wpforo-wrap .mce-toolbar .mce-btn button,
#wpforo #wpforo-wrap .mce-toolbar .mce-btn i {
  color:#e9e3d5!important;
}
/* A TinyMCE iframe has its own HTML document. The theme supplies its
   internal background/text colours separately via a tiny frontend helper. */

/* The Ledger v1.0.4 — minimalist dictionary view.
   The footer utility jump/viewers area is already represented by topic navigation.
   Hide only stock wpForo topic utility widgets, not any posting/composer controls. */
#wpforo #wpforo-wrap .wpf-topic-visitors,
#wpforo #wpforo-wrap .wpf-forum-jump,
#wpforo #wpforo-wrap .wpforo-forum-jump,
#wpforo #wpforo-wrap .ledger-native-topic-utility,
#wpforo-wrap .wpf-topic-visitors,
#wpforo-wrap .wpf-forum-jump,
#wpforo-wrap .wpforo-forum-jump,
#wpforo-wrap .ledger-native-topic-utility {
 display:none!important;
}


/* The Ledger v1.0.5 — compact, genuine native wpForo composer */
#wpforo-wrap .ledger-simple-form {max-width:840px;margin-inline:auto;}
#wpforo-wrap .ledger-simple-form .wp-editor-wrap,
#wpforo-wrap .ledger-simple-form .wp-editor-container {max-width:100%!important;}
#wpforo-wrap .ledger-simple-form .mce-toolbar-grp,
#wpforo-wrap .ledger-simple-form .mce-container-body,
#wpforo-wrap .ledger-simple-form .mce-menubar {max-width:100%!important;}
#wpforo-wrap .ledger-simple-form .mce-toolbar .mce-btn button {min-height:36px!important;padding:6px 8px!important;}
#wpforo-wrap .ledger-simple-form .mce-edit-area iframe,
#wpforo-wrap .ledger-simple-form .wp-editor-container iframe,
#wpforo-wrap .ledger-simple-form textarea.wp-editor-area,
#wpforo-wrap .ledger-simple-form textarea[id^="wpf"] {
  height:185px!important;min-height:185px!important;max-height:400px!important;
  background-color:#17271f!important;
}
#wpforo-wrap .ledger-simple-form .ledger-entry-title-field {display:none!important;}
#wpforo-wrap .ledger-simple-form .ledger-advanced-field {display:none!important;}
#wpforo-wrap .ledger-simple-form.ledger-show-advanced .ledger-advanced-field {display:block!important;}
#wpforo-wrap .ledger-advanced-toggle {
  width:auto!important;min-height:40px!important;display:inline-flex!important;
  align-items:center;justify-content:center;padding:9px 13px!important;
  border:1px solid #47634f!important;color:#e9e3d5!important;
  background:transparent!important;border-radius:3px!important;
  cursor:pointer;margin:12px 0 10px!important;font-size:13px!important;
}
#wpforo-wrap .ledger-advanced-toggle:hover {background:#234336!important;}
#wpforo-wrap .ledger-simple-form .ledger-advanced-field:focus-within {outline:1px solid #c8aa70;}
#wpforo-wrap .ledger-simple-form .wp-editor-tools .wp-editor-tabs {margin-top:0!important;}
#wpforo-wrap .ledger-simple-form .mce-statusbar {display:none!important;}
#wpforo-wrap .ledger-simple-form input[type="submit"],
#wpforo-wrap .ledger-simple-form button[type="submit"] {min-height:44px!important;}
/* wpForo may emit an empty, light-background placeholder after a discussion. */
#wpforo-wrap .ledger-empty-native-strip {display:none!important;}
@media (max-width:760px){
  #wpforo-wrap .ledger-simple-form {width:100%!important;max-width:100%!important;}
  #wpforo-wrap .ledger-simple-form .mce-edit-area iframe,
  #wpforo-wrap .ledger-simple-form .wp-editor-container iframe,
  #wpforo-wrap .ledger-simple-form textarea.wp-editor-area {height:165px!important;min-height:165px!important;}
  #wpforo-wrap .ledger-simple-form .mce-toolbar .mce-btn {float:left!important;}
  #wpforo-wrap .ledger-simple-form .mce-toolbar .mce-btn button {padding:5px 6px!important;}
}


/* The Ledger v1.0.6 — wpForo breadcrumbs and responsive topic headings.
   The 2026 wpForo breadcrumb appends white decorative chevrons via ::after.
   Remove those shapes; preserve actual hierarchy links for discovery and SEO. */
body.ledger-site #wpforo #wpforo-wrap .wpf-breadcrumb,
body.ledger-site #wpforo-wrap .wpf-breadcrumb {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:5px 9px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:8px 0 14px!important;
    margin:0 0 18px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    color:#c8aa70!important;
}
body.ledger-site #wpforo #wpforo-wrap .wpf-breadcrumb div,
body.ledger-site #wpforo #wpforo-wrap .wpf-breadcrumb div.active,
body.ledger-site #wpforo-wrap .wpf-breadcrumb div,
body.ledger-site #wpforo-wrap .wpf-breadcrumb div.active,
body.ledger-site #wpforo-wrap .wpf-breadcrumb a,
body.ledger-site #wpforo-wrap .wpf-breadcrumb .wpf-root {
    min-width:0!important;
    max-width:100%!important;
    float:none!important;
    height:auto!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    color:#c8aa70!important;
    clip-path:none!important;
    text-overflow:ellipsis;
}
body.ledger-site #wpforo #wpforo-wrap .wpf-breadcrumb div::before,
body.ledger-site #wpforo #wpforo-wrap .wpf-breadcrumb div::after,
body.ledger-site #wpforo-wrap .wpf-breadcrumb div::before,
body.ledger-site #wpforo-wrap .wpf-breadcrumb div::after {
    content:none!important;
    display:none!important;
    border:0!important;
    background:none!important;
    box-shadow:none!important;
}
body.ledger-site #wpforo-wrap .wpf-breadcrumb a {
    font:12px/1.5 Arial,Helvetica,sans-serif!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
    max-width:100%!important;
}
body.ledger-site #wpforo-wrap .wpf-breadcrumb div.active,
body.ledger-site #wpforo-wrap .wpf-breadcrumb a.active {
    color:#e9e3d5!important;
}
/* Keep native topic headings inside their content column, even on small screens. */
body.ledger-site #wpforo-wrap,
body.ledger-site #wpforo-wrap .wpforo-main,
body.ledger-site #wpforo-wrap .wpforo-content,
body.ledger-site .ledger-main {
    min-width:0!important;
    max-width:100%!important;
}
body.ledger-site #wpforo-wrap #wpforo-title,
body.ledger-site #wpforo-wrap h1 {
    display:block!important;
    max-width:100%!important;
    min-width:0!important;
    width:auto!important;
    font-size:clamp(26px,3vw,36px)!important;
    line-height:1.24!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    white-space:normal!important;
    text-overflow:clip!important;
}
body.ledger-site #wpforo-wrap .wpforo-topic,
body.ledger-site #wpforo-wrap .wpforo-post,
body.ledger-site #wpforo-wrap .wpforo-post-content,
body.ledger-site #wpforo-wrap .wpf-post-body,
body.ledger-site #wpforo-wrap .wpf-reply-form,
body.ledger-site #wpforo-wrap .wpforo-post-form,
body.ledger-site #wpforo-wrap .wpf-form-wrapper {
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:break-word!important;
}
@media(max-width:760px){
  body.ledger-site #wpforo-wrap h1,
  body.ledger-site #wpforo-wrap #wpforo-title {font-size:clamp(24px,7vw,30px)!important;letter-spacing:-.5px!important;}
  body.ledger-site #wpforo-wrap .wpf-breadcrumb {font-size:11px!important;gap:4px 8px!important;}
  body.ledger-site #wpforo-wrap .wpf-breadcrumb a {font-size:11px!important;}
  body.ledger-site #wpforo-wrap .wpforo-post-content {overflow-wrap:anywhere!important;}
}


/* The Ledger v1.0.7 — focused, mobile-only discovery view. Nothing in desktop
 * navigation, wpForo forms, authentication, posts, or indexing is modified. */
@media (max-width:760px) {
  .ledger-header { padding:14px 15px 12px; gap:10px; }
  .ledger-brand strong {font-size:25px; letter-spacing:-.7px;}
  .ledger-account {gap:11px; font-size:11px;}
  .ledger-button {padding:7px 9px; font-size:11px;}
  .ledger-search {order:3; width:100%; border-bottom:1px solid #526256;}
  .ledger-search input {min-height:40px;}
  .ledger-shell {padding:0 16px;}
  .ledger-sidebar {border-bottom:0;}
  .ledger-mobile-nav > summary {
    display:block; margin:10px 0 6px; padding:12px 14px;
    border:1px solid #345247; background:#1b3028; color:#dcc38f;
    font-size:13px; font-weight:600; border-radius:6px;
  }
  .ledger-mobile-nav > summary:after {content:' +';float:right;font-size:18px;line-height:1;}
  .ledger-mobile-nav[open] > summary:after {content:' −';}
  .ledger-mobile-nav[open] {padding-bottom:10px;}
  .ledger-mobile-nav .ledger-discover {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;padding:6px 2px;overflow:visible;}
  .ledger-mobile-nav .ledger-discover a {font-size:12px;white-space:normal;min-height:36px;display:flex;align-items:center;padding:8px 10px;border-radius:5px;background:#15251f;}
  .ledger-mobile-nav .ledger-discover a:first-of-type {background:#203b30;color:#e2c488;}
  .ledger-mobile-nav .ledger-side-section {display:block;margin-top:13px;padding-top:12px;}
  .ledger-mobile-nav .ledger-side-section > .eyebrow {display:block;margin-bottom:5px;font-size:9px;}
  .ledger-mobile-nav .ledger-side-section > a {font-size:12px;padding:9px 5px;min-height:39px;border-bottom:1px solid #263b30;}
  .ledger-mobile-nav .ledger-trending, .ledger-mobile-nav .ledger-side-note {display:none!important;}
  .ledger-main {padding:16px 0 34px; min-height:50vh;}
  .ledger-intro {padding:0 0 14px;}
  .ledger-intro .eyebrow {font-size:8px;margin-bottom:7px;}
  .ledger-intro h1 {font-size:26px;line-height:1.2;letter-spacing:-.5px;margin:0 0 9px;}
  .ledger-intro h1 br {display:none;}
  .ledger-intro p {display:none;}
  .ledger-preview {display:block;font-size:10px;line-height:1.45;}
  .ledger-tabs {display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:23px!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .ledger-tabs a {white-space:nowrap!important;flex:none;scroll-snap-align:start;font-size:12px;padding:13px 0 11px;}
  .ledger-section-label {margin-top:14px;}
  .ledger-section-label h2 {font-size:19px;}
  .ledger-section-label > span {font-size:9px;}
  .ledger-topic-row {position:relative;grid-template-columns:16px minmax(0,1fr);gap:10px;padding:17px 18px 17px 0;}
  .ledger-row-number {font-size:12px; padding-top:3px;}
  .ledger-category {font-size:9px;letter-spacing:.9px;line-height:1.4;}
  .ledger-topic-row h3 {font-size:20px;line-height:1.26;letter-spacing:-.2px;margin:5px 10px 7px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
  .ledger-topic-row p {font-size:12px;line-height:1.55;margin:0 0 8px;color:#b8c4bb;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
  .ledger-row-meta {gap:12px;font-size:10px;}
  .ledger-row-meta span:nth-child(n+3) {display:none;}
  .ledger-arrow {position:absolute;right:1px;top:27px;padding:0;font-size:18px;}
}

/* v1.0.8 — discrete parent-publication link in The Ledger header. */
.ledger-brand-holder{display:flex;flex-direction:column;gap:3px;flex-shrink:0;min-width:0}
.ledger-brand-holder .ledger-parent-link{margin-left:55px;display:inline-flex;align-items:center;gap:5px;align-self:flex-start;color:var(--gold);font-size:10px;font-weight:600;letter-spacing:1.1px;line-height:1.3;text-decoration:none}
.ledger-brand-holder .ledger-parent-link:hover,.ledger-brand-holder .ledger-parent-link:focus-visible{text-decoration:underline;text-underline-offset:3px;color:#ecd5a1}
@media(max-width:760px){.ledger-brand-holder .ledger-parent-link{margin-left:44px;font-size:9px;letter-spacing:.5px;padding-bottom:2px}.ledger-brand-holder .ledger-brand strong{font-size:24px}}
