/* aFig refine (11 Nov 2026): the figures come first.
   Loaded after every other aFig stylesheet, on the public pages and in the studio. It changes styling only: copy, page order
   and workflows stay as they are. Numbers refer to the refinement brief (Stage 1: 1–7, Stage 2: 8–17, Stage 3: 18–19). */

:root {
	--rf-canvas: #f6f8fc;
	--rf-paper: #ffffff;
	--rf-line: #e2e8f1;
	--rf-line-2: #d3dce9;
	--rf-sel: #e8f1fc;
	--rf-sel-line: #c6daf3;
	--rf-sel-ink: #1f5c9c;
	--rf-shadow: 0 1px 2px rgba(10, 26, 51, .05), 0 14px 34px -22px rgba(10, 26, 51, .26);
	--rf-solid: linear-gradient(180deg, #2a76c2 0%, #1d5c9e 100%);
}
html[data-theme="dark"] {
	--rf-canvas: #0b1222;
	--rf-paper: #141c2e;
	--rf-line: rgba(255, 255, 255, .1);
	--rf-line-2: rgba(255, 255, 255, .16);
	--rf-sel: #1e3a5f;
	--rf-sel-line: #2f5486;
	--rf-sel-ink: #e6f0ff;
	--rf-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
}

/* ===================================================================== Stage 1 */

/* 1 · the logo has a fixed slot as wide as its widest intro frame, then a 12px gap */
.cx-site .site-header .brand { flex: 0 0 84px; width: 84px; margin-right: 2px; }
.cx-site .site-header .cx-theme--m { width: 44px; height: 44px; flex: 0 0 44px; margin-right: 0; }
.cx-site .site-header .nav-toggle { width: 44px; height: 44px; }
.cx-site .site-header .nav-toggle span { left: 13px; right: 13px; }
.cx-site .site-header .nav-toggle span:nth-child(1) { top: 15px; } .cx-site .site-header .nav-toggle span:nth-child(2) { top: 21px; } .cx-site .site-header .nav-toggle span:nth-child(3) { top: 27px; }

/* 2 · phone headline: no forced break, balanced lines, the main action inside the first view */
@media (max-width: 600px) {
	.cx-home2 .h2-hero { padding-top: 100px !important; }
	.cx-home2 .h2-hero-in { gap: 12px; }
	.cx-home2 .h2-title { font-size: clamp(38px, 10.4vw, 44px) !important; line-height: 1.06 !important; letter-spacing: -.045em; text-wrap: balance; }
	.cx-home2 .h2-title br { display: none; }
	.cx-home2 .h2-title em { display: inline; }
	.cx-home2 .h2-title br + em::before { content: " "; }
	.cx-home2 .h2-sub { font-size: 16.5px !important; line-height: 1.5; }
	.cx-home2 .h2-acts { margin-top: 4px; gap: 4px; }
	.cx-home2 .h2-acts .h2-link { min-height: 44px; }
}

/* 3 · the three workflow steps: one deliberate grid */
.cx-home2 .h2-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(900px, 100%); max-width: none; margin: 16px auto 20px; }
.cx-home2 .h2-flow li { display: grid; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: start; padding: 12px 14px; border-radius: 12px; border-color: var(--rf-line); font-size: 13.5px; line-height: 1.4; }
.cx-home2 .h2-flow li::before { grid-row: 1 / span 2; }
.cx-home2 .h2-flow li b { margin: 0; line-height: 24px; }
.cx-home2 .h2-flow li span { grid-column: 2; color: var(--t3); }
@media (max-width: 699px) {
	.cx-home2 .h2-flow { grid-template-columns: minmax(0, 1fr); gap: 6px; width: 100%; margin: 12px auto 14px; }
	.cx-home2 .h2-flow li { padding: 10px 12px; }
	.cx-home2 .h2-flow li::after { display: none !important; }
}

/* 4 · the help launcher: smaller, thin ring, close to the corner (crystal-refine.js moves it clear of controls) */
#afs { right: 16px !important; bottom: 16px !important; transform: none !important; transition: opacity .2s ease, translate .25s ease; }
#afs .afs-fab { width: 48px !important; height: 48px !important; box-shadow: 0 6px 16px -8px rgba(10, 26, 51, .45) !important; }
#afs .afs-fab .afs-face { width: 48px !important; height: 48px !important; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(31, 92, 156, .45) !important; }
#afs .afs-fab .afs-face svg { width: 100% !important; height: 100% !important; }
#afs.rf-clear { opacity: 0; pointer-events: none; translate: 0 8px; }
@media (max-width: 760px) {
	#afs { right: 12px !important; bottom: 12px !important; }
	#afs .afs-fab, #afs .afs-fab .afs-face { width: 44px !important; height: 44px !important; }
}
html.st-editor #afs { transform: none !important; }

/* 5 · FAQ rows: the question takes the width, the icon always sits at the right edge */
.cx-site .qa > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 12px; padding: 16px 20px; }
.cx-site .qa > summary > span { grid-column: 1; grid-row: 1; min-width: 0; }
.cx-site .qa > summary > .fq-link { grid-column: 2; grid-row: 1; margin: 0; }
.cx-site .qa > summary > i { grid-column: 3; grid-row: 1; justify-self: end; width: 24px; height: 24px; }
.cx-site .qa > summary > i::before, .cx-site .qa > summary > i::after { left: 6px; right: 6px; top: 11px; }
.cx-site .qa-body { padding: 0 20px 18px; }
@media (max-width: 600px) { .cx-site .qa > summary { padding: 14px 16px; } .cx-site .qa-body { padding: 0 16px 16px; } }

/* 6 · both pricing selectors: one segmented control (44px targets, 12px radius, pale blue selection) */
.cx-site .pz-toggle, .cx-pricing .pz-aud {
	display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; width: min(520px, 100%); max-width: 100%;
	padding: 4px; border: 1px solid var(--rf-line-2); border-radius: 12px; background: var(--rf-paper); box-shadow: none; --afx-r: 9px; margin-inline: auto; }
.cx-site .pz-toggle button, .cx-pricing .pz-aud a {
	display: flex; align-items: center; justify-content: center; min-height: 44px; height: auto; padding: 6px 12px; border-radius: 9px;
	text-align: center; white-space: normal; font: 600 14.5px/1.25 var(--face); color: var(--t2); }
.cx-site .pz-toggle button[aria-selected="true"], .cx-pricing .pz-aud a[aria-current="true"] { color: var(--rf-sel-ink); background: var(--rf-sel); }
.cx-site .pz-toggle.afx-group::before { background: var(--rf-sel) !important; background-image: none !important; box-shadow: none !important; border-radius: 9px !important; }
.cx-site .pz-toggle .cx-lens2, .cx-site .pz-toggle .cx-lens-el { display: none !important; }
.cx-site .pz-head { margin-bottom: 14px; gap: 14px; }
.cx-pricing .pz-aud { margin: 10px auto 22px !important; }

/* 7 · studio pictures set their own height; the artwork keeps a 16–20px inset and is never cut */
html[data-cx] body.cx-studio [class*="-intro-art"].cx2-has-art { height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; align-self: start; }
.cx-studio .cx2-art .dm-paper { padding: 18px; }
.cx-studio .cx2-art .dm-svg { width: 100%; height: auto; max-height: none; }
.cx-studio .cx2-art .dm-paper img { width: 100%; height: auto; object-fit: contain; }
html[data-cx] body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) { align-items: start; }

/* ===================================================================== Stage 2 */

/* 8 · the colour wash belongs to the hero; below it a calm near-white canvas, white paper for figures */
body.cx-site { background: var(--rf-canvas); }
.cx-site .cx-aurora { position: absolute; bottom: auto; height: min(1150px, 135vh);
	-webkit-mask: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }
