/*
Theme Name: Curizora Dark
Description: Curizora dark trading calculators and editorial theme. Compatible with Curizora Tools.
Version: 1.4.3
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: lotwise-theme
*/
:root{--navy:#10233f;--teal:#087d73;--gold:#d6a84f;--muted:#536277;--line:#e2e8f0;--bg:#f7f9fc}*{box-sizing:border-box}body{margin:0;color:#172033;background:var(--bg);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--teal);text-underline-offset:4px}button,input,select{font:inherit}a:hover{text-decoration:underline}h1,h2,h3{color:var(--navy);line-height:1.2;letter-spacing:-.025em}h1{font-size:clamp(32px,4.2vw,52px);font-weight:750;margin:14px 0 22px}h2{font-size:clamp(25px,3vw,34px)}h3{font-size:20px}p{margin:0 0 18px}img{max-width:100%;height:auto}a:focus-visible,button:focus-visible{outline:3px solid #a66a00;outline-offset:4px}.lw-wrap{max-width:1180px;margin:auto;padding:0 28px}.lw-header{background:white;border-bottom:1px solid var(--line)}.lw-header .lw-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}.lw-logo{display:flex;gap:10px;align-items:center;font-size:23px;color:var(--navy);font-weight:800;letter-spacing:-.7px;text-decoration:none}.lw-logo-mark{background:var(--navy);color:#e6bf66;width:33px;height:33px;border-radius:8px;text-align:center;font-size:24px;line-height:33px}.lw-logo em{font-style:normal;color:var(--teal)}.lw-nav{display:flex;gap:22px;align-items:center}.lw-nav a{font-size:14px;font-weight:600;text-decoration:none;color:var(--navy)}.lw-button{display:inline-block;padding:13px 21px;border-radius:7px;background:var(--teal);color:#fff!important;text-decoration:none;font-size:14px;font-weight:650;border:1px solid var(--teal)}.lw-button.secondary{background:transparent;color:var(--navy)!important;border-color:#b6c3d3}.lw-menu-toggle{display:none;border:1px solid var(--line);padding:10px;background:white;border-radius:6px;color:var(--navy)}.lw-hero{padding:78px 0 60px;display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center}.lw-eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:750;color:var(--teal)}.lw-hero p{font-size:18px;color:var(--muted);max-width:520px}.lw-hero .lw-eyebrow{font-size:12px}.lw-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 20px}.lw-hero .lw-micro{font-size:12px;color:var(--muted)}.lw-example{background:#fff;border:1px solid #d4dee9;border-radius:18px;padding:28px;box-shadow:0 14px 45px #10233f0a;transform:rotate(1deg)}.lw-example-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:16px;font-size:13px;font-weight:700}.lw-example-head span:last-child{color:#876119}.lw-example dl{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.lw-example dt{font-size:12px;color:var(--muted)}.lw-example dd{font-weight:650;margin:0;font-size:20px}.lw-example-result{background:var(--navy);border-radius:10px;padding:20px;color:#fff}.lw-example-result strong{font-size:38px;display:block;letter-spacing:-1px}.lw-example-result small{color:#d3dfec}.lw-example p{font-size:12px;margin:16px 0 0}.lw-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;gap:16px;font-size:13px;color:var(--muted)}.lw-strip span::before{content:'✓';color:var(--teal);margin-right:9px}.lw-section{padding:58px 0}.lw-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.lw-section-heading h2{margin:8px 0 10px}.lw-section-heading p{margin:0;color:var(--muted)}.lw-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lw-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:start}.lw-card:hover{border-color:#91bdb7}.lw-card h3{margin:18px 0 12px}.lw-card h3 a{color:var(--navy);text-decoration:none}.lw-card p{font-size:14px;color:var(--muted)}.lw-open{margin-top:auto;font-size:13px;font-weight:650;text-decoration:none}.lw-tool-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:9px;background:#eaf5f3;color:var(--teal);font-size:21px;font-weight:700}.lw-gold{background:#fffaf0;border-block:1px solid #eadcbd}.lw-gold .lw-tool-icon{background:#f5e8c9;color:#775418}.lw-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.lw-benefits h3{font-size:17px;margin-bottom:8px}.lw-benefits p{font-size:14px;color:var(--muted)}.lw-steps{display:grid;grid-template-columns:repeat(5,1fr);padding-left:22px;gap:30px}.lw-steps li{padding-left:5px;font-size:14px}.lw-trust{background:var(--navy);color:#dce6f3;padding:36px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:30px}.lw-trust h2{color:#fff;margin-top:0}.lw-trust p{max-width:700px;margin:0}.lw-trust a{color:#fff;white-space:nowrap}.lw-footer{background:white;border-top:1px solid var(--line);padding:42px 0 24px}.lw-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}.lw-footer p{font-size:13px;color:var(--muted)}.lw-footer nav a{display:block;font-size:13px;margin:8px 0;text-decoration:none;color:var(--muted)}.lw-footer strong{font-size:14px}.lw-footer-note{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.lw-breadcrumbs{font-size:13px;color:var(--muted);margin:28px 0}.lw-page{padding-bottom:56px}.lw-page>h1{max-width:900px}.lw-page>p{max-width:80ch}.lw-entry{max-width:78ch}.lw-entry h2{margin-top:34px;font-size:26px}.lw-meta{font-size:13px;color:var(--muted)}.lw-skip{position:absolute;left:16px;top:-100px;background:white;padding:12px;z-index:10}.lw-skip:focus{top:8px}.lw-pagination{margin:28px 0}.lw-empty{background:white;border:1px solid var(--line);border-radius:10px;padding:24px}.lw-card time{font-size:12px;color:var(--muted)}@media(max-width:1000px){.lw-nav{gap:12px}.lw-nav .lw-button{display:none}.lw-hero{gap:30px}.lw-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.lw-wrap{padding:0 20px}.lw-header .lw-wrap{min-height:72px;flex-wrap:wrap}.lw-menu-toggle{display:block}.lw-nav{display:none;width:100%;padding:0 0 20px;flex-direction:column;align-items:stretch}.lw-nav.is-open{display:flex}.lw-nav a{padding:8px}.lw-hero{grid-template-columns:1fr;padding:40px 0;gap:28px}.lw-example{transform:none}.lw-strip{flex-wrap:wrap;justify-content:start;gap:10px 24px}.lw-cards,.lw-benefits{grid-template-columns:1fr}.lw-section{padding:38px 0}.lw-section-heading{align-items:start;flex-direction:column;gap:12px}.lw-steps{grid-template-columns:1fr;gap:14px}.lw-trust{align-items:start;flex-direction:column;padding:24px}.lw-footer-grid{grid-template-columns:1fr 1fr}.lw-footer-grid>div:first-child{grid-column:1/-1}}

.lw-menu-list{display:flex;gap:16px;list-style:none;padding:0;margin:0}@media(max-width:760px){.lw-menu-list{flex-direction:column}}

/* Curizora dark palette. Scoped to the public theme, including plugin forms. */
:root {
  color-scheme: dark;
  --navy: #f0f6f5;
  --teal: #42dfb6;
  --gold: #e7bd70;
  --muted: #a9b9b6;
  --line: #2a3b38;
  --bg: #0a100f;
}
body { color: #dce7e4; background: var(--bg); }
::selection { color: #061f18; background: #42dfb6; }
body .lw-header, body .lw-footer { background: #0e1715; }
body .lw-header { border-bottom-color: #294039; }
body .lw-logo { gap: 10px; letter-spacing: -.8px; }
body .lw-logo-mark { background: #42dfb6; color: #06251c; font-size: 21px; }
body .lw-button { background: #42dfb6; border-color: #42dfb6; color: #06251c!important; }
body .lw-button:hover { background: #70edc9; border-color: #70edc9; }
body .lw-button.secondary { background: #14211e; color: #e4f0ec!important; border-color: #526b63; }
body .lw-menu-toggle, body .lw-skip { background: #182622; color: #f0f6f5; }
body .lw-example, body .lw-card, body .lw-empty {
  background: #121d1a; border-color: #2a3b38;
  box-shadow: 0 12px 32px #0000001f;
}
body .lw-example { transform: none; border-radius: 18px; }
body .lw-example-head span:last-child { color: #e7bd70; }
body .lw-example-result { background: #092e24; border: 1px solid #28654f; }
body .lw-example-result strong { color: #6df0c4; }
body .lw-example-result small { color: #c4e4d8; }
body .lw-card:hover { border-color: #439d80; background: #172722; }
body .lw-tool-icon { background: #163c30; color: #70edc9; }
body .lw-gold { background: #151710; border-color: #3e3b2c; }
body .lw-gold .lw-tool-icon { background: #3b301b; color: #f0cc88; }
body .lw-trust { background: #123429; border: 1px solid #2b5c49; color: #c9dfd6; }
body .lw-calculator { --lw-navy: #edf6f2; --lw-teal: #42dfb6; color: #dce7e4; }
body .lw-form { background: #121d1a; border-color: #344b42; }
body .lw-fields label { color: #e0ece7; font-weight: 500; }
body .lw-fields input, body .lw-fields select {
  color: #f1f8f5; background: #0b1511; border-color: #617a6f;
}
body .lw-fields input::placeholder { color: #a2b7ad; opacity: 1; }
body .lw-fields input:focus, body .lw-fields select:focus { border-color: #42dfb6; }
body .lw-calculator button { background: #42dfb6; color: #06251c; border-color: #42dfb6; }
body .lw-calculator button:hover { background: #70edc9; }
body .lw-calculator button[type=reset] { background: #182922; color: #edf6f2; border-color: #617a6f; }
body .lw-calculator button[type=reset]:hover { background: #233c31; }
body .lw-results { background: #0f2a21; border-color: #32664f; color: #edf6f2; }
body .lw-results dt { color: #b5cfc1; }
body .lw-results dd { color: #7bf0bd; font-variant-numeric: tabular-nums; }
body .lw-results .lw-negative { color: #ffa9b2; }
body .lw-notice, body .lw-warning { background: #2c2618; color: #efdbad; border-color: #e7bd70; }
body .lw-error { color: #ffadb7; }
body a:focus-visible, body button:focus-visible, body .lw-calculator :focus-visible {
  outline: 3px solid #e7bd70; outline-offset: 4px;
}
body .lw-entry blockquote { border-left: 3px solid #42dfb6; margin-left: 0; padding-left: 20px; }
body .lw-entry table { border-collapse: collapse; width: 100%; }
body .lw-entry th, body .lw-entry td { border: 1px solid #40594e; padding: 10px; text-align: left; }
body .lw-entry th { background: #1a3026; }
body .lw-entry code { color: #a7eccf; overflow-wrap: anywhere; }
@media(max-width:760px) {
  body .lw-nav.is-open { border-top: 1px solid #2a3b38; padding-top: 12px; }
}

@media(min-width:761px) and (max-width:1150px){.lw-nav{gap:12px}.lw-nav>.lw-button{display:none}.lw-header .lw-wrap{gap:16px}.lw-logo{font-size:21px}}

/* Compact homepage: retain the established palette and shared cards. */
.cz-home .lw-hero{padding:56px 0 40px;gap:48px}
.cz-home .lw-section{padding:40px 0}
.cz-home-market{margin:0 0 12px}
.cz-home-market .cz-market{padding:20px;margin:0;border-radius:14px}
.cz-home-market .cz-market h2{font-size:22px;margin:4px 0 10px}
.cz-home-market .cz-market>p{font-size:12px;margin:0 0 12px}
.cz-home-market .cz-quotes{gap:12px}
.cz-home-market .cz-quote{padding:14px 18px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 16px;min-width:0}
.cz-home-market .cz-quote .cz-badge{justify-self:start}
.cz-home-market .cz-quote h3{font-size:15px;margin:0;text-align:right}
.cz-home-market .cz-quote strong{font-size:28px;grid-column:1/-1;line-height:1.3}
.cz-home-market .cz-quote p{margin:0;font-size:12px;grid-column:1/-1}
.cz-home-market .cz-quote small{grid-column:1/-1;overflow-wrap:anywhere}
.cz-home-market .cz-market .cz-source{margin:12px 0 0!important}
.cz-market-link{display:inline-block;margin-top:10px;font-size:13px;font-weight:650}
.cz-home-benefits{border-block:1px solid var(--line)}
.cz-home-benefits h2{margin:8px 0 18px}
.cz-home-benefits .lw-benefits h3{margin-top:0}
.cz-home-benefits .lw-benefits p{margin-bottom:0}
@media(max-width:760px){.cz-home .lw-hero{padding:32px 0;gap:24px}.cz-home .lw-section{padding:30px 0}.cz-home-market .cz-market{padding:16px}.cz-home .lw-benefits{gap:20px}}

/* 1.4.1: accessible dropdown navigation and responsive refinements. */
.lw-header{position:relative;z-index:20}
.lw-menu-list{align-items:center;flex-wrap:wrap;gap:8px;max-width:100%}
.lw-menu-list li{position:relative;list-style:none}
.lw-menu-list>li>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px}
.lw-menu-list .sub-menu{margin:0;padding:8px;list-style:none;background:#14221d;border:1px solid #385448;border-radius:12px;box-shadow:0 16px 36px #0006;min-width:270px;max-width:min(350px,85vw)}
.cz-nav-ready .sub-menu{position:absolute;top:100%;right:0;z-index:30;max-height:70vh;overflow-y:auto}
.lw-nav .sub-menu a{display:block;padding:11px 12px;white-space:normal;line-height:1.4;border-radius:7px}
.lw-nav .sub-menu a:hover,.lw-nav .sub-menu a:focus-visible{background:#223e31;color:#75edc4}
.cz-submenu-toggle{width:44px;height:44px;border:0;background:transparent;color:#75edc4;cursor:pointer;border-radius:8px;font-size:20px}
.cz-submenu-toggle[aria-expanded=true]{background:#223e31}
.lw-nav [hidden]{display:none!important}
.lw-menu-toggle{min-height:44px;cursor:pointer}
.lw-hero>*,.lw-calc-grid>*,.lw-cards>*,.lw-benefits>*,.lw-footer-grid>*{min-width:0}
.lw-card h3,.lw-results dd{overflow-wrap:anywhere}
.lw-entry{overflow-x:auto}
.lw-fields input,.lw-fields select{max-width:100%;min-width:0}
.lw-calculator .lw-method{max-width:none;width:100%}
.lw-calculator .lw-method>p{max-width:78ch}
.lw-calculator .lw-method .lw-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cz-chart [data-chart-host]:not(:empty){height:720px;margin-top:20px}
.cz-chart .tradingview-widget-container{width:100%!important;height:100%!important;margin-top:0!important}
.cz-chart .tradingview-widget-container__widget{height:calc(100% - 36px)!important}
.cz-chart iframe{width:100%!important;height:100%!important}
@media(max-width:1000px){
 .lw-header .lw-wrap{flex-wrap:wrap;gap:12px;min-height:72px}
 .lw-menu-toggle{display:none}
 .cz-nav-enhanced .lw-menu-toggle{display:block}
 .lw-nav{display:flex;width:100%;flex-direction:column;align-items:stretch;padding:0 0 16px}
 .cz-nav-enhanced .lw-nav{display:none}
 .cz-nav-enhanced .lw-nav.is-open{display:flex}
 .lw-menu-list{flex-direction:column;align-items:stretch;gap:4px;width:100%}
 .lw-menu-list>li{display:grid;grid-template-columns:1fr auto}
 .lw-menu-list>li>a{padding:10px 12px}
 .lw-menu-list .sub-menu{position:static;grid-column:1/-1;min-width:0;max-width:100%;width:100%;box-shadow:none;margin:4px 0 8px}
 .lw-nav>.lw-button{display:none}
 .lw-calculator .lw-method .lw-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .cz-chart [data-chart-host]:not(:empty){height:540px}
 .lw-calculator .lw-method .lw-cards{grid-template-columns:1fr}
 .lw-wrap{padding-inline:16px}
 .lw-example{padding:20px}
 .lw-hero-actions{display:grid;grid-template-columns:1fr}
 .lw-hero-actions .lw-button{text-align:center}
 .lw-footer-grid{gap:20px}
 .lw-form,.lw-results{padding:20px}
}
/* 1.4: educational examples, social identity and calculator polish. */
.cz-social{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:20px}
.lw-footer .cz-social a{color:#79eac6}
.cz-result-empty{padding:8px 0;min-height:300px}
.cz-result-empty h2{margin:18px 0;font-size:26px;line-height:1.3}
.cz-result-empty p,.cz-result-empty li{color:#c0d8ce;font-size:14px}
.cz-result-empty ol{padding-left:20px;line-height:2}
.cz-result-empty small{color:#96b6a7}
.cz-education{margin-bottom:36px}
.cz-education>p{max-width:80ch;color:var(--muted);line-height:1.85}
.cz-education>h3{margin:28px 0 12px}
.cz-demo{padding:24px;border:1px solid #365d4d;background:#10271e;border-radius:16px;margin:28px 0}
.cz-demo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cz-demo-heading h3{margin:0}
.cz-demo-heading span,.cz-demo-note{font-size:12px;color:#b7c9bf}
.cz-demo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;list-style:none;counter-reset:demo}
.cz-demo-steps li{counter-increment:demo;padding:20px;border:1px solid #355246;border-radius:10px;background:#0a1a13;min-width:0}
.cz-demo-steps li:before{content:counter(demo,decimal-leading-zero);color:#69e5b8;font-size:12px;font-weight:700;display:block;margin-bottom:14px}
.cz-demo-steps span{display:block;font-size:13px;color:#b4c9be}
.cz-demo-steps strong{display:block;margin-top:8px;font-size:18px;overflow-wrap:anywhere}
.cz-demo-note{margin:12px 0 0}
.cz-faq{border-bottom:1px solid var(--line);padding:16px 0}
.cz-faq summary{cursor:pointer;min-height:32px;font-weight:600}
.cz-faq p{margin:14px 0 0;max-width:80ch;color:var(--muted)}
.lw-fields input,.lw-fields select{font-size:16px}
.lw-actions{display:flex;flex-wrap:wrap;gap:10px}
.lw-calculator .lw-actions button[type=reset]{margin-left:0}
@media(max-width:760px){.cz-demo-steps{grid-template-columns:1fr}.cz-demo-heading{align-items:start;flex-direction:column}.cz-result-empty{min-height:0}.cz-demo{padding:18px}.cz-demo-steps li{padding:16px}.cz-demo-steps li:before{margin-bottom:6px}.lw-actions button{flex:1}}
@media(prefers-reduced-motion:no-preference){.lw-card,.lw-button{transition:border-color .15s,background-color .15s}}
