/* ExportCleared — product screenshot, layout variants and the style panel. Loaded after styles.css. */

/* ---------- product screenshot (always light, like a real capture) ---------- */
.hero-note { margin-top: 14px; }
.shot { --s-ink: #1b1f24; --s-mute: #6b7280; --s-line: #e7e9ec; --s-bg: #f7f8f9; background: #fff; color: var(--s-ink); border-radius: calc(12px * var(--rk)) calc(12px * var(--rk)) 0 0; overflow: hidden; text-align: left; font: 400 12.5px/1.35 -apple-system, "Segoe UI", Inter, "DM Sans", sans-serif; letter-spacing: 0; box-shadow: 0 0 0 1px rgba(20,24,30,.08), 0 30px 70px -28px rgba(20,24,30,.45); }
.shot b { font-weight: 600; } .shot small { color: var(--s-mute); font-size: 11px; display: block; } .shot i { font-style: normal; }
.shot svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chrome { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; height: 38px; padding: 0 14px; background: #eceef1; border-bottom: 1px solid #dcdfe3; }
.dots { display: flex; gap: 7px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.url { justify-self: center; display: inline-flex; gap: 6px; align-items: center; background: #fff; border-radius: 7px; padding: 5px 44px; font-size: 11.5px; color: #4b5563; max-width: 100%; white-space: nowrap; overflow: hidden; }
.url svg { width: 11px; height: 11px; flex: none; }
.ui { display: grid; grid-template-columns: 196px minmax(0, 1fr) 252px; height: 468px; }
.side { background: #fafbfb; border-right: 1px solid var(--s-line); padding: 12px 10px; display: flex; flex-direction: column; gap: 14px; }
.ws { display: grid; grid-template-columns: 28px 1fr 10px; gap: 9px; align-items: center; padding: 7px 8px; border: 1px solid var(--s-line); border-radius: 9px; background: #fff; }
.ws-logo { width: 28px; height: 28px; border-radius: 7px; background: #1b1f24; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ws svg { width: 10px; height: 10px; color: var(--s-mute); }
.side nav { display: grid; gap: 2px; }
.side nav a { display: grid; grid-template-columns: 16px 1fr auto; gap: 9px; align-items: center; padding: 7px 8px; border-radius: 7px; color: #374151; font-weight: 500; }
.side nav svg { width: 15px; height: 15px; color: #6b7280; }
.side nav a.on { background: #eceef1; color: var(--s-ink); } .side nav a.on svg { color: var(--s-ink); }
.side nav em { font-style: normal; font-size: 11px; color: var(--s-mute); font-weight: 400; }
.side nav em.hot { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 1px 7px; font-weight: 600; }
.side-foot { margin-top: auto; display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: center; padding: 8px; border-top: 1px solid var(--s-line); }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #fff; flex: none; }
.side-foot .av { width: 28px; height: 28px; font-size: 10.5px; }
.a1 { background: #7c5cff; } .a2 { background: #0ea5a4; } .a3 { background: #e2603a; } .a4 { background: #1b1f24; }
.main { padding: 14px 18px 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.bar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bar-top b { font-size: 17px; letter-spacing: -.01em; }
.tools { display: flex; gap: 8px; align-items: center; }
.search { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--s-line); border-radius: 8px; padding: 6px 8px 6px 9px; color: var(--s-mute); width: 230px; white-space: nowrap; }
.search svg { width: 13px; height: 13px; flex: none; }
kbd { margin-left: auto; font: 500 10px -apple-system, sans-serif; border: 1px solid var(--s-line); border-radius: 4px; padding: 1px 5px; background: var(--s-bg); }
.tbtn { border: 1px solid var(--s-line); border-radius: 8px; padding: 6px 11px; font-weight: 500; white-space: nowrap; background: #fff; }
.tbtn.dark { background: #1b1f24; color: #fff; border-color: #1b1f24; } .tbtn.wide { display: block; text-align: center; margin-top: auto; }
.stats { display: grid; grid-template-columns: auto auto auto 1fr; gap: 26px; align-items: center; padding: 11px 14px; border: 1px solid var(--s-line); border-radius: 10px; }
.stats b { font-size: 19px; display: block; letter-spacing: -.02em; }
.meter { display: flex; height: 6px; border-radius: 6px; overflow: hidden; gap: 2px; } .meter i { background: #22a06b; } .meter i.w { background: #f3b63a; } .meter i.n { background: #d9534a; }
.filters { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.f { border: 1px solid var(--s-line); border-radius: 999px; padding: 4px 10px; color: #374151; display: inline-flex; gap: 5px; align-items: center; }
.f.on { background: #1b1f24; color: #fff; border-color: #1b1f24; } .f svg { width: 8px; height: 8px; }
.sep { width: 1px; height: 16px; background: var(--s-line); margin: 0 4px; } .count { margin-left: auto; color: var(--s-mute); font-size: 11.5px; }
.tbl { border-top: 1px solid var(--s-line); margin: 0 -18px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 16px minmax(190px, 1fr) 98px 98px 98px 78px 92px; gap: 10px; align-items: center; padding: 9px 18px; border-bottom: 1px solid var(--s-line); }
.tr.th { padding-block: 7px; background: var(--s-bg); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--s-mute); font-weight: 600; }
.tr.sel { background: color-mix(in srgb, var(--accent) 7%, #fff); box-shadow: inset 2px 0 0 var(--accent); }
.cb { width: 14px; height: 14px; border: 1.5px solid #c4c9d0; border-radius: 4px; }
.cb.on { background: var(--accent); border-color: var(--accent); position: relative; } .cb.on::after { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }
.p { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; min-width: 0; }
.p b, .p small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sw { width: 32px; height: 32px; border-radius: 7px; border: 1px solid rgba(0,0,0,.06); }
.s1 { background: linear-gradient(135deg, #e9c58b, #c98f4a); } .s2 { background: linear-gradient(135deg, #e6e9ed, #aab2bd); } .s3 { background: linear-gradient(135deg, #8a5a3c, #5a3722); } .s4 { background: repeating-linear-gradient(45deg, #2f5d8a 0 5px, #e8dcc6 5px 10px); } .s5 { background: linear-gradient(135deg, #e7c15a, #a8802a); } .s6 { background: repeating-linear-gradient(0deg, #9b2c2c 0 4px, #e4cfa6 4px 7px, #2f4858 7px 11px); }
.shot .st { font-size: 11px; padding: 3px 8px; gap: 5px; } .shot .st::before { width: 5px; height: 5px; }
.when { display: inline-flex; gap: 6px; align-items: center; color: var(--s-mute); font-size: 11.5px; white-space: nowrap; } .when .av { width: 20px; height: 20px; font-size: 8.5px; }
.drawer { border-left: 1px solid var(--s-line); padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.d-head { display: grid; grid-template-columns: 1fr 16px; } .d-head small { grid-column: 1 / -1; } .d-head b { font-size: 14.5px; } .d-head .x { color: var(--s-mute); font-size: 16px; line-height: 1; }
.d-tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--s-line); color: var(--s-mute); font-weight: 500; }
.d-tabs span { padding-bottom: 7px; } .d-tabs .on { color: var(--s-ink); box-shadow: inset 0 -2px 0 var(--s-ink); }
.d-sub { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--s-mute); font-weight: 600; margin-top: 2px; }
.req, .act { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; }
.req > i { width: 16px; height: 16px; border-radius: 50%; margin-top: 1px; position: relative; background: #22a06b; }
.req > i::after { content: ""; position: absolute; left: 4px; top: 4.5px; width: 7px; height: 3.5px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }
.req.bad > i { background: #d9534a; } .req.bad > i::after { left: 7px; top: 3.5px; width: 0; height: 6px; border-bottom: 0; transform: none; box-shadow: 0 8px 0 -0.2px #fff; }
.req b, .act b { font-size: 12.5px; display: block; }
@media (max-width: 1080px) { .ui { grid-template-columns: 196px minmax(0, 1fr); } .drawer { display: none; } }
@media (max-width: 760px) { .ui { grid-template-columns: minmax(0, 1fr); height: 400px; } .side, .search, .stats .meter, .filters .sep, .filters .f:nth-child(n+6) { display: none; } .stats { grid-template-columns: repeat(3, auto); justify-content: start; } .tr { grid-template-columns: 16px minmax(150px, 1fr) 92px 92px; } .tr > span:nth-child(n+5) { display: none; } .url { padding-inline: 14px; } .tools .tbtn:not(.dark) { display: none; } }

/* ---------- layout and style variants (set from the panel) ---------- */
html[data-hero="split"] .hero-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: center; text-align: left; }
html[data-hero="split"] .hero-in > .small:last-child { grid-column: 1 / -1; }
html[data-hero="split"] .hero .lede { margin-inline: 0; } html[data-hero="split"] .hero .cta-row { justify-content: flex-start; }
html[data-hero="split"] .frame { margin-top: 0; padding: 26px 0 0 26px; } html[data-hero="split"] .shot { width: 1040px; max-width: none; border-radius: calc(12px * var(--rk)) 0 0 0; }
html[data-hero="split"] h1 { font-size: calc(clamp(34px, 4.2vw, 56px) * var(--hk)); }
@media (max-width: 920px) { html[data-hero="split"] .hero-in { grid-template-columns: minmax(0, 1fr); } html[data-hero="split"] .shot { width: auto; } html[data-hero="split"] .frame { padding: 14px 14px 0; margin-top: 40px; } }
html[data-herobg="plain"] .hero { background: var(--page); }
html[data-herobg="tint"] .hero { background: var(--tint); }
html[data-herobg="grid"] .hero { background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 100%, var(--page); -webkit-mask-image: none; }
html[data-herobg="glow"] .hero { background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--page); }
html[data-frame="none"] .frame { background: none; padding: 0; overflow: visible; } html[data-frame="none"] .shot { border-radius: calc(12px * var(--rk)); }
html[data-frame="dark"] .frame { background: var(--band); }
html[data-frame="tilt"] .frame { background: none; padding: 0; overflow: visible; perspective: 1800px; } html[data-frame="tilt"] .shot { transform: rotateX(7deg); transform-origin: 50% 0; border-radius: calc(12px * var(--rk)); }
html[data-em="italic"] h1 em, html[data-em="italic"] h2 em { font-style: italic; }
html[data-em="plain"] h1 em, html[data-em="plain"] h2 em { color: inherit; }
html[data-em="marker"] h1 em, html[data-em="marker"] h2 em { color: inherit; background: linear-gradient(transparent 62%, var(--tint-2) 62%); }
html[data-nav="float"] .nav { top: 12px; width: min(1120px, calc(100% - 24px)); margin: 12px auto 0; border: 1px solid var(--line); border-radius: var(--pill); box-shadow: 0 10px 30px -18px rgba(0,0,0,.3); }
html[data-nav="float"] .nav .wrap { height: 60px; padding-inline: 22px 10px; }
html[data-bar="off"] .bar { display: none; }
html[data-cards="shadow"] :is(.tile, .quiz, .card, .pane, .limits) { border-color: transparent; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -24px rgba(0,0,0,.28); }
html[data-cards="flat"] :is(.tile, .pane, .limits) { border-color: transparent; background: var(--soft); } html[data-cards="flat"] .soft :is(.tile, .pane) { background: var(--card); }
html[data-align="left"] .center { text-align: left; } html[data-align="left"] .center .lede { margin-inline: 0; } html[data-align="left"] .center .cta-row { justify-content: flex-start; }
html[data-align="left"] :is(.cloud, .rules, .quiz, .faq) { margin-inline: 0; } html[data-align="left"] .cloud { justify-content: flex-start; } html[data-align="left"] .mascot { margin-inline: 0; } html[data-align="left"] .markets .row { justify-content: flex-start; }
html[data-caps="on"] :is(h1, h2) { text-transform: uppercase; letter-spacing: 0; }
html[data-motion="off"] *, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }

/* ---------- style panel ---------- */
#tw { position: fixed; right: 16px; bottom: 16px; z-index: 200; font: 400 13px/1.4 -apple-system, "Segoe UI", sans-serif; color: #e8eaed; letter-spacing: 0; }
#tw * { box-sizing: border-box; }
#tw-open { background: #15171c; color: #fff; border: 1px solid #2c313a; border-radius: 999px; padding: 11px 16px; font: 600 13px -apple-system, sans-serif; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
#tw-panel { position: absolute; right: 0; bottom: 52px; width: 330px; max-height: min(78vh, 720px); overflow-y: auto; background: #15171c; border: 1px solid #2c313a; border-radius: 14px; padding: 14px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
#tw-panel[hidden] { display: none; }
#tw h5 { margin: 16px 0 8px; font: 600 10.5px -apple-system, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8b93a1; }
#tw h5:first-of-type { margin-top: 10px; }
.tw-top { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: sticky; top: -14px; background: #15171c; padding: 6px 0 10px; margin-top: -6px; z-index: 2; }
.tw-b { background: #23272f; color: #e8eaed; border: 1px solid #323843; border-radius: 8px; padding: 8px 10px; font: 500 12.5px -apple-system, sans-serif; cursor: pointer; }
.tw-b:hover { background: #2c313a; } .tw-b.go { background: #fff; color: #15171c; border-color: #fff; grid-column: 1 / -1; font-weight: 700; padding: 10px; }
.tw-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; margin-bottom: 7px; }
.tw-row label { color: #b6bcc8; }
#tw select, #tw input[type=text] { width: 100%; background: #23272f; color: #e8eaed; border: 1px solid #323843; border-radius: 7px; padding: 6px 8px; font: 400 12.5px -apple-system, sans-serif; }
#tw input[type=range] { width: 100%; accent-color: #fff; }
#tw input[type=color] { width: 100%; height: 30px; padding: 0; border: 1px solid #323843; border-radius: 7px; background: #23272f; }
.tw-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.tw-seg button { flex: 1 1 auto; background: #23272f; color: #b6bcc8; border: 1px solid #323843; border-radius: 7px; padding: 6px 8px; font: 500 12px -apple-system, sans-serif; cursor: pointer; }
.tw-seg button[aria-pressed="true"] { background: #fff; color: #15171c; border-color: #fff; }
.tw-sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tw-sw button { border: 2px solid transparent; border-radius: 9px; padding: 0; cursor: pointer; background: none; text-align: center; color: #b6bcc8; font: 500 10.5px -apple-system, sans-serif; }
.tw-sw button span { display: block; height: 30px; border-radius: 7px; margin-bottom: 3px; border: 1px solid rgba(255,255,255,.14); }
.tw-sw button[aria-pressed="true"] { color: #fff; } .tw-sw button[aria-pressed="true"] span { outline: 2px solid #fff; outline-offset: 1px; }
.tw-saved { display: grid; gap: 5px; } .tw-saved div { display: grid; grid-template-columns: 1fr auto auto; gap: 5px; }
.tw-note { color: #8b93a1; font-size: 11.5px; margin-top: 10px; }
@media (max-width: 520px) { #tw-panel { width: calc(100vw - 32px); } }

/* screenshot fit */
.hero .frame { margin-inline: calc(50% - min(640px, 50vw - 20px)); }
html[data-hero="split"] .hero .frame { margin-inline: 0; }
.p > span { min-width: 0; }
.tr { grid-template-columns: 16px minmax(180px, 1fr) 94px 94px 94px 72px 80px; }
@media (max-width: 1330px) { .tr { grid-template-columns: 16px minmax(170px, 1fr) 92px 92px 92px 72px; } .tr > span:nth-child(7) { display: none; } }
@media (max-width: 1180px) and (min-width: 1081px) { .tr { grid-template-columns: 16px minmax(150px, 1fr) 90px 90px 90px; } .tr > span:nth-child(6) { display: none; } .search { width: 170px; } }
@media (max-width: 760px) { .tr { grid-template-columns: 16px minmax(150px, 1fr) 92px 92px; } .tr > span:nth-child(n+5) { display: none; } }
html[data-dark="on"] .logo img { filter: brightness(0) invert(1); }
html[data-dark="on"] .mascot svg { filter: invert(.9) hue-rotate(180deg); }
.mascot { width: 150px; height: 150px; margin-bottom: 10px; }
/* wordmark spacing */
.logo { letter-spacing: .005em; line-height: 1.2; white-space: nowrap; font-size: 25px; font-synthesis: none; padding-block: 4px; }
.logo b { margin-left: .07em; }
.foot .logo { margin-bottom: 4px; }
@media (max-width: 520px) { .logo { font-size: 22px; } }
