/* M6 13 Nov 2026: dark copy of assets/opps.css (colours remapped by build/remap_dark.py; layout unchanged) */
/* NitiMarg Opportunities hub. One system font, body 16px, labels >= 12px, mobile first. No framework, no CDN. */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#0a0e17;color:#6b8cb8;font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif;overflow-x:hidden}
a{color:#ee8e2b;text-decoration:underline;text-decoration-color:rgba(238,142,43,0.4);text-underline-offset:2px}
a:hover{color:#ee942b}
button,select,input,summary{font:inherit;color:inherit}
:focus-visible{outline:2px solid #ee7b2b;outline-offset:2px;border-radius:6px}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* header: same links as the rest of the site */
.hd{position:sticky;top:0;z-index:30;background:rgba(10,14,23,1);backdrop-filter:blur(6px);border-bottom:1px solid #1f2940}
.hd .wrap{display:flex;align-items:center;justify-content:space-between;height:52px;gap:4px}
.logo{display:flex;align-items:center;gap:8px;font-weight:600;color:#e8edf7;text-decoration:none;white-space:nowrap}
.logo i{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#f97316,#131a29,#10b981);color:#6c88cb;font-style:normal;font-size:14px}
.logo b{color:#ee822b;font-weight:600}
.hd nav{display:flex;align-items:center}
.hd nav a{padding:10px 7px;color:#c4cede;font-size:14px;text-decoration:none;border-radius:8px;white-space:nowrap}
.hd nav a.on{background:rgba(26,29,35,0.102);color:#e8edf7}
@media(min-width:640px){.hd nav a{padding:10px 12px}}
.hd nav .lg{display:none}@media(min-width:640px){.hd nav .lg{display:inline}.hd nav .sm{display:none}}
/* title */
.top{padding:22px 0 6px}
h1{font-size:28px;line-height:1.2;margin:0 0 6px;color:#e8edf7;font-weight:600}
.sub{margin:0;color:#c4cede;max-width:680px}
.trust{margin:12px 0 0;padding:8px 12px;border-radius:10px;background:#10b9811a;border:1px solid rgba(42,53,80,0.251);color:#35e392;font-size:14px}
/* tabs (max 5) */
.tabs{position:sticky;top:56px;z-index:25;background:rgba(10,14,23,1);border-bottom:1px solid #1f2940;margin-top:14px}
.tabs .wrap{display:flex;gap:6px;overflow-x:auto;padding-top:8px;padding-bottom:8px;scrollbar-width:none}
.tabs .wrap::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;min-height:44px;padding:0 14px;border-radius:99px;border:1px solid #2a3550;background:#131a29;color:#c4cede;font-weight:600;font-size:15px;cursor:pointer;white-space:nowrap}
.tab[aria-selected=true]{background:#f97316;border-color:#ee7b2b;color:#ee9b2b}
.panel{padding:18px 0 8px}
.panel[hidden]{display:none}
h2{font-size:22px;line-height:1.25;margin:0 0 4px;color:#e8edf7;font-weight:600}
h3{font-size:18px;line-height:1.3;margin:0;color:#e8edf7;font-weight:600}
.lead{margin:0 0 14px;color:#c4cede}
.muted{color:#9aa7bb}
.small{font-size:14px}
/* doors */
.doors{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}
@media(min-width:760px){.doors{grid-template-columns:repeat(4,1fr)}}
.door{display:block;text-align:left;width:100%;min-height:76px;padding:12px;border-radius:14px;border:1px solid #1f2940;background:linear-gradient(180deg,#131a29,#131a29);color:#e8edf7;cursor:pointer;text-decoration:none}
.door b{display:block;font-size:16px}
.door span{display:block;font-size:14px;color:#9aa7bb;margin-top:2px}
.door:hover{border-color:rgba(238,123,43,0.533)}
/* cards */
.grid{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:900px){.grid{grid-template-columns:1fr 1fr}}
.card{position:relative;background:linear-gradient(180deg,#131a29,#131a29);border:1px solid #1f2940;border-radius:16px;padding:14px;content-visibility:auto;contain-intrinsic-size:auto 230px}
.card.open{content-visibility:visible}
.card.open.tilt,.card.open.reveal.in.tilt{transform:none!important;box-shadow:none}
@media(min-width:900px){.card.open{grid-column:1/-1}}
.ct{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.score{flex:0 0 auto;text-align:right;line-height:1.1;color:#ee8e2b;font-weight:600;font-size:22px}
.score small{display:block;font-weight:500;font-size:12px;color:#9aa7bb}
.short{margin:6px 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.chip{display:inline-block;padding:2px 9px;border-radius:99px;font-size:13px;line-height:1.5;background:rgba(26,29,35,0.059);border:1px solid rgba(26,29,35,0.102);color:#6b8cb8}
.chip.easy{background:#22d3ee1f;border-color:rgba(43,212,238,0.4);color:#2bd7ed;font-weight:600}
.chip.idea{background:#f59e0b1f;border-color:rgba(238,165,43,0.333);color:#edc02b}
.chip.ok{background:#10b9811f;border-color:rgba(42,53,80,0.333);color:#3ade9d}
.chip.warn{background:#f59e0b1f;border-color:rgba(238,165,43,0.333);color:#edc02b}
.chip.bad{background:#ef44441f;border-color:rgba(169,14,14,0.333);color:#f15151}
.chip.off{background:#64748b33;border-color:rgba(100,133,180,0.4);color:#c4cede}
.facts{margin:0 0 10px;font-size:14px;color:#c4cede}
.btn{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #ee7b2b;background:#f97316;color:#ee9b2b;font-weight:600;cursor:pointer}
.btn.ghost{background:transparent;color:#ee8e2b}
.detail{margin-top:10px;border-top:1px dashed #2a3550;padding-top:6px}
.detail[hidden]{display:none}
.sec{padding:10px 0 4px}
.sec>h4{margin:0 0 4px;font-size:14px;font-weight:600;color:#ee8e2b;letter-spacing:.01em}
.sec p{margin:0 0 6px}
.cl{list-style:none;margin:0 0 8px;padding:0}
ul.cls,ol.stp{margin:0;padding:0}
ul.cls li{list-style:none;margin:0 0 8px}
ol.stp{padding-left:22px}ol.stp li{margin:0 0 6px}
.tg{display:inline-block;font-size:12px;font-weight:600;line-height:1.4;padding:0 6px;border-radius:4px;margin-right:6px;vertical-align:1px;white-space:nowrap}
.tg.FACT{background:#0ea5e933;color:#2bafee}
.tg.OUR_CALC{background:#a855f733;color:#ae6df3}
.tg.ESTIMATE{background:#f59e0b33;color:#edc02b}
.tg.OPINION{background:#ec489933;color:#f047a3}
details.why{display:block;margin:2px 0 0}
details.why>summary{display:inline-block;cursor:pointer;font-size:13px;color:#9aa7bb;padding:4px 0;min-height:28px;list-style:none;text-decoration:underline dotted}
details.why>summary::-webkit-details-marker{display:none}
details.why[open]>summary{color:#ee8e2b}
.srcs{margin:2px 0 4px;padding:8px 10px;border-radius:10px;background:#0a0e17;border:1px solid #1f2940;font-size:14px}
.srcs p{margin:0 0 4px}.srcs p:last-child{margin:0}
.q{display:grid;grid-template-columns:1fr;gap:6px}
@media(min-width:640px){.q{grid-template-columns:repeat(3,1fr)}}
.q>div{padding:8px 10px;border-radius:10px;background:rgba(26,29,35,0.031);border:1px solid #1f2940}
.q b{display:block;font-size:13px;color:#9aa7bb;font-weight:600}
.bars{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 0}
.bar{font-size:13px;color:#9aa7bb;min-width:52px}
.bar i{display:block;height:6px;border-radius:3px;background:#182033;margin-top:2px;overflow:hidden}
.bar i u{display:block;height:100%;background:#f97316}
.note{margin:0;padding:8px 10px;border-radius:10px;font-size:14px;background:#f59e0b14;border:1px solid rgba(238,165,43,0.267);color:#eec62b}
.note.info{background:#0ea5e914;border-color:rgba(43,177,238,0.267);color:#2babee}
.zp{margin-top:8px;border:1px solid rgba(43,212,238,0.333);border-radius:12px;background:#22d3ee0d}
.zp>summary{cursor:pointer;padding:12px;font-weight:600;color:#2bd7ed;min-height:44px;list-style:none}
.zp>summary::-webkit-details-marker{display:none}
.zp>summary::after{content:" ▸"}.zp[open]>summary::after{content:" ▾"}
.zp .in{padding:0 12px 10px}
.tl{margin:0;padding:0;list-style:none;border-left:2px solid rgba(43,212,238,0.333)}
.tl li{margin:0 0 8px;padding-left:12px}
.tl b{display:block;font-size:13px;color:#2bd7ed}
.lnk a{word-break:break-word}
/* filters */
.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:0 0 14px;padding:12px;border:1px solid #1f2940;border-radius:14px;background:#131a29}
.filters label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#9aa7bb;flex:1 1 150px}
.filters select{min-height:44px;border-radius:10px;border:1px solid #2a3550;background:#0a0e17;padding:0 10px;font-size:16px}
.filters .sw{flex-direction:row;align-items:center;gap:10px;min-height:44px;color:#6b8cb8;font-size:16px;cursor:pointer;flex:1 1 150px}
.filters input[type=checkbox]{width:22px;height:22px;accent-color:#2bd4ee}
.count{margin:0 0 10px;font-size:14px;color:#9aa7bb}
.empty{padding:16px;border:1px dashed #2a3550;border-radius:12px;color:#c4cede}
/* schemes & tech */
.sch dl{display:grid;grid-template-columns:1fr;gap:2px;margin:8px 0 0}
.sch dt{font-size:13px;color:#9aa7bb;margin-top:6px}.sch dd{margin:0}
.tags a{margin-right:8px}
.state{margin:18px 0 0;padding:12px;border:1px dashed #2a3550;border-radius:12px;color:#c4cede}
.news a{display:block;padding:8px 0;border-bottom:1px solid #1f2940;text-decoration:none;color:#6b8cb8}
.news a small{display:block;color:#9aa7bb;font-size:13px}
.log{margin:0;padding:0;list-style:none}.log li{padding:8px 0;border-bottom:1px solid #1f2940}
/* footer */
.ft{margin-top:36px;border-top:1px solid #1f2940;padding:20px 0 40px;color:#9aa7bb;font-size:14px}
.ft p{margin:0 0 8px}
.ft .disc{padding:10px 12px;border-radius:12px;border:1px solid rgba(238,165,43,0.267);background:#f59e0b12;color:#eec62b}
.ft .disc b{color:#edb72b}
noscript p{padding:16px;border:1px solid rgba(238,165,43,0.333);border-radius:12px;color:#eec62b}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:380px){.logo span{display:none}.wrap{padding:0 12px}}

.rk{color:#ee8e2b;font-weight:600;margin-right:4px}
.filters label{min-width:0}.filters select{width:100%;max-width:100%;min-width:0}
/* saved-ideas button + review line (12 Oct 2026) */
.card .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.card .btn.save[aria-pressed="true"]{border-color:#84600b;color:#edb42b}
