/* CV studio (app-cv.html) — avif-style editor: one toolbar, collapsible wizard + inspector, fullscreen. Needs app.css. */
.is-studio .ap-content { padding: 12px 16px 16px; }
.is-studio .ap-top { padding-top: 10px; padding-bottom: 10px; }
.is-studio .ap-top__title p { display: none; }
.is-studio .fontbar, .is-studio .qq-fontbar { display: none !important; }

.cx { --lw: 340px; --rw: 288px; display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - 96px); height: calc(100dvh - 96px); min-height: 600px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; box-shadow: var(--sh-1); }
.cx.is-full { position: fixed; inset: 0; z-index: 90; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
.cx:fullscreen { height: 100vh; border-radius: 0; }

/* ---------- toolbar ---------- */
.cx-bar { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.cx-bar__l, .cx-bar__r { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cx-bar__l { flex: 1; }
.cx-bar__r { flex: 1; justify-content: flex-end; }
.cx-grp { display: flex; align-items: center; gap: 2px; padding-left: 6px; margin-left: 2px; border-left: 1px solid var(--line); }
.cx-ib { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s; }
.cx-ib:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.cx-ib:disabled { opacity: .35; cursor: default; }
.cx-ib[aria-pressed="true"] { color: var(--text); }
.cx-ib .qq-ic { width: 19px; height: 19px; }
.cx-flip { transform: scaleX(-1); }
.cx-full-out, .cx.is-full .cx-full-in { display: none; }
.cx.is-full .cx-full-out { display: block; }
.cx-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font: 600 .86rem var(--font); color: var(--text); cursor: pointer; }
.cx-pill:hover { background: var(--surface-2); }
.cx-pill .qq-ic { width: 16px; height: 16px; }
.cx-add, .cx-more { position: relative; }
.cx-add__pop { left: 0; top: calc(100% + 6px); width: 220px; }
.cx-more__pop { right: 0; left: auto; top: calc(100% + 6px); width: 230px; }
.cx-name { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 240px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid transparent; color: var(--text-2); }
.cx-name:hover { border-color: var(--line); }
.cx-name:focus-within { border-color: var(--ink); color: var(--text); }
.cx-name .qq-ic { width: 15px; height: 15px; flex: none; }
.cx-name input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 700 .92rem var(--font); color: var(--text); }
.cx-saved { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.cx-saved .qq-ic { width: 16px; height: 16px; color: var(--accent); }
.cx-saved.is-busy .qq-ic { color: var(--text-2); }
.cx-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.cx-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 9px; background: none; font: 600 .82rem var(--font); color: var(--text-2); cursor: pointer; white-space: nowrap; }
.cx-seg button .qq-ic { width: 15px; height: 15px; }
.cx-seg button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--sh-1); }
.cx-seg--sm button { padding: 0 9px; }
.cx-seg--wide { display: flex; } .cx-seg--wide button { flex: 1; }
.cx-zl { min-width: 50px; height: 30px; padding: 0 6px; border: 0; border-radius: 8px; background: none; font: 700 .8rem var(--font); font-variant-numeric: tabular-nums; color: var(--text); cursor: pointer; }
.cx-zl:hover { background: var(--surface-2); }
.cx-dl { margin-left: 4px; }

/* ---------- body: wizard | stage | inspector ---------- */
.cx-body { position: relative; display: grid; grid-template-columns: var(--lw) minmax(0, 1fr) var(--rw); min-height: 0; transition: grid-template-columns .32s cubic-bezier(.22,1,.36,1); }
.cx.is-left-off .cx-body { grid-template-columns: 0 minmax(0, 1fr) var(--rw); }
.cx.is-right-off .cx-body { grid-template-columns: var(--lw) minmax(0, 1fr) 0; }
.cx.is-left-off.is-right-off .cx-body { grid-template-columns: 0 minmax(0, 1fr) 0; }
.cx-left, .cx-right { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); transition: opacity .25s; }
.cx-left { border-right: 1px solid var(--line); }
.cx-right { border-left: 1px solid var(--line); }
.cx.is-left-off .cx-left, .cx.is-right-off .cx-right { opacity: 0; pointer-events: none; border: 0; }
.cx-only-m { display: none; }
.cx-scrim[hidden], .cx-mbar { display: none; }