.cx-site .cx-aurora i { opacity: .3; }
html:not([data-theme="dark"]) .cx-site .cx-aurora { background: linear-gradient(180deg, #f3f7ff 0%, var(--rf-canvas) 100%); }
.cx-site .h2-window { background: var(--rf-paper) !important; border: 1px solid var(--rf-line); border-radius: 20px; box-shadow: var(--rf-shadow) !important;
	-webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.cx-site .h2-window > .cx-rim, .cx-site .h2-window::after { display: none !important; }
.cx-site .h2-window .dm-panel, .cx-site .h2-window .dm-tabs { background: transparent !important; box-shadow: none !important; }
.cx-site .h2-window .dm-tabs { box-shadow: inset -1px 0 0 var(--rf-line) !important; border-radius: 0; padding: 6px 12px 6px 6px; }
.cx-site .h2-window .dm-paper, .cx-site .h2-window .dmf-paper { background: #fff; box-shadow: inset 0 0 0 1px var(--rf-line) !important; border-radius: 16px; }
.cx-site .h2-window .dm-text { box-shadow: inset 0 0 0 1px var(--rf-line) !important; border-radius: 16px; }

/* 9 · demo controls read differently: matte studio icons, pale blue for what you pick, numbers for progress */
.cx-site .dm-tabs .cx-plate { filter: none; }
.cx-site .dm-tabs .cx-plate-in { background: var(--h); box-shadow: none; }
.cx-site .dm-tabs button { border-radius: 12px; transition: background .15s ease; }
.cx-site .dm-tabs button[aria-selected="true"] { background: var(--rf-sel) !important; box-shadow: none !important; }
.cx-site .dm-tabs button[aria-selected="true"] b { color: var(--rf-sel-ink); }
@media (hover: hover) { .cx-site .dm-tabs button[aria-selected="false"]:hover { background: rgba(31, 92, 156, .05) !important; } }
.cx-site .dm-exchips button, .cx-site .dmf-chips button:not(.dmf-pause) { height: 34px; border-radius: 9px; background: transparent !important; color: var(--t2) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important; }
.cx-site .dm-exchips button[aria-pressed="true"], .cx-site .dmf-chips button[aria-pressed="true"] { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; box-shadow: inset 0 0 0 1px var(--rf-sel-line) !important; }
.cx-site .dm-steps { gap: 4px 16px; }
.cx-site .dm-steps li { height: 28px; padding: 0; background: none !important; box-shadow: none !important; color: var(--t3); font-weight: 560; }
.cx-site .dm-steps li i { width: 22px; height: 22px; border-radius: 50%; background: none !important; color: var(--t3) !important; box-shadow: inset 0 0 0 1.5px var(--rf-line-2) !important; font-size: 11px; }
.cx-site .dm-words[data-stage] .dm-steps li { opacity: 1; }
.cx-site .dm-words[data-stage="1"] .dm-steps li[data-st="1"], .cx-site .dm-words[data-stage="2"] .dm-steps li[data-st="2"], .cx-site .dm-words[data-stage="3"] .dm-steps li[data-st="2"], .cx-site .dm-words[data-stage="4"] .dm-steps li[data-st="3"],
.cx-site .dm-steps li.is-on { color: var(--t1); box-shadow: none !important; }
.cx-site .dm-words[data-stage="1"] .dm-steps li[data-st="1"] i, .cx-site .dm-words[data-stage="2"] .dm-steps li[data-st="2"] i, .cx-site .dm-words[data-stage="3"] .dm-steps li[data-st="2"] i, .cx-site .dm-words[data-stage="4"] .dm-steps li[data-st="3"] i {
	background: var(--rf-sel-ink) !important; color: #fff !important; box-shadow: none !important; }
.cx-site .cx-replay, .cx-site .dmf-chips .dmf-pause { border-color: transparent !important; background: transparent !important; color: var(--rf-sel-ink) !important; box-shadow: none !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31, 92, 156, .35); }
@media (max-width: 900px) {
	.cx-site .h2-window .dm-tabs { box-shadow: inset 0 -1px 0 var(--rf-line) !important; padding: 4px 4px 8px; scroll-padding-inline: 4px;
		-webkit-mask: linear-gradient(90deg, #000 0, #000 calc(100% - 44px), transparent); mask: linear-gradient(90deg, #000 0, #000 calc(100% - 44px), transparent); }
	.cx-site .h2-window .dm-tabs.rf-end { -webkit-mask: none; mask: none; }
}

/* 10 · the engine demo: prompt and figure side by side (40/60), top-aligned; title and badge close to the frame */
.cx-site .sc-words .sc-sub { margin: 4px 0 14px; }
.cx-site .sc-words .cx-demo-cap { margin: 0 auto 6px; }
@media (min-width: 761px) {
	.cx-site .dm-words .dm-wgrid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) !important; align-items: start !important; gap: 24px !important; }
	.cx-site .dm-words .dm-arrow { display: none; }
}
.cx-site .dm-words .dmw-fig img { aspect-ratio: auto; }
.cx-site .dm-words .dm-paper { align-content: start; }
@media (max-width: 760px) { .cx-site .dm-words .dm-arrow { display: none; } .cx-site .dm-words .dm-wgrid { gap: 12px !important; } }

/* 11 · gallery captions: title and subject stacked left, the action right; artwork contained */
.cx-site .sc-card { padding: 8px 8px 12px; border-radius: 20px; background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line) !important; }
.cx-site .sc-card .sc-img { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rf-line); padding: 10px; background: #fff; }
.cx-site .sc-card .sc-img img { border-radius: 6px; }
.cx-site .sc-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t go" "c go"; align-items: center; column-gap: 12px; row-gap: 3px; padding: 2px 6px 0; }
.cx-site .sc-cap b { grid-area: t; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-site .sc-cap em { grid-area: c; }
.cx-site .sc-cap .sc-go { grid-area: go; margin: 0; white-space: nowrap; align-self: center; }
@media (hover: hover) and (pointer: fine) { .cx-site .sc-card:hover { box-shadow: inset 0 0 0 1px var(--rf-line-2), var(--rf-shadow) !important; } }

/* 12 · the figure viewer: one toolbar above the figure, 44px targets, close at the far right */
.cx-site .sc-view[open] { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 44px minmax(0, 1fr); gap: 10px 8px; }
.cx-site .sc-view .sc-zoom { position: static !important; grid-column: 1; grid-row: 1; justify-self: end; display: flex; gap: 6px; }
.cx-site .sc-view .sc-zoom button { min-width: 44px; height: 44px; border-radius: 10px; }
.cx-site .sc-view .sc-x { position: static !important; grid-column: 2; grid-row: 1; width: 44px; height: 44px; border-radius: 10px; box-shadow: inset 0 0 0 1px #d3dcea; background: #fff; }
.cx-site .sc-view figure { grid-column: 1 / -1; grid-row: 2; min-height: 0; max-height: calc(100vh - 32px - 28px - 54px) !important; }
.cx-site .sc-view:not(.is-zoomed) figure img { max-height: calc(100vh - 32px - 28px - 54px - 70px); width: 100%; object-fit: contain; }
html[data-theme="dark"] .cx-site .sc-view .sc-x { background: #141b2b; color: #eaf0fb; box-shadow: inset 0 0 0 1px #2c3850; }

/* 13 · Features: 45/55 split, examples with the same inset and row spacing, no orphaned last item */
@media (min-width: 961px) {
	.cx-site .fx-row { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr) !important; gap: clamp(32px, 3.2vw, 48px) !important; }
}
.cx-site .fx-head .fx-proof, .cx-site .fx-proof, .cx-site .fx-beta { max-width: none; }
.cx-site .fx-proof { padding: 18px 20px; border-color: var(--rf-line); border-radius: 14px; }
.cx-site .fx-list { padding: 8px; border-radius: 20px; background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cx-site .fx-list > .cx-rim { display: none; }
.cx-site .fx-list li { padding: 18px 20px; border-radius: 14px; }
.cx-site .fx-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) {
	.cx-site .f2-chapters { flex-wrap: wrap; justify-content: center; width: auto; max-width: 100%; border-radius: 16px; overflow: visible; position: static; }
	.cx-site .f2-chapters a { height: 36px; padding: 0 12px; }
	.cx-site .fx-list li:last-child:nth-child(odd) { grid-column: auto; }
}

/* 14 · the walkthrough player: a shallow frame; step caption, progress and controls kept together */
.cx-site .cx-hwp, .cx-site .hwp { border-radius: 18px; box-shadow: inset 0 0 0 1px var(--rf-line), var(--rf-shadow) !important; }
.cx-site .hw-steps { background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line) !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 18px; }
.cx-site .hw-steps li.is-on button { background: var(--rf-sel); color: var(--rf-sel-ink); box-shadow: none; }
.cx-site .hw-tabs { border-radius: 12px; padding: 4px; box-shadow: inset 0 0 0 1px var(--rf-line-2); background: var(--rf-paper); }
.cx-site .hw-tabs button { height: 44px; border-radius: 9px; }
.cx-site .hw-tabs button.is-on { background: var(--rf-sel); color: var(--rf-sel-ink); }
.cx-site .hw-tabs.afx-group::before { background: var(--rf-sel) !important; background-image: none !important; box-shadow: none !important; border-radius: 9px !important; }

/* 15 · the membership price is the focal point */
.cx-pricing .pz-one > .pz-main { border: 1px solid var(--rf-sel-line) !important; box-shadow: var(--rf-shadow) !important; }
.cx-site .pz-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
.cx-site .pz-price > b { font-size: clamp(46px, 3.6vw, 52px); }
.cx-site .pz-price > span { font-size: 15px; color: var(--t3); }
.cx-site .pz-price > p, .cx-site .pz-price > button, .cx-site .pz-price > a { flex: 0 0 100%; }
.cx-site .pz-credits .pz-price > b { font-size: clamp(32px, 2.6vw, 36px); }
.cx-site .pz-add > strong { margin-left: auto; text-align: right; }
.cx-site .pz-add > strong em { display: block; }
.cx-pricing .pz-compare .pz-free-note { margin: 10px 0 0; max-width: none; }
.cx-pricing .pz-inst-grid { align-items: stretch; }
@supports (grid-template-rows: subgrid) {
	.cx-pricing .pz-inst-grid { grid-template-rows: auto auto repeat(4, auto); }
	.cx-pricing .pz-inst-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
	.cx-pricing .pz-inst-card > ul { display: contents; }
	.cx-pricing .pz-inst-card > ul > li { align-self: start; }
}
@media (max-width: 860px) { .cx-pricing .pz-inst-grid { grid-template-rows: none; } .cx-pricing .pz-inst-card { grid-row: auto; grid-template-rows: none; } }

/* 16 · FAQ search and topics: flat field, chips that wrap, steady spacing */
.cx-site .fq-search { height: 50px; border-radius: 12px; background: var(--rf-paper); box-shadow: inset 0 0 0 1px var(--rf-line-2); }
.cx-site .fq-search > .cx-rim { display: none; }
.cx-site .fq-search:focus-within { box-shadow: inset 0 0 0 1px var(--rf-line-2); outline: 2px solid #2468b0; outline-offset: 2px; }
.cx-site .fq-main { gap: 28px; }
.cx-site .fq-group { gap: 6px; }
.cx-site .qa { border-radius: 14px; background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cx-site details.qa[open] { box-shadow: inset 0 0 0 1px var(--rf-sel-line), inset 3px 0 0 #2468b0 !important; }
@media (max-width: 1000px) {
	.cx-site .fq-topics { display: flex !important; flex-wrap: wrap; gap: 6px; padding: 0; overflow: visible; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.cx-site .fq-topics::before, .cx-site .fq-topics::after, .cx-site .fq-topics .cx-lens2 { display: none !important; }
	.cx-site .fq-topics button { flex: 0 0 auto; grid-template-columns: auto auto auto; min-height: 44px; padding: 8px 12px; border-radius: 10px; background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important; }
	.cx-site .fq-topics button.is-on, .cx-site .fq-topics button[aria-pressed="true"] { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; box-shadow: inset 0 0 0 1px var(--rf-sel-line) !important; }
}

/* 17 · studio start screens: the tool's own action is solid and leads; the plan badge is quiet; titles get two lines */
html[data-cx] body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) :is(button, a):has(+ .aai-ptag) {
	min-height: 44px; padding: 0 20px; border-radius: 12px; border: 0; color: #fff !important; background: var(--rf-solid) !important; text-shadow: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 18px -10px rgba(36, 104, 176, .8) !important; font-weight: 650; }
html[data-cx] body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) :is(button, a):has(+ .aai-ptag) svg { stroke: currentColor; color: #fff; }
html[data-cx] body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) :is(button, a):has(+ .aai-ptag) > .cx-rim { display: none; }
html[data-cx] body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) .aai-ptag { min-height: 28px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 560; background: transparent !important;
	color: var(--t3) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important; border: 0 !important; }
html[data-cx] body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) .aai-ptag svg { opacity: .7; }
.cx-studio .aai-file-meta b { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.cx-studio .aai-seg button.is-on { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
.cx-studio .aai-seg.afx-group::before { background: var(--rf-sel) !important; background-image: none !important; box-shadow: none !important; }
.cx-studio .aai-files-tools { flex: 1 1 auto; justify-content: flex-end; }
.cx-studio .aai-files-tools .aai-search input { min-width: 0; text-overflow: ellipsis; }

/* ===================================================================== Stage 3 */

/* 18 · studio samples sit level and stay complete; motion only adds emphasis to the finished figure */
html[data-cx] body.cx-studio [class*="-ia-card"] { transform: none !important; rotate: none !important; }
.cx-studio .cx2-art .dm-play .dm-trace { animation: none !important; stroke-dashoffset: 0 !important; }
.cx-studio .cx2-art .dm-play .dm-grow, .cx-studio .cx2-art .dm-play .dm-growx { animation: rf-settle 1.1s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms) both !important; }
.cx-studio .cx2-art .dm-play .dm-pop { animation: rf-emph 1.2s ease var(--d, 0ms) both !important; }
.cx-studio .cx2-art .dm-play .dm-fade, .cx-studio .cx2-art .dm-play .dm-draw { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
@keyframes rf-settle { from { opacity: .55; } to { opacity: 1; } }
@keyframes rf-emph { 0% { transform: none; } 45% { transform: scale(1.14); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.cx-studio .cx2-art *, .cx-site .dm-play * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; clip-path: none !important; filter: none !important; }
}

/* 19 · the end of the home page: logos at matched visual weight (crystal-refine.js sets each height), a calm closing card, a flat footer */
.cx-site .insts .inst img { max-width: 180px; }
.cx-site .insts .inst img[data-rf-h] { height: var(--rf-h) !important; max-height: none !important; }
.cx-site .cx-closing, .cx-site .h2-close-card { border-radius: 20px; background: linear-gradient(180deg, #f2f7fe, #eaf2fc) !important; box-shadow: inset 0 0 0 1px var(--rf-sel-line) !important;
	-webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.cx-site .cx-closing > .cx-rim, .cx-site .h2-close-card > .cx-rim { display: none; }
.cx-site .cx-closing .cx-btn:not(.cx-btn-primary), .cx-site .h2-close-card .cx-btn:not(.cx-btn-primary) { background: transparent !important; box-shadow: none !important; color: var(--rf-sel-ink) !important; }
html[data-theme="dark"] .cx-site .cx-closing, html[data-theme="dark"] .cx-site .h2-close-card { background: linear-gradient(180deg, #15223a, #121d33) !important; }
.cx-site .cx-foot-card { background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-top: 1px solid var(--rf-line); border-radius: 0; padding-inline: 0; }
.cx-site .cx-foot-card > .cx-rim, .cx-site .cx-foot-card::after { display: none !important; }
.cx-site .cx-foot-grid { align-items: start; column-gap: clamp(20px, 3vw, 40px); }
.cx-site .cx-footer h4 { margin-bottom: 12px; }
.cx-site .cx-footer ul { gap: 8px; }
.cx-site .cx-foot-trust { align-items: center; }
.cx-site .cx-pay { flex: 1 1 auto; }
.site-footer .pay-marks, .cx-site .pay-marks { transform: none !important; opacity: .7; flex-wrap: wrap; gap: 6px; }
.cx-site .pay-marks li { height: 26px; }
.cx-site .pay-marks svg { height: 16px; }

/* ===================================================================== night mode for the surfaces above
   The older light-glass cards stayed light at night while their text turned white; they now use the night paper. */
html[data-theme="dark"] .cx-site :is(.cx-crystal-card, .tile, .pz-card, .qa, .fq-topics, .fq-help, .hw-steps, .pain, .pz-tw, .aai-card, .band-stats li, .pz-inst-card, .fx-proof, .fx-list, .sc-card, .cx-signed, .cx-make, .cx-tools, .cx-fam, .h2-steps li, .cx-auth-card) {
	background: var(--rf-paper) !important; color: var(--t2); box-shadow: inset 0 0 0 1px var(--rf-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"] .cx-pricing .pz-one > .pz-main { box-shadow: inset 0 0 0 1px var(--rf-sel-line), var(--rf-shadow) !important; border-color: var(--rf-sel-line) !important; }
html[data-theme="dark"] .cx-site .pz-btn.is-solid, html[data-theme="dark"] .cx-studio .aai :is([class$="-intro"], [class*="-intro "]) :is(button, a):has(+ .aai-ptag) {
	background: linear-gradient(180deg, #3b82d6 0%, #2a64b4 100%) !important; color: #fff !important; text-shadow: none !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -12px rgba(59, 130, 214, .8) !important; }
html[data-theme="dark"] .cx-site .pz-btn:not(.is-solid) { background: #1b2540 !important; color: var(--t1) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important; }
html[data-theme="dark"] .cx-site .pz-pop { background: #1e3a5f !important; color: #dbeaff !important; box-shadow: none !important; }
html[data-theme="dark"] .cx-site .pz-cred strong, html[data-theme="dark"] .cx-site .pz-add strong { color: #9cc0ff; }
html[data-theme="dark"] .cx-site .pz-tw td:nth-child(3), html[data-theme="dark"] .cx-site .pz-tw th:nth-child(3) { background: rgba(93, 147, 255, .08); }
html[data-theme="dark"] .cx-site :is(.fq-search, .fq-topics button, .hw-tabs) { background: var(--rf-paper) !important; }
html[data-theme="dark"] .cx-site .h2-flow li span { color: var(--t3); }
html[data-theme="dark"] .cx-site .cx-foot-card { border-top-color: var(--rf-line); }
html[data-theme="dark"] .cx-site .fq-help-ico, html[data-theme="dark"] .cx-site .fq-group h2 > span { background: #1b2540; box-shadow: inset 0 0 0 1px var(--rf-line); }
/* flat surfaces carry no glass highlight layer, by day or night */
.cx-site :is(.fx-list, .sc-card, .h2-window, .cx-closing, .h2-close-card, .fq-search, .qa, .pz-card, .pz-inst-card, .hw-steps)::after { display: none !important; }
.cx-site .f2-chapters a.is-here, .cx-site .f2-chapters a:hover { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; box-shadow: none !important; }
html[data-theme="dark"] .cx-site .f2-chapters { background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line) !important; }
html[data-theme="dark"] .cx-site .f2-chapters::after { display: none !important; }
@media (hover: hover) { html[data-theme="dark"] .cx-site .fx-list li:hover { background: rgba(255, 255, 255, .04); box-shadow: none; } }

/* 10 · phones: the illustration stays put while the demo changes tools; the text card below it may grow and shrink */
@media (max-width: 760px) {
	.cx-site .sc-words .dm-wgrid > .dm-paper { order: -1; }
	.cx-site .sc-words .dm-panel > .dm-steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-height: 28px; }
	.cx-site .sc-words .dm-panel > .dm-steps::-webkit-scrollbar { display: none; }
	.cx-site .sc-words .dm-panel > .dm-steps li { flex: 0 0 auto; white-space: nowrap; }
}
/* 17 · long file names without spaces also wrap onto the second line; the search field never cuts its hint */
.cx-studio .aai-file-meta b { overflow-wrap: anywhere; word-break: break-word; }
.cx-studio .aai-files-head { row-gap: 10px; }
.cx-studio .aai-files-head { container-type: inline-size; }
.cx-studio .aai-files-tools { flex: 1 1 540px; max-width: 100%; display: grid !important; grid-template-columns: minmax(262px, 420px) auto auto; justify-content: end; align-items: center; gap: 8px; }
.cx-studio .aai-files-tools .aai-search { min-width: 0; width: 100%; }
@container (max-width: 620px) {
	.cx-studio .aai-files-tools { grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; }
	.cx-studio .aai-files-tools .aai-search { grid-column: 1 / -1; }
	.cx-studio .aai-files-tools > select { justify-self: start; }
}
.cx-studio .aai-files-tools .aai-search input { padding-right: 4px; }
.cx-studio .aai-seg button.is-on svg, .cx-studio .aai-seg button.is-on svg * { stroke: var(--rf-sel-ink) !important; color: var(--rf-sel-ink) !important; }
.cx-studio .aai-seg button { width: 38px !important; height: 38px !important; }
.cx-studio .aai-seg button:not(.is-on) svg { stroke: var(--t2) !important; }

/* ===================================================================== night mode: menus, quick find, account notes, version chips
   These pop-overs kept their day glass at night, so their white text vanished on a white panel. */
html[data-theme="dark"] :is(.lm-pop, .me-pop, .cx2-find-card) {
	background: #141c2e !important; background-image: none !important; color: var(--t1);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px -20px rgba(0, 0, 0, .8) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"] :is(.lm-pop, .me-pop, .cx2-find-card) > .cx-rim, html[data-theme="dark"] :is(.lm-pop, .me-pop, .cx2-find-card)::after { display: none !important; }
html[data-theme="dark"] :is(.lm-pop, .me-pop, .cx2-find-card).afx-group::before, html[data-theme="dark"] .cx2-find-card .afx-group::before {
	background: #22305a !important; background-image: none !important; box-shadow: inset 0 0 0 1px rgba(140, 170, 255, .3) !important; }
html[data-theme="dark"] .lm-pop .lm-opt b, html[data-theme="dark"] .me-pop > a, html[data-theme="dark"] .me-head b, html[data-theme="dark"] .cx2-find-card b { color: var(--t1) !important; }
html[data-theme="dark"] .lm-pop .lm-opt small, html[data-theme="dark"] .lm-h, html[data-theme="dark"] .me-head small, html[data-theme="dark"] .bell-title, html[data-theme="dark"] .bell-empty,
html[data-theme="dark"] .cx2-find-card small, html[data-theme="dark"] .cx2-find-card li > span, html[data-theme="dark"] .me-pop .cx2-afig { color: #a9b7cc !important; }
html[data-theme="dark"] .me-pop > a:hover, html[data-theme="dark"] .lm-opt:hover, html[data-theme="dark"] .cx2-find-card li:hover { background: rgba(255, 255, 255, .06) !important; }
html[data-theme="dark"] .me-pop > a.me-out { color: #ff9b8f !important; }
html[data-theme="dark"] .me-head { border-bottom-color: rgba(255, 255, 255, .1); gap: 12px; }
html[data-theme="dark"] .me-pop .cx2-afig { border-top-color: rgba(255, 255, 255, .1) !important; }
html[data-theme="dark"] .cx2-find { background: rgba(3, 8, 20, .55); }
html[data-theme="dark"] .cx2-find-card input { background: #0f1626 !important; color: var(--t1) !important; }
html[data-theme="dark"] .cx2-find kbd, html[data-theme="dark"] .cx2-find-btn kbd { background: rgba(255, 255, 255, .08); color: #a9b7cc; }
/* the account header line: name and e-mail on two lines, never run together */
.me-head > div, .me-head > span:not(:first-child) { display: grid; gap: 1px; min-width: 0; }
.me-head small { display: block; overflow: hidden; text-overflow: ellipsis; }
/* sidebar version chip shown on hover */
html[data-theme="dark"][data-cx2] .cx-studio :is(.aai-side-graphs, .aai-vs-btn)[data-cx2-ver]::after { background: #22305a; color: #dbe6f7; box-shadow: 0 0 0 1px rgba(140, 170, 255, .3); }
/* account: the plan label reads on the blue card; the sharing rule reads on its note */
html[data-theme="dark"] .aai-plan-card .aai-eyebrow { color: rgba(255, 255, 255, .82) !important; }
html[data-theme="dark"] .aai-plan-card .aai-eyebrow::before { background: rgba(255, 255, 255, .7) !important; }
html[data-theme="dark"] .aai-share-policy { background: rgba(240, 163, 91, .1) !important; color: #f1d7bd !important; box-shadow: inset 3px 0 0 #f0a35b !important; border-color: transparent !important; }
html[data-theme="dark"] .aai-small { color: #a9b7cc !important; }
html[data-theme="dark"] .cx2-find-card li[aria-selected="true"] { background: #22305a !important; background-image: none !important; box-shadow: inset 0 0 0 1px rgba(140, 170, 255, .35) !important; }
html[data-theme="dark"] .cx2-find-card li[aria-selected="true"] b { color: #fff !important; }
html:not([data-theme="dark"]) .cx2-find-card li[aria-selected="true"] { background: var(--rf-sel) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--rf-sel-line) !important; }

/* ===================================================================== Features, reorganised (tools/crystal/features.py)
   One order: the ten studios first, then five groups of what every studio gives you. Every group is the same card:
   heading and one link on top, the features in a grid, one example beside them. */
.cx-fx .fxs, .cx-fx .fx2 { padding: clamp(20px, 2.4vw, 32px) 0 0; scroll-margin-top: 150px; }
.cx-fx .fxs { padding-top: clamp(28px, 3.4vw, 48px); }
.cx-fx .fx2-card { display: grid; gap: clamp(16px, 1.8vw, 24px); padding: clamp(20px, 2.4vw, 32px); border-radius: 20px; background: var(--rf-paper); box-shadow: inset 0 0 0 1px var(--rf-line); }
.cx-fx .fx2-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.cx-fx .fx2-head > div { display: grid; gap: 6px; max-width: 62ch; }
.cx-fx .fx2-head h2 { font: 720 clamp(26px, 1rem + 1.4vw, 38px)/1.08 var(--face); letter-spacing: -.04em; color: var(--t1); }
.cx-fx .fx2-head p:not(.fx-k) { color: var(--t3); font-size: 16px; line-height: 1.5; }
.cx-fx .fx2-head .fx-try { margin: 0; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.cx-fx .fx2-body { display: grid; gap: 16px; align-items: start; }
.cx-fx .fx2-body.has-ex { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); }
.cx-fx .fx2-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.cx-fx .fx2-body:not(.has-ex) .fx2-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-fx .fx2-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 12px; border-radius: 12px; }
.cx-fx .fx2-list li b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 640 16px/1.3 var(--face); color: var(--t1); }
.cx-fx .fx2-list li span:not(.fx-ic) { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--t3); }
.cx-fx .fx2-ex { margin: 0; max-width: none; padding: 16px 18px; border-radius: 14px; border: 0; background: var(--rf-canvas); box-shadow: inset 0 0 0 1px var(--rf-line); }
.cx-fx .fx2-ex-k { display: block; margin-bottom: 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: color-mix(in oklab, var(--acc) 70%, #0a1a33); }
.cx-fx .fx2-note { display: flex; gap: 10px; align-items: baseline; margin: 0; padding-top: 14px; border-top: 1px solid var(--rf-line); color: var(--t3); font-size: 14px; line-height: 1.5; }
.cx-fx .fx2-note .fx-tag { flex: none; }
/* the studios */
.cx-fx .fxs-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px; align-items: start; }
.cx-fx .fxs-k { margin: 0 0 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.cx-fx .fxs-make { display: grid; justify-items: start; gap: 12px; padding: 18px; border-radius: 14px; text-decoration: none; background: var(--rf-canvas); box-shadow: inset 0 0 0 1px var(--rf-line); }
.cx-fx .fxs-make > .cx-ar { color: var(--rf-sel-ink); }
.cx-fx .fxs-make b, .cx-fx .fxs-tools b { display: block; font: 660 16px/1.25 var(--face); color: var(--t1); }
.cx-fx .fxs-make span span, .cx-fx .fxs-tools a > span > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--t3); }
.cx-fx .fxs-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
.cx-fx .fxs-tools a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; min-height: 44px; padding: 10px; border-radius: 12px; text-decoration: none; }
.cx-fx :is(.fxs-tools a, .fxs-make) .cx-plate { filter: none; }
.cx-fx :is(.fxs-tools a, .fxs-make) .cx-plate-in { background: var(--h); }
@media (hover: hover) {
	.cx-fx .fxs-tools a:hover, .cx-fx .fx2-list li:hover { background: var(--rf-canvas); }
	.cx-fx .fxs-make:hover { box-shadow: inset 0 0 0 1px var(--rf-sel-line); }
}
/* the section index reaches every section, Studios first */
.cx-fx .f2-chapters { flex-wrap: wrap; justify-content: center; max-width: min(var(--wrap), 760px); }
/* iPad and narrower */
@media (max-width: 1100px) {
	.cx-fx .fxs-body { grid-template-columns: minmax(0, 1fr); }
	.cx-fx .fxs-make { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
	.cx-fx .fxs-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cx-fx .fx2-body:not(.has-ex) .fx2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.cx-fx .fx2-body.has-ex { grid-template-columns: minmax(0, 1fr); }
	.cx-fx .fxs-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.cx-fx .fx2-list, .cx-fx .fx2-body:not(.has-ex) .fx2-list, .cx-fx .fxs-tools { grid-template-columns: minmax(0, 1fr); }
	.cx-fx .fx2-list li { padding: 12px 4px; }
	.cx-fx .fx2-head .fx-try { white-space: normal; }
	.cx-fx .fx2-card { border-radius: 16px; }
}
html[data-theme="dark"] .cx-fx :is(.fx2-ex, .fxs-make) { background: #0f1626; }
html[data-theme="dark"] .cx-fx .fx2-ex-k { color: color-mix(in oklab, var(--acc) 60%, #fff); }
@media (hover: hover) { html[data-theme="dark"] .cx-fx :is(.fxs-tools a, .fx2-list li):hover { background: rgba(255, 255, 255, .04); } }
.cx-fx .fx2-ex > .fx2-ex-k { display: inline; margin: 0; }
.cx-fx .fx2-ex > .fx-pt { display: inline; margin: 0; }
.cx-fx .fx2-ex > .fx-pt::before { content: "·"; margin: 0 6px; color: var(--t3); }
.cx-fx .fx2-ex > .fx-pt + * { margin-top: 10px; }
html[data-theme="dark"] .cx-site .fx-ic { background: #1b2540 !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1) !important; color: color-mix(in oklab, var(--acc) 55%, #fff) !important; }


/* Home gallery: "Selected" (data-cat="All") shows only the six chosen figures; each subject shows all of its own. */
.sc:has(.sc-menu [data-cat="All"][aria-pressed="true"]) .sc-grid li[data-more] { display: none; }

/* Logo row: each logo cell grows with its logo, so round seals are never clipped at the bottom. */
.cx-site .insts .inst { height: auto !important; min-height: calc(var(--inst-h, 56px) * .74 + 4px); }

/* Light text on solid buttons: no white highlight under the letters (crystal-refine.js marks them). */
.rf-crisp, .rf-crisp * { text-shadow: none !important; }

/* Features, studios list: the text rule above also caught the icon's inner tile, so the symbol sat high. Keep the tile centred. */
.cx-fx .fxs-make .cx-plate-in, .cx-fx .fxs-tools .cx-plate-in { display: grid; }

/* Studio dialogs and checkout windows on the public pages (Pricing etc.): the studio stylesheet is not loaded there */

/* theme-matched dialog (plans, add-ons, membership notices) */
.aai-qdlg { position: fixed; inset: 0; z-index: 100050; display: grid; place-items: center; padding: 20px; background: rgba(14, 34, 56, .32); opacity: 0; transition: opacity .16s; font-family: Roboto, system-ui, sans-serif; }
.aai-qdlg.is-in { opacity: 1; }
.aai-qdlg-card { width: min(460px, 100%); padding: 24px 24px 18px; border: 1px solid #d6e1ee; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px -30px rgba(14, 34, 56, .35); transform: translateY(6px); transition: transform .16s; }
.aai-qdlg.is-in .aai-qdlg-card { transform: none; }
.aai-qdlg h3 { margin: 0 0 8px; font: 700 19px/1.3 Roboto, sans-serif; color: #0e2238; }
.aai-qdlg-text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: #3c4d63; }
.aai-qdlg-choices { display: grid; gap: 10px; }
.aai-qdlg-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 12px 16px; border: 1px solid #d6e1ee; border-radius: 10px; background: #fff; text-align: left; font: inherit; cursor: pointer; text-decoration: none !important; transition: border-color .15s, background-color .15s; }
.aai-qdlg-opt b { font-size: 15px; font-weight: 600; color: #0e2238; }
.aai-qdlg-opt span { font-size: 13px; color: #62748a; }
.aai-qdlg-opt:hover { border-color: #9db8d9; background: #f7faff; }
.aai-qdlg-opt.is-primary { border-color: #2f6db5; background: #2f6db5; }
.aai-qdlg-opt.is-primary b { color: #fff; } .aai-qdlg-opt.is-primary span { color: #dce8f6; }
.aai-qdlg-opt.is-primary:hover { background: #245a98; }
.aai-qdlg-opt:focus-visible { outline: 2px solid #2f6db5; outline-offset: 2px; }
.aai-qdlg-x { display: block; margin: 14px auto 0; padding: 6px 12px; border: 0; background: none; font: 600 13.5px Roboto, sans-serif; color: #62748a; cursor: pointer; }
.aai-qdlg-x:hover { color: #2f6db5; }

.aai-qdlg { z-index: 2147483000 !important; }


/* Membership, add-on and credit windows (2026-11) */
.aai-qdlg-card.aai-buy { max-width: 520px; text-align: left; }
.aai-buy-per { display: inline-flex; border: 1px solid #d6e3f5; border-radius: 10px; padding: 3px; margin: 4px 0 12px; background: #f5f9ff; }
.aai-buy-per button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font: 600 13px/1 inherit; color: #33465f; cursor: pointer; }
.aai-buy-per button.is-on { background: #fff; color: #1b4e9b; box-shadow: 0 1px 3px rgba(20,50,100,.12); }
.aai-buy-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e1eaf6; border-radius: 10px; margin: 0 0 8px; background: #fff; cursor: pointer; }
.aai-buy-row.is-base { background: #f5f9ff; border-color: #cfdff3; cursor: default; }
.aai-buy-row input { width: 18px; height: 18px; accent-color: #2f6fd1; flex: 0 0 auto; }
.aai-buy-row > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.aai-buy-row b { color: #0f2747; font-size: 14px; }
.aai-buy-row em { font-style: normal; font-size: 12.5px; color: #5b6b80; line-height: 1.35; }
.aai-buy-row strong { font-size: 13.5px; color: #1b4e9b; white-space: nowrap; }
.aai-buy-row:has(input:checked) { border-color: #9fc0ec; background: #f7faff; }
.aai-buy-row:has(input:disabled) { opacity: .55; cursor: default; }
.aai-buy-h { margin: 14px 0 8px !important; font-weight: 700; color: #0f2747; font-size: 13px; }
.aai-buy-h span { font-weight: 400; color: #5b6b80; margin-left: 6px; }
.aai-buy-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px 4px; border-top: 1px solid #e7eef8; margin-top: 10px; color: #33465f; font-size: 14px; }
.aai-buy-total > b { font-size: 20px; color: #0f2747; }
.aai-buy-go { width: 100%; margin-top: 10px; padding: 12px 16px; border: 0; border-radius: 10px; background: #2f6fd1; color: #fff; font: 600 15px/1 inherit; cursor: pointer; }
.aai-buy-go:hover { background: #1f5fbf; }
.aai-buy-go:disabled { background: #9db6da; cursor: default; }
.aai-buy-err { color: #b3261e; font-size: 13px; margin: 8px 0 0 !important; }
.aai-buy-fine { font-size: 12px; color: #6b7a8f; margin: 8px 0 0 !important; text-align: center; }
.aai-buy-n { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 6px; }
.aai-buy-n button { min-width: 40px; height: 40px; border: 1px solid #d6e3f5; border-radius: 10px; background: #fff; font: 600 15px/1 inherit; color: #1b4e9b; cursor: pointer; }
.aai-buy-n input { width: 90px; height: 40px; text-align: center; border: 1px solid #cfdff3; border-radius: 10px; font: 700 18px/1 inherit; color: #0f2747; }
.aai-buy-link { font-size: 12.5px; font-weight: 600; color: #1f5fbf; text-decoration: none; }
.aai-addon-list { margin: 16px 0 8px; display: flex; flex-direction: column; gap: 8px; }

/* Discount code in the checkout panels */
.aai-cpn { margin-top: 10px; }
.aai-cpn-open { border: 0; background: none; padding: 2px 0; color: #2f6fd1; font: 600 14px/1.4 inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.aai-cpn-form { display: flex; gap: 8px; }
.aai-cpn-form[hidden], .aai-cpn-tick[hidden], .aai-cpn-open[hidden], .aai-cpn-then[hidden] { display: none; }
.aai-cpn-form input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid #cdd9ea; border-radius: 8px; font: 600 14px/1.3 inherit; letter-spacing: .05em; text-transform: uppercase; }
.aai-cpn-form input:focus { outline: 0; border-color: #2f6fd1; box-shadow: 0 0 0 3px rgba(47, 111, 209, .16); }
.aai-cpn-form button { padding: 9px 16px; border: 1px solid #2f6fd1; border-radius: 8px; background: #fff; color: #2f6fd1; font: 600 14px/1.3 inherit; cursor: pointer; }
.aai-cpn-form button:hover { background: #eaf2fb; }
.aai-cpn-form button:disabled { opacity: .6; cursor: wait; }
.aai-cpn-tick { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border: 1px dashed #2c8a57; border-radius: 10px; background: #e9f7ef; color: #12673a; font-size: 13.5px; font-weight: 600; }
.aai-cpn-tick button { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; flex: none; }
.aai-buy-total > b s { color: #6b7a8f; font-size: 14px; font-weight: 400; margin-right: 4px; }
.aai-buy-total > b i { font-style: normal; display: inline-block; }
.aai-cpn-then { margin: 2px 2px 0 !important; text-align: right; font-size: 12.5px; color: #6b7a8f; }
@media (prefers-reduced-motion: no-preference) {
	@keyframes aaiCpnPop { 0% { opacity: 0; transform: translateY(6px) scale(.97); } 65% { opacity: 1; transform: translateY(0) scale(1.015); } 100% { transform: none; } }
	@keyframes aaiCpnDrop { 0% { transform: translateY(-9px); opacity: 0; color: #12673a; } 60% { transform: translateY(2px); opacity: 1; color: #12673a; } 100% { transform: none; } }
	.aai-cpn-tick:not([hidden]), .aai-cpn-form:not([hidden]) { animation: aaiCpnPop .32s cubic-bezier(.2, .8, .2, 1) both; }
	.aai-buy-total > b.is-drop i { animation: aaiCpnDrop .42s cubic-bezier(.2, .8, .2, 1) both; }
}
html[data-theme="dark"] .aai-qdlg { background: rgba(2, 8, 18, .6); }
html[data-theme="dark"] .aai-qdlg-card { background: #111b2a; border-color: #26364d; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); color: #dbe5f2; }
html[data-theme="dark"] .aai-qdlg h3, html[data-theme="dark"] .aai-qdlg-opt b, html[data-theme="dark"] .aai-buy-row b, html[data-theme="dark"] .aai-buy-h, html[data-theme="dark"] .aai-buy-total > b, html[data-theme="dark"] .aai-buy-n input { color: #eef3fa; }
html[data-theme="dark"] .aai-qdlg-text, html[data-theme="dark"] .aai-qdlg-opt span, html[data-theme="dark"] .aai-buy-row em, html[data-theme="dark"] .aai-buy-h span, html[data-theme="dark"] .aai-buy-total, html[data-theme="dark"] .aai-buy-fine, html[data-theme="dark"] .aai-cpn-then, html[data-theme="dark"] .aai-qdlg-x { color: #9fb0c6; }
html[data-theme="dark"] .aai-qdlg-opt, html[data-theme="dark"] .aai-buy-row, html[data-theme="dark"] .aai-buy-n button, html[data-theme="dark"] .aai-buy-n input, html[data-theme="dark"] .aai-cpn-form input, html[data-theme="dark"] .aai-cpn-form button { background: #16233a; border-color: #2a3c56; }
html[data-theme="dark"] .aai-qdlg-opt:hover, html[data-theme="dark"] .aai-buy-row:has(input:checked) { background: #1b2b45; border-color: #3d5c86; }
html[data-theme="dark"] .aai-qdlg-opt.is-primary { background: #2f6db5; border-color: #2f6db5; }
html[data-theme="dark"] .aai-buy-row.is-base, html[data-theme="dark"] .aai-buy-per { background: #142035; border-color: #2a3c56; }
html[data-theme="dark"] .aai-buy-per button { color: #b9c7da; }
html[data-theme="dark"] .aai-buy-per button.is-on { background: #23365a; color: #fff; }
html[data-theme="dark"] .aai-buy-row strong, html[data-theme="dark"] .aai-buy-link, html[data-theme="dark"] .aai-cpn-open, html[data-theme="dark"] .aai-buy-n button, html[data-theme="dark"] .aai-cpn-form button { color: #8db8ff; }
html[data-theme="dark"] .aai-cpn-form input { color: #eef3fa; }
html[data-theme="dark"] .aai-buy-total { border-top-color: #26364d; }
/* match the site theme: Geist, rounded glass card, blue pill buttons */
.cx-site .aai-qdlg, .aai-qdlg { font-family: Geist, "PingFang SC", "Noto Sans SC", system-ui, -apple-system, sans-serif; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.aai-qdlg-card { border-radius: 20px; border-color: #dbe4f0; padding: 26px 26px 18px; box-shadow: 0 30px 70px -30px rgba(14, 34, 56, .45), 0 1px 0 rgba(255, 255, 255, .8) inset; }
.aai-qdlg h3 { font: 700 21px/1.25 Geist, system-ui, sans-serif; letter-spacing: -.01em; color: #0f1b33; }
.aai-qdlg-x { font-family: inherit; }
.aai-qdlg-opt { border-radius: 999px; align-items: center; text-align: center; padding: 12px 20px; font-family: inherit; }
.aai-qdlg-opt.is-primary, .aai-buy-go { background: linear-gradient(#2a76c2, #1d5c9e); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(36, 104, 176, .85); }
.aai-qdlg-opt.is-primary:hover, .aai-buy-go:hover { background: linear-gradient(#2f80d0, #1f63aa); }
.aai-buy-go { border-radius: 999px; font-family: inherit; }
.aai-buy-go:disabled { background: #9db6da; box-shadow: none; }
.aai-buy-per { border-radius: 12px; background: #fff; border-color: #d3dce9; padding: 4px; }
.aai-buy-per button { border-radius: 9px; font-family: inherit; }
.aai-buy-per button.is-on { background: #e8f1fc; color: #173f70; box-shadow: none; }
.aai-buy-row { border-radius: 12px; }
html[data-theme="dark"] .aai-qdlg-card { box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75); }
html[data-theme="dark"] .aai-qdlg h3 { color: #eef3fa; }
html[data-theme="dark"] .aai-qdlg-opt.is-primary { background: linear-gradient(#2a76c2, #1d5c9e); }
html[data-theme="dark"] .aai-buy-per { background: #142035; }
html[data-theme="dark"] .aai-buy-per button.is-on { background: #23365a; color: #fff; }
.aai-qdlg-opt:focus-visible, .aai-buy-go:focus-visible { outline: 2px solid #2a76c2; outline-offset: 3px; }
.aai-qdlg-opt:focus:not(:focus-visible) { outline: 0; }

/* Log-in page: the Researcher / Institution switch and the Log In button match the Pricing page */
.cx-site .al-tabs { margin-top: 12px; padding: 4px; border: 1px solid var(--rf-line-2); border-radius: 12px; background: var(--rf-paper); }
.cx-site .al-tabs > i { top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--rf-sel) !important; box-shadow: none !important; }
.cx-site .al-tabs > button { height: 40px; border-radius: 9px; font: 600 14.5px var(--face); color: var(--t2); }
.cx-site .al-tabs > button.on { color: var(--rf-sel-ink); }
.cx-site .al-tabs .cx-lens2, .cx-site .al-tabs .cx-lens-el { display: none !important; }
.cx-site #wp-submit, .cx-site .login .button-primary { background: var(--rf-solid) !important; color: #fff !important; text-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(36, 104, 176, .85) !important; }
.cx-site #wp-submit:hover { background: linear-gradient(180deg, #2369b0 0%, #184f88 100%) !important; filter: none; }
html[data-theme="dark"] .cx-site #wp-submit { background: linear-gradient(180deg, #3b82d6 0%, #2a64b4 100%) !important; }
html[data-theme="dark"] .cx-site .al-tabs { background: var(--rf-paper); }

/* Footer: GDPR, accessibility and HECVAT as quiet text marks, like "Secure payments by Airwallex", not boxed chips */
.cx-site footer .afig-gdpr { display: inline-flex !important; align-items: center !important; gap: 8px !important; padding: 0 0 0 16px !important; margin: 0 0 0 16px !important; min-height: 0 !important;
	border: 0 !important; border-left: 1px solid var(--rf-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; text-decoration: none !important; }
.cx-site footer .afig-gdpr svg { width: 16px !important; height: 16px !important; flex: none; fill: none !important; stroke: var(--t3, #6b7a8f) !important; stroke-width: 1.7 !important; stroke-linecap: round; stroke-linejoin: round; }
.cx-site footer .afig-gdpr span { display: flex !important; flex-direction: column; gap: 1px; line-height: 1.25 !important; }
.cx-site footer .afig-gdpr b { font: 500 13px/1.25 var(--face) !important; color: var(--t2, #33415c) !important; letter-spacing: 0 !important; }
.cx-site footer .afig-gdpr em { font: 400 11.5px/1.25 var(--face) !important; font-style: normal !important; color: var(--t3, #6b7a8f) !important; }
.cx-site footer .afig-gdpr:hover b { color: var(--rf-sel-ink) !important; }
@media (max-width: 760px) { .cx-site footer .afig-gdpr { margin: 6px 14px 0 0 !important; padding: 0 !important; border-left: 0 !important; } }
.aai-qdlg .aai-qdlg-opt:focus-visible, .aai-qdlg .aai-buy-go:focus-visible, .aai-qdlg .aai-qdlg-x:focus-visible { outline: 2px solid rgba(42, 118, 194, .55) !important; outline-offset: 3px !important; }
/* Focus marks: a soft blue ring instead of the orange one; typing boxes show focus through their own blue border */
:where(a, button, summary, [tabindex], select):focus-visible { outline: 2px solid rgba(42, 118, 194, .55) !important; outline-offset: 2px !important; }
:where(input:not([type="checkbox"]):not([type="radio"]), textarea, [contenteditable="true"]):focus-visible { outline: 0 !important; }
:where(input[type="checkbox"], input[type="radio"]):focus-visible { outline: 2px solid rgba(42, 118, 194, .55) !important; outline-offset: 2px !important; }
details.qa > summary:focus-visible, .afig-cc-b:focus-visible { outline-color: rgba(42, 118, 194, .55) !important; }

/* ===================================================================== Button system (12 Nov 2026)
   One set of shapes, colours and motion for every button, on the public pages and in every studio.
   Action buttons are pills: solid blue for the main action, pale blue for the second one.
   Choices (segmented controls, steppers, chips) are white boxes with the chosen part in light blue. */
:root {
	--bt-solid: linear-gradient(180deg, #2a76c2 0%, #1d5c9e 100%);
	--bt-solid-hi: linear-gradient(180deg, #2369b0 0%, #184f88 100%);
	--bt-solid-sh: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(36, 104, 176, .85);
	--bt-solid-sh-hi: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 26px -12px rgba(36, 104, 176, .95);
	--bt-ghost-bg: #f2f7fd; --bt-ghost-bg-hi: #e8f1fc; --bt-ghost-line: #a9c2e2; --bt-ghost-line-hi: #86abd9; --bt-ghost-ink: #173f70;
	--bt-num: #2468b0;
	--bt-ease: cubic-bezier(.2, .8, .2, 1);
}
html[data-theme="dark"] {
	--bt-solid: linear-gradient(180deg, #3b82d6 0%, #2a64b4 100%);
	--bt-solid-hi: linear-gradient(180deg, #4a8fe0 0%, #2f6cc0 100%);
	--bt-solid-sh: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -12px rgba(59, 130, 214, .8);
	--bt-solid-sh-hi: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 28px -12px rgba(59, 130, 214, .95);
	--bt-ghost-bg: #1b2540; --bt-ghost-bg-hi: #22305a; --bt-ghost-line: rgba(255, 255, 255, .16); --bt-ghost-line-hi: rgba(140, 170, 255, .45); --bt-ghost-ink: #e6f0ff;
	--bt-num: #3b82d6;
}

/* A · the main action: solid blue pill */
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-primary, .aai-btn-accent, .aai-btn-warm, .aai-ed-export, .ps-dl, .sts-dl, .aai-redraw-fab, .aai-z-cta, .aai-z-go, .aai-save,
	.aai-gs-go, .aai-cv-apply, .aai-lift-btn, .aai-sb-conv, .aai-buy-go, .dw-btn.is-pri, .dw-type > button, .ps-custom > button[data-capply], .hw-cta a, .in-btn.is-solid) {
	border-radius: 999px !important; border: 1px solid transparent !important; background: var(--bt-solid) !important; background-clip: padding-box !important;
	color: #fff !important; text-shadow: none !important; font-weight: 600 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	box-shadow: var(--bt-solid-sh) !important; filter: none !important;
	transition: background .16s ease, box-shadow .2s ease, transform .12s var(--bt-ease), opacity .16s ease !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-primary, .aai-btn-accent, .aai-btn-warm, .aai-ed-export, .ps-dl, .sts-dl, .aai-redraw-fab, .aai-z-cta, .aai-z-go, .aai-save,
	.aai-gs-go, .aai-cv-apply, .aai-lift-btn, .aai-sb-conv, .aai-buy-go, .dw-btn.is-pri, .dw-type > button, .ps-custom > button[data-capply], .hw-cta a, .in-btn.is-solid) :is(svg, i, b, span, em) { color: inherit !important; text-shadow: none !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-primary, .aai-btn-accent, .aai-btn-warm, .aai-ed-export, .ps-dl, .sts-dl, .aai-redraw-fab, .aai-z-cta, .aai-z-go, .aai-save,
	.aai-gs-go, .aai-cv-apply, .aai-lift-btn, .aai-sb-conv, .aai-buy-go, .dw-btn.is-pri, .dw-type > button, .ps-custom > button[data-capply], .hw-cta a) > :is(.cx-rim, .cx-lens-el, .cx-lens2) { display: none !important; }
@media (hover: hover) {
	html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-primary, .aai-btn-accent, .aai-btn-warm, .aai-ed-export, .ps-dl, .sts-dl, .aai-redraw-fab, .aai-z-cta, .aai-z-go, .aai-save,
		.aai-gs-go, .aai-cv-apply, .aai-lift-btn, .aai-sb-conv, .aai-buy-go, .dw-btn.is-pri, .dw-type > button, .ps-custom > button[data-capply], .hw-cta a, .in-btn.is-solid):hover:not(:disabled) {
		background: var(--bt-solid-hi) !important; box-shadow: var(--bt-solid-sh-hi) !important; filter: none !important; }
}
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-primary, .aai-btn-accent, .aai-btn-warm, .aai-ed-export, .ps-dl, .sts-dl, .aai-redraw-fab, .aai-z-cta, .aai-z-go, .aai-save,
	.aai-gs-go, .aai-cv-apply, .aai-lift-btn, .aai-sb-conv, .aai-buy-go, .dw-btn.is-pri, .dw-type > button, .ps-custom > button[data-capply], .hw-cta a, .in-btn.is-solid):active:not(:disabled) { transform: scale(.98) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-primary, .aai-btn-accent, .aai-btn-warm, .aai-ed-export, .ps-dl, .sts-dl, .aai-z-cta, .aai-z-go, .aai-save,
	.aai-gs-go, .aai-cv-apply, .aai-lift-btn, .aai-sb-conv, .aai-buy-go, .dw-btn.is-pri, .dw-type > button, .ps-custom > button[data-capply]):is(:disabled, [aria-disabled="true"], .is-off) {
	opacity: .5 !important; box-shadow: none !important; cursor: not-allowed; }
html:root:root:root:root:root:root:root:root:root:root:root body .cx-site :is(.cx-btn-primary, .btn-primary, .pz-btn.is-solid), html:root:root:root:root:root:root:root:root:root:root:root body .cx-site #wp-submit { border-color: transparent !important; background-clip: padding-box !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .aai-dash-side > .aai-btn-primary { min-height: 44px; }
html:root:root:root:root:root:root:root:root:root:root:root body .dw-type > button { min-height: 34px; padding: 0 16px !important; }

/* B · the second action: pale blue pill */
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-ghost, .aai-btn.is-ghost, .aai-btn:not([class*="aai-btn-"]):not(.sq-tool), .aai-ed-report, .aai-ed-orig, .aai-side-add, .aai-blank-btn, .aai-hero-more > label, .in-btn:not(.is-solid):not(.is-yes):not(.is-no)) {
	border-radius: 999px !important; border: 1px solid var(--bt-ghost-line) !important; background: var(--bt-ghost-bg) !important; color: var(--bt-ghost-ink) !important;
	text-shadow: none !important; font-weight: 600 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .12s var(--bt-ease) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-ghost, .aai-btn.is-ghost, .aai-ed-report, .aai-ed-orig, .aai-side-add, .aai-blank-btn, .aai-hero-more > label) :is(svg, span, b) { color: inherit !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-ghost, .aai-btn.is-ghost, .aai-ed-report, .aai-ed-orig, .aai-side-add, .aai-blank-btn) > :is(.cx-rim, .cx-lens-el, .cx-lens2) { display: none !important; }
@media (hover: hover) {
	html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-ghost, .aai-btn.is-ghost, .aai-btn:not([class*="aai-btn-"]):not(.sq-tool), .aai-ed-report, .aai-ed-orig, .aai-side-add, .aai-blank-btn, .aai-hero-more > label, .in-btn:not(.is-solid):not(.is-yes):not(.is-no)):hover:not(:disabled) {
		background: var(--bt-ghost-bg-hi) !important; border-color: var(--bt-ghost-line-hi) !important; filter: none !important; }
}
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn-ghost, .aai-btn.is-ghost, .aai-btn:not([class*="aai-btn-"]):not(.sq-tool), .aai-ed-report, .aai-ed-orig, .aai-side-add, .aai-blank-btn):active:not(:disabled) { transform: scale(.98) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .aai-side-add { min-height: 40px; justify-content: center; }
/* the two highlighted tool tiles: flat light blue, like a chosen item */
html:root:root:root:root:root:root:root:root:root:root:root body .aai-tools :is(.aai-tb.is-upload, .aai-tb.aai-tb-graphs) { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; text-shadow: none !important;
	box-shadow: inset 0 0 0 1px var(--rf-sel-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .aai-tools :is(.aai-tb.is-upload, .aai-tb.aai-tb-graphs) :is(svg, span, b) { color: inherit !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .aai-tools :is(.aai-tb.is-upload, .aai-tb.aai-tb-graphs) > :is(.cx-rim, .cx-lens-el, .cx-lens2) { display: none !important; }

/* C · segmented controls: a white box, the chosen part light blue (the same as Monthly / Annual on Pricing) */
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg) {
	border: 0 !important; border-radius: 12px !important; background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important;
	--afx-r: 9px; --afx-bgc: var(--rf-sel); --afx-sh: none; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg).afx-group::before {
	background: var(--rf-sel) !important; background-image: none !important; box-shadow: none !important; border: 0 !important; border-radius: 9px !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg) > button { border-radius: 9px !important; box-shadow: none !important; transition: color .16s ease, background-color .16s ease !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg) > button:is(.is-on, [aria-pressed="true"], [aria-selected="true"]) { color: var(--rf-sel-ink) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg):not(.afx-group) > button:is(.is-on, [aria-pressed="true"], [aria-selected="true"]) { background: var(--rf-sel) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg, .sts-steps) > :is(.cx-lens-el, .cx-lens2) { display: none !important; }

/* D · steppers: the same white track; the current step light blue with a solid blue number */
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps { background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important; --afx-r: 999px; --afx-bgc: var(--rf-sel); --afx-sh: none; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps.afx-group::before { background: var(--rf-sel) !important; background-image: none !important; box-shadow: none !important; border: 0 !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps > button { box-shadow: none !important; transition: color .16s ease, opacity .16s ease !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps:not(.afx-group) > button.is-on { background: var(--rf-sel) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps > button.is-on { color: var(--rf-sel-ink) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps > button i { background: var(--rf-paper) !important; border: 1px solid var(--rf-line-2) !important; color: var(--t2) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps > button.is-done i { background: var(--rf-sel) !important; border-color: var(--rf-sel-line) !important; color: var(--rf-sel-ink) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-steps > button.is-on i { background: var(--bt-num) !important; border-color: var(--bt-num) !important; color: #fff !important; }
/* the same number mark on the home page */
.cx-site .h2-flow > li::before { border-radius: 50% !important; }

/* E · chosen chips and tiles: light blue with a blue edge, never navy, purple or orange */
html:root:root:root:root:root:root:root:root:root:root:root body .ps-sizes > button { transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-sizes > button.is-on { background: var(--rf-sel) !important; border-color: var(--rf-sel-line) !important; color: var(--rf-sel-ink) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-themes > button.is-on { border-color: var(--bt-num) !important; box-shadow: 0 0 0 3px rgba(36, 104, 176, .16) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-rail > button[data-pstab="print"]:not(.is-on) { color: var(--t2) !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-rail > button[data-pstab="print"]:not(.is-on) :is(svg, span) { color: inherit !important; stroke: currentColor; }
.cx-site .dm-exchips > button { border-radius: 999px; }

/* F · the storage card covers what scrolls under it */
.cx-studio .afv-card .afv-main { background: var(--rf-paper) !important; }

/* everyone who asks for less motion gets none */
/* G · fit and finish */
.aai-btn { font-size: 15px; }
html:root:root:root:root:root:root:root:root:root:root:root body .sts-seg { width: fit-content; max-width: 100%; justify-self: start; align-self: start; }
html:root:root:root:root:root:root:root:root:root:root:root body .sq-qacts > :is(.ps-dl, .aai-btn) { min-height: 40px !important; height: 40px !important; margin: 0 !important; }
html:root:root:root:root:root:root:root:root:root:root:root body :is(.ps-dl, .sts-dl, .aai-btn-primary, .aai-btn-ghost) { white-space: nowrap; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-custom { flex-wrap: wrap; row-gap: 6px; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-custom > button[data-capply] { min-height: 30px; padding: 0 14px !important; }
html:root:root:root:root:root:root:root:root:root:root:root body .ps-seg > button { padding-inline: 9px !important; }

/* H · night mode: panels and controls that stayed white, with text that could not be read */
html[data-theme="dark"] body.cx-studio .sts-kind { background: var(--rf-paper) !important; border-color: var(--rf-line-2) !important; }
html[data-theme="dark"] body.cx-studio .sts-kind :is(b, strong, h3, h4) { color: #eef3fa !important; }
html[data-theme="dark"] body.cx-studio .sts-kind :is(span, p, small, em) { color: #aebbd1 !important; }
html[data-theme="dark"] body.cx-studio .sts-kind.is-on { background: var(--rf-sel) !important; border-color: var(--rf-sel-line) !important; }
html[data-theme="dark"] body.cx-studio .sts-kind-ic { background: rgba(125, 181, 255, .14) !important; }
html[data-theme="dark"] body.cx-studio :is(.sts-qs, .sts-gridbox, .dw-sug, .dw-type, .bio-appear, .bio-scope, .bio-say, .bio-found, .ps-panel, .ps-ex-card, .ps-ex-left, .ps-ex-foot, .sq-li) {
	background: var(--rf-paper) !important; color: #e6edf7 !important; border-color: rgba(255, 255, 255, .12) !important; }
html[data-theme="dark"] body.cx-studio :is(.sts-tb, .sts-stepper, .sts-stepper button, .fc-try button, .fc-chips button, .fc-tpl, .bio-switch button, .bio-pals button, .bio-eg button, .bio-again,
	.ps-close, .ps-tile, .ps-themes > button, .ps-num, .ps-num button, .ps-sizes > button, .sq-type, .ps-ex-left .ps-link, .ps-ex-fmt, .ax-q > button, .sq-tiffrec, .sq-lv) {
	background: #18223a !important; color: #e6edf7 !important; border-color: rgba(255, 255, 255, .14) !important; box-shadow: none !important; }
html[data-theme="dark"] body.cx-studio :is(.ps-ex-fmt:has(input:checked), .ax-q > button.is-on, .bio-switch button.is-on, .bio-pals button.is-on, .fc-chips button.is-on, .ps-sizes > button.is-on, .sq-type.is-on) {
	background: var(--rf-sel) !important; border-color: var(--rf-sel-line) !important; color: var(--rf-sel-ink) !important; }
html[data-theme="dark"] body.cx-studio :is(.ps-ex-fmt, .ax-q > button, .ps-tile, .sq-type, .fc-tpl, .sts-qs, .bio-appear, .ps-panel, .ps-ex-card) :is(b, strong, h2, h3, h4, label, legend) { color: #eef3fa !important; }
html[data-theme="dark"] body.cx-studio :is(.ps-ex-fmt, .ax-q > button, .ps-tile, .sq-type, .fc-tpl, .sts-qs, .bio-appear, .ps-panel, .ps-ex-card) :is(small, em, p, span):not([class*="best"]):not([class*="rec"]):not(.aai-ptag) { color: #aebbd1; }
html[data-theme="dark"] body.cx-studio .sts-gridbox :is(td, th) { background: transparent !important; color: #e6edf7 !important; border-color: rgba(255, 255, 255, .1) !important; }
html[data-theme="dark"] body.cx-studio .bio-rec { background: rgba(46, 160, 110, .2) !important; color: #8fe3b5 !important; }
html[data-theme="dark"] body.cx-studio .ps-rail { background: var(--rf-paper) !important; border-color: rgba(255, 255, 255, .1) !important; }
html[data-theme="dark"] body.cx-studio .ps-rail > button { color: #cfd9e8 !important; background: transparent !important; }
html[data-theme="dark"] body.cx-studio .ps-rail > button.is-on { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
html[data-theme="dark"] body.cx-studio :is(.aai-dpi, .aai-x-bgs, .aai-cht-seg, .aai-cht-tabs, .aai-rp-modes, .sts-seg, .ps-seg, .sq-seg) > button:not(.is-on):not([aria-pressed="true"]) { color: #aebbd1 !important; }
html[data-theme="dark"] body.cx-studio .ps-checks li { color: #cfd9e8 !important; }

@media (prefers-reduced-motion: reduce) {
	html:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-btn, .ps-dl, .sts-dl, .aai-ed-export, .aai-redraw-fab, .in-btn, .sts-seg > button, .ps-seg > button, .sq-seg > button, .sts-steps > button) { transition: none !important; transform: none !important; }
}

/* ===================================================================== Audit pass (12 Nov 2026): bugs, scaling and polish found in the site-wide check */
/* 10 · the studio uses the full width: it was 64px short on the right only, so every screen sat off-centre */
html:root:root body.cx-studio .studio-app .studio-sec .wrap.wide { width: calc(100% - 12px) !important; max-width: none !important; margin-inline: 0 !important; }

/* 7 · the storage status sits in the figure's own bar, beside "Saved", and no longer covers a control */
.afv-pill.is-bar { position: static !important; flex: none; padding: 4px 10px 4px 8px; gap: 7px; box-shadow: none !important; background: transparent !important; border-color: var(--rf-line-2) !important; font-size: 12px; pointer-events: auto; }
.afv-pill.is-bar > svg { width: 15px; height: 15px; }
.afv-pill.is-bar span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.afv-pill.is-bar b { font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--t2); }
.afv-pill.is-bar em { font-weight: 500; color: var(--t3, #6b7a8f); }
.afv-pill.is-bar em::before { content: "·"; margin-right: 2px; opacity: .6; }
.ps-top .afv-pill.is-bar b, .ps-top .afv-pill.is-bar em { color: inherit; }
@media (max-width: 1180px) { .afv-pill.is-bar span > b, .afv-pill.is-bar em::before { display: none; } }
@media (max-width: 900px) { .afv-pill.is-bar em { font-size: 0; gap: 0; } .afv-pill.is-bar { padding: 5px 7px; } }

/* 2 · Poster studio: the same light bar as every other studio, so its icons and name can be read */
html:root:root body.cx-studio .ps-top { background: var(--rf-paper) !important; color: var(--t1) !important; box-shadow: 0 1px 0 var(--rf-line), var(--rf-shadow) !important; }
html:root:root body.cx-studio .ps-top .aai-icon-btn { color: var(--t2) !important; background: transparent !important; }
html:root:root body.cx-studio .ps-top .aai-icon-btn:hover { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
html:root:root body.cx-studio .ps-top .aai-icon-btn:disabled { opacity: .4; }
html:root:root body.cx-studio .ps-title { border: 1px solid var(--rf-line-2) !important; background: var(--rf-paper) !important; color: var(--t1) !important; }
html:root:root body.cx-studio .ps-title:focus { border-color: var(--bt-num) !important; box-shadow: 0 0 0 3px rgba(42, 118, 194, .16); }
html:root:root body.cx-studio .ps-badge { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
html:root:root body.cx-studio .ps-status { color: var(--t3, #6b7a8f) !important; opacity: 1; }
html:root:root body.cx-studio .ps-zoom { background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2); }
html:root:root body.cx-studio .ps-zoom button, html:root:root body.cx-studio .ps-zoom span { color: var(--t2) !important; }
html:root:root body.cx-studio .ps-zoom button:hover { background: var(--rf-sel) !important; }

/* 6, 20 · Flowchart themes: the chosen one has the blue edge */
html:root:root body.cx-studio .fc-themes button.is-on { border-color: var(--bt-num) !important; box-shadow: 0 0 0 3px rgba(36, 104, 176, .18) !important; }

/* 19 · Sketch studio: blue accents, and Export on the right like the other studios */
html:root:root body.cx-studio .dw-app { --ad: #2468b0; --ad-soft: var(--rf-sel); }
html:root:root body.cx-studio .dw-rail button.is-on { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
html:root:root body.cx-studio .dw-type-i { color: var(--bt-num); }
html:root:root body.cx-studio .dw-selbox, html:root:root body.cx-studio .dw-marq, html:root:root body.cx-studio .dw-rsz { stroke: #2468b0; }
html:root:root body.cx-studio .dw-app .sts-top .sts-dlw { margin-left: auto; }
html:root:root body.cx-studio .dw-seg button.is-on { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; border-color: var(--rf-sel-line) !important; box-shadow: inset 0 0 0 1px var(--rf-sel-line) !important; }

/* 18 · Bioinformatics: the chosen figure has the blue edge, downloads are quiet pills */
html:root:root body.cx-studio .bio-card.is-rec { box-shadow: 0 0 0 2px var(--rf-sel-line), 0 10px 24px -18px rgba(16, 42, 100, .45) !important; }
html:root:root body.cx-studio .bio-dlw button { border-radius: 999px !important; padding: 8px 14px !important; background: var(--bt-ghost-bg) !important; color: var(--bt-ghost-ink) !important; box-shadow: inset 0 0 0 1px var(--bt-ghost-line) !important; font-size: 12px !important; }
html:root:root body.cx-studio .bio-dlw button:hover { background: var(--bt-ghost-bg-hi) !important; color: var(--bt-ghost-ink) !important; }
html:root:root body.cx-studio .bio-again { margin-left: 0 !important; align-self: flex-start; width: fit-content; border-radius: 999px !important; }
html:root:root body.cx-studio .sts-side:has(.bio-again) { box-sizing: border-box; min-width: 236px; padding: 12px; border-radius: 16px; background: var(--rf-paper); box-shadow: 0 0 0 1px var(--rf-line); align-self: start; }

/* 11, 12 · iPad upright and phones: the step bar is as wide as its steps, and names the step you are on */
@media (max-width: 1000px) {
	html:root:root body.cx-studio .sts-steps { width: fit-content !important; max-width: 100%; margin: 4px auto 0 !important; }
	html:root:root body.cx-studio .sts-steps > button.is-on span { display: inline !important; }
	html:root:root body.cx-studio .sts-top { flex-wrap: wrap; row-gap: 6px; }
}

/* 13 · phone home page: the example chips wrap under each other and Pause keeps its own place */
@media (max-width: 640px) { .cx-site .dmf-chips { flex-wrap: wrap; row-gap: 6px; } .cx-site .dmf-chips .dmf-pause { margin-left: 0; } }

/* 17 · reset-password and other log-in forms: the same blue pill button */
body.login #wp-submit, body.login .button-primary { border-radius: 999px !important; border: 0 !important; min-height: 48px; background: var(--rf-solid, linear-gradient(180deg, #2a76c2, #1d5c9e)) !important; color: #fff !important; text-shadow: none !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(36, 104, 176, .85) !important; font-weight: 600 !important; }

/* 3 · Panel studio: the note about figures kept in the member's own storage */
.pn-pk-note { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--rf-sel); color: var(--rf-sel-ink); font-size: 13px; line-height: 1.45; }

/* 22 · nothing smaller than 11px */
html:root:root body.cx-studio :is(.fc-chips button small, .fc-gh small, .bio-rec, .aai-ftag, .ax-q > button em, .aai-ruler > span) { font-size: 11px !important; }
.cx-site .pv-lock, .cx-site .hwp-chip > span, .cx-site .dm-paper i > em { font-size: 11px !important; }

/* 21 · the short download window uses the same card as the long one */
html:root:root body.cx-studio .aai-modal-card:not(.ps-ex-card):not(.aai-blank-card) { border-radius: 20px; }

/* 23 · a figure with nothing in it yet reads as a blank sheet, not as a hole in the card */
.cx-studio .aai-file-thumb { background: var(--rf-canvas); box-shadow: inset 0 0 0 1px var(--rf-line); }
.cx-studio .aai-file-thumb > img { box-shadow: 0 0 0 1px var(--rf-line); }
@media (max-width: 1000px) { html:root:root body.cx-studio .sts-side:has(.bio-again) { min-width: 0; width: 100%; } }
html:root:root body.cx-studio .sts-side:has(.bio-again) .sts-seg { flex-wrap: nowrap; }
html:root:root body.cx-studio .sts-side:has(.bio-again) .sts-seg > button { white-space: nowrap; padding-inline: 9px !important; }

/* ===================================================================== Examples pass (12 Nov 2026) */
/* 9 · Visual Studio page: the two tags sit on the card's edge, not over the labels of the figure */
html[data-cx2] .cx-studio .vs-art .sts-ia-chip.vs-ia-1 { left: 14px !important; bottom: -24px !important; top: auto !important; right: auto !important; }
html[data-cx2] .cx-studio .vs-art .sts-ia-chip.vs-ia-2 { right: 14px !important; top: -14px !important; left: auto !important; bottom: auto !important; }
/* 24 · How it works: the closing line and its button have room between them */
.cx-site .hw-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.cx-site .hw-cta p { margin: 0; }
/* the richer studio-page examples keep the card height steady while they take turns */
html[data-cx2] .cx-studio .cx2-has-art .cx2-car .dm-paper { display: grid; align-items: center; min-height: 300px; }

/* ===================================================================== Night mode: hover and chosen states (12 Nov 2026, second pass) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chip:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chip.is-on { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-mini-btn:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-drop:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-drop:focus-within { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-x:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-menu button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-tabs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-layer li.is-sel { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg [data-dlg="0"]:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-file-more:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-file-more:focus-visible { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-nav button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dpi button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-lock.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-ic:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-lock:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-txt:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-x:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button.is-on { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-grid button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-x-bgs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sp-more button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-scheme-opt:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-scheme-opt:focus-visible { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-scheme-opt.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-x:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-f:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-f:focus-visible { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-menu button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-adj-x:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-rp-mode:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-rp-chip.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-crop-r:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-n button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-file:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-btn-ghost:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-back-pill:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-chip:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gp-min:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-icon-grid button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-none.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-list button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-list button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cht-tabs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cht-radd:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cht-types button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-graphs.is-on .aai-sg-ico { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-pick.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-graphs.is-on .aai-sg-n { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-graphs:not(.is-on) .aai-sg-ico { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-graphs.is-on .aai-sg-ico i { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-x-bgs button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-x-bgs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-pals > button:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-fonts button:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-lay button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-designs button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-pals > button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-fonts button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-lay button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-sizes button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lk-sizes button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-objbar button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-objbar button.is-del:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ob-grip:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-fhead-acts button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-fhead-acts button.is-danger:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu button:hover:not(:disabled) { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-rail button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-seg button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-symbols button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-pick-tabs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-side label:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-ex-fmt:has(input:checked) { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-close:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ax-q button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-flow-back:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-dash-side .aai-folder-row button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-scheme-opt:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .ps-ex-fmts .is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .ps-ex-fmts label:has(input:checked) { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-side-nav button:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-side-graphs:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-stagelist li.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-xdlg .ps-ex-fmt:has(input:checked) { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-xdlg .ax-q:has(input:checked), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-xdlg .ax-q.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-side-nav .aai-side-graphs.is-on > em { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-gp-min:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-min:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gp-min:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-steps button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-stepper button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-seg button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-tb:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-pair.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-gtypes button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-pals button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-drop:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pk.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-look.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-chips button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-sec.is-sel { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-it.is-sel { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-x:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-lays button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-tx.is-sel { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-q.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .mp-chip button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .bio-drop:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .bio-again:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .bio-switch button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .bio-clear:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .bio-pals button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chartdlg .aai-cht-tabs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chartdlg .aai-cht-radd:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chartdlg .aai-cht-seg button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-qdlg-opt:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-buy-per button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-buy-row:has(input:checked) { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-redraw-chips button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-vs-detect button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-home:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-home.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-try button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-file button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-shapes button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-rbtn:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-icons button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-tools button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-tools button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-tg.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-lst button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pkcats button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-rail button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-grid button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-mi div button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-btn:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-fo button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-drop:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-tab input:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-opt.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-why:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-why:focus-visible { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-slot:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sq-chip:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sq-acts > button:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sq-acts > div > button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-goalsw button:not(.is-on):hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-qname:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cpn-form button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto-st.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-rail a:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-rail a:focus-visible { background-image: none !important; background-color: rgba(255, 255, 255, .09) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-fam a:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-tools a:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-make-a:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .al-lang .lang-switch > span:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is([role="tab"][aria-selected="true"] { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .gs-chip.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-theme:not(.cx-theme--m), .hdr-bell > summary, .me-menu > summary):hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-btn:not(.aai-btn-primary):not(.aai-btn-warm):not(.aai-btn-danger)):hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :focus:not(:focus-visible)) { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-btn:not(.aai-btn-primary):not(.aai-btn-warm):not(.aai-btn-danger)):hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-legal .lg-toc a:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-legal .lg-card tbody tr:hover td { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-bg.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-bg [aria-pressed="true"] { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-objbar button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-rail button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-rail button.afx-active.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-buy-per button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sts-steps button:not([disabled]):hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sts-steps button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sts-steps button[aria-current="step"] { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sq-opt.is-on { background-image: none !important; background-color: rgba(120, 170, 255, .18) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sq-drop:hover { background-image: none !important; background-color: rgba(255, 255, 255, .09) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .sq-tab tbody tr:hover td { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-app .aai-btn-ghost:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-intro .aai-btn-ghost:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-plan-mbtn:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-chip:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-go:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-fb.is-done button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-mut) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-fb.is-done button.is-on[data-fb="down"] { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-tabs button.is-on { background-color: rgba(120, 170, 255, .18) !important; background-image: none !important; color: var(--nm-link) !important; }

/* ===================================================================== Night-mode pass (12 Nov 2026)
   Panels, windows and controls that stayed white or grey in night mode, with text that could not be read.
   Paper stays paper: figure pages, chart previews, thumbnails and example figures keep their white sheet. */
html[data-theme="dark"] { --nm-card: #18223a; --nm-deep: #0f1728; --nm-line: rgba(255, 255, 255, .13); --nm-ink: #eef3fa; --nm-ink2: #cfd9e8; --nm-mut: #aebbd1; --nm-dim: #8494ad; --nm-link: #8db8ff; }

/* every writing box */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai, .aai-modal, .aai-dlg) textarea { background: var(--nm-card) !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai, .aai-modal, .aai-dlg) :is(textarea, input)::placeholder { color: var(--nm-dim) !important; opacity: 1; }

/* the graph editor's tool rail: one set of headings, in both day and night */
.cx-studio .aai-tools:has(> .st-tgh) > .aai-tool-h { display: none !important; }

/* sidebar counts and small tags */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sg-n { background: rgba(255, 255, 255, .1) !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-side-graphs:is(.is-on, .afx-active) .aai-sg-n { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ftag { background: rgba(125, 181, 255, .2) !important; color: #cfe2ff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.pn-pk, .sts-wrap) h3 > em, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-wrap h3 > em, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .fc-tpl > em { background: rgba(255, 255, 255, .14) !important; color: var(--nm-ink) !important; }

/* ---- aFig Visual Studio: Describe your figure ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flowbar { background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li > span { background: var(--rf-paper) !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li.is-done > span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li.is-on > span { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li > b { background: var(--nm-card) !important; color: var(--nm-mut) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important; text-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li.is-done > b { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li.is-on > b { background: var(--bt-num) !important; color: #fff !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow li > b :is(svg, path) { stroke: currentColor; color: inherit; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-flow-line { background: rgba(255, 255, 255, .16) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dash-hero.is-panel h2 { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: var(--nm-ink) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-brief-main { background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-compose { background: var(--rf-paper) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-compose textarea { background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-compose-foot { background: var(--nm-card) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-wmeter { background: rgba(255, 255, 255, .12) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-wc { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dash-hero.is-panel aside { background: var(--rf-paper) !important; border-color: var(--nm-line) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dash-hero.is-panel aside :is(h3, h4, h5, b, strong) { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dash-hero.is-panel aside :is(li, p, span, small):not(.aai-btn *):not(.aai-ai-note *) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dash-hero.is-panel aside .aai-small { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ai-note { background: var(--nm-card) !important; box-shadow: inset 0 0 0 1px var(--nm-line); }

/* ---- studio pages: tiles and chips ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-intro-stats > div { background: var(--nm-card) !important; border-color: var(--nm-line) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-intro-stats > div :is(b, strong) { color: var(--nm-ink) !important; -webkit-text-fill-color: var(--nm-ink) !important; background: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-intro-stats > div :is(span, em, small) { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-intro-types > span { background: var(--nm-card) !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }

/* ---- Graph studio: the graph picker ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal { background: var(--rf-paper) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-head { background: var(--rf-paper) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-head b { color: var(--nm-ink) !important; } html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-head em { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-q { background: var(--nm-card) !important; border-color: var(--nm-line) !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-q input { background: transparent !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-x { background: var(--nm-card) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gr-h { color: var(--nm-dim) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-it { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-foot { background: var(--nm-card) !important; color: var(--nm-mut) !important; border-color: var(--nm-line) !important; }

/* ---- Graph studio: the New graph window ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card { background: var(--rf-paper) !important; color: var(--nm-ink2) !important; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card h3 { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-ch-sub, .aai-cht-pl, small, .aai-ch-foot, .aai-ch-note) { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-ch-head { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-tabs, .aai-cht-seg) { background: var(--nm-deep) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-tabs, .aai-cht-seg) > button { background: transparent !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-tabs, .aai-cht-seg) > button.is-on { color: var(--rf-sel-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-tabs, .aai-cht-seg):not(.afx-group) > button.is-on { background: var(--rf-sel) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-tw { background: var(--nm-card) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-tw th { background: #1e2a45 !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-tw td { background: transparent !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-tw :is(input:not([type="color"]), label, td > button) { background: transparent !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-add, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-add * { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-radd { background: var(--nm-card) !important; color: var(--nm-link) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-types, .aai-cht-pals) > button { background: var(--nm-card) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-types, .aai-cht-pals) > button span { color: inherit !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-types, .aai-cht-pals) > button.is-on { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; border-color: var(--bt-num) !important; box-shadow: 0 0 0 2px rgba(59, 130, 214, .35) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card :is(.aai-cht-pick, .aai-cht-range) { background: var(--nm-card) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-range > i { background: rgba(255, 255, 255, .16) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-pane label, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .st-cht-sec > span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-pane input:is([type="text"], [type="number"]) { background: var(--nm-card) !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .st-cht-sec { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-prev { background: var(--nm-deep) !important; border-color: var(--nm-line) !important; }

/* ---- Sketch studio: only the page is white ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-stage { background: var(--nm-deep) !important; }

/* ---- Panel studio: picker ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pkcats > button { background: var(--nm-card) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pkcats > button.is-on { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; border-color: var(--rf-sel-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pk { background: var(--nm-card) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pk > span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-pk.is-on { border-color: var(--bt-num) !important; box-shadow: 0 0 0 2px rgba(59, 130, 214, .4) !important; }

/* ---- Poster studio: Start from a template ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-card { background: var(--rf-paper) !important; color: var(--nm-ink2) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-head { background: var(--rf-paper) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-head h3 { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-head .aai-icon-btn { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-side { background: var(--nm-deep) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-side > b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-side label span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-side .ps-tip { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-themes > button { background: var(--nm-card) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-themes > button.is-on { border-color: var(--bt-num) !important; box-shadow: 0 0 0 2px rgba(59, 130, 214, .4) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-q { background: var(--nm-card) !important; border-color: var(--nm-line) !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-q input { background: transparent !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-main .st-psz-note { background: transparent !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-it { background: var(--nm-card) !important; border-color: var(--nm-line) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-it.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-it:hover { border-color: var(--bt-num) !important; box-shadow: 0 0 0 2px rgba(59, 130, 214, .35) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-it :is(b, strong) { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-it > :is(span, em, small):not(.ps-gal-thumb):not([class*="size"]), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-it :is(b, strong) ~ :is(span, em, small) { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-gal-thumb { background: var(--nm-deep) !important; }

/* ---- small leftovers found by the scan ---- */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sts-gridbox :is(.sts-gh, .sts-rh) > button { background: transparent !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.fc-rbtn, .sq-why) { background: var(--nm-card) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .wb-recbox { background: var(--nm-card) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-type > i { background: rgba(125, 181, 255, .14) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chart-card .aai-cht-pick > i { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .dw-canvas { background: var(--nm-deep) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-qi, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .sq-li :is(span, b, em, small) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-poster { background: var(--rf-canvas) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .ps-ex-fmt b > em { background: rgba(125, 181, 255, .2) !important; color: #cfe2ff !important; }

/* ---- Log-in, reset-password and new-password pages ---- */
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-show { background: linear-gradient(160deg, #16203a 0%, #0f1728 100%) !important; color: var(--nm-ink2) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-show .al-h { color: var(--nm-ink) !important; -webkit-text-fill-color: var(--nm-ink) !important; background: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-show .al-h em { color: var(--nm-link) !important; -webkit-text-fill-color: var(--nm-link) !important; background: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-show p, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-show-foot { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-pts li { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-pts li i { background: rgba(125, 181, 255, .16) !important; color: #9fe3c4 !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-steps li { background: var(--nm-card) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-steps b { background: var(--rf-sel) !important; color: var(--rf-sel-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-steps strong { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-steps small { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-side { background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-card { background: #141c2e !important; border-color: var(--nm-line) !important; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--nm-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-top h2 { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-top p { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-note { background: var(--nm-card) !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page #login form, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login form { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login label, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login form p, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login .forgetmenot label { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login form .input, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login input[type="text"], html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login input[type="email"], html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login input[type="password"] { background: var(--nm-card) !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .login .wp-pwd .button.wp-hide-pw { color: var(--nm-mut) !important; background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-links { border-top-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-links a, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-back { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-back { background: var(--nm-card) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .al-foot, html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .privacy-policy-page-link a { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .lang-switch { background: var(--nm-card) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page .lang-switch span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body.cx-login-page :is(#login_error, .message, .notice, .success) { background: var(--nm-card) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; box-shadow: none !important; }

/* ---- card and folder menus, and the Create new window ---- */
html[data-theme="dark"]:root:root:root:root:root:root body > .aai-menu, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-menu { background: #18223a !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--nm-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root body > .aai-menu :is(button, a, span, b), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-menu :is(button, a, span, b) { color: var(--nm-ink) !important; background-color: transparent; }
html[data-theme="dark"]:root:root:root:root:root:root body > .aai-menu :is(button, a):hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-menu :is(button, a):hover { background: rgba(125, 181, 255, .14) !important; }
html[data-theme="dark"]:root:root:root:root:root:root body > .aai-menu :is(.is-danger, .danger, [data-danger]), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-menu :is(.is-danger, .danger) { color: #ff9a8f !important; }
html[data-theme="dark"]:root:root:root:root:root:root body > .aai-menu :is(hr, i, .aai-menu-sep) { border-color: var(--nm-line) !important; background-color: var(--nm-line); }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chooser-card { background: var(--rf-paper) !important; color: var(--nm-ink2) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chooser-card h3 { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chooser-card .aai-left, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chooser-card .aai-left span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-chooser-card .aai-left b { color: #8fe3b5 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ch-item { background: var(--nm-card) !important; border-color: var(--nm-line) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ch-item:hover { border-color: var(--bt-num) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ch-art { background: var(--nm-deep) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ch-txt b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-ch-txt em { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-oq-card { background: var(--rf-paper) !important; color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-oq-card :is(h3, b, strong) { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-oq-card :is(p, span, small) { color: var(--nm-mut) !important; }

/* ===================================================================== Night-mode pass 2 (12 Nov 2026): the editor's menus, bars and pickers, dialogs and the account pages (iPad screenshots) */
/* floating surfaces of the editor: one dark card, readable words */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-paintfly, .aai-tpick, .aai-demo, .aai-lib-cats, .aai-lib-grid, .aai-sym-grid, .aai-stylebar, .aai-objbar, .aai-paintbar, .aai-pop, .aai-menu, .aai-gal-menu) { background: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 24px 50px -22px rgba(0, 0, 0, .75) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-paintfly, .aai-stylebar, .aai-objbar, .aai-paintbar, .aai-tpick, .aai-demo)::before, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-paintfly, .aai-stylebar, .aai-objbar, .aai-paintbar, .aai-tpick, .aai-demo)::after { background: none !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib { filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .55)) !important; }
/* menus (Fix it, Text, Erase html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body repair, Paint) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pf-head { border-bottom-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pf-head b { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pf-head em, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button em { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button { color: var(--nm-ink) !important; background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button b { color: var(--nm-ink) !important; -webkit-text-fill-color: currentColor !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button:hover { background: rgba(255, 255, 255, .07) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button.is-on { background: rgba(120, 170, 255, .16) !important; box-shadow: inset 0 0 0 1.5px rgba(141, 184, 255, .45) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-paintfly button > svg { background: rgba(255, 255, 255, .08) !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-paintfly, .aai-demo b) kbd { background: rgba(255, 255, 255, .1) !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-paintfly button b, .aai-demo b) > .aai-ftag { background: rgba(141, 184, 255, .16) !important; color: var(--nm-link) !important; }
/* hover intro */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-demo b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-demo p, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-demo .aai-demo-steps li { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-demo-screen { box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
/* table picker */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-tpick p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-tpick-grid i { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .22) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-tpick-grid i.is-on { background: #4a8fd2 !important; border-color: #8db8ff !important; }
/* arrows, shapes and symbols pickers */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button { color: var(--nm-ink2) !important; background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button svg, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-tool { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button i { color: var(--nm-dim) !important; background: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button:is(:hover, .is-on) { background: rgba(120, 170, 255, .16) !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-cats button.is-on svg { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-grid button { background: transparent !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-grid button:hover { background: rgba(255, 255, 255, .09) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-grid .aai-lib-svg :is(path, line, polyline, circle, rect, ellipse)[stroke]:not([stroke="none"]) { stroke: #dfe7f5 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lib-grid .aai-lib-svg :is(path, polygon, circle)[fill]:not([fill="none"]):not([fill="#fff"]):not([fill="#ffffff"]) { fill: #dfe7f5 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sym-ic { background: rgba(255, 255, 255, .08) !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sym-grid button { background: rgba(255, 255, 255, .06) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sym-grid button:hover { background: #2f7bc4 !important; color: #fff !important; }
/* bars: text style, crop, adjust, paint */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-stylebar, .aai-objbar, .aai-paintbar) :is(select, input[type="number"], input[type="text"]) { background: var(--nm-deep) !important; background-color: var(--nm-deep) !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-stylebar, .aai-objbar, .aai-paintbar) :is(.aai-sb-btn, .aai-crop-r, .aai-adj-x, button:not(.aai-sb-conv):not(.is-on):not(.aai-btn-primary):not(.aai-cv-apply)) { background: rgba(255, 255, 255, .08) !important; background-image: none !important; color: var(--nm-ink) !important; box-shadow: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-stylebar, .aai-objbar, .aai-paintbar) :is(.aai-sb-btn, .aai-crop-r, button):not(.aai-sb-conv):not(.aai-btn-primary):not(.aai-cv-apply):hover { background: rgba(255, 255, 255, .14) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-stylebar, .aai-objbar, .aai-paintbar) :is(.aai-sb-btn, .aai-crop-r, .aai-pb-tool, button).is-on { background: linear-gradient(135deg, #2f7bc4, #4a8fd2) !important; color: #fff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-stylebar, .aai-objbar, .aai-paintbar) :is(em, label, span, b):not(.aai-ftag) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-stylebar, .aai-objbar, .aai-paintbar) svg { color: currentColor !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sb-range em b { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sb-col:hover { background: rgba(255, 255, 255, .08) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sb-col i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35) !important; }
/* icon library */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-fl { background: var(--nm-deep) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-f:not(.is-on) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-f:not(.is-on) i { background: rgba(255, 255, 255, .1) !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-f:not(.is-on) svg { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gal-f:not(.is-on):is(:hover, :focus-visible) { background: rgba(255, 255, 255, .07) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-apply { background: linear-gradient(180deg, #3b82d6, #2a64b4) !important; color: #fff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-btn { background: var(--nm-card) !important; color: var(--nm-link) !important; box-shadow: 0 0 0 1px var(--nm-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* blank canvas window */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-modal-card.aai-blank-card { background: var(--nm-card) !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 30px 70px -30px rgba(0, 0, 0, .8) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-card h3 { color: var(--nm-ink) !important; -webkit-text-fill-color: currentColor !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-card p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg { background: var(--nm-deep) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg > span { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg :is(button, .aai-blank-pick) { background: transparent !important; color: var(--nm-ink2) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg :is(button, .aai-blank-pick):is(.is-on, [aria-pressed="true"]) { background: rgba(120, 170, 255, .18) !important; color: var(--nm-ink) !important; box-shadow: inset 0 0 0 1.5px rgba(141, 184, 255, .55) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid > * { background: var(--nm-deep) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid > *:hover { background: rgba(120, 170, 255, .12) !important; box-shadow: inset 0 0 0 1.5px rgba(141, 184, 255, .5) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid i { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--nm-link) !important; border-color: var(--nm-link) !important; }
/* add-on price box on a studio page */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) { background: var(--nm-deep) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) :is(p, span) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) .aai-ptag-k { color: #f6a36b !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) .aai-ptag-f { border-top-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) .aai-ptag-f a { color: #fff !important; background: linear-gradient(180deg, #3b82d6, #2a64b4) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-ptag:not(.is-in) :is(.aai-left.is-0, .aai-left.is-0 b, .aai-left.is-0 span) { color: #f6a36b !important; }
/* the short download window (map, flowchart, panel …) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-dlg { background: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 30px 70px -30px rgba(0, 0, 0, .8) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-dlg :is(h3, h4, b, label, legend) { color: var(--nm-ink) !important; -webkit-text-fill-color: currentColor !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-dlg :is(p, small) { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-q { background: var(--nm-deep) !important; background-image: none !important; border-color: var(--nm-line) !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-q em { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .pn-q.is-on { background: rgba(120, 170, 255, .16) !important; border-color: rgba(141, 184, 255, .6) !important; box-shadow: inset 0 0 0 1px rgba(141, 184, 255, .6) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .bio-many, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai ol:not([class]) > li { color: var(--nm-ink2) !important; }
/* canvas size bar (Edit canvas) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cvbar { background: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 24px 50px -22px rgba(0, 0, 0, .75) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cvbar::before, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cvbar::after { background: none !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cvbar select, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-num { background: var(--nm-deep) !important; background-image: none !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cvbar select option { background: var(--nm-deep); color: var(--nm-ink); }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-num input { background: transparent !important; color: var(--nm-ink) !important; -webkit-text-fill-color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-num b { color: var(--nm-dim) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-grip { background: radial-gradient(circle, rgba(255, 255, 255, .45) 1.2px, transparent 1.6px) 0 0 / 4px 5px !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-cv-lock, .aai-cv-ic) { background: transparent !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-cv-lock, .aai-cv-ic):hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-lock.is-on { background: rgba(120, 170, 255, .16) !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-txt:not(.aai-cv-apply) { background: transparent !important; background-image: none !important; color: var(--nm-ink2) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-txt:not(.aai-cv-apply):hover { background: rgba(255, 255, 255, .09) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-txt:disabled, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-ic:disabled { opacity: .45; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-color i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-color input[type="checkbox"] { accent-color: #4a8fd2; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-apply { background: linear-gradient(180deg, #3b82d6, #2a64b4) !important; color: #fff !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-btn { background: var(--nm-card) !important; background-image: none !important; color: var(--nm-link) !important; box-shadow: 0 0 0 1px var(--nm-line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .is-canvas .aai-cv-btn { box-shadow: inset 0 0 0 1.5px var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-handle { fill: var(--nm-card) !important; stroke: #8db8ff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-cv-frame { stroke: #8db8ff !important; }
/* Quick styles and Shape outline panels: dark panel; each style sample still shows how it looks on the white figure */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-qs, .aai-olp) { background: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 24px 50px -22px rgba(0, 0, 0, .75) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-qs-head b { color: var(--nm-ink) !important; -webkit-text-fill-color: currentColor !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-qs-head em { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-qs-l, .aai-olp-l) { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-qs button.is-clear { background-color: #fff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-qs button { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-qs button:hover { outline-color: #f6a36b !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-cols button.is-on { box-shadow: 0 0 0 2px var(--nm-card), 0 0 0 4px #8db8ff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-cols button { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-none { background: rgba(255, 255, 255, .08) !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-none.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-list button.is-on { background: rgba(120, 170, 255, .18) !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-olp-more, .aai-olp-list button) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-olp-list button:hover { background: rgba(255, 255, 255, .08) !important; }
/* header Log in button: a dark glass at rest and on hover (on hover it turned light behind light words) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .site-header .nav-login, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-btn-glass { background: rgba(255, 255, 255, .06) !important; background-image: none !important; color: var(--nm-ink) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .site-header .nav-login:is(:hover, :focus-visible), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-btn-glass:is(:hover, :focus-visible) { background: rgba(255, 255, 255, .12) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .site-header .nav-login > span { color: inherit !important; }
/* support panel, restore menu, blank canvas, account pieces (written from the site rules) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-plan-opt { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-list { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-h { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-row { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-row em { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-name { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-link) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-card p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid button { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid i { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid span { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-grid em { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-cta b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-n { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-n button { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-n button:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-locked { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-locked b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-cols h4 { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-log li { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-log small { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-share-policy { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-share-log li, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-share-locked, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-blank-grid i { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg > span { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg button, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-pick { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-bg button.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-blank-pick.is-on { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu button { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu button:hover:not(:disabled) { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu svg { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu em { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-restmenu hr { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-addon-list > b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-addon-item { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-addon-item em { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-addon-on { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-crp-row { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-crp-row b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-crp-card { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto-st { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto-st.is-on { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto-f label { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto-ok { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio :is(.aai-dash-side, .aai-ed-top, .aai-tools.is-big, .dw-rail, .fc-tools, .aai-pb-tools, .sq-tools, .ps-rail, .aai-acc-tabs) { background-image: none !important; background-color: var(--nm-card) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-btn { background-image: none !important; background-color: var(--nm-card) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-grid > *, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-pick { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-bg.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-blank-bg [aria-pressed="true"] { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-acc-back { background-image: none !important; background-color: var(--nm-card) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-acc-pane { background-image: none !important; background-color: var(--nm-card) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-acc-pane .aai-field input, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx-studio .aai-acc-pane .aai-field select { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-panel { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-tabs { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-tabs button { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-tabs button.is-on { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-log { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-m { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-m.is-credit { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-hello div { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-send { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-send textarea { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-att { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-pre { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-lead { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-l { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-l textarea { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-fig { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-fig img { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-fig b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-drop { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-drop b { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-drop span { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-help .afs-pre { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-back { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .afs-sign a.is-in { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pop { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pop-title { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pop-empty { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-notice { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-notice.is-warning { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-notice p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-up { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-up b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-up p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-box { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-box h4 { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-box p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-card b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-card span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-form .aai-field { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-form input { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-table th { color: var(--nm-ink2) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-table td { color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-st { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-st.is-paid { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lots span { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lots span b { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-lots em { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai-pop { background-color: var(--nm-card) !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-share-log li, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-share-locked { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai-pop { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-name-lock { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-name-lock p { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-name-pending { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-name-form textarea { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-psave:disabled { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-pop { border-color: var(--nm-line) !important; }
/* account pages: boxes inside a pane sit one step darker; notices keep their coloured edge; words stay readable */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-acc-pane :is(.aai-notice, .aai-name-lock, .aai-auto, .aai-addon-item, .aai-share-locked, .aai-crp-card, .aai-bill-box, .aai-share-log li, .aai-share-policy) { background-color: var(--nm-deep) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-notice { box-shadow: inset 3px 0 0 #4a8fd2, inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-notice.is-warning { box-shadow: inset 3px 0 0 #f0701f, inset 0 0 0 1px var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-notice, .aai-name-lock, .aai-auto, .aai-addon-item, .aai-share-locked, .aai-crp-card) :is(b, strong, h4) { color: var(--nm-ink) !important; -webkit-text-fill-color: currentColor !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body :is(.aai-auto, .aai-name-lock, .aai-addon-item, .aai-share-locked) :is(p, label, span, em):not(.aai-auto-st):not(.aai-addon-on) { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto :is(a, .aai-link) { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto :is(select, input[type="number"], input[type="text"]) { background: var(--nm-card) !important; color: var(--nm-ink) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-bill-st.is-paid, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-addon-on { background-color: rgba(34, 197, 94, .16) !important; color: #86e3ad !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-auto-st.is-on { background-color: rgba(34, 197, 94, .16) !important; color: #86e3ad !important; }
/* help panel */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-b { background-color: var(--nm-card) !important; background-image: none !important; box-shadow: 0 0 0 1px var(--nm-line), 0 20px 44px -22px rgba(0, 0, 0, .7) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-src { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-chip { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-link) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-chip:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-topic { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-topic svg { background-image: none !important; background-color: var(--nm-card) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-topic:hover { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-go { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-go:hover { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-page { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-page b { color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-page span { color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-fb button { background-color: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink2) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-fb button:hover { border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-fb.is-done button.is-on { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; color: var(--nm-mut) !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-fb.is-done button.is-on[data-fb="down"] { background-color: rgba(255, 255, 255, .09) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-ask { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-ask input { background-color: var(--nm-card) !important; background-image: none !important; border-color: var(--nm-line) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-foot { background-color: var(--nm-card) !important; background-image: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-log { background: var(--nm-card) !important; background-image: none !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb :is(.hb-b, .hb-topic, .hb-chip, .hb-page, .hb-src, .hb-go, .hb-fb button) { background-color: var(--nm-deep) !important; box-shadow: inset 0 0 0 1px var(--nm-line) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb .hb-row.is-me .hb-b { background: linear-gradient(180deg, #3b82d6, #2a64b4) !important; color: #fff !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb :is(.hb-chip, .hb-go, a) { color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb .hb-topic svg { background-color: rgba(255, 255, 255, .08) !important; color: var(--nm-link) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb :is(small, .hb-h, .hb-lbl, h4, h5) { color: var(--nm-mut) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb .hb-b :is(p, li, span, b, strong) { color: inherit !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-ask input { background-color: var(--nm-deep) !important; color: var(--nm-ink) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .hb-foot :is(button, a) { color: var(--nm-ink2) !important; }
/* account pages on a narrow screen (both themes): tab names never run into each other, add-on buttons keep their words */
@media (max-width: 1100px) {
	html:root:root body.cx-studio .aai-acc-tabs { display: flex !important; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	html:root:root body.cx-studio .aai-acc-tabs > :is(button, a) { flex: none !important; white-space: nowrap !important; }
	html:root:root body.cx-studio .aai-addon-item { flex-wrap: wrap; row-gap: 8px; }
	html:root:root body.cx-studio .aai-addon-item > :is(button, a) { flex: none; white-space: nowrap; }
}
/* studio pages (both themes): the list of points wraps and never runs into the next column */
html:root:root body.cx-studio .aai :is(.ps-intro-pts, [class*="-intro-pts"]) { grid-template-columns: repeat(2, minmax(0, max-content)) !important; }
html:root:root body.cx-studio .aai :is(.ps-intro-pts, [class*="-intro-pts"]) li { white-space: normal !important; min-width: 0; }
/* the price box of an add-on is a box, not a one-line pill (the pill is for the short "included" tag) */
html[data-cx]:root:root body.cx-studio .aai :is([class$="-intro"], [class*="-intro "]) .aai-ptag:not(.is-in) { flex: 1 1 300px; max-width: 460px; min-height: 0 !important; padding: 12px 14px !important; border-radius: 14px !important; font-size: 13px !important; font-weight: 400 !important; background: var(--rf-paper) !important; box-shadow: inset 0 0 0 1px var(--rf-line-2) !important; }
html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in), html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in) :is(p, span) { color: var(--t2) !important; }
html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in) b { color: var(--t1) !important; }
html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in) .aai-ptag-k { color: #c2500f !important; }
html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in) .aai-ptag-f { border-top-color: var(--rf-line) !important; }
html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in) .aai-ptag-f a { color: #fff !important; background: var(--rf-solid, linear-gradient(180deg, #2a76c2, #1d5c9e)) !important; border-radius: 999px !important; padding: 7px 14px !important; white-space: normal; }
html[data-cx]:root:root body.cx-studio .aai .aai-ptag:not(.is-in) :is(.aai-left.is-0, .aai-left.is-0 b, .aai-left.is-0 span) { color: #b4471a !important; }
/* header buttons (both themes): the words of Start free stay white in every state */
html:root:root:root body .site-header :is(.nav-cta, .cat-nav) .btn.btn-primary, html:root:root:root body .site-header :is(.nav-cta, .cat-nav) .btn.btn-primary:is(:hover, :focus-visible, :active), html:root:root:root body .site-header :is(.nav-cta, .cat-nav) .btn.btn-primary > span { color: #fff !important; -webkit-text-fill-color: #fff !important; }
/* the moving highlight on the header buttons stays a faint glint, never a white sheet over the words */
html:root:root:root body .site-header :is(.nav-cta, .cat-nav) :is(.nav-login, .btn-primary).cx-lit::before { opacity: .22 !important; }
html[data-theme="dark"]:root:root:root body .site-header :is(.nav-cta, .cat-nav) .nav-login.cx-lit::before { opacity: .12 !important; }
/* two-factor step of the log-in (the one-time code box has no class of its own): the same box as the email and password */
html:root:root body.cx-login-page #simba_two_factor_auth { display: block; box-sizing: border-box; width: 100% !important; height: 52px !important; margin: 0; padding: 0 18px !important; border: 0 !important; border-radius: 16px !important; font: 600 18px var(--face) !important; letter-spacing: .18em; box-shadow: inset 0 0 0 1px rgba(10, 26, 51, .16), inset 0 2px 4px rgba(10, 26, 51, .04) !important; }
html:not([data-theme="dark"]):root:root body.cx-login-page #simba_two_factor_auth { background: rgba(255, 255, 255, .96) !important; color: var(--t1) !important; }
html[data-theme="dark"]:root:root body.cx-login-page #simba_two_factor_auth { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16) !important; }
html:root:root body.cx-login-page #simba_two_factor_auth:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(47, 111, 224, .15) !important; }
html:root:root body.cx-login-page label[for="simba_two_factor_auth"] + input + p.forgetmenot, html:root:root body.cx-login-page #simba_two_factor_auth + p.forgetmenot { display: block !important; max-width: none !important; margin: 6px 0 0 !important; color: var(--t3) !important; font-size: 13px !important; }
html:root:root body.cx-login-page p.forgetmenot[style*="max-width: 60%"] { display: block !important; max-width: none !important; margin: 6px 0 0 !important; color: var(--t3) !important; font-size: 13px !important; }


/* QA 12 Nov 2026 (test report) 15: one look for the profile photo, in the header button and in its menu */
html body .site-header .me-menu img, html body .site-header .me-head img { border-radius: 10px !important; object-fit: cover !important; }
html body .site-header .me-head img { border-radius: 12px !important; }

/* Night mode: the "Creating your figure" panel (owner, 16 Nov 2026). The older studio sheet paints it white with
   !important, so the light night-mode text vanished on it. */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress { background: var(--nm-card, #18223a) !important; border-color: var(--nm-line, rgba(255,255,255,.13)) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-bar { background: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress h2 { color: var(--nm-ink, #eef3fa) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-eyebrow { color: var(--nm-link, #8db8ff) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-dstage { color: var(--nm-ink2, #cfd9e8) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-dstage [data-p="pct"] { color: var(--nm-link, #8db8ff) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-track { background: rgba(255, 255, 255, .1) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-stagelist li { background: var(--nm-deep, #0f1728) !important; box-shadow: 0 0 0 1px var(--nm-line, rgba(255,255,255,.13)) !important; color: var(--nm-mut, #aebbd1) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-stagelist li i { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-stagelist li.is-on { background: #1f2d4d !important; color: var(--nm-ink, #eef3fa) !important; box-shadow: 0 0 0 2px rgba(141, 184, 255, .55) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-stagelist li.is-on i { box-shadow: none !important; border-color: rgba(255, 255, 255, .25) !important; border-top-color: var(--nm-link, #8db8ff) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-stagelist li.is-done { color: var(--nm-ink2, #cfd9e8) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-stagelist li.is-done i { box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-gp-tip { background: rgba(255, 170, 82, .12) !important; color: #ffc98f !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gen-progress .aai-small { color: var(--nm-mut, #aebbd1) !important; }
/* The small laptop screen stays white paper, so its words stay dark. */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-board h3 { color: #1d2a55 !important; -webkit-text-fill-color: #1d2a55 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-board :is(p, span, li, em, small) { color: #4a5878 !important; -webkit-text-fill-color: #4a5878 !important; }

/* Night mode: the floating "Create figure" button that appears while scrolling (owner, 16 Nov 2026). Its pale glass
   with light night text looked washed out; it now matches the real solid blue Create button. */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar button { background: linear-gradient(180deg, #3b82d6 0%, #2a64b4 100%) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1px rgba(141, 184, 255, .35), 0 18px 36px -14px rgba(0, 0, 0, .75) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar button svg { color: #fff !important; }

/* Night mode: "Minimise and keep working" (owner, 16 Nov 2026). It turned into a pale grey box. Solid blue with white
   words, like the step numbers and the other main buttons (owner asked for blue instead of orange, 16 Nov 2026). */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-gp-min, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-min, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gp-min { background: var(--bt-solid, linear-gradient(180deg, #3b82d6 0%, #2a64b4 100%)) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: var(--bt-solid-sh, 0 10px 24px -12px rgba(59, 130, 214, .8)) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .studio-page .aai .aai-gp-min:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-min:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gp-min:hover { background: var(--bt-solid-hi, linear-gradient(180deg, #4a8fe0 0%, #2f6cc0 100%)) !important; background-color: transparent !important; box-shadow: var(--bt-solid-sh-hi, 0 14px 28px -12px rgba(59, 130, 214, .95)) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gp-min :is(span, em) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-gp-min svg { background: rgba(255, 255, 255, .22) !important; color: #fff !important; }

/* Night mode, owner (16 Nov 2026): the laptop preview on "Creating your figure" is dark too, with white words.
   Only the finished figure picture itself stays white paper. (Replaces the earlier dark-words-on-white rule.) */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-art .dv-screen { background: #2a3550 !important; border-color: rgba(255, 255, 255, .12) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-art .aai-lap-screen { background: #121a2e !important; border-color: rgba(255, 255, 255, .1) !important; box-shadow: none !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-board, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-lap-screen .aai-board { background: linear-gradient(160deg, #1b2641 0%, #141d33 60%, #1d1a26 100%) !important; box-shadow: none !important; border-color: transparent !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-show-mesh i { opacity: .22 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-sc-steps i { background: rgba(255, 255, 255, .16) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-sc-word { background: linear-gradient(90deg, #8db8ff, #b794ff 50%, #ff9a5c) !important; -webkit-background-clip: text !important; background-clip: text !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-board h3 { color: #eef3fa !important; -webkit-text-fill-color: #eef3fa !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-board :is(p, span, li, em, small) { color: #cfd9e8 !important; -webkit-text-fill-color: #cfd9e8 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-show-read p span.is-key { color: #fff !important; -webkit-text-fill-color: #fff !important; background-image: linear-gradient(rgba(255, 154, 92, .35), rgba(255, 154, 92, .35)) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-show-skel i { background: linear-gradient(90deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.08) 100%) 0 0 / 200% 100% !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv :is(.aai-sc-tray span, .aai-show-cap, .aai-show-terms) { background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai .aai-gp-dv .aai-show-plan::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .08) 50%, transparent 62%) -150% 0 / 250% 100% no-repeat !important; }

/* Night mode: the studio's question windows (Move to Deleted?, rename, confirm …), owner 16 Nov 2026. */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg .aai-dlg-card { background: linear-gradient(180deg, #1f2b47 0%, #18223a 100%) !important; border: 1px solid rgba(255, 255, 255, .12) !important; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8) !important; color: #cfd9e8 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg .aai-dlg-card h3 { color: #eef3fa !important; -webkit-text-fill-color: #eef3fa !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg .aai-dlg-card :is(p, .aai-dlg-l span) { color: #cfd9e8 !important; -webkit-text-fill-color: #cfd9e8 !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg .aai-dlg-ico { background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important; border-color: transparent !important; color: #8db8ff !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg.is-danger .aai-dlg-ico { color: #ff9a8a !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg .aai-dlg-in { background: #0f1728 !important; border-color: rgba(255, 255, 255, .18) !important; color: #eef3fa !important; }
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-dlg .aai-dlg-foot .aai-btn-ghost { background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important; color: #eef3fa !important; }

/* Night mode: the remaining studio window cards that stayed white glass (plain windows, the saved-figure viewer,
   the poster picker) are dark like the others, owner 16 Nov 2026. */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root body .aai-modal :is(.aai-modal-card[class="aai-modal-card"], .aai-modal-card.aai-sv-card, .aai-modal-card.ps-pick-card) { background: linear-gradient(180deg, #1f2b47 0%, #18223a 100%) !important; border-color: rgba(255, 255, 255, .12) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* Studio figure preview (owner, 16 Nov 2026): one click on a figure shows it larger with "Open figure"; crystal-refine.js builds it. */
.rf-peek { padding: 0; border: 0; background: transparent; max-width: calc(100vw - 32px); width: 860px; overflow: visible; } /* crystal-refine.js sets the width to the figure */
.rf-peek::backdrop { background: rgba(15, 26, 46, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s ease; }
.rf-peek.is-in::backdrop { opacity: 1; }
.rf-peek-card { background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(15, 42, 74, .08), 0 40px 80px -30px rgba(15, 42, 74, .55); overflow: hidden;
	transform: translate(var(--rf-from-x, 0), var(--rf-from-y, 0)) scale(.35); opacity: 0; transition: transform .26s cubic-bezier(.2, .8, .2, 1), opacity .18s ease; }
.rf-peek.is-in .rf-peek-card { transform: none; opacity: 1; }
.rf-peek-img { display: grid; place-items: center; background: #fff; padding: 18px; }
.rf-peek-stage { position: relative; overflow: hidden; border-radius: 8px; line-height: 0; cursor: zoom-in; touch-action: none; -webkit-user-select: none; user-select: none; }
.rf-peek-stage.is-zoomed { cursor: grab; }
.rf-peek-stage.is-zoomed.is-drag { cursor: grabbing; }
.rf-peek-img img { transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; pointer-events: none; display: block; width: 100%; height: auto; border-radius: 8px; }
.rf-peek-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px 16px; border-top: 1px solid #e6ecf4; }
.rf-peek-txt { min-width: 0; flex: 1; display: grid; gap: 2px; }
.rf-peek-txt b { font: 650 16px/1.3 inherit; color: #0f1a2e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-peek-txt span { font-size: 13px; color: #5b6b82; }
.rf-peek-acts { display: flex; gap: 10px; flex: none; }
.rf-peek-acts button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 999px; font: 600 14.5px inherit; cursor: pointer; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s; }
.rf-peek-open { border: 0; color: #fff; background: var(--bt-solid, linear-gradient(180deg, #2a76c2 0%, #1d5c9e 100%)); box-shadow: var(--bt-solid-sh, 0 10px 22px -12px rgba(36, 104, 176, .85)); }
.rf-peek-open:hover { background: var(--bt-solid-hi, linear-gradient(180deg, #2369b0 0%, #184f88 100%)); transform: translateY(-1px); }
.rf-peek-close { border: 1px solid var(--bt-ghost-line, #a9c2e2); color: var(--bt-ghost-ink, #173f70); background: var(--bt-ghost-bg, #f2f7fd); }
.rf-peek-close:hover { background: var(--bt-ghost-bg-hi, #e8f1fc); }
.rf-peek-acts button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 214, .35); }
html[data-theme="dark"] .rf-peek-card { background: #121a2e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .rf-peek-bar { border-top-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .rf-peek-txt b { color: #eaf0fb; }
html[data-theme="dark"] .rf-peek-txt span { color: #9fb0c9; }
html[data-theme="dark"] .rf-peek-close { border-color: rgba(255, 255, 255, .16); color: #e6f0ff; background: #1b2540; }
html[data-theme="dark"] .rf-peek-close:hover { background: #22305a; }
@media (max-width: 640px) { .rf-peek-bar { flex-direction: column; align-items: stretch; } .rf-peek-acts button { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .rf-peek-card, .rf-peek::backdrop { transition: none; } }
/* Preview zoom controls: minus, the zoom level (click it to fit the whole figure), plus. */
.rf-peek-zoom { display: inline-flex; align-items: center; flex: none; padding: 3px; border-radius: 999px; background: var(--bt-ghost-bg, #f2f7fd); box-shadow: inset 0 0 0 1px var(--bt-ghost-line, #a9c2e2); }
.rf-peek-zoom button { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--bt-ghost-ink, #173f70); font: 600 13px/1 inherit; cursor: pointer; transition: background .15s; }
.rf-peek-zoom button:hover:not(:disabled) { background: var(--bt-ghost-bg-hi, #e8f1fc); }
.rf-peek-zoom button:disabled { opacity: .38; cursor: default; }
.rf-peek-zoom .rf-peek-pct { min-width: 54px; font-variant-numeric: tabular-nums; }
.rf-peek-zoom button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 214, .35); }
html[data-theme="dark"] .rf-peek-zoom { background: #1b2540; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
html[data-theme="dark"] .rf-peek-zoom button { color: #e6f0ff; }
html[data-theme="dark"] .rf-peek-zoom button:hover:not(:disabled) { background: #22305a; }
@media (max-width: 640px) { .rf-peek-zoom { align-self: center; } }

/* Night mode (owner, 16 Nov 2026): the current step's circle in the home page demo (Select / Type / Applied, Describe steps)
   used the selection ink, which is near-white at night, under a white number. Solid blue with a white number instead. */
html[data-theme="dark"] .cx-site .dm-words[data-stage="1"] .dm-steps li[data-st="1"] i, html[data-theme="dark"] .cx-site .dm-words[data-stage="2"] .dm-steps li[data-st="2"] i,
html[data-theme="dark"] .cx-site .dm-words[data-stage="3"] .dm-steps li[data-st="2"] i, html[data-theme="dark"] .cx-site .dm-words[data-stage="4"] .dm-steps li[data-st="3"] i {
	background: var(--bt-solid, linear-gradient(180deg, #3b82d6 0%, #2a64b4 100%)) !important; color: #fff !important; box-shadow: 0 0 0 3px rgba(59, 130, 214, .22) !important; }

/* Night mode (owner, 16 Nov 2026): the status pill under the demo figure ("Reading your text", "Drawing every part" ...)
   kept its white background while its text turned light, so it could not be read. Dark pill, light text at night. */
html[data-theme="dark"] .cx-site .dmw-status b { background: #1b2540; color: #e6f0ff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 16px -10px rgba(0, 0, 0, .6); }

/* Night mode (owner, 16 Nov 2026): the minimised "Your figure · Drawing… %" card (bottom left) stayed a pale glass card
   with grey text. Dark card, light words, dark ring track and buttons; ready (green) and error (red) states kept. */
html[data-theme="dark"]:root:root:root body .aai-mini { background: linear-gradient(140deg, rgba(27, 37, 64, .96), rgba(18, 26, 46, .96)) !important;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 22px 44px -20px rgba(0, 0, 0, .8) !important; color: #e6f0ff !important; }
html[data-theme="dark"]:root:root:root body .aai-mini:hover { box-shadow: 0 0 0 1px rgba(140, 170, 255, .4), 0 26px 48px -20px rgba(0, 0, 0, .85) !important; }
html[data-theme="dark"]:root:root:root body .aai-mini-ring .bg { stroke: rgba(255, 255, 255, .14); }
html[data-theme="dark"]:root:root:root body .aai-mini-ring b, html[data-theme="dark"]:root:root:root body .aai-mini-t b { color: #eaf0fb !important; }
html[data-theme="dark"]:root:root:root body .aai-mini-t em { color: #c5d2e8 !important; }
html[data-theme="dark"]:root:root:root body .aai-mini-t small { color: #93a4bf !important; }
html[data-theme="dark"]:root:root:root body .aai-mini-go { background: #22305a !important; color: #9cc0ff !important; }
html[data-theme="dark"]:root:root:root body .aai-mini-x { background: #22305a !important; color: #c5d2e8 !important; }
html[data-theme="dark"]:root:root:root body .aai-mini.is-done { background: linear-gradient(140deg, rgba(16, 52, 38, .96), rgba(18, 26, 46, .96)) !important; }
html[data-theme="dark"]:root:root:root body .aai-mini.is-done .aai-mini-ring b, html[data-theme="dark"]:root:root:root body .aai-mini.is-done .aai-mini-t em { color: #4ade80 !important; }
html[data-theme="dark"]:root:root:root body .aai-mini.is-err .aai-mini-ring b { color: #f87171 !important; }


/* ===== Stage 4 — 17 Nov 2026 audit fixes (phone header, pricing, night toggle, demo, fonts) ===== */

/* 4.1 Studio header fits 360–390 px; Ctrl K hint hidden on touch/narrow screens */
@media (hover: none) and (pointer: coarse) {
  .cx2-find-btn kbd { display: none !important; }
}
@media (max-width: 520px) {
  html body header.cx-studio-head { padding-left: 10px !important; padding-right: 10px !important; }
  html body header.cx-studio-head .wrap { gap: 4px !important; min-width: 0; }
  html body header.cx-studio-head .cat-nav { min-width: 0; }
  html body header.cx-studio-head .nav-cta { gap: 4px !important; flex-wrap: nowrap !important; }
  html body header.cx-studio-head .cx2-find-btn kbd { display: none !important; }
  html body header.cx-studio-head .cx2-find-btn { width: 36px !important; min-width: 36px !important; padding: 0 !important; justify-content: center !important; flex: 0 0 36px !important; }
  html body header.cx-studio-head :is(.hdr-home, .lang-menu > summary, .hdr-bell > summary, .nav-cta > .cx-theme) { width: 36px !important; min-width: 36px !important; padding: 0 !important; justify-content: center !important; flex: 0 0 36px !important; }
  html body header.cx-studio-head .hdr-credits { padding: 0 10px !important; }
  html body header.cx-studio-head .me-menu > summary { padding: 0 4px !important; }
  html body header.cx-studio-head .me-menu > summary img { width: 28px !important; height: 28px !important; }
}

/* 4.2 Pricing compare table: both plan columns visible on phones */
@media (max-width: 600px) {
  .cx-site .pz-tw { overflow-x: visible !important; }
  .cx-site .pz-tw table { min-width: 0 !important; width: 100% !important; table-layout: auto; }
  .cx-site .pz-tw tr { display: grid !important; grid-template-columns: 1fr 1fr; }
  .cx-site .pz-tw thead th:first-child { display: none !important; }
  .cx-site .pz-tw tbody th { grid-column: 1 / -1; padding-bottom: 4px !important; }
  .cx-site .pz-tw :is(th, td) { min-width: 0; overflow-wrap: anywhere; }
}

/* 4.3 Night mode: phone menu/close button matches the other dark header controls */
html[data-theme="dark"] .cx-site .site-header .nav-toggle {
  background: rgb(26, 35, 56) !important; background-image: none !important;
  border-color: rgb(42, 54, 80) !important; box-shadow: none !important; color: rgb(234, 240, 251) !important;
}
html[data-theme="dark"] .cx-site .site-header .nav-toggle span { background: rgb(234, 240, 251) !important; }

/* 4.4 Home engine demo on phones: fewer, smaller check labels; step rows fit */
@media (max-width: 600px) {
  .cx-site .dmw-checks .dmw-ok:is(:nth-child(3), :nth-child(5), :nth-child(6), :nth-child(8)) { display: none !important; }
  .cx-site .dmw-checks .dmw-ok { font-size: 9.5px !important; padding: 2px 6px 2px 4px !important; gap: 3px !important; max-width: 46%; }
  .cx-site .dmw-checks .dmw-ok svg { width: 10px !important; height: 10px !important; flex: 0 0 10px; }
  .cx-site .dm-panel > .dm-steps { flex-wrap: nowrap !important; overflow: visible !important; gap: 6px !important; }
  .cx-site .dm-panel > .dm-steps li { flex: 1 1 0 !important; min-width: 0; height: auto !important; min-height: 34px; padding: 4px 6px 4px 3px !important; gap: 4px !important; font-size: 11px !important; line-height: 1.2 !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .cx-site .dm-panel > .dm-steps li i { flex: 0 0 20px; width: 20px !important; height: 20px !important; }
}

/* 4.5 Phone menu: credits pill shows its label, as on desktop */
.cx-site .cat-nav.is-open .hdr-credits > span:not(.cx-rim) { display: inline !important; }

/* 4.6 Site font for demo controls (figures and SVG untouched) */
.cx-site button.cx-replay { font-family: var(--face) !important; }
.hwp :is(.hwp-bar, .hwp-crop, .hwp-load, .hwp-cap, .hwp-ctl),
.hwp :is(.hwp-bar, .hwp-crop, .hwp-load, .hwp-cap, .hwp-ctl) :not(svg):not(svg *) { font-family: var(--face) !important; }

/* 4.7–4.8 Home phone spacing */
@media (max-width: 600px) {
  .cx-site .h2-window-tabs .dm-stage { min-height: 0 !important; }
  .cx-site .pv-text .pv-points { margin-top: 18px !important; }
}

/* 4.10 Map studio: "Not found. Did you mean…" shows under the country field */
.mp-side .mp-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: #b45309; }
html[data-theme="dark"] body .mp-side .mp-hint { color: #fbbf24 !important; }

/* 4.11 Studio Copy style: "Text only | Text + box" choice, the chosen one clearly marked (light and night) */
.aai-pb-boxg { display: inline-flex !important; align-items: center; gap: 2px !important; padding: 2px !important; border-radius: 999px; background: rgba(120, 136, 160, .16); }
.aai-pb-boxg .aai-pb-mode { display: inline-flex !important; align-items: center; white-space: nowrap; line-height: 1 !important; }
html body .aai-pb-boxg .aai-pb-mode i.aai-pb-swatch { flex: 0 0 auto; margin-right: 6px !important; background: var(--sw) !important; border-color: var(--swb) !important; }
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-stagewrap .aai-pb-boxg button.aai-pb-mode.is-on, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-stagewrap .aai-pb-boxg button.aai-pb-mode.is-on { background: linear-gradient(135deg, rgb(47, 123, 196), rgb(74, 143, 210)) !important; border-color: transparent !important; color: #fff !important; }

/* 4.12 Studio: the floating "Create figure" button is the site's blue primary button, in light and night mode */
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar > button, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar > button { background: linear-gradient(180deg, #2a76c2 0%, #1d5c9e 100%) !important; background-color: #2a76c2 !important; color: #ffffff !important; border-color: transparent !important; box-shadow: 0 12px 28px -12px rgba(20, 70, 130, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset !important; }
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar > button:hover, html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar > button:hover { background: linear-gradient(180deg, #2f7fd0 0%, #1f63a8 100%) !important; }
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar > button > *:not(.cx-rim), html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .cx2-actbar > button > *:not(.cx-rim) { color: #ffffff !important; }

/* 4.13 Studio: select several figures (Select button, checkboxes, bottom action bar), light and night */
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sel-toggle{display:inline-flex!important;align-items:center;gap:6px;height:34px;margin-left:10px;vertical-align:middle;padding:0 14px!important;border-radius:10px!important;border:1px solid #d4deea!important;background:#fff!important;color:#0a1a33!important;font:600 14px/1 Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif!important;cursor:pointer;white-space:nowrap}
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sel-toggle{background:rgb(24,34,58)!important;border-color:rgba(255,255,255,.12)!important;color:#eaf0fb!important}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sel-toggle[aria-pressed="true"],html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-sel-toggle[aria-pressed="true"]{background:linear-gradient(180deg,#2a76c2,#1d5c9e)!important;border-color:transparent!important;color:#fff!important}
.aai-file-check{position:absolute;top:10px;left:10px;z-index:3;width:26px;height:26px;border-radius:50%;display:none;align-items:center;justify-content:center;background:rgba(255,255,255,.95);border:2px solid #9fb0c8;color:transparent;box-shadow:0 2px 6px rgba(10,26,51,.25)}
.aai-file-check svg{width:15px;height:15px;stroke-width:2.6}
.aai-file-thumb{position:relative}
.is-selecting .aai-file-check{display:inline-flex}
.is-selecting .aai-file .aai-file-actions{display:none!important}
.is-selecting .aai-file{cursor:pointer}
.is-selecting .aai-file.is-picked .aai-file-check{background:#2a76c2;border-color:#2a76c2;color:#fff}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .is-selecting .aai-file.is-picked{outline:2px solid #2a76c2!important;outline-offset:2px}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:9990;display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 24px);padding:8px 10px;border-radius:16px;background:rgba(255,255,255,.94);border:1px solid #e3e9f3;box-shadow:0 18px 40px -18px rgba(10,26,51,.45);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font:500 14px/1 Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;color:#0a1a33}
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar{background:rgba(17,26,46,.94);border-color:#26324a;color:#eaf0fb}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar .aai-selbar-n{padding:0 8px;white-space:nowrap}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar .aai-selbar-sep{width:1px;height:22px;background:currentColor;opacity:.15;margin:0 2px}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid transparent;background:transparent;color:inherit;font:600 13.5px/1 Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;cursor:pointer;white-space:nowrap}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button svg{width:16px;height:16px}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button:hover:not([disabled]){background:rgba(42,118,194,.12)}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button.is-danger{color:#c62828}html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button.is-danger{color:#ff8a80}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button.is-danger:hover:not([disabled]){background:rgba(220,38,38,.12)}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button.is-quiet{opacity:.75}
html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button[disabled]{opacity:.4;cursor:default}
@media (max-width:640px){html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar{bottom:10px;border-radius:14px;gap:2px;padding:6px}html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button span{display:none}html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button.is-quiet span,html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar [data-sb="all"]{display:inline-flex}html:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-selbar button{padding:0 10px}}
/* 4.14 Studio night mode: the sort menu stays dark when hovered, focused or open */
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-files-tools select,html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-files-tools select:hover,html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-files-tools select:focus{background-color:rgb(24,34,58)!important;color:#eaf0fb!important;border-color:rgba(255,255,255,.18)!important;color-scheme:dark}
html[data-theme="dark"]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .aai-files-tools select option{background:#111a2e;color:#eaf0fb}

/* 4.15 Home engine demo (brain tumour figure), phones: the right-most check label stays inside the figure */
@media (max-width: 600px) { .cx-site .dmw-checks .dmw-ok:nth-child(1) { left: auto !important; right: 1.5%; } }

/* 4.16 — demo accuracy panel under each tool card (18 Nov 2026) */
.cx-site .dmf-car[data-mode="edit"] .dmf-card[data-t="edit"],.cx-site .dmf-car[data-mode="remove"] .dmf-card[data-t="remove"],.cx-site .dmf-car[data-mode="repair"] .dmf-card[data-t="repair"],.cx-site .dmf-car[data-mode="arrows"] .dmf-card[data-t="arrows"],.cx-site .dmf-car[data-mode="copy"] .dmf-card[data-t="copy"],.cx-site .dmf-car[data-mode="recolor"] .dmf-card[data-t="recolor"]{display:flex}
.cx-site .dmf-car .dmf-card{flex-direction:column;gap:12px;align-self:stretch;min-width:0}
.cx-site .dmf-card>.dm-text{margin:0}
.cx-site .dmf-car .dmf-card>.dmf-cb.dm-text{display:block!important}
.cx-site .dmf-car .dmf-card>.acp.dm-text{display:flex!important}
.cx-site .dmf-card dt{white-space:nowrap}
.cx-site .dmf-card dd{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 8px}
.cx-site .acp-i{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px;margin-right:8px}
.cx-site .acp{--acp-b:#2a76c2;--acp-r:#d64545;--acp-g:#9db3cc;flex:1 1 auto;display:flex;flex-direction:column;gap:12px;min-height:0}
html[data-theme="dark"] .cx-site .acp,html[data-theme="dark"] .cx-site .dmf-card{--acp-b:#5b9be0;--acp-r:#f07575;--acp-g:#5a6f8c}
.cx-site .dmf-card{--acp-b:#2a76c2;--acp-r:#d64545;--acp-g:#9db3cc}
.cx-site .acp-h{font:600 12px/1.2 "Geist Mono",ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--t3)}
.cx-site .acp-g{flex:1 1 auto;display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:center}
.cx-site .acp-ring{position:relative;width:108px;height:108px}
.cx-site .acp-ring svg{display:block;width:100%;height:100%}
.cx-site .acp-rt{fill:none;stroke:color-mix(in oklab,var(--t3) 16%,transparent);stroke-width:10}
.cx-site .acp-rf{fill:none;stroke:var(--acp-b);stroke-width:10;stroke-linecap:round;stroke-dasharray:314.16;stroke-dashoffset:0}
.cx-site .acp-sc{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:1px}
.cx-site .acp-num{font-weight:650;font-size:24px;line-height:1;color:var(--t1);justify-items:center;text-align:center}
.cx-site .acp-sc small{display:none}
.cx-site .acp-sw{display:inline-grid;justify-items:end;align-items:center}
.cx-site .acp-sw>span{grid-area:1/1;opacity:0;white-space:nowrap}
.cx-site .acp-bars{display:grid;gap:10px;min-width:0}
.cx-site .acp-bh{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.3;color:var(--t3);margin-bottom:5px}
.cx-site .acp-bh .acp-sw{color:var(--t1);font-weight:600}
.cx-site .acp-t{height:6px;border-radius:3px;background:color-mix(in oklab,var(--t3) 14%,transparent);overflow:hidden}
.cx-site .acp-t>i{display:block;height:100%;width:100%;border-radius:3px;background:var(--acp-b)}
.cx-site .acp-n{font-size:12px;line-height:1.45;color:var(--t3)}
.cx-site .acp-c{display:inline-block;font-weight:600;font-size:11px;line-height:1;padding:4px 8px;border-radius:999px;white-space:nowrap}
.cx-site .acp-c-b{background:#e6f0fb;color:#1d5c9e}.cx-site .acp-c-r{background:#fdeaea;color:#b03030}.cx-site .acp-c-g{background:#eef2f7;color:#4b5f7a}
html[data-theme="dark"] .cx-site .acp-c-b{background:rgba(91,155,224,.16);color:#a3c8f2}html[data-theme="dark"] .cx-site .acp-c-r{background:rgba(240,117,117,.16);color:#f5a8a8}html[data-theme="dark"] .cx-site .acp-c-g{background:rgba(255,255,255,.08);color:#a9b6c8}
.cx-site .dmf-card [style*="animation-name"]{animation-duration:4.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-fill-mode:both}
@media (max-width:1400px){.cx-site .acp-ring{width:92px;height:92px}.cx-site .acp-g{gap:16px}.cx-site .acp-bars{gap:8px}}
@media (max-width:900px){.cx-site .dmf-car .dmf-card>.acp.dm-text{display:none!important}}
@media (prefers-reduced-motion:reduce){.cx-site .dmf-card [style*="animation-name"]{animation:none!important}.cx-site .acp-sw>.acp-last{opacity:1}}
@keyframes acpv21_60{0%,20%{opacity:0}21%,59%{opacity:1}60%,100%{opacity:0}}@keyframes acpv60_97{0%,59%{opacity:0}60%,96%{opacity:1}97%,100%{opacity:0}}@keyframes acpk0{0%{stroke-dashoffset:314.2;stroke:var(--acp-g)}20%{stroke-dashoffset:40.8;stroke:var(--acp-g)}21%{stroke-dashoffset:15.7;stroke:var(--acp-r)}60%{stroke-dashoffset:15.7;stroke:var(--acp-r)}62%{stroke-dashoffset:0.0;stroke:var(--acp-b)}96%{stroke-dashoffset:0.0;stroke:var(--acp-b)}100%{stroke-dashoffset:314.2;stroke:var(--acp-g)}}@keyframes acpk1{0%{width:0%;background-color:var(--acp-g)}20%{width:87%;background-color:var(--acp-g)}21%{width:95%;background-color:var(--acp-r)}60%{width:95%;background-color:var(--acp-r)}62%{width:100%;background-color:var(--acp-b)}96%{width:100%;background-color:var(--acp-b)}100%{width:0%;background-color:var(--acp-g)}}@keyframes acpvs21{0%,20%{opacity:1}21%,97%{opacity:0}98%,100%{opacity:1}}@keyframes acpv19_55{0%,18%{opacity:0}19%,54%{opacity:1}55%,100%{opacity:0}}@keyframes acpv55_97{0%,54%{opacity:0}55%,96%{opacity:1}97%,100%{opacity:0}}@keyframes acpk2{0%{stroke-dashoffset:314.2;stroke:var(--acp-g)}18%{stroke-dashoffset:44.0;stroke:var(--acp-g)}19%{stroke-dashoffset:18.8;stroke:var(--acp-r)}55%{stroke-dashoffset:18.8;stroke:var(--acp-r)}57%{stroke-dashoffset:0.0;stroke:var(--acp-b)}96%{stroke-dashoffset:0.0;stroke:var(--acp-b)}100%{stroke-dashoffset:314.2;stroke:var(--acp-g)}}@keyframes acpk3{0%{width:0%;background-color:var(--acp-g)}18%{width:86%;background-color:var(--acp-g)}19%{width:94%;background-color:var(--acp-r)}55%{width:94%;background-color:var(--acp-r)}57%{width:100%;background-color:var(--acp-b)}96%{width:100%;background-color:var(--acp-b)}100%{width:0%;background-color:var(--acp-g)}}@keyframes acpvs19{0%,18%{opacity:1}19%,97%{opacity:0}98%,100%{opacity:1}}@keyframes acpv15_55{0%,14%{opacity:0}15%,54%{opacity:1}55%,100%{opacity:0}}@keyframes acpv15_25{0%,14%{opacity:0}15%,24%{opacity:1}25%,100%{opacity:0}}@keyframes acpv25_67{0%,24%{opacity:0}25%,66%{opacity:1}67%,100%{opacity:0}}@keyframes acpv67_97{0%,66%{opacity:0}67%,96%{opacity:1}97%,100%{opacity:0}}@keyframes acpk4{0%{stroke-dashoffset:314.2;stroke:var(--acp-g)}14%{stroke-dashoffset:44.0;stroke:var(--acp-g)}15%{stroke-dashoffset:22.0;stroke:var(--acp-r)}25%{stroke-dashoffset:22.0;stroke:var(--acp-r)}27%{stroke-dashoffset:44.0;stroke:var(--acp-r)}55%{stroke-dashoffset:44.0;stroke:var(--acp-r)}57%{stroke-dashoffset:22.0;stroke:var(--acp-r)}67%{stroke-dashoffset:22.0;stroke:var(--acp-r)}69%{stroke-dashoffset:0.0;stroke:var(--acp-b)}96%{stroke-dashoffset:0.0;stroke:var(--acp-b)}100%{stroke-dashoffset:314.2;stroke:var(--acp-g)}}@keyframes acpk5{0%{width:0%;background-color:var(--acp-g)}14%{width:86%;background-color:var(--acp-g)}15%{width:93%;background-color:var(--acp-r)}25%{width:93%;background-color:var(--acp-r)}27%{width:86%;background-color:var(--acp-r)}55%{width:86%;background-color:var(--acp-r)}57%{width:93%;background-color:var(--acp-r)}67%{width:93%;background-color:var(--acp-r)}69%{width:100%;background-color:var(--acp-b)}96%{width:100%;background-color:var(--acp-b)}100%{width:0%;background-color:var(--acp-g)}}@keyframes acpvs15{0%,14%{opacity:1}15%,97%{opacity:0}98%,100%{opacity:1}}@keyframes acpv25_55{0%,24%{opacity:0}25%,54%{opacity:1}55%,100%{opacity:0}}@keyframes acpv55_67{0%,54%{opacity:0}55%,66%{opacity:1}67%,100%{opacity:0}}@keyframes acpv17_47{0%,16%{opacity:0}17%,46%{opacity:1}47%,100%{opacity:0}}@keyframes acpv47_97{0%,46%{opacity:0}47%,96%{opacity:1}97%,100%{opacity:0}}@keyframes acpk6{0%{stroke-dashoffset:314.2;stroke:var(--acp-g)}16%{stroke-dashoffset:44.0;stroke:var(--acp-g)}17%{stroke-dashoffset:18.8;stroke:var(--acp-r)}47%{stroke-dashoffset:18.8;stroke:var(--acp-r)}49%{stroke-dashoffset:0.0;stroke:var(--acp-b)}96%{stroke-dashoffset:0.0;stroke:var(--acp-b)}100%{stroke-dashoffset:314.2;stroke:var(--acp-g)}}@keyframes acpk7{0%{width:0%;background-color:var(--acp-g)}16%{width:86%;background-color:var(--acp-g)}17%{width:94%;background-color:var(--acp-r)}47%{width:94%;background-color:var(--acp-r)}49%{width:100%;background-color:var(--acp-b)}96%{width:100%;background-color:var(--acp-b)}100%{width:0%;background-color:var(--acp-g)}}@keyframes acpvs17{0%,16%{opacity:1}17%,97%{opacity:0}98%,100%{opacity:1}}@keyframes acpv19_58{0%,18%{opacity:0}19%,57%{opacity:1}58%,100%{opacity:0}}@keyframes acpv58_97{0%,57%{opacity:0}58%,96%{opacity:1}97%,100%{opacity:0}}@keyframes acpk8{0%{stroke-dashoffset:314.2;stroke:var(--acp-g)}18%{stroke-dashoffset:75.4;stroke:var(--acp-g)}19%{stroke-dashoffset:53.4;stroke:var(--acp-r)}58%{stroke-dashoffset:53.4;stroke:var(--acp-r)}60%{stroke-dashoffset:0.0;stroke:var(--acp-b)}96%{stroke-dashoffset:0.0;stroke:var(--acp-b)}100%{stroke-dashoffset:314.2;stroke:var(--acp-g)}}@keyframes acpk9{0%{width:0%;background-color:var(--acp-g)}18%{width:76%;background-color:var(--acp-g)}19%{width:83%;background-color:var(--acp-r)}58%{width:83%;background-color:var(--acp-r)}60%{width:100%;background-color:var(--acp-b)}96%{width:100%;background-color:var(--acp-b)}100%{width:0%;background-color:var(--acp-g)}}@keyframes acpv15_33{0%,14%{opacity:0}15%,32%{opacity:1}33%,100%{opacity:0}}@keyframes acpv33_67{0%,32%{opacity:0}33%,66%{opacity:1}67%,100%{opacity:0}}@keyframes acpk10{0%{stroke-dashoffset:314.2;stroke:var(--acp-g)}14%{stroke-dashoffset:25.1;stroke:var(--acp-g)}15%{stroke-dashoffset:0.0;stroke:var(--acp-b)}33%{stroke-dashoffset:0.0;stroke:var(--acp-b)}35%{stroke-dashoffset:0.0;stroke:var(--acp-b)}67%{stroke-dashoffset:0.0;stroke:var(--acp-b)}69%{stroke-dashoffset:0.0;stroke:var(--acp-b)}96%{stroke-dashoffset:0.0;stroke:var(--acp-b)}100%{stroke-dashoffset:314.2;stroke:var(--acp-g)}}@keyframes acpk11{0%{width:0%;background-color:var(--acp-g)}14%{width:92%;background-color:var(--acp-g)}15%{width:100%;background-color:var(--acp-b)}33%{width:100%;background-color:var(--acp-b)}35%{width:100%;background-color:var(--acp-b)}67%{width:100%;background-color:var(--acp-b)}69%{width:100%;background-color:var(--acp-b)}96%{width:100%;background-color:var(--acp-b)}100%{width:0%;background-color:var(--acp-g)}}@keyframes acpv15_97{0%,14%{opacity:0}15%,96%{opacity:1}97%,100%{opacity:0}}

/* 4.16b — accuracy panel fit (class set by crystal-refine.js) */
.cx-site .dmf-card.acp-tight .acp{gap:8px}
.cx-site .dmf-card.acp-tight .acp-n{display:none}
.cx-site .dmf-card.acp-tight .acp-ring{width:78px;height:78px}
.cx-site .dmf-card.acp-tight .acp-num{font-size:19px}
.cx-site .dmf-card.acp-tight .acp-g{gap:14px}
.cx-site .dmf-card.acp-tight .acp-bars{gap:5px}
.cx-site .dmf-card.acp-tight .acp-bh{margin-bottom:3px;font-size:12.5px}
.cx-site .dmf-car .dmf-card.acp-off>.acp.dm-text{display:none!important}

/* 4.16c — smallest fit: ring and top three checks */
.cx-site .dmf-car .dmf-card.acp-mini>.acp.dm-text{padding:12px 14px}
.cx-site .dmf-card.acp-mini .acp-b:nth-child(n+4){display:none}
.cx-site .dmf-card.acp-mini .acp-ring{width:70px;height:70px}
.cx-site .dmf-card.acp-mini .acp-num{font-size:17px}

/* 4.16d — one combined accuracy bar */
.cx-site .acp1 .acp-g{grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center}
.cx-site .acp1 .acp-ring{width:128px;height:128px}
.cx-site .acp1 .acp-num{font-size:26px}
.cx-site .acp-one{display:grid;gap:9px;min-width:0}
.cx-site .acp-oh{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-weight:600;font-size:14.5px;color:var(--t1)}
.cx-site .acp1 .acp-t{height:10px;border-radius:5px}.cx-site .acp1 .acp-t>i{border-radius:5px}
.cx-site .acp-st{font-size:13px;line-height:1.4;color:var(--t3)}.cx-site .acp-st .acp-sw{justify-items:start}
.cx-site .dmf-card.acp-tight .acp1 .acp-ring{width:100px;height:100px}.cx-site .dmf-card.acp-tight .acp1 .acp-num{font-size:22px}
.cx-site .dmf-card.acp-mini .acp1 .acp-ring{width:80px;height:80px}.cx-site .dmf-card.acp-mini .acp1 .acp-num{font-size:18px}.cx-site .dmf-card.acp-mini .acp1 .acp-g{gap:16px}

/* 4.16e — accuracy panel hidden for now (delete this line to bring it back) */
html body.cx-site .dmf-car .dmf-card>.acp.dm-text,html .cx-site .dmf-car .dmf-card>.acp.dm-text{display:none!important}


/* 4.18a — Features chapter bar: keep all chapters on one row on desktop/tablet (was capped at 760px, so 'Anywhere' wrapped) */
@media (min-width:641px){html body.cx-site.cx-fx .f2-chapters,.cx-site .cx-fx .f2-chapters,.cx-fx .f2-chapters{flex-wrap:nowrap!important;justify-content:flex-start;width:max-content;max-width:min(var(--wrap),calc(100vw - 32px))!important;overflow-x:auto}}


/* 4.19 — Export from a figure card (quiet mode): the dashboard behind the popup must not change. Keep the home sidebar (no Create/Tools), the plain "Studio" crumb and the scrollbar; the page still cannot scroll behind the popup. */
html.aai-quiet .cx-studio .aai-dash-side :is(.aai-vs-btn,.aai-side-tools),html.aai-quiet .cx-studio .aai-dash-side .aai-side-nav>.aai-side-sub:first-child{display:none!important}
html.aai-quiet .cx2-crumb>:not(:first-child){display:none!important}
html.aai-quiet.aai-fullscreen-on{overflow-y:scroll!important}
html.aai-quiet .aai-quiet-host>.aai-modal{overflow-y:scroll;overscroll-behavior:contain;scrollbar-width:none}


/* 4.20 — Pricing table has a Free column first (18 Nov 2026): the highlight stays on the Membership column, now the 4th */
.cx-site .pz-tw td:nth-child(3),.cx-site .pz-tw th:nth-child(3){background:transparent;color:inherit}
.cx-site .pz-tw td:nth-child(4),.cx-site .pz-tw th:nth-child(4){background:rgba(47,111,224,.05);color:var(--t1)}
html[data-theme="dark"] .cx-site .pz-tw td:nth-child(3),html[data-theme="dark"] .cx-site .pz-tw th:nth-child(3){background:transparent}
html[data-theme="dark"] .cx-site .pz-tw td:nth-child(4),html[data-theme="dark"] .cx-site .pz-tw th:nth-child(4){background:rgba(93,147,255,.08)}
@media (max-width:600px){.cx-site .pz-tw tr{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cx-site .pz-tw :is(thead th,td){font-size:12.5px;padding-left:6px!important;padding-right:6px!important}} /* 4.20: three plans side by side on phones */
/* 4.20b — the plan columns deepen in steps: Free, then the trial, then the membership */
.cx-site .pz-tw td:nth-child(2),.cx-site .pz-tw thead th:nth-child(2){background:rgba(47,111,224,.025)}
.cx-site .pz-tw td:nth-child(3),.cx-site .pz-tw thead th:nth-child(3){background:rgba(47,111,224,.06)}
.cx-site .pz-tw td:nth-child(4),.cx-site .pz-tw thead th:nth-child(4){background:rgba(47,111,224,.11);color:var(--t1)}
html[data-theme="dark"] .cx-site .pz-tw td:nth-child(2),html[data-theme="dark"] .cx-site .pz-tw thead th:nth-child(2){background:rgba(93,147,255,.04)}
html[data-theme="dark"] .cx-site .pz-tw td:nth-child(3),html[data-theme="dark"] .cx-site .pz-tw thead th:nth-child(3){background:rgba(93,147,255,.085)}
html[data-theme="dark"] .cx-site .pz-tw td:nth-child(4),html[data-theme="dark"] .cx-site .pz-tw thead th:nth-child(4){background:rgba(93,147,255,.15)}
/* 4.20c — ticks and crosses in the plan table */
.cx-site .pz-tw .pz-yes,.cx-site .pz-tw .pz-no{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;vertical-align:middle;margin-right:4px}
.cx-site .pz-tw .pz-yes{color:#1f8a4c;background:rgba(31,138,76,.12)}
.cx-site .pz-tw .pz-no{color:#8a94a6;background:rgba(138,148,166,.14)}
html[data-theme="dark"] .cx-site .pz-tw .pz-yes{color:#5fd394;background:rgba(95,211,148,.14)}
html[data-theme="dark"] .cx-site .pz-tw .pz-no{color:#8f9bb3;background:rgba(143,155,179,.16)}
/* 4.20d — the "1" badge: one free use */
.cx-site .pz-tw .pz-once{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;line-height:22px;text-align:center;padding:0;border-radius:50%;font:700 12px/1 var(--mono,inherit);color:#c46a10;background:rgba(255,170,82,.18);box-shadow:inset 0 0 0 1.5px rgba(255,170,82,.75);vertical-align:middle}
html[data-theme="dark"] .cx-site .pz-tw .pz-once{color:#ffc27a;background:rgba(255,170,82,.14)}
.cx-site .pz-key{margin:10px 0 0;font-size:13px;color:var(--t2,#5b6578);display:flex;align-items:center;gap:8px}
.cx-site .pz-key .pz-once{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font:700 12px/1 var(--mono,inherit);color:#c46a10;background:rgba(255,170,82,.18);box-shadow:inset 0 0 0 1.5px rgba(255,170,82,.75)}
html[data-theme="dark"] .cx-site .pz-key .pz-once{color:#ffc27a;background:rgba(255,170,82,.14)}

/* Footer trust row (owner, 19 Nov 2026): GDPR, accessibility and HECVAT as small linked badges, each with a soft tinted icon circle; the official W3C WCAG 2.1 AA mark beside accessibility */
.cx-site footer a.afig-gdpr { --tb-ink: #2468b0; --tb-tint: #eaf2fc; gap: 10px !important; padding: 5px 14px 5px 5px !important; margin: 0 0 0 10px !important;
	border: 1px solid var(--rf-line) !important; border-radius: 999px !important; background: var(--rf-paper) !important; box-shadow: 0 1px 2px rgba(16, 33, 57, .04) !important;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.cx-site footer a.afig-gdpr.afig-a11y { --tb-ink: #1f8a5b; --tb-tint: #e6f5ee; }
.cx-site footer a.afig-gdpr.afig-hecvat { --tb-ink: #6a4fc2; --tb-tint: #efebfb; }
.cx-site footer a.afig-gdpr svg { box-sizing: content-box; width: 16px !important; height: 16px !important; padding: 7px; border-radius: 50%; background: var(--tb-tint); stroke: var(--tb-ink) !important; stroke-width: 1.8 !important; }
.cx-site footer a.afig-gdpr b { font-weight: 600 !important; color: var(--t1, #102139) !important; }
.cx-site footer a.afig-gdpr:hover { border-color: var(--rf-line-2) !important; box-shadow: 0 6px 16px -10px rgba(16, 33, 57, .45) !important; transform: translateY(-1px); }
.cx-site footer a.afig-gdpr:hover b { color: var(--tb-ink) !important; }
html[data-theme="dark"] .cx-site footer a.afig-gdpr { --tb-ink: #8fc2ff; --tb-tint: rgba(143, 194, 255, .13); box-shadow: none !important; }
html[data-theme="dark"] .cx-site footer a.afig-gdpr.afig-a11y { --tb-ink: #6fd3a3; --tb-tint: rgba(111, 211, 163, .13); }
html[data-theme="dark"] .cx-site footer a.afig-gdpr.afig-hecvat { --tb-ink: #b9a6ff; --tb-tint: rgba(185, 166, 255, .14); }
html[data-theme="dark"] .cx-site footer a.afig-gdpr b { color: #F0F4FF !important; }
.cx-site footer a.afig-w3c { display: inline-flex; align-items: center; margin: 0 0 0 10px; border-radius: 4px; line-height: 0; text-decoration: none; transition: transform .15s ease; }
.cx-site footer a.afig-w3c img { display: block; width: 88px; height: 31px; }
.cx-site footer a.afig-w3c:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .cx-site footer a.afig-gdpr, .cx-site footer a.afig-w3c { transition: none; } .cx-site footer a.afig-gdpr:hover, .cx-site footer a.afig-w3c:hover { transform: none; } }
@media (max-width: 760px) { .cx-site footer a.afig-gdpr { margin: 8px 8px 0 0 !important; padding: 4px 12px 4px 4px !important; } .cx-site footer a.afig-w3c { margin: 8px 8px 0 0; } }

/* Footer trust row: its own line, label like "We accept", badges evenly spaced */
.cx-site footer .afig-trust { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--rf-line); }
.cx-site footer .afig-trust .cx-foot-l { margin-right: 6px; }
.cx-site footer .afig-trust a.afig-gdpr, .cx-site footer .afig-trust a.afig-w3c { margin: 0 !important; }
@media (max-width: 760px) { .cx-site footer .afig-trust .cx-foot-l { flex: 1 0 100%; } }

/* Footer trust badges, compact (owner, 19 Nov 2026): one line between "Secure payments by Airwallex" and "A product of"; the subtitle stays in the hover title */
@media (min-width: 761px) {
	.cx-site footer .afig-trust { flex: 0 1 auto; margin: 0; padding: 0; border-top: 0; gap: 8px; }
	.cx-site footer .afig-trust .cx-foot-l { display: none; }
	.cx-site footer .afig-trust a.afig-gdpr { gap: 7px !important; padding: 3px 11px 3px 3px !important; }
	.cx-site footer .afig-trust a.afig-gdpr svg { width: 13px !important; height: 13px !important; padding: 5px; }
	.cx-site footer .afig-trust a.afig-gdpr em { display: none !important; }
	.cx-site footer .afig-trust a.afig-gdpr b { font-size: 12.5px !important; white-space: nowrap; }
	.cx-site footer .afig-trust a.afig-w3c img { width: 66px; height: 23px; }
}

/* Footer trust badges sit exactly midway between the payments and "A product of" */
@media (min-width: 761px) { .cx-site footer .cx-foot-trust:has(.afig-trust) { justify-content: space-between; } .cx-site footer .cx-foot-trust:has(.afig-trust) > .cx-pay { flex: 0 1 auto !important; width: auto !important; } }
