/* theme-parchment.css — generated by tools/make-theme.py (theme-20261018). Every rule is scoped to html[data-theme="parchment"],
   so this file changes nothing unless a door turns the theme on. Do not edit by hand: change the palette and regenerate. */
/* from index.html */
html[data-theme="parchment"], html[data-theme="parchment"] body{background:#F3E9D2;color:#3A2C1A}
html[data-theme="parchment"] .topbar{background:#EFE3C6;border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .status{color:#76654A}
html[data-theme="parchment"] .status .dot{background:#A39074}
html[data-theme="parchment"] .status .dot.live{background:#2D7A57}
html[data-theme="parchment"] #accNum{color:#A39074}
html[data-theme="parchment"] .trade-btn{background:#E6D6B2;color:#9A5A0E}
html[data-theme="parchment"] .trade-btn.on{background:#F2A33A;color:#2A1C08}
html[data-theme="parchment"] .panel{background:#EFE3C6;border-left:1px solid #D4C096}
html[data-theme="parchment"] .panel::-webkit-scrollbar-thumb{background:#E6D6B2}
html[data-theme="parchment"] .ps{border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .ps h3{color:#76654A}
html[data-theme="parchment"] .ar .l{color:#76654A}
html[data-theme="parchment"] .lev{color:#A39074}
html[data-theme="parchment"] .sym-picker .sel{background:#E6D6B2}
html[data-theme="parchment"] .sym-picker .sel .arr{color:#76654A}
html[data-theme="parchment"] .sym-picker .list{background:#EFE3C6;border:1px solid #D4C096}
html[data-theme="parchment"] .sym-picker .sym-item{border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .sym-picker .sym-item:hover{background:#E6D6B2;color:#9A5A0E}
html[data-theme="parchment"] .ord input{background:#E6D6B2;border:1px solid #D4C096;color:#3A2C1A}
html[data-theme="parchment"] .ord input:focus{border-color:#F2A33A}
html[data-theme="parchment"] .field label{color:#76654A}
html[data-theme="parchment"] .field input{background:#E6D6B2;border:1px solid #D4C096;color:#3A2C1A}
html[data-theme="parchment"] .field input:focus{border-color:#F2A33A}
html[data-theme="parchment"] .btn-buy{background:#2D7A57;color:#2A1C08}
html[data-theme="parchment"] .btn-sell{background:#B23A33}
html[data-theme="parchment"] #orderMsg{color:#9A5A0E}
html[data-theme="parchment"] .tabs{border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .tab{color:#76654A}
html[data-theme="parchment"] .ot{background:#E6D6B2;color:#76654A}
html[data-theme="parchment"] .ot.on{background:#F2A33A;color:#2A1C08}
html[data-theme="parchment"] .tab.on{color:#9A5A0E;border-bottom:2px solid #F2A33A}
html[data-theme="parchment"] .pi, html[data-theme="parchment"] .hi{border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .pi .vl, html[data-theme="parchment"] .hi .vl{color:#76654A}
html[data-theme="parchment"] .rtag{background:#E6D6B2;color:#76654A}
html[data-theme="parchment"] .rtag.sl, html[data-theme="parchment"] .rtag.stopout{color:#B23A33}
html[data-theme="parchment"] .rtag.tp{color:#2D7A57}
html[data-theme="parchment"] .ht{color:#A39074}
html[data-theme="parchment"] .cx{background:#E6D6B2;color:#76654A}
html[data-theme="parchment"] .cx:hover{background:#B23A33}
html[data-theme="parchment"] .ed{background:#E6D6B2;color:#76654A}
html[data-theme="parchment"] .ed:hover{background:#F2A33A;color:#2A1C08}
html[data-theme="parchment"] .pos{border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .pi-sub{color:#76654A}
html[data-theme="parchment"] .pi-edit, html[data-theme="parchment"] .pi-close{background:#F7EFDC;border:1px solid #D4C096}
html[data-theme="parchment"] .pe-cur{color:#76654A}
html[data-theme="parchment"] .pe-save{background:#F2A33A;color:#2A1C08}
html[data-theme="parchment"] .pe-cancel, html[data-theme="parchment"] .pc-no{background:#E6D6B2;color:#76654A}
html[data-theme="parchment"] .pc-txt{color:#3A2C1A}
html[data-theme="parchment"] .pc-yes{background:#B23A33}
html[data-theme="parchment"] .em{color:#A39074}
html[data-theme="parchment"] .ni{border-bottom:1px solid #D4C096;color:#76654A}
html[data-theme="parchment"] .ni .t{color:#3A2C1A}
html[data-theme="parchment"] .ni .time{color:#A39074}
@media (max-width:768px){html[data-theme="parchment"] .chart-wrap::after{background:linear-gradient(to right,rgba(0,0,0,0),#F3E9D2)}}
@media (pointer:coarse){html[data-theme="parchment"] #chart div[style*="ns-resize"][style*="z-index: 20"]::after{background:#A39074}}
html[data-theme="parchment"] .toast{background:#EFE3C6;border:1px solid #D4C096;border-left:3px solid #F2A33A;color:#3A2C1A;box-shadow:0 4px 14px rgba(70,45,10,.16)}
html[data-theme="parchment"] .toast.sl, html[data-theme="parchment"] .toast.stopout{border-left-color:#B23A33}
html[data-theme="parchment"] .toast.tp{border-left-color:#2D7A57}
/* from polish.css */
html[data-theme="parchment"] .panel{box-shadow:-12px 0 32px -14px rgba(70,45,10,.16)}
html[data-theme="parchment"] .trade-btn.on, html[data-theme="parchment"] .ot.on{box-shadow:inset 0 1px 0 rgba(80,55,20,.09), var(--ring-gold)}
html[data-theme="parchment"] .btn-buy{box-shadow:inset 0 1px 0 rgba(80,55,20,.09), 0 2px 10px -3px rgba(14, 203, 129, .5)}
html[data-theme="parchment"] .btn-sell{box-shadow:inset 0 1px 0 rgba(80,55,20,.09), 0 2px 10px -3px rgba(178,58,51,0.5)}
html[data-theme="parchment"] .ord input, html[data-theme="parchment"] .field input{box-shadow:inset 0 1px 2px rgba(70,45,10,.16)}
html[data-theme="parchment"] .ord input:focus, html[data-theme="parchment"] .field input:focus{box-shadow:inset 0 1px 2px rgba(70,45,10,.16), var(--ring-gold)}
html[data-theme="parchment"] .tab:hover{color:#3A2C1A}
html[data-theme="parchment"] .tab.on{box-shadow:0 2px 10px -4px rgba(242,163,58,0.8)}
html[data-theme="parchment"] .sym-picker .list{background:#F7EFDC}
html[data-theme="parchment"] .sym-picker .sym-item:hover{background:#E6D6B2}
html[data-theme="parchment"] .aichart-pro-indicator-modal-list li.row:hover{background:rgba(80,55,20,.05)}
html[data-theme="parchment"] .aichart-pro-indicator-modal-list li.title{color:#76654A}
html[data-theme="parchment"] .aichart-pro-drawing-bar .item:hover{background:rgba(80,55,20,.05)}
html[data-theme="parchment"] .aichart-pro-period-bar .item:hover{background:rgba(80,55,20,.05)}
html[data-theme="parchment"] .acct-btn{color:#3A2C1A;background:#E6D6B2}
html[data-theme="parchment"] .acct-btn:hover{background:#D4C096;color:#3A2C1A}
html[data-theme="parchment"] .acct-btn.danger:hover{color:#B23A33;border-color:rgba(178,58,51,0.5)}
html[data-theme="parchment"] .acct-btn.confirming{color:#B23A33;border-color:#B23A33}
html[data-theme="parchment"] .cal-note{color:#A39074}
html[data-theme="parchment"] .cal-time{color:#3A2C1A}
html[data-theme="parchment"] .cal-cur{color:#76654A}
html[data-theme="parchment"] .cal-imp.high{background:#B23A33}
html[data-theme="parchment"] .cal-imp.medium{background:#F2A33A}
html[data-theme="parchment"] .cal-imp.low{background:#A39074}
html[data-theme="parchment"] .cal-title{color:#3A2C1A}
html[data-theme="parchment"] .cal-nums b{color:#2D7A57}
html[data-theme="parchment"] .cal-nums i{color:#76654A}
html[data-theme="parchment"] .ni .t{color:#3A2C1A}
html[data-theme="parchment"] #drawDelX{color:#B23A33;background:#EFE3C6;border:1px solid rgba(178,58,51,0.6)}
html[data-theme="parchment"] #drawDelX:active{background:#F2D9CC}
/* from ai.css */
html[data-theme="parchment"] #profFab{background:linear-gradient(135deg, #F2A33A, #D2851F);color:#2A1C08;box-shadow:0 4px 16px rgba(242,163,58,0.35)}
html[data-theme="parchment"] #profFab:hover{box-shadow:0 6px 24px rgba(242,163,58,0.5)}
html[data-theme="parchment"] #profPanel{background:#EFE3C6;border-left:1px solid #D4C096}
html[data-theme="parchment"] .prof-header{background:#E6D6B2;border-bottom:1px solid #D4C096;color:#9A5A0E}
html[data-theme="parchment"] .prof-close{color:#76654A}
html[data-theme="parchment"] .prof-close:hover{color:#3A2C1A}
html[data-theme="parchment"] .prof-log::-webkit-scrollbar-thumb{background:#EFE3C6}
html[data-theme="parchment"] .prof-msg-user .prof-bubble{background:#F2A33A;color:#2A1C08}
html[data-theme="parchment"] .prof-msg-ai .prof-bubble{background:#EFE3C6;color:#3A2C1A}
html[data-theme="parchment"] .prof-dot{color:#76654A}
html[data-theme="parchment"] .prof-chip{background:#EFE3C6;border:1px solid #D4C096;color:#3A2C1A}
html[data-theme="parchment"] .prof-chip:hover{background:#E6D6B2;border-color:#F2A33A}
html[data-theme="parchment"] .prof-input-row{border-top:1px solid #D4C096;background:#E6D6B2}
html[data-theme="parchment"] #profInput{background:#F7EFDC;border:1px solid #D4C096;color:#3A2C1A}
html[data-theme="parchment"] #profInput:focus{border-color:#F2A33A}
html[data-theme="parchment"] #profInput::placeholder{color:#A39074}
html[data-theme="parchment"] #profSend{background:#F2A33A;color:#2A1C08}
/* from learn.css */
html[data-theme="parchment"] #learnLang:focus{outline:1px solid #F2A33A}
html[data-theme="parchment"] .learn-cat{color:#9A5A0E;border-bottom:1px solid #D4C096}
html[data-theme="parchment"] .learn-item:hover{background:#E6D6B2}
html[data-theme="parchment"] .learn-name{color:#3A2C1A}
html[data-theme="parchment"] .learn-watch{color:#9A5A0E;background:rgba(242,163,58,0.1)}
html[data-theme="parchment"] .learn-item:hover .learn-watch{background:#F2A33A;color:#2A1C08}
html[data-theme="parchment"] .learn-modal-bg{background:rgba(70,45,10,.16)}
html[data-theme="parchment"] .learn-modal-card{background:#EFE3C6;border:1px solid #D4C096}
html[data-theme="parchment"] .learn-modal-header{border-bottom:1px solid #D4C096;color:#3A2C1A}
html[data-theme="parchment"] .learn-modal-close{color:#76654A}
html[data-theme="parchment"] .learn-modal-close:hover{color:#3A2C1A}
html[data-theme="parchment"] .learn-modal-desc{color:#76654A}
html[data-theme="parchment"] .learn-modal-video{background:#F3E9D2}
html[data-theme="parchment"] .tab.learn-tab{color:#9A5A0E !important}
html[data-theme="parchment"] .tab.learn-tab.on{background:rgba(242,163,58,0.15);color:#9A5A0E !important}
html[data-theme="parchment"] .learn-short{color:#9A5A0E;background:rgba(242,163,58,0.12);border:1px solid rgba(242,163,58,0.25)}
html[data-theme="parchment"] .learn-act:hover{background:rgba(242,163,58,0.18)}
html[data-theme="parchment"] .learn-brand-strip{background:linear-gradient(90deg, rgba(242,163,58,0.14), rgba(242,163,58,0.02));border:1px solid rgba(242,163,58,0.22);border-bottom:2px solid #F2A33A}
html[data-theme="parchment"] .learn-brand-name{color:#9A5A0E}
html[data-theme="parchment"] .learn-brand-sub{color:#76654A}
html[data-theme="parchment"] .learn-menu-act:hover{background:rgba(242,163,58,0.2)}
html[data-theme="parchment"] .learn-menu-hint{color:#9A5A0E;background:rgba(242,163,58,0.09);border:1px solid rgba(242,163,58,0.22)}
/* hand-made additions */
html[data-theme="parchment"], html[data-theme="parchment"] body { background:#F3E9D2; color:#3A2C1A; color-scheme: light; }
html[data-theme="parchment"] .aichart-pro, html[data-theme="parchment"] .aichart-pro[data-theme=dark] { --aichart-pro-background-color:#F3E9D2; --aichart-pro-popover-background-color:#EFE3C6;
  --aichart-pro-text-color:#3A2C1A; --aichart-pro-text-second-color:#76654A; --aichart-pro-border-color:#D4C096;
  --aichart-pro-hover-background-color:rgba(80,55,20,.09); --aichart-pro-selected-color:rgba(80,55,20,.09); --aichart-pro-primary-color:#9A5A0E; }
html[data-theme="parchment"] .prof-bubble { color:#3A2C1A; }
html[data-theme="parchment"] .prof-msg-user .prof-bubble { background:#F2A33A; color:#2A1C08; }
html[data-theme="parchment"] #learnLang, html[data-theme="parchment"] select, html[data-theme="parchment"] input { background:#F7EFDC; color:#3A2C1A; border-color:#D4C096; }
html[data-theme="parchment"] ::-webkit-scrollbar-thumb { background:#D4C096; }
html[data-theme="parchment"] .btn-buy { color:#FFF8EA; }
html[data-theme="parchment"] #langSwitch button { background:#E6D6B2 !important; color:#76654A !important; }
html[data-theme="parchment"] #langSwitch button.on { background:#F2A33A !important; color:#2A1C08 !important; }

/* old-map paper (Ed, 18 Oct: "textured like an old map paper… desert feel") */
html[data-theme="parchment"] .topbar, html[data-theme="parchment"] .panel, html[data-theme="parchment"] #profPanel, html[data-theme="parchment"] .toast, html[data-theme="parchment"] #toasts .toast { background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .30  0 0 0 0 .10  0 0 0 .55 -.18'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size:180px 180px, 900px 900px; }
html[data-theme="parchment"] .term { background-color:#F3E9D2; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .30  0 0 0 0 .10  0 0 0 .55 -.18'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size:180px 180px, 900px 900px; }
html[data-theme="parchment"] .chart-wrap { background-color:#F7EFDC; background-image:radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 55%, rgba(110,75,25,.10) 85%, rgba(90,60,20,.20) 100%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1100' height='1100'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.004' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .30  0 0 0 0 .10  0 0 0 .22 -.08'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size:100% 100%, 1100px 1100px; }
html[data-theme="parchment"] .chart-wrap .aichart-pro, html[data-theme="parchment"] #chart .aichart-pro { --aichart-pro-background-color: transparent; background-color: transparent; }
html[data-theme="parchment"] .topbar { box-shadow: inset 0 -1px 0 #D4C096, 0 1px 6px rgba(90,60,20,.10); }
html[data-theme="parchment"] .panel { box-shadow: -6px 0 18px rgba(90,60,20,.10); }
/* a touch of depth (Ed, 18 Oct: "a bit of shadow to the menu text, the candlesticks… the boundary lines") */
html[data-theme="parchment"] .brand, html[data-theme="parchment"] .tab, html[data-theme="parchment"] .trade-btn, html[data-theme="parchment"] .ps h3, html[data-theme="parchment"] .ar, html[data-theme="parchment"] .sym-picker .sel, html[data-theme="parchment"] .ot, html[data-theme="parchment"] .field label, html[data-theme="parchment"] #langSwitch button, html[data-theme="parchment"] .learn-brand-sub,
html[data-theme="parchment"] .aichart-pro [class$="-period-bar"], html[data-theme="parchment"] .prof-header { text-shadow: 0 1px 0 rgba(255,250,235,.65), 0 1px 2px rgba(80,55,20,.22); }
html[data-theme="parchment"] .ps, html[data-theme="parchment"] .tabs, html[data-theme="parchment"] .topbar { box-shadow: 0 1px 0 rgba(255,250,235,.55), 0 2px 3px -1px rgba(80,55,20,.14); }
html[data-theme="parchment"] .ord input, html[data-theme="parchment"] .field input, html[data-theme="parchment"] .sym-picker .sel, html[data-theme="parchment"] #profInput { box-shadow: inset 0 1px 2px rgba(80,55,20,.16), 0 1px 0 rgba(255,250,235,.6); }
html[data-theme="parchment"] .btn, html[data-theme="parchment"] .ot, html[data-theme="parchment"] .trade-btn, html[data-theme="parchment"] #profSend, html[data-theme="parchment"] #profFab { box-shadow: 0 1px 0 rgba(255,250,235,.5) inset, 0 2px 4px rgba(70,45,10,.22); }
/* candles, lines and axis text get a soft ink shadow on wider screens only (on cheap phones a shadow redrawn on every tick can stutter) */
@media (min-width: 900px) { html[data-theme="parchment"] #chart canvas { filter: drop-shadow(0 1px 1px rgba(70,45,10,.30)); } }


html[data-theme="parchment"] #themeSwitch { background:#E6D6B2 !important; color:#3A2C1A !important; }