/* ---------- wizard ---------- */
.cx-wz__top { display: grid; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.cx-wz__meta { display: flex; align-items: center; justify-content: space-between; }
.cx-wz__meta small { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.cx-wz__bar { display: block; height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.cx-wz__bar s { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .4s cubic-bezier(.22,1,.36,1); }
.cx-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.cx-dots button { display: grid; justify-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--text-2); }
.cx-dots span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); transition: background .2s, border-color .2s, color .2s; }
.cx-dots .qq-ic { width: 16px; height: 16px; }
.cx-dots em { font-style: normal; font-size: .64rem; font-weight: 600; white-space: nowrap; }
.cx-dots button:hover span { border-color: var(--line-2); color: var(--text); }
.cx-dots button.is-done span { border-color: var(--accent-line); color: var(--accent); }
.cx-dots button.is-on span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cx-dots button.is-on em { color: var(--text); }
.cx-wz__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 24px; display: grid; gap: 14px; align-content: start; }
.cx-wz__head { display: flex; align-items: center; gap: 12px; }
.cx-wz__head[hidden] { display: none; }
.cx-wz__head > span { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.cx-wz__head > span .qq-ic { width: 24px; height: 24px; }
.cx-wz__head h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; }
.cx-wz__head p { margin: 2px 0 0; color: var(--text-2); font-size: .84rem; }
.cx-wz__foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.cx-wz__foot .qq-btn { flex: 1; justify-content: center; }
.cx-wz__foot .qq-btn:disabled { opacity: .4; pointer-events: none; }
.cx-form { display: grid; gap: 12px; animation: cx-in .32s cubic-bezier(.22,1,.36,1); }
.cx-form[hidden] { display: none; }
@keyframes cx-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.cx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* fields with icons */
.cx-f { display: grid; gap: 6px; min-width: 0; }
.cx-f__l { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; color: var(--text-2); }
.cx-f__l em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.cx-f__in { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.cx-f__in:hover { border-color: var(--text-2); }
.cx-f__in:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.cx-f__in > .qq-ic { width: 17px; height: 17px; flex: none; color: var(--text-2); }
.cx-f__in:focus-within > .qq-ic { color: var(--accent); }
.cx-f__in input, .cx-f__in textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 .9rem var(--font); color: var(--text); }
.cx-f__in--area { align-items: flex-start; padding-top: 11px; padding-bottom: 8px; }
.cx-f__in--area textarea { resize: vertical; line-height: 1.5; }
.cx-mini { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); font: 600 .78rem var(--font); cursor: pointer; color: var(--text); }
.cx-tip { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); color: var(--text-2); font-size: .8rem; line-height: 1.45; }
.cx-tip .qq-ic { width: 16px; height: 16px; flex: none; color: var(--accent); margin-top: 1px; }
.cx-item { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.cx-item[open] { box-shadow: var(--sh-1); }
.cx-item > summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; list-style: none; cursor: pointer; }
.cx-item > summary::-webkit-details-marker { display: none; }
.cx-grip { width: 16px; height: 16px; color: var(--text-2); cursor: grab; flex: none; }
.cx-item__ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--surface-2); }
.cx-item__ic .qq-ic { width: 16px; height: 16px; }
.cx-item summary b { display: block; font-size: .9rem; } .cx-item summary small { color: var(--text-2); font-size: .78rem; }
.cx-item__caret { width: 14px; height: 14px; margin-left: auto; transition: transform .2s; }
.cx-item[open] .cx-item__caret { transform: rotate(180deg); }
.cx-item__body { display: grid; gap: 10px; padding: 2px 12px 14px; }
.cx-pts { display: grid; gap: 6px; }
.cx-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; font: 600 .82rem var(--font); color: var(--accent); cursor: pointer; }
.cx-link .qq-ic { width: 14px; height: 14px; }
.cx-addrow { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: none; font: 600 .86rem var(--font); color: var(--text-2); cursor: pointer; }
.cx-addrow:hover { border-color: var(--ink); color: var(--text); }
.cx-addrow .qq-ic { width: 18px; height: 18px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 12px; border: 1px solid var(--line-2); }
.cx-chips > span:not(.cx-chips__in) { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px 0 10px; border-radius: 999px; background: var(--surface-2); font-size: .82rem; font-weight: 600; }
.cx-chips > span button { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 50%; background: none; color: var(--text-2); cursor: pointer; }
.cx-chips > span button:hover { background: var(--surface-3); color: var(--text); }
.cx-chips > span button .qq-ic { width: 11px; height: 11px; }
.cx-chips__in { display: inline-flex; align-items: center; gap: 4px; flex: 1; min-width: 150px; color: var(--text-2); }
.cx-chips__in .qq-ic { width: 14px; height: 14px; }
.cx-chips__in input { flex: 1; min-width: 0; height: 30px; border: 0; outline: 0; background: none; font: 500 .86rem var(--font); color: var(--text); }
.cx-range { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.cx-range > .qq-ic { width: 17px; height: 17px; color: var(--text-2); flex: none; }
.cx-range em { min-width: 30px; text-align: right; font-style: normal; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cx input[type="range"] { flex: 1; min-width: 0; height: 22px; margin: 0; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cx input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--surface-3); }
.cx input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--surface-3); }
.cx input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: var(--sh-1); }
.cx input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.cx-tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cx-tpl { display: grid; gap: 2px; justify-items: start; padding: 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; text-align: left; transition: border-color .15s; }
.cx-tpl:hover { border-color: var(--line-2); }
.cx-tpl.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.cx-tpl b { font-size: .84rem; margin-top: 4px; } .cx-tpl small { color: var(--text-2); font-size: .72rem; }
.cx-tpl__pg { position: relative; display: grid; gap: 4px; align-content: start; width: 100%; aspect-ratio: 210 / 150; padding: 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.cx-tpl__pg i { display: block; height: 4px; border-radius: 2px; background: #e4e4e7; }
.cx-tpl__pg i:first-child { width: 55%; height: 7px; background: #0a0a0a; margin-bottom: 3px; }
.cx-tpl__pg i:nth-child(3) { width: 80%; } .cx-tpl__pg i:nth-child(4) { width: 65%; }
.cx-tpl__pg--classic i:first-child { background: #166534; width: 45%; margin-inline: auto; }
.cx-tpl__pg--modern { padding-top: 0; } .cx-tpl__pg--modern i:first-child { height: 22px; width: auto; margin: 0 -9px 4px; border-radius: 0; }
.cx-tpl__pg--side { grid-template-columns: 34% 1fr; } .cx-tpl__pg--side i:first-child { grid-row: span 4; height: 100%; width: 100%; background: #f4f4f5; margin: 0; }
.cx-tpls--dlg { grid-template-columns: repeat(2, 1fr); }
.cx-tplbox { width: min(560px, 100%); }
.cx-step { display: inline-flex; align-items: center; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); overflow: hidden; }
.cx-step button { display: grid; place-items: center; width: 36px; height: 100%; border: 0; background: none; color: var(--text-2); cursor: pointer; }
.cx-step button:hover { background: var(--surface-2); color: var(--text); }
.cx-step .qq-ic { width: 13px; height: 13px; }
.cx-step b { min-width: 30px; text-align: center; font-size: .86rem; font-variant-numeric: tabular-nums; }
.cx-score { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--accent-soft); }
.cx-score__ring { --p: 90; display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-3) 0); }
.cx-score__ring b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); font-size: .95rem; }
.cx-score small { display: block; color: var(--text-2); font-size: .8rem; }
.cx-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-check li { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; }
.cx-check .qq-ic { width: 18px; height: 18px; color: var(--accent); }
.cx-finish { display: grid; gap: 8px; } .cx-finish .qq-btn { justify-content: center; }

