/* HF3: wine binding, bright ledger paper, authoritative red/green amount semantics. */
body#wltProduct480.wlt-desk{--hf3-paper:#fffefa;--hf3-field:#faf8f4;--hf3-ground:#f4f2ed;--hf3-ink:#28292c;--hf3-muted:#626369;--hf3-line:#e3ded6;--hf3-red:#ac2943;--hf3-green:#207348;--desk-bg:var(--hf3-ground);--desk-paper:var(--hf3-paper);--desk-field:var(--hf3-field);--desk-ink:var(--hf3-ink);--desk-muted:var(--hf3-muted);--desk-line:var(--hf3-line);--desk-accent:#9e2942;--desk-green:var(--hf3-green);background:var(--hf3-ground)!important;color:var(--hf3-ink)!important}
body#wltProduct480.wlt-desk .desk-sidebar{background:linear-gradient(90deg,#461523 0,#592033 7px,#632337 8px,#591e30 96%,#421321 100%)!important;border-right:1px solid #38121e!important;color:#fff1e9!important;box-shadow:8px 0 22px #32192712}
body#wltProduct480.wlt-desk .desk-side-brand b{color:#fff7f0!important;text-shadow:0 1px 1px #32111c}
body#wltProduct480.wlt-desk .desk-side-brand small,body#wltProduct480.wlt-desk .desk-nav-group,body#wltProduct480.wlt-desk .desk-side-meta{color:#e5c8cf!important}
body#wltProduct480.wlt-desk .desk-side-search{background:#471726!important;border-color:#986071!important;color:#f5e5e9!important}
body#wltProduct480.wlt-desk .desk-side-search kbd{background:#652a3c!important;color:#f5e5e9!important;border-color:#a06a7a!important}
body#wltProduct480.wlt-desk .desk-nav .nav-item{color:#f2dfe4!important;background:transparent!important;border-color:transparent!important}
body#wltProduct480.wlt-desk .desk-nav .nav-item:hover{background:#ffffff12!important;color:#fff7f0!important}
body#wltProduct480.wlt-desk .desk-nav .nav-item.active{background:#fff3e8!important;color:#65233b!important;border-color:#fffcf2!important;box-shadow:0 2px 7px #25101b24,inset 0 1px 0 #ffffff}
body#wltProduct480.wlt-desk .desk-nav .nav-item.active svg{color:#65233b!important}
body#wltProduct480.wlt-desk .desk-play-link,body#wltProduct480.wlt-desk .desk-play-link small{color:#f2dfe4!important}
body#wltProduct480.wlt-desk .desk-side-footer{border-top-color:#a56c7d!important}
body#wltProduct480.wlt-desk .desk-user{background:#431825!important;color:#fff4ed!important;border:1px solid #8b5262;box-shadow:inset 0 1px 0 #ffffff0a}
body#wltProduct480.wlt-desk .desk-user small{color:#e2c5ce!important}
body#wltProduct480.wlt-desk .desk-user-label{min-width:0;overflow:hidden}.desk-user-label b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body#wltProduct480.wlt-desk .desk-account-avatar{position:relative;width:34px;height:34px;min-width:34px;overflow:hidden;display:grid;place-items:center;isolation:isolate;background:#fbede5!important;color:#66283e!important;border:1px solid #e3b9c2!important;border-radius:11px;box-shadow:0 2px 4px #210b1426}
body#wltProduct480.wlt-desk .desk-account-avatar>img{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;object-position:center}
body#wltProduct480.wlt-desk .desk-account-avatar>.wlt-avatar-default{display:none}
body#wltProduct480.wlt-desk .desk-account-avatar>small{display:grid;place-items:center;position:relative;inset:auto;z-index:1;width:100%;height:100%;font-size:16px;font-weight:700;color:#66283e!important;line-height:1}
body#wltProduct480.wlt-desk .topbar{background:var(--hf3-paper)!important;border-bottom:1px solid var(--hf3-line)!important;box-shadow:0 3px 12px #43362a05}
body#wltProduct480.wlt-desk .main-scroll{background:var(--hf3-ground)!important}
body#wltProduct480.wlt-desk .section-card,body#wltProduct480.wlt-desk .desk-panel,body#wltProduct480.wlt-desk .desk-kpi,body#wltProduct480.wlt-desk .query-summary-card{background:var(--hf3-paper)!important;border-color:var(--hf3-line)!important;box-shadow:0 1px 2px #43362a06,0 8px 24px #43362a05!important}
body#wltProduct480.wlt-desk .desk-home .desk-panel-head,body#wltProduct480.wlt-desk .card-head,body#wltProduct480.wlt-desk .query-results-head{background:linear-gradient(180deg,var(--hf3-paper),var(--hf3-field))!important;border-bottom-color:var(--hf3-line)!important}
body#wltProduct480.wlt-desk .desk-recent-table thead,body#wltProduct480.wlt-desk .query-table thead{background:var(--hf3-field)!important;color:var(--hf3-muted)!important}
body#wltProduct480.wlt-desk .desk-recent-table td,body#wltProduct480.wlt-desk .query-table td{border-bottom-color:var(--hf3-line)!important}
body#wltProduct480.wlt-desk .gold-btn{background:linear-gradient(180deg,#a3314a,#8a223d)!important;border-color:#812239!important;color:#fffaf4!important;box-shadow:inset 0 1px 0 #ffffff24,0 3px 7px #70223d18!important}
body#wltProduct480.wlt-desk .outline-btn{background:var(--hf3-paper)!important;color:var(--hf3-ink)!important;border-color:var(--hf3-line)!important}
body#wltProduct480.wlt-desk .hf3-amount-in,body#wltProduct480.wlt-desk .desk-income,body#wltProduct480.wlt-desk .query-in,body#wltProduct480.wlt-desk .wlt-contact-receivable_remaining,body#wltProduct480.wlt-desk .wlt-contact-balances .wlt-contact-receivable_remaining b{color:var(--hf3-red)!important}
body#wltProduct480.wlt-desk .hf3-amount-out,body#wltProduct480.wlt-desk .desk-expense,body#wltProduct480.wlt-desk .query-out,body#wltProduct480.wlt-desk .wlt-contact-payable_remaining,body#wltProduct480.wlt-desk .wlt-contact-balances .wlt-contact-payable_remaining b{color:var(--hf3-green)!important}
body#wltProduct480.wlt-desk .hf3-amount-neutral{color:var(--hf3-ink)!important}
body#wltProduct480.wlt-desk.wlt-dark-product{--hf3-paper:#24242b;--hf3-field:#2c2c34;--hf3-ground:#1d1e23;--hf3-ink:#f4efe8;--hf3-muted:#c5bec8;--hf3-line:#49414c;--hf3-red:#ff9eab;--hf3-green:#81d9ab;--desk-accent:#ffc0c9}
body#wltProduct480.wlt-desk.wlt-dark-product .gold-btn{background:linear-gradient(180deg,#8d2944,#732038)!important;border-color:#ad566c!important;color:#fff7ee!important}
body#wltProduct480.wlt-desk.wlt-dark-product .outline-btn.active,body#wltProduct480.wlt-desk.wlt-dark-product .query-segments button[aria-selected=true]{color:#ffcad1!important}
@media(prefers-reduced-motion:reduce){body#wltProduct480.wlt-desk .desk-account-avatar{animation:none;transition:none}}

body#wltProduct480.wlt-desk .ld-income,body#wltProduct480.wlt-desk .funds-red{color:var(--hf3-red)!important}
body#wltProduct480.wlt-desk .ld-expense,body#wltProduct480.wlt-desk .funds-green{color:var(--hf3-green)!important}
/* 081: monetary tokens are indivisible; cards wrap as a whole instead of breaking digits. */
body#wltProduct480.wlt-desk .query-money-grid b,body#wltProduct480.wlt-desk .query-credit-grid strong{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
body#wltProduct480.wlt-desk .query-summary>div,body#wltProduct480.wlt-desk .query-credit-grid>button{min-width:0}
body#wltProduct480.wlt-desk .query-credit-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;gap:8px!important}
body#wltProduct480.wlt-desk .query-credit-grid button{padding:10px!important}
body#wltProduct480.wlt-desk .query-credit-grid strong{display:block;font-variant-numeric:tabular-nums;font-size:15px!important}
body#wltProduct480.wlt-desk .query-credit-grid>button{overflow-x:auto}
body#wltProduct480.wlt-desk .query-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))!important}
body#wltProduct480.wlt-desk .query-credit{display:block!important}
body#wltProduct480.wlt-desk .query-credit>header{display:flex;max-width:none!important;gap:12px;margin-bottom:10px}
/* 082: a long book title yields space to the live synchronization action. */
@media(max-width:520px){
 body#wltProduct480.wlt-desk .desk-top-book{flex:1 1 0!important;min-width:0!important;max-width:none!important;margin-right:0!important}
 body#wltProduct480.wlt-desk .desk-top-book>span{min-width:0;flex:1 1 auto;overflow:hidden}
 body#wltProduct480.wlt-desk .desk-top-book b{max-width:100%!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body#wltProduct480.wlt-desk .desk-top-actions{flex:0 0 auto!important;min-width:0!important}
 body#wltProduct480.wlt-desk .desk-top-actions .wlt-read-sync{max-width:110px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
}
