/* Neon Skater — optional presentation skin. */
body.bard{background:#191411;background-image:repeating-linear-gradient(135deg,transparent 0 38px,#71594412 38px 41px);color:#e9dcc4;font-family:'Arial Black','Trebuchet MS',sans-serif}
body.bard>header{background:#792021;color:#191411;border-bottom:6px solid #e5cba0;box-shadow:0 5px 0 #0b0907}
body.bard>header h1{font-family:Impact,'Arial Black',sans-serif;font-style:italic;font-size:42px;letter-spacing:1.5px;text-transform:uppercase;color:#e5cba0;text-shadow:3px 3px 0 #39231e,5px 5px 0 #130c09;transform:rotate(-1deg)}
body.bard>header>a:has(img){background:#1e1713;border:3px solid #e5cba0;transform:rotate(-3deg);border-radius:0;box-shadow:5px 5px #39231e}
body.bard>header .back{color:#191411;font-weight:900}body.bard>header>#nav-toggle{background:#e5cba0;border:3px solid #191411;color:#191411;border-radius:0;box-shadow:3px 3px #39231e}
body.bard #sidebar{background:#30231d;border-right:4px solid #e5cba0;color:#e9dcc4}body.bard .sidebar-title{color:#e5cba0;font-weight:900;letter-spacing:2px}
body.bard #companies :is(button,summary,.company-links button,.people-nav,.capex-nav){color:#e9dcc4;border-color:#745e47;background:transparent;border-radius:0;font-weight:700}
body.bard #companies :is(button:hover,summary:hover,.selected-company){background:#493027;color:#e5cba0}
body.bard #companies button[aria-current=true],body.bard #companies .company-links button[aria-current=true]{background:#e5cba0;color:#1e1713;border:2px solid #1e1713;box-shadow:4px 4px #792021;transform:rotate(-1deg)}
body.bard #companies .company-tree,body.bard #companies .company-links{border-color:#745e47}
body.bard :is(section,.compact-controls,.popover-body,dialog){background:#261d17;color:#e9dcc4;border:3px solid #715944;border-radius:0;box-shadow:6px 6px #0c0907}
body.bard h2{font-family:Impact,'Arial Black',sans-serif;font-size:28px;letter-spacing:1px;font-style:italic;color:#e5cba0;text-transform:uppercase}
body.bard :is(.sub,.tiny,.context,.crumb,#status,#screen th>small){color:#c0ab8b!important}body.bard :is(.change-label,.more-summary,.edit-mode){color:#e5cba0}
body.bard button{background:#493027;color:white;border:2px solid #7b6349;border-radius:0;font-weight:700;box-shadow:3px 3px #100b08}body.bard button:hover:not(:disabled){background:#792021;color:#1e1713;border-color:#e5cba0}
body.bard :is(#save,#fill-apply,#period-apply){background:#e5cba0;color:#1e1713;border:3px solid #1e1713;box-shadow:4px 4px #792021}
body.bard :is(input,select),body.bard #screen input.edit,body.bard #screen select,body.bard dialog input{background-color:#1e1713!important;color:#e9dcc4!important;-webkit-text-fill-color:#e9dcc4!important;border:2px solid #826849!important;border-radius:0;opacity:1;caret-color:#e5cba0}
body.bard #screen input:disabled,body.bard #screen select:disabled{background:#3c3027!important;color:#ddcbb0!important;-webkit-text-fill-color:#ddcbb0!important;opacity:1}
body.bard input[type=checkbox]{accent-color:#792021}body.bard input:focus{outline:3px solid #e5cba0!important;outline-offset:2px}
body.bard .metric,body.bard .metric:nth-child(n){background:#792021;border:3px solid #1e1713;border-radius:0;box-shadow:6px 6px #e5cba0;color:#1e1713}
body.bard .metric:nth-child(3n+2){background:#e5cba0;box-shadow:6px 6px #30231d}body.bard .metric:nth-child(3n){background:#30231d;box-shadow:6px 6px #792021;color:white}
body.bard .metric span{color:inherit;font-weight:800;text-transform:uppercase;font-size:11px}body.bard .metric strong{font-family:Impact,'Arial Black',sans-serif;font-size:32px;font-weight:400;letter-spacing:.3px;color:inherit;text-shadow:none}
body.bard .metric .negative{color:inherit!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
body.bard #screen thead th,body.bard #screen thead th:first-child{background:#e5cba0;color:#1e1713;border-bottom:4px solid #792021}
body.bard #screen tbody tr:nth-child(odd)>td,body.bard #screen tbody tr:nth-child(odd)>th{background:#261d17;color:white}body.bard #screen tbody tr:nth-child(even)>td,body.bard #screen tbody tr:nth-child(even)>th{background:#30261e;color:white}
body.bard #screen td.period-total{background:#49382b!important;color:#e5cba0;border-color:#806647}
body.bard #screen tr.total>td,body.bard #screen tr.total>th{background:#30231d!important;color:#e5cba0;border-top:3px solid #792021}
body.bard #screen tbody tr:not(.total):hover>td,body.bard #screen tbody tr:not(.total):hover>th{background:#4a2d27!important}
body.bard :is(td,th,.scroll){border-color:#584537;border-radius:0}body.bard #screen .row-actions button{background:#493027;color:#e9dcc4;border-color:#826849;border-radius:0}
body.bard .negative{color:#f29d88!important}body.bard :is(.project-includes,.tracker-controls,.tracker-project,.month-tile,#fill-preview){background:#30261e;color:#e9dcc4;border-color:#826849;border-radius:0}
body.bard .month-tile.selected{border:3px solid #e5cba0;background:#4a2d27}body.bard .chip{background:#e5cba0;color:#1e1713;border-radius:0}body.bard .warning{background:#e5cba0;color:#1e1713;border-radius:0}
body.bard .plot polyline{stroke:#792021;stroke-width:5}body.bard .plot circle{fill:#e5cba0}body.bard .plot text{fill:#c0ab8b}
body.bard #sections{border-color:#826849}body.bard .ownership-footer,body.bard .ownership-footer strong,body.bard .ownership-footer a{color:#c9b796}
body.bard .metrics{gap:20px;margin-bottom:28px}body.bard select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23faff00'/%3E%3C/svg%3E")}
@media(max-width:800px){body.bard>header h1{font-size:28px}}

/* 1970s cinema-poster typography and aged surfaces. */
body.bard{font-family:Georgia,'Times New Roman',serif;background-color:#191411;background-image:repeating-linear-gradient(0deg,#b59b6d06 0 1px,transparent 1px 4px)}
body.bard>header{background:#211713;border-bottom:4px double #8b5140}
body.bard>header h1{font-family:Georgia,'Times New Roman',serif;font-weight:900;font-style:normal;font-size:37px;letter-spacing:3px;color:#d4b98d;text-shadow:2px 2px #792021;transform:none}
body.bard>header>a:has(img){transform:none;filter:sepia(.8);border:1px solid #715944;box-shadow:none}
body.bard>header .back{color:#c9b796}
body.bard h2{font-family:Georgia,'Times New Roman',serif;font-style:normal;font-weight:900;font-size:26px;letter-spacing:1px;color:#d9b68b;text-transform:uppercase}
body.bard .metric,body.bard .metric:nth-child(n){background:#dbc7a2;color:#251911;border:1px solid #a68b62;border-top:5px solid #792021;box-shadow:4px 4px #090705}
body.bard .metric strong{font-family:Georgia,'Times New Roman',serif;font-size:29px;font-weight:700;letter-spacing:-1px}
body.bard .metric .negative{color:#8b2021!important;text-decoration:none}
body.bard #companies button[aria-current=true],body.bard #companies .company-links button[aria-current=true]{background:#792021;color:#f0dfbd;transform:none;box-shadow:3px 3px #100a07;border-color:#a75c49}
body.bard :is(button,input,select){font-family:Georgia,'Times New Roman',serif;font-weight:400}
body.bard #screen thead th,body.bard #screen thead th:first-child{background:#792021;color:#f0dfbd;border-bottom-color:#b69060}
body.bard .plot polyline{stroke:#b55343}body.bard .plot circle{fill:#d8b982}
body.bard :is(#save,#fill-apply,#period-apply){background:#792021;color:#f0dfbd;border-color:#a75c49;box-shadow:3px 3px #100a07}
body.bard .sidebar-title{letter-spacing:2px}body.bard .ownership-footer{font-family:Georgia,serif;font-weight:400}
body.bard select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23d8b982'/%3E%3C/svg%3E")}

/* Frontier ledger and saloon signage. */
body.bard{background:#d3bd94;color:#332318;background-image:repeating-linear-gradient(0deg,#61432808 0 1px,transparent 1px 5px);font-family:Georgia,serif}
body.bard>header{background:#4a2f20;border-bottom:5px double #c69b57;box-shadow:0 4px 0 #2c1b12}
body.bard>header h1{font-family:Rockwell,'Rockwell Extra Bold',Georgia,serif;font-weight:900;font-size:38px;letter-spacing:2px;text-shadow:2px 2px #21160f;color:#f1d8a7;text-transform:uppercase}
body.bard>header h1:after{content:'★ THE FRONTIER LEDGER ★';display:block;font:700 10px Georgia,serif;letter-spacing:4px;margin-top:8px;color:#d7ab64}
body.bard #sidebar{background:#583a27;border-right:4px double #c69b57}
body.bard :is(section,.compact-controls,.popover-body,dialog){background:#eee0c2;color:#332318;border:3px double #8f7048;box-shadow:4px 4px #6c4c2830}
body.bard h2{color:#51321e;font-family:Rockwell,Georgia,serif;font-weight:900;font-size:27px;letter-spacing:1px;border-bottom:3px double #9e7e50;padding-bottom:10px}
body.bard :is(.sub,.tiny,.context,.crumb,#status,#screen th>small){color:#685137!important}
body.bard :is(.change-label,.more-summary,.edit-mode){color:#6b441d}
body.bard .metric,body.bard .metric:nth-child(n){background:#f4e7c9;border:4px double #785735;border-top:4px double #785735;box-shadow:4px 4px #6c4c2830;color:#3b281a}
body.bard .metric span{color:#725335}body.bard .metric strong{color:#3b281a;font-family:Georgia,serif;font-weight:700}
body.bard #screen thead th,body.bard #screen thead th:first-child{background:#65432c;color:#f5e6c5;border-bottom:3px double #c6a26a}
body.bard #screen tbody tr:nth-child(odd)>td,body.bard #screen tbody tr:nth-child(odd)>th{background:#f1e5cb;color:#3b281a}
body.bard #screen tbody tr:nth-child(even)>td,body.bard #screen tbody tr:nth-child(even)>th{background:#e5d4b0;color:#3b281a}
body.bard #screen td.period-total{background:#d7bd8e!important;color:#422b19;border-color:#a38353}
body.bard #screen tr.total>td,body.bard #screen tr.total>th{background:#6a472d!important;color:#fff0cf;border-color:#b99b65}
body.bard #screen tbody tr:not(.total):hover>td,body.bard #screen tbody tr:not(.total):hover>th{background:#dcc49c!important}
body.bard :is(input,select),body.bard #screen input.edit,body.bard #screen select,body.bard dialog input{background-color:#fff4dd!important;color:#3b281a!important;-webkit-text-fill-color:#3b281a!important;border:1px solid #9b7b4f!important;opacity:1}
body.bard #screen input:disabled,body.bard #screen select:disabled{background:#e5d6b9!important;color:#5c4831!important;-webkit-text-fill-color:#5c4831!important;opacity:1}
body.bard button,body.bard #screen .row-actions button{background:#7c5535;color:#fff0d2;border:2px solid #b99560;box-shadow:2px 2px #3b281a}
body.bard :is(#save,#fill-apply,#period-apply){background:#79512f;color:#fff0cf;border:3px double #d5b57b;box-shadow:3px 3px #3c2819}
body.bard #companies button[aria-current=true],body.bard #companies .company-links button[aria-current=true]{background:#dfbf83;color:#3c2819;border:2px dashed #795634;box-shadow:none;transform:none}
body.bard :is(.project-includes,.tracker-controls,.tracker-project,.month-tile,#fill-preview){background:#e5d4b0;color:#3b281a;border-color:#a38353}
body.bard .plot polyline{stroke:#8c4c2a;filter:none}body.bard .plot circle{fill:#be8d36}body.bard .plot text{fill:#705434}
body.bard .ownership-footer,body.bard .ownership-footer strong{color:#e1c9a2!important}
body.bard select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%2365432c'/%3E%3C/svg%3E")}

/* Shakespeare's Ledger — an Elizabethan playbill. */
body.bard{background:#d6c6a6;background-image:repeating-linear-gradient(90deg,#6e533508 0 1px,transparent 1px 5px);font-family:Georgia,'Times New Roman',serif}
body.bard>header{background:linear-gradient(90deg,#340e20,#641c37,#340e20);border-bottom:6px double #c6a45e}
body.bard>header h1{font-family:Palatino,'Palatino Linotype',Georgia,serif;font-size:36px;font-style:italic;color:#f0dbab;letter-spacing:1px;text-shadow:2px 2px #210814}
body.bard>header h1:after{content:'TO PAY, OR NOT TO PAY';font:italic 12px Georgia,serif;letter-spacing:4px;color:#d9b975;margin-top:8px}
body.bard>header>a:has(img){background:#2d0d1d;border:3px double #c6a45e}
body.bard #sidebar{background:#441127;border-right:5px double #b99253}
body.bard #companies button[aria-current=true],body.bard #companies .company-links button[aria-current=true]{background:#e8d4a9;color:#4c1530;border:3px double #a47e42}
body.bard :is(section,.compact-controls){background:#f0e4c9;border:5px double #a78a56;box-shadow:4px 4px #3f182333}
body.bard h2{font-family:Palatino,Georgia,serif;font-style:italic;color:#651d37;border-bottom:3px double #af925e;font-size:29px;text-transform:none}
body.bard section>h2:before{content:'❦ ';color:#98702f}
body.bard .metric,body.bard .metric:nth-child(n){background:#f5e8c8;border:5px double #a58750;border-top:5px double #a58750;box-shadow:4px 4px #3f182333;position:relative;padding-top:30px}
body.bard .metric:before{content:'❦';position:absolute;top:2px;left:0;right:0;text-align:center;font-size:23px;color:#8a6230}
body.bard .metric span{text-align:center;font-style:italic;color:#624d36}body.bard .metric strong{text-align:center;font-family:Palatino,Georgia,serif;color:#4b1830;font-size:28px}
body.bard :is(#save,#fill-apply,#period-apply){background:#6c203e;color:#f8e7bf;border:3px double #c5a366;box-shadow:3px 3px #351321}
body.bard #screen thead th,body.bard #screen thead th:first-child{background:#64203b;color:#f8e7bf;border-bottom:3px double #b99253}
body.bard #screen tr.total>td,body.bard #screen tr.total>th{background:#64203b!important;color:#f8e7bf}
body.bard .plot polyline{stroke:#7b2649}body.bard .plot circle{fill:#b68e43}
body.bard .ownership-footer:before{content:'❦ ALL THE WORLD’S A LEDGER ❦';display:block;margin-bottom:14px;padding:10px 0;border-block:3px double #b99253;color:#e6cb92;text-align:center;font:italic 11px Georgia,serif}
/* Weathered folio: faded ink, candlelight and worn gilding. */
body.bard{background:#a18d6b;background-image:radial-gradient(ellipse at 50% 20%,#eadcb8aa,transparent 75%),repeating-linear-gradient(9deg,#39260c07 0 1px,transparent 1px 4px);color:#574831}
body.bard>header{background:radial-gradient(ellipse at center,#694635,#34251e);border-bottom:7px double #aa8e5b;box-shadow:0 5px 16px #291c1960}
body.bard>header h1{font-family:'Baskerville','Palatino',Georgia,serif;font-size:40px;font-style:italic;font-weight:400;letter-spacing:2px;color:#d6c299;text-shadow:1px 1px #21180e;opacity:.92}
body.bard>header h1:after{content:'A MOST EXCELLENT CHRONICLE OF COIN';font-size:9px;letter-spacing:3px;color:#b9a47d}
body.bard>header>a:has(img){filter:sepia(1) saturate(.4);opacity:.7;background:#35271f;border:3px double #a58c62;transform:rotate(-2deg)}
body.bard #sidebar{background:linear-gradient(90deg,#45362c,#64503d 55%,#46362c);border-right:6px double #b39a70}
body.bard #companies :is(button,summary,.company-links button){color:#d4c4a5;font-family:Baskerville,Georgia,serif;font-weight:400;font-size:14px}
body.bard #companies button[aria-current=true],body.bard #companies .company-links button[aria-current=true]{background:linear-gradient(100deg,#b9a17a,#e1cfaa,#b9a17a);color:#56402d;border:3px double #8a724b;box-shadow:2px 3px #241b1733}
body.bard .sidebar-title{color:#bdaa87}
body.bard :is(section,.compact-controls,.popover-body,dialog){background-color:#ddcba5;background-image:radial-gradient(ellipse at 50% 35%,#f3e8ccaa,transparent 70%),linear-gradient(90deg,#7c532b25,transparent 10%,transparent 90%,#7c532b25),repeating-linear-gradient(5deg,#51371905 0 1px,transparent 1px 4px);border:6px double #9a8155;box-shadow:5px 7px 14px #3d291e44;color:#59472f}
body.bard section{position:relative;padding:32px}
body.bard section>h2,body.bard section>.toolbar>h2{font-family:Baskerville,Palatino,Georgia,serif;font-weight:400;font-size:34px;letter-spacing:1px;color:#76543d;border-bottom:4px double #a48b5e;text-shadow:1px 1px #f5e8c2}
body.bard section>h2:before{content:'❧ ';font-size:38px;color:#a28450}body.bard section>h2:after{content:' ❦';color:#b0986e;font-size:23px}
body.bard .metrics{gap:24px;padding:10px 4px 18px}
body.bard .metric,body.bard .metric:nth-child(n){background:radial-gradient(ellipse,#f0e2bd,#c6ac7c);border:6px double #a58c5e;box-shadow:4px 6px 12px #44322244;transform:rotate(-.5deg);padding:44px 20px 25px;position:relative}
body.bard .metric:nth-child(even){transform:rotate(.5deg)}
body.bard .metric:before{content:'❦ ── ❦';font-family:Georgia,serif;font-size:22px;color:#a18553;top:6px}
body.bard .metric:after{content:'❧';position:absolute;bottom:0;right:8px;font-size:25px;color:#a58b5e88}
body.bard .metric span{font-family:Baskerville,Georgia,serif;font-size:12px;font-weight:400;color:#7b6444;letter-spacing:.5px}
body.bard .metric strong{font-family:Baskerville,Georgia,serif;font-style:italic;font-weight:400;color:#6c4933;font-size:30px;text-shadow:1px 1px #f4e6c4}
body.bard :is(.sub,.tiny,.context,.crumb,#status,#screen th>small){color:#7a674c!important}
body.bard :is(button,#save,#fill-apply,#period-apply){background:linear-gradient(#8c7451,#685237);color:#eee0bc;border:4px double #bca477;box-shadow:2px 3px #45332044;font-family:Baskerville,Georgia,serif}
body.bard #screen thead th,body.bard #screen thead th:first-child{background:linear-gradient(#876b4b,#6d533b);color:#e7d6b2;border-bottom:3px double #b99f6c;font-family:Baskerville,Georgia,serif;font-weight:400;letter-spacing:1px}
body.bard #screen tbody tr:nth-child(odd)>td,body.bard #screen tbody tr:nth-child(odd)>th{background:#e2d2ae;color:#604d34}body.bard #screen tbody tr:nth-child(even)>td,body.bard #screen tbody tr:nth-child(even)>th{background:#d6c39d;color:#604d34}
body.bard #screen td.period-total{background:#cbb58b!important;color:#674b31}
body.bard #screen tr.total>td,body.bard #screen tr.total>th{background:#8b7351!important;color:#f3e4c0}
body.bard .plot{opacity:.8;background:radial-gradient(ellipse,#f8eaca44,transparent)}body.bard .plot polyline{stroke:#896247;stroke-width:3}body.bard .plot circle{fill:#ab8950}body.bard .plot text{fill:#806b4b;font-family:Georgia,serif}
body.bard .ownership-footer,body.bard .ownership-footer strong{color:#c8b793!important;font-style:italic}
body.bard input:focus{outline-color:#876b43!important}
@media(max-width:800px){body.bard>header h1{font-size:27px}body.bard>header h1:after{font-size:8px;letter-spacing:1px}}