/* ---------- stage ---------- */
.cx-stage { position: relative; min-width: 0; min-height: 0; overflow: auto; display: grid; justify-items: center; align-content: start; padding: 28px 24px 40px; background: var(--bg-2); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 20px 20px; }
.cvb-scale { position: relative; flex: none; }
.cvb-page { position: relative; width: 794px; height: 1123px; overflow: hidden; border-radius: 4px; background: #fff; color: #0a0a0a; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.08); font-size: 14px; line-height: 1.5; transform-origin: top left; font-family: var(--cv-font, Inter, sans-serif); }
.cvb-page h4 { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cv-accent, #0a0a0a); }
.cvb-block { position: absolute; padding: 10px 12px; border-radius: 6px; border: 1.5px solid transparent; cursor: move; }
.cvb-block:hover { border-color: var(--accent-line); }
.cvb-block.is-sel { border-color: var(--accent); }
.cvb-block.is-hidden { display: none; }
.cvb-block.is-locked { cursor: not-allowed; }
.cvb-block b { display: block; font-size: 1.02em; }
.cvb-block ul { margin: 4px 0 0; padding-left: 18px; }
.cvb-block p { margin: 0; }
.cvb-sub { color: #52525b; font-size: .92em; }
.cvb-hdr { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--cv-accent, #0a0a0a) !important; border-radius: 0; }
.cvb-hdr__tx { display: grid; gap: 2px; min-width: 0; }
.cvb-hdr__tx b { font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.cvb-hdr__tx small { color: #52525b; font-size: .85rem; }
.cvb-hdr .cv-qr { width: 52px; margin-left: auto; flex: none; }
.cvb-hdr .cv-av { background: var(--cv-accent, #0a0a0a); }
.cvb-page .cv-tags span { background: #f4f4f5; }
.cvb-bars { display: grid; gap: 8px; }
.cvb-bars span { font-size: .8rem; font-weight: 600; }
.cvb-bars i { display: block; height: 7px; border-radius: 4px; background: #e7e7e9; overflow: hidden; }
.cvb-bars s { display: block; height: 100%; background: var(--cv-accent, #0a0a0a); }
.cvb-photo { width: 72px; height: 72px; border-radius: 50%; background: #e7e7e9; display: grid; place-items: center; color: #71717a; font-weight: 800; }
.cvb-div { height: 2px; background: currentColor; opacity: .8; border-radius: 2px; }
.cvb-handle { position: absolute; width: 12px; height: 12px; border-radius: 3px; background: #fff; border: 2px solid var(--accent); z-index: 3; }
.cvb-handle[data-handle="se"] { right: -7px; bottom: -7px; cursor: nwse-resize; }
.cvb-handle[data-handle="e"] { right: -7px; top: calc(50% - 6px); cursor: ew-resize; }
.cvb-handle[data-handle="s"] { left: calc(50% - 6px); bottom: -7px; cursor: ns-resize; }
.cvb-guide { position: absolute; background: var(--accent); z-index: 5; pointer-events: none; }
.cvb-guide--v { top: 0; bottom: 0; left: 50%; width: 1.5px; }
.cvb-guide--h { left: 0; right: 0; top: 120px; height: 1.5px; }
.cvb-page.is-preview .cvb-block { border-color: transparent; cursor: default; }
.cvb-page.is-preview .cvb-handle { display: none; }
.cvb-block [contenteditable="true"] { outline: 2px solid var(--accent-line); border-radius: 4px; cursor: text; }
.cvb-tpl-clean { --cv-accent-d: #0a0a0a; }
.cvb-tpl-classic { --cv-font: Georgia, serif; }
.cvb-tpl-classic h4 { letter-spacing: .04em; text-transform: none; font-size: .95rem; font-weight: 700; }
.cvb-tpl-classic .cvb-hdr { justify-content: center; text-align: center; }
.cvb-tpl-modern .cvb-hdr { background: var(--cv-accent, #0a0a0a); color: #fff; padding: 20px; border-bottom: 0 !important; border-radius: 6px; }
.cvb-tpl-modern .cvb-hdr__tx small { color: rgba(255,255,255,.8); }
.cvb-tpl-modern .cvb-hdr .cv-av { background: #fff; color: #0a0a0a; }
.cvb-tpl-modern .cvb-hdr .cv-qr { background: #fff; padding: 3px; border-radius: 4px; }
.cvb-tpl-side::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 290px; background: #f4f4f5; }

/* ---------- inspector ---------- */
.cx-rt__tabs { display: flex; align-items: center; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); }
.cx-rt__tabs [role="tab"] { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; font: 600 .86rem var(--font); color: var(--text-2); cursor: pointer; margin-bottom: -1px; }
.cx-rt__tabs [role="tab"] .qq-ic { width: 16px; height: 16px; }
.cx-rt__tabs [role="tab"].is-on { color: var(--text); border-bottom-color: var(--ink); }
.cx-rt__tabs em { padding: 0 6px; border-radius: 999px; background: var(--surface-2); font-style: normal; font-size: .7rem; }
.cx-rt__tabs .cx-only-m { margin-left: auto; }
.cx-rt__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: grid; gap: 14px; align-content: start; }
.cx-rt__body[hidden] { display: none; }
.cx-empty { display: grid; justify-items: center; gap: 6px; padding: 26px 12px; border-radius: 16px; border: 1.5px dashed var(--line-2); text-align: center; }
.cx-empty .qq-ic { width: 34px; height: 34px; color: var(--accent); }
.cx-empty b { font-size: .92rem; } .cx-empty small { color: var(--text-2); font-size: .8rem; line-height: 1.45; }
.cx-empty[hidden], .cx-props[hidden] { display: none; }
.cx-props { display: grid; gap: 16px; }
.cx-ph { display: flex; align-items: center; gap: 8px; }
.cx-ph__ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.cx-ph__ic .qq-ic { width: 16px; height: 16px; }
.cx-ph b { flex: 1; min-width: 0; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-sec { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.cx-sec h3 { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.cx-row2 { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.cx-xyw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cx-num { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-2); }
.cx-num:focus-within { border-color: var(--ink); }
.cx-num span { font-size: .72rem; font-weight: 700; color: var(--text-2); }
.cx-num input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; font: 600 .84rem var(--font); color: var(--text); -moz-appearance: textfield; }
.cx-num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cx-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cx-layers li { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 4px 0 8px; border-radius: 10px; cursor: pointer; }
.cx-layers li:hover { background: var(--surface-2); }
.cx-layers li.is-on { background: var(--accent-soft); }
.cx-layers li > .qq-ic { width: 16px; height: 16px; color: var(--text-2); flex: none; }
.cx-layers b { flex: 1; min-width: 0; font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-layers li.is-hidden b { color: var(--text-2); text-decoration: line-through; }
.cx-layers .cx-ib { width: 28px; height: 28px; border-radius: 8px; }
.cx-layers .cx-ib .qq-ic { width: 15px; height: 15px; }
.cx-layers .cx-lx { opacity: 0; transition: opacity .15s; }
.cx-layers li:hover .cx-lx, .cx-layers li.is-on .cx-lx, .cx-layers .cx-lx.is-pinned { opacity: 1; }
@media (hover: none) { .cx-layers .cx-lx { opacity: 1; } }

/* ---------- own dropdown ---------- */
.cx-dd { position: relative; }
.cx-dd__btn { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font: 600 .86rem var(--font); color: var(--text); cursor: pointer; }
.cx-dd__btn:hover { border-color: var(--text-2); }
.cx-dd__btn[aria-expanded="true"] { border-color: var(--ink); }
.cx-dd__btn > .qq-ic:first-child { width: 16px; height: 16px; color: var(--text-2); }
.cx-dd__btn span { flex: 1; text-align: left; }
.cx-dd__caret { width: 12px; height: 12px; color: var(--text-2); }
.cx-dd__pop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); display: grid; gap: 2px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-3); }
.cx-dd__pop[hidden] { display: none; }
.cx-dd__pop button { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: none; font-size: .9rem; color: var(--text); cursor: pointer; text-align: left; }
.cx-dd__pop button:hover { background: var(--surface-2); }
.cx-dd__ok { width: 14px; height: 14px; color: var(--accent); visibility: hidden; }
.cx-dd__pop [aria-selected="true"] .cx-dd__ok { visibility: visible; }

/* ---------- colour field + picker ---------- */
.cx-cpf { display: grid; gap: 8px; }
.cx-sw { display: flex; flex-wrap: wrap; gap: 7px; }
.cx-sw button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--c); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line-2); cursor: pointer; transition: box-shadow .15s; }
.cx-sw button.is-on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.cx-cpbtn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font: 600 .84rem var(--font); color: var(--text); cursor: pointer; }
.cx-cpbtn:hover { border-color: var(--text-2); }
.cx-cpbtn > .qq-ic { width: 16px; height: 16px; color: var(--text-2); }
.cx-cpbtn i { width: 20px; height: 20px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cx-cpbtn span { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cx-cp { position: fixed; z-index: 120; width: 240px; display: grid; gap: 10px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-3); }
.cx-cp[hidden] { display: none; }
.cx-cp__sv { position: relative; height: 150px; border-radius: 10px; cursor: crosshair; touch-action: none; background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, hsl(var(--h, 0) 100% 50%)); }
.cx-cp__sv i { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.4); pointer-events: none; }
.cx-cp__hue { width: 100%; height: 14px; margin: 0; border-radius: 7px; appearance: none; -webkit-appearance: none; background: linear-gradient(to right, red, #ff0, lime, cyan, blue, #f0f, red); cursor: pointer; }
.cx-cp__hue::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #0a0a0a; }
.cx-cp__hue::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #0a0a0a; }
.cx-cp__row { display: flex; gap: 8px; }
.cx-cp__row .cx-f__in { flex: 1; min-height: 36px; }
.cx-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cx-keys li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.cx-keys kbd { padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); font: 600 .76rem var(--font); }
.cvb-share__qr { display: grid; justify-items: center; gap: 4px; }
.cvb-share__qr i { display: block; width: 120px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: #0a0a0a; }
.cvb-share__qr small { color: var(--text-2); }
.cvb-counts { display: flex; justify-content: center; gap: 22px; font-size: .9rem; }
.cvb-counts span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); }
.cvb-counts .qq-ic { width: 17px; height: 17px; }
.cvb-counts b { color: var(--text); font-size: 1.05rem; }
.cvb-counts[hidden], .cx-tip[hidden], [data-pass-row][hidden] { display: none; }
.cvb-demo { justify-content: center; }
.cvb-gate__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.cvb-gate__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cvb-gate__list .qq-ic { width: 19px; height: 19px; color: var(--accent); }

/* ---------- responsive: panels become drawers ---------- */
@media (max-width: 1320px) { .cx { --lw: 310px; --rw: 270px; } .cx-saved span { display: none; } }
@media (max-width: 1180px) {
  .cx-body, .cx.is-right-off .cx-body, .cx.is-left-off .cx-body, .cx.is-left-off.is-right-off .cx-body { grid-template-columns: var(--lw) minmax(0, 1fr); }
  .cx.is-left-off .cx-body, .cx.is-left-off.is-right-off .cx-body { grid-template-columns: 0 minmax(0, 1fr); }
  .cx-right { position: absolute; top: 0; right: 0; bottom: 0; z-index: 30; width: min(320px, 88%); box-shadow: var(--sh-3); transform: translateX(105%); transition: transform .32s cubic-bezier(.22,1,.36,1); opacity: 1 !important; pointer-events: auto !important; }
  .cx.is-right-open .cx-right { transform: none; }
  .cx-right .cx-only-m { display: inline-grid; }
  .cx-hist { display: none; }
}
@media (max-width: 900px) {
  .cx { height: calc(100dvh - 84px); border-radius: 16px; grid-template-rows: auto minmax(0, 1fr) auto; }
  .cx-body, .cx.is-left-off .cx-body { grid-template-columns: minmax(0, 1fr) !important; }
  .cx-left { position: absolute; top: 0; left: 0; bottom: 0; z-index: 30; width: min(380px, 92%); box-shadow: var(--sh-3); transform: translateX(-105%); transition: transform .32s cubic-bezier(.22,1,.36,1); opacity: 1 !important; pointer-events: auto !important; border-right: 1px solid var(--line) !important; }
  .cx.is-left-open .cx-left { transform: none; }
  .cx-left .cx-only-m { display: inline-grid; }
  .cx-scrim:not([hidden]) { display: block; position: absolute; inset: 0; z-index: 25; background: rgba(10,10,10,.3); }
  .cx-mbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--surface); }
  .cx-mbar button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 10px; border: 0; background: none; font: 600 .72rem var(--font); color: var(--text-2); cursor: pointer; }
  .cx-mbar button .qq-ic { width: 20px; height: 20px; }
  .cx-mbar button.is-on { color: var(--text); }
  [data-cx-toggle], .cx-zoom, .cx-saved, .cx-seg[data-cv-mode] { display: none; }
  .cx-dl span, .cx-pill span { display: none; }
  .cx-dl, .cx-pill { width: 36px; padding: 0; justify-content: center; }
  .cx-stage { padding: 16px 12px 24px; }
}
@media (max-width: 480px) { .cx-grid { grid-template-columns: 1fr; } .cx-name { max-width: 150px; } .is-studio .ap-content { padding: 8px; } }
.cx-dots em { display: none; }
.cx-dots span { width: 38px; height: 38px; }
.cx { grid-template-columns: minmax(0, 1fr); }
.cx-bar { min-width: 0; }
.cvb-tpl-modern .cvb-hdr .cv-qr { color: #0a0a0a; }
.cx-rt__body, .cx-wz__body { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1240px) {
  .cx-seg[data-cv-mode] span, .cx-dl span, .cx-pill span { display: none; }
  .cx-seg[data-cv-mode] button { padding: 0 9px; }
  .cx-dl, .cx-pill { width: 36px; padding: 0; justify-content: center; }
  .cx-name { max-width: 190px; }
  .cx-saved { display: none; }
}

/* ---------- round 2: board pan/zoom, images, icons, skill levels, versions, dynamic QR ---------- */
.cx-stage { display: block; cursor: default; }
.cx-stage .cvb-scale { margin: 0 auto; }
.cx-stage.is-hand, .cx-stage.is-hand .cvb-block { cursor: grab; }
.cx-stage.is-panning, .cx-stage.is-panning * { cursor: grabbing !important; user-select: none; }
.cx-saved { min-width: 74px; }
.cx-hint { margin: 0; color: var(--text-2); font-size: .76rem; }
.cvb-photo { overflow: hidden; border-radius: 50%; }
.cvb-photo img, .cv-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-av { overflow: hidden; }
.cvb-logo { border-radius: 22%; background: #f4f4f5; color: #71717a; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.cvb-logo img { object-fit: contain; }
.cvb-icon { display: grid; place-items: center; color: inherit; }
.cvb-icon svg { width: 100%; height: 100%; }
.cx-imgrow { display: flex; align-items: center; gap: 12px; }
.cx-thumb { display: grid; place-items: center; width: 64px; height: 64px; flex: none; overflow: hidden; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.cx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cx-thumb b { font-size: .9rem; color: var(--text-2); }
.cx-imgbtns { display: grid; gap: 6px; flex: 1; min-width: 0; }
.cx-imgbtns .cx-pill { justify-content: center; }
.cx-imgbtns .cx-pill:disabled { opacity: .45; cursor: default; }
.cx-imgbtns .cx-pill span { display: inline !important; }
.cx-imgbtns .cx-pill { width: auto !important; padding: 0 12px !important; }
.cx-switch { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; cursor: pointer; }
.cx-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cx-switch span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--surface-3); transition: background .2s; flex: none; }
.cx-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .2s; }
.cx-switch input:checked + span { background: var(--ink); }
.cx-switch input:checked + span::after { transform: translateX(16px); }
.cx-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cx-seg--wide button .qq-ic { width: 14px; height: 14px; }
.cx-icgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; max-height: 200px; overflow-y: auto; padding: 2px; }
.cx-icgrid button { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: var(--surface-2); color: var(--text); cursor: pointer; }
.cx-icgrid button:hover { border-color: var(--line-2); }
.cx-icgrid button.is-on { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 2px var(--accent-soft); }
.cx-icgrid .qq-ic { width: 18px; height: 18px; }
.cx-bars { display: grid; gap: 8px; }
.cx-barrow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 38px 28px; align-items: center; gap: 8px; }
.cx-barrow .cx-f__in { min-height: 38px; padding: 0 10px; }
.cx-barrow em { font-style: normal; font-size: .78rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.cx-barrow .cx-ib { width: 28px; height: 28px; }
.cx-barrow .cx-ib .qq-ic { width: 12px; height: 12px; }
.cx-right .cx-barrow { grid-template-columns: minmax(0, 1fr) 28px; }
.cx-right .cx-barrow input[type="range"] { grid-column: 1; }
.cx-right .cx-barrow em { grid-column: 2; grid-row: 2; }
.cx-right .cx-barrow .cx-ib { grid-column: 2; grid-row: 1; }
.cx-savev { justify-content: center; }
.cx-vers { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cx-vers li { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 12px; }
.cx-vers li:hover { background: var(--surface-2); }
.cx-vers li.is-on { background: var(--accent-soft); }
.cx-vers li > div { flex: 1; min-width: 0; }
.cx-vers b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-vers small { color: var(--text-2); font-size: .74rem; }
.cx-vers__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ink); }
.cx-vers__dot.is-auto { background: none; border: 2px solid var(--line-2); }
.cx-vers__act { display: flex; align-items: center; gap: 2px; opacity: 0; transition: opacity .15s; }
.cx-vers li:hover .cx-vers__act, .cx-vers li:focus-within .cx-vers__act { opacity: 1; }
@media (hover: none) { .cx-vers__act { opacity: 1; } }
.cx-vers .cx-ib { width: 28px; height: 28px; } .cx-vers .cx-ib .qq-ic { width: 13px; height: 13px; }
.cx-vers__in { width: 100%; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--ink); font: 600 .86rem var(--font); background: var(--surface); color: var(--text); }
.cx-vers__none { color: var(--text-2); font-size: .84rem; }
.cx-dynqr { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.cx-dynqr > i { display: block; width: 88px; flex: none; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: #0a0a0a; }
.cx-dynqr > div { display: grid; gap: 8px; min-width: 0; }
.cx-dynqr b { display: flex; align-items: center; gap: 6px; font-size: .92rem; }
.cx-dynqr b .qq-ic { width: 16px; height: 16px; color: var(--accent); }
.cx-dynqr p { margin: 0; color: var(--text-2); font-size: .8rem; }
.cx-dynqr .cx-f__in { min-height: 38px; }
.cx-dynqr .qq-btn { justify-self: start; }
@media (max-width: 480px) { .cx-dynqr { flex-direction: column; } }
.cx-sec[hidden] { display: none; }
.cx-props, .cx-sec { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.cx-rt__tabs { gap: 0; padding: 8px 6px 0; }
.cx-rt__tabs [role="tab"] { flex: 1; justify-content: center; gap: 5px; padding: 0 6px; font-size: .8rem; }
.cx-rt__tabs .cx-only-m { flex: none; }
.cx-seg--wide button { padding: 0 6px; gap: 4px; font-size: .78rem; }
.cx-barrow, .cx-right .cx-barrow { grid-template-columns: minmax(0, 1fr) 40px 28px; column-gap: 8px; row-gap: 2px; }
.cx-barrow .cx-f__in { grid-column: 1 / 3; grid-row: 1; }
.cx-barrow .cx-ib, .cx-right .cx-barrow .cx-ib { grid-column: 3; grid-row: 1; }
.cx-barrow input[type="range"], .cx-right .cx-barrow input[type="range"] { grid-column: 1; grid-row: 2; }
.cx-barrow em, .cx-right .cx-barrow em { grid-column: 2; grid-row: 2; }
.cx-barrow + .cx-barrow { padding-top: 6px; border-top: 1px solid var(--line); }

/* ---------- S20: presets, switches, sections, checks, ATS, job-ad helper ---------- */
.cx-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cx-preset { position: relative; display: grid; gap: 2px; align-content: start; padding: 12px 12px 12px 46px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cx-preset:hover { border-color: var(--line-2); }
.cx-preset input { position: absolute; opacity: 0; pointer-events: none; }
.cx-preset__ic { position: absolute; left: 10px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--surface-2); }
.cx-preset__ic .qq-ic { width: 16px; height: 16px; }
.cx-preset b { font-size: .82rem; line-height: 1.25; }
.cx-preset small { color: var(--text-2); font-size: .72rem; line-height: 1.3; }
.cx-preset__ck { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; }
.cx-preset__ck .qq-ic { width: 11px; height: 11px; }
.cx-preset:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.cx-preset:has(input:checked) .cx-preset__ic { background: var(--accent-soft); color: var(--accent); }
.cx-preset:has(input:checked) .cx-preset__ck { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cx-preset:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cx-guide { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.cx-guide b { font-size: .9rem; }
.cx-guide ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--text-2); font-size: .82rem; }
.cx-guide p { margin: 0; font-size: .82rem; font-weight: 600; }
.cx-guide em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.cx-switches { display: grid; gap: 6px; }
.cx-swrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.cx-swrow__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); }
.cx-swrow__ic .qq-ic { width: 16px; height: 16px; }
.cx-swrow__tx { display: grid; min-width: 0; }
.cx-swrow__tx b { font-size: .86rem; }
.cx-swrow__tx small { color: var(--text-2); font-size: .76rem; line-height: 1.35; }
.cx-swrow input { position: absolute; opacity: 0; pointer-events: none; }
.cx-swrow__sw { position: relative; width: 40px; height: 23px; border-radius: 12px; background: var(--surface-3); transition: background .2s; }
.cx-swrow__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .2s; }
.cx-swrow:has(input:checked) { border-color: var(--ink); }
.cx-swrow:has(input:checked) .cx-swrow__sw { background: var(--ink); }
.cx-swrow:has(input:checked) .cx-swrow__sw::after { transform: translateX(17px); }
.cx-swrow:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cx-moref { border: 1px solid var(--line); border-radius: 12px; }
.cx-moref > summary { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: .84rem; font-weight: 600; color: var(--text-2); cursor: pointer; list-style: none; }
.cx-moref > summary::-webkit-details-marker { display: none; }
.cx-moref > summary .qq-ic { width: 13px; height: 13px; }
.cx-moref .cx-swrow { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.cx-moref[open] > summary .qq-ic { transform: rotate(180deg); }
[data-prows] { display: grid; gap: 10px; }
[data-prow][hidden] { display: none; }
.cx-photorow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.cvb-extra { display: block; }
.cx-order { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cx-order li { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 4px 4px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.cx-order li:hover { border-color: var(--line-2); }
.cx-order__grip { display: inline-flex; color: var(--text-2); cursor: grab; }
.cx-order__grip .qq-ic { width: 15px; height: 15px; }
.cx-order b { flex: 1; min-width: 0; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-order em { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--text-2); }
.cx-order .cx-ib, .cx-order .cx-mini { flex: none; }
.cx-order .cx-ib { width: 30px; height: 30px; }
.cx-order .cx-ib .qq-ic { width: 14px; height: 14px; }
.cx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cx-finding { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.cx-finding > b { flex: 1; font-size: .84rem; font-weight: 600; }
.cx-finding > div { flex: 1; min-width: 0; display: grid; }
.cx-finding > div b { font-size: .84rem; }
.cx-finding__ic { display: inline-flex; flex: none; }
.cx-finding__ic .qq-ic, .cx-finding > .qq-ic { width: 19px; height: 19px; }
.cx-finding.is-ok { border-color: var(--accent-line); background: var(--accent-soft); }
.cx-finding.is-ok > .qq-ic { color: var(--accent); }
.cx-finding.is-warn .cx-finding__ic { color: #d97706; }
.cx-finding__act { display: flex; gap: 4px; flex: none; }
.cx-finding__act .cx-mini.is-danger { border-color: rgba(194, 50, 31, .4); color: #c2321f; }
.cx-score .cx-mini { margin-left: auto; flex: none; }
.cx-atsbox { width: min(620px, 100%); }
.cx-ats { max-height: 46vh; overflow-y: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.cx-atsdoc { padding: 22px 24px; color: #111; font: 400 .9rem/1.55 Arial, sans-serif; }
.cx-atsdoc h3 { margin: 0; font-size: 1.3rem; }
.cx-atsdoc h4 { margin: 14px 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid #ddd; padding-bottom: 3px; }
.cx-atsdoc p { margin: 2px 0; }
.cx-atsdoc ul { margin: 4px 0; padding-left: 20px; }
.cx-jdres { display: grid; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.cx-jdres[hidden] { display: none; }
.cx-jdres > div { display: grid; gap: 6px; }
.cx-jdres > div > b { font-size: .8rem; }
.cx-jdchips { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-jdchips span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; font-weight: 600; }
.cx-jdchips span.is-found { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.cx-jdchips small { color: var(--text-2); font-size: .78rem; }
.cx-f .cx-pill { justify-content: center; }
.cx-f .cx-pill span { display: inline !important; }
@media (max-width: 480px) { .cx-presets { grid-template-columns: 1fr; } .cx-finding { flex-wrap: wrap; } }
