/* Art Deco — lacquer, champagne and architectural ornament. */
body.deco{background:#11141b;color:#f2e9d7;font-family:'Avenir Next',Futura,'Century Gothic',sans-serif;background-image:repeating-linear-gradient(135deg,transparent 0 38px,#cbaa6910 38px 39px,transparent 39px 77px),repeating-linear-gradient(45deg,transparent 0 38px,#cbaa6910 38px 39px,transparent 39px 77px)}
body.deco :is(button,input,select,section,dialog,.scroll,.metric,.compact-controls,.popover-body){border-radius:0!important}
body.deco>header{background:linear-gradient(110deg,#11131b,#252937,#11131b);border-bottom:6px double #b79756;box-shadow:0 5px 20px #0006}
body.deco>header h1{font-family:Didot,'Bodoni 72',Georgia,serif;font-weight:400;font-size:35px;letter-spacing:5px;color:#e4c888;text-transform:uppercase}
body.deco>header h1:after{content:'◆ THE GRAND LEDGER ◆';display:block;font:10px Futura,sans-serif;letter-spacing:6px;color:#bba779;margin-top:10px}
body.deco>header>a:has(img){background:#11131b;border:4px double #b79756;box-shadow:none}
body.deco>header .back{color:#e4c888}body.deco #nav-toggle{background:#202634;color:#e4c888;border:1px solid #b79756}
body.deco #sidebar{background:linear-gradient(90deg,#12151e,#1c2230);border-right:6px double #ad8b4c}
body.deco .sidebar-title{color:#c4a76b;letter-spacing:3px;font-size:10px}
body.deco #companies :is(button,summary,.company-links button){color:#e2d7bf;background:transparent;border-color:#6e5d3c;font-family:Futura,'Avenir Next',sans-serif;letter-spacing:1px;font-size:12px;text-transform:uppercase}
body.deco #companies button[aria-current=true],body.deco #companies .company-links button[aria-current=true]{background:linear-gradient(100deg,#b99b60,#f0dfac,#b99b60);color:#191c25;border:3px double #52432a;box-shadow:none}
body.deco :is(section,.compact-controls,.popover-body,dialog){background:#1a202c;color:#f2e9d7;border:4px double #a88a52;box-shadow:5px 5px 0 #080c1399}
body.deco section{padding:30px}
body.deco h2{font-family:Didot,'Bodoni 72',Georgia,serif;color:#e8ce92;font-size:28px;font-weight:400;letter-spacing:2px;text-transform:uppercase;border-bottom:3px double #766440;padding-bottom:16px}
body.deco section>h2:before{content:'◇ ';color:#c5a566}body.deco section>h2:after{content:' ◇';color:#c5a566}
body.deco .metrics{gap:22px;padding:20px 3px 26px}
body.deco .metric,body.deco .metric:nth-child(n){background:linear-gradient(135deg,#1c2230,#121720);border:5px double #b79b62;border-top:5px double #b79b62;position:relative;padding:55px 15px 30px;box-shadow:5px 5px #080c13;outline:1px solid #6e5b37;outline-offset:4px}
body.deco .metric:before{content:'';position:absolute;top:8px;left:calc(50% - 42px);width:84px;height:32px;background:repeating-conic-gradient(from -90deg at 50% 100%,#c5a566 0deg 2deg,transparent 2deg 15deg);clip-path:polygon(0 100%,0 55%,15% 55%,15% 28%,30% 28%,30% 0,70% 0,70% 28%,85% 28%,85% 55%,100% 55%,100% 100%);border-bottom:1px solid #c5a566}
body.deco .metric span{color:#cbb98f;text-align:center;font:10px Futura,sans-serif;letter-spacing:2px;text-transform:uppercase}
body.deco .metric strong{font-family:Didot,'Bodoni 72',Georgia,serif;font-size:32px;font-weight:400;text-align:center;letter-spacing:0;color:#f1dfad}
body.deco :is(.sub,.context,.tiny,.crumb,#status,#screen th>small){color:#b9b6ad!important}body.deco :is(.change-label,.more-summary,.edit-mode){color:#d5bc83}
body.deco button,body.deco #screen .row-actions button{background:#242d3c;color:#ead7a6;border:1px solid #a68a52;box-shadow:none;font-family:inherit}
body.deco :is(#save,#fill-apply,#period-apply){background:linear-gradient(110deg,#bd9f62,#eedaa3,#bd9f62);color:#181e28;border:3px double #66512c;font-weight:600;letter-spacing:1px}
body.deco button:hover:not(:disabled){background:#d8bf85;color:#121720;border-color:#f0dda9}
body.deco :is(input,select),body.deco #screen input.edit,body.deco #screen input[type=number],body.deco #screen select,body.deco dialog input,body.deco dialog select{background-color:#111822!important;color:#f5e9cc!important;-webkit-text-fill-color:#f5e9cc!important;border:1px solid #a58a55!important;opacity:1;caret-color:#eed294}
body.deco #screen input:disabled,body.deco #screen select:disabled{background:#263040!important;color:#e0dfdf!important;-webkit-text-fill-color:#e0dfdf!important;opacity:1}
body.deco 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='%23d9be83'/%3E%3C/svg%3E")}
body.deco input[type=checkbox]{accent-color:#b6975a}body.deco :is(input,select):focus{outline:2px solid #ead6a0!important;outline-offset:2px}
body.deco #screen thead th,body.deco #screen thead th:first-child{background:#111824;color:#ebd39b;border-bottom:4px double #aa8c50;font-family:Futura,sans-serif;font-size:12px;letter-spacing:1px}
body.deco #screen tbody tr:nth-child(odd)>td,body.deco #screen tbody tr:nth-child(odd)>th{background:#1c2431;color:#eee7d9}
body.deco #screen tbody tr:nth-child(even)>td,body.deco #screen tbody tr:nth-child(even)>th{background:#252f3e;color:#eee7d9}
body.deco #screen td.period-total{background:#343b46!important;color:#f1dca6;border-right:3px double #a48a54}
body.deco #screen tr.total>td,body.deco #screen tr.total>th{background:#121924!important;color:#f0d69b;border-top:4px double #c4a66c}
body.deco #screen tbody tr:not(.total):hover>td,body.deco #screen tbody tr:not(.total):hover>th{background:#364152!important}
body.deco :is(td,th,.scroll){border-color:#46505d}
body.deco :is(.project-includes,.tracker-controls,.tracker-project,.month-tile,#fill-preview){background:#252e3d;color:#eee4ce;border-color:#9a8150}
body.deco .month-tile.selected{background:#414334;border-color:#ead6a0}body.deco .warning{background:#3b3426;color:#f4dca3;border-color:#b7985b}
body.deco .plot{background:linear-gradient(#c5a5660d 1px,transparent 1px);background-size:100% 30px}body.deco .plot polyline{stroke:#d9b76e;stroke-width:3;filter:none}body.deco .plot circle{fill:#eedaa6;stroke:#191f2b;stroke-width:2}body.deco .plot text{fill:#c7b994}
body.deco .ownership-footer,body.deco .ownership-footer strong,body.deco .ownership-footer a{color:#b5aa92!important}
body.deco .ownership-footer:before{content:'━━━━ ◇ ━━━━';display:block;color:#bda064;text-align:center;margin-bottom:20px;letter-spacing:2px}
@media(max-width:800px){body.deco>header h1{font-size:24px;letter-spacing:2px}body.deco>header h1:after{font-size:8px;letter-spacing:2px}}
