/* Brand marks are image viewports into the two supplied originals, with no redrawing or recolouring. */
:is(body,#paper-edition)[data-health-cloud]{--hc-jade:#28796e;--hc-light:#78bdb0;--hc-gold:#bd9a56;--hc-ink:#225c54;--hc-glass:#effaf680}
:is(body,#paper-edition)[data-scheme=b][data-health-cloud]{--hc-jade:#b7dcc2;--hc-light:#d6eacb;--hc-gold:#e6c989;--hc-ink:#e4f3d7;--hc-glass:#fbffe60d}
:is(body,#paper-edition)[data-scheme=c][data-health-cloud]{--hc-jade:#337965;--hc-light:#8cb9a0;--hc-gold:#ac9158;--hc-ink:#255b47;--hc-glass:#f1fbf080}
:is(body,#paper-edition)[data-health-cloud] .brand-service{display:block;border-left:1px solid var(--line);padding-left:18px;font:400 20px/1.4 var(--serif);letter-spacing:2px;color:var(--ink)}
:is(body,#paper-edition)[data-health-cloud] .brand-service small{display:block;font:9px/1.5 "PingFang SC",sans-serif;letter-spacing:2px;color:var(--muted);margin:0}
:is(body,#paper-edition)[data-health-cloud] .brand-service #brand-caption{display:none!important}
.brand-source-variant{display:flex;align-items:center;gap:10px}
.brand-source-red{display:none}
:is(body,#paper-edition)[data-scheme=b] .brand-source-red{display:flex}
:is(body,#paper-edition)[data-scheme=b] .brand-source-green{display:none}
.brand-original-emblem{display:block;flex:none;width:58px;height:58px;overflow:hidden}
.brand-original-wordmark{display:block;flex:none;width:200px;height:64px;overflow:hidden}
:is(body,#paper-edition)[data-health-cloud] .brand-plaque{width:142px;height:54px;background:transparent;border-color:transparent}
:is(body,#paper-edition)[data-health-cloud] .brand-plaque img{width:140px;height:54px}
:is(body,#paper-edition)[data-health-cloud]:is([data-page=overview],[data-page=assessment][data-assessment-mode=quick]){background:radial-gradient(ellipse at 50% 41%,#86c7b916,transparent 47%),var(--bg)}
:is(body,#paper-edition)[data-health-cloud][data-scheme] .qi-overview{--fluid-mark:var(--hc-jade);--fluid-selected:#c8e0d5;--fluid-selected-ink:var(--hc-ink);--fluid-line:#81afa14a;--fluid-wash:#d6e7df;--fluid-light:#fffdf5}
:is(body,#paper-edition)[data-scheme=b][data-health-cloud] .qi-overview{--fluid-selected:#a8c5a64a;--fluid-line:#b6d4b14a;--fluid-wash:#a4b49759;--fluid-light:#c9b78a}
:is(body,#paper-edition)[data-health-cloud] .qi-heading>div:first-child{display:flex;align-items:center;gap:12px}
:is(body,#paper-edition)[data-health-cloud] .qi-heading h1{font:500 30px/1.5 "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:4px;color:var(--ink)}
.health-ai-sign{display:grid;place-items:center;width:32px;height:32px;flex:none;border:1px solid color-mix(in srgb,var(--hc-jade) 30%,transparent);border-radius:7px;color:var(--hc-jade);font:500 13px/1 "PingFang SC",sans-serif;letter-spacing:1px}
:is(body,#paper-edition)[data-health-cloud] .qi-heading-note small{font:12px/1.6 "PingFang SC",sans-serif;letter-spacing:1px}
:is(body,#paper-edition)[data-health-cloud] .qi-heading-note{gap:0;padding-right:3px}
:is(body,#paper-edition)[data-health-cloud] .qi-hub{position:relative;isolation:isolate;z-index:1}
.health-digital{position:absolute;inset:-1% -21% -2%;width:142%;height:103%;z-index:-1;overflow:visible;color:var(--hc-jade);pointer-events:none}
.health-orbits>ellipse{stroke:currentColor;stroke-width:.65;opacity:.24}
.health-orbits>.health-orbit-dotted{stroke-dasharray:1 8;opacity:.32}
.health-gold-arc{stroke:var(--hc-gold);stroke-width:1.2;stroke-linecap:round;opacity:.65}
.health-orbit-live{stroke:currentColor;stroke-width:1.1;stroke-linecap:round;stroke-dasharray:48 300;opacity:.5}
.health-node circle{fill:currentColor;stroke:var(--bg);stroke-width:2;filter:drop-shadow(0 0 4px var(--hc-light));opacity:.8}
.health-register{stroke:currentColor;stroke-width:.75;opacity:.25}
.health-scan{opacity:.3}
.health-platform{stroke:currentColor;stroke-width:.65;opacity:.3}
.health-platform ellipse:first-child{stroke-dasharray:100 10 30 10}
.health-platform path{opacity:.5}
.health-platform>.health-platform-arc{stroke:var(--hc-gold);stroke-width:1.7;opacity:.8}
:is(body,#paper-edition)[data-health-cloud] .qi-human-portrait{top:1%;height:94%;filter:drop-shadow(0 10px 20px #266d5f12)}
:is(body,#paper-edition)[data-health-cloud] .qi-human:before{opacity:.2}
:is(body,#paper-edition)[data-health-cloud] .paper-meridian-orbit{display:none}
:is(body,#paper-edition)[data-health-cloud] .fluid-trace{stroke:var(--hc-jade);opacity:.22;stroke-width:.75;stroke-dasharray:2 5}
:is(body,#paper-edition)[data-health-cloud] .fluid-signal{stroke:var(--hc-jade);stroke-width:1.8;filter:drop-shadow(0 0 3px var(--hc-light))}
:is(body,#paper-edition)[data-health-cloud] .qi-overview .bubble>.bubble-face:before{filter:blur(1px);opacity:.8}
:is(body,#paper-edition)[data-health-cloud] .qi-overview .bubble[aria-pressed=true]>.bubble-face:before{background:radial-gradient(ellipse at 32% 24%,var(--fluid-light),transparent 65%),radial-gradient(ellipse at 60% 72%,var(--fluid-selected),transparent 78%)}
:is(body,#paper-edition)[data-health-cloud] .qi-overview .bubble[aria-pressed=true]>.bubble-face:after{border-color:color-mix(in srgb,var(--hc-jade) 60%,transparent);border-right-color:color-mix(in srgb,var(--hc-jade) 14%,transparent);box-shadow:0 0 18px color-mix(in srgb,var(--hc-light) 10%,transparent)}
:is(body,#paper-edition)[data-health-cloud] .qi-overview .bubble .bubble-mark{background:var(--hc-jade);box-shadow:0 0 0 3px var(--bg),0 0 12px color-mix(in srgb,var(--hc-jade) 20%,transparent)}
:is(body,#paper-edition)[data-health-cloud] .primary{background:linear-gradient(115deg,#397d70,#245d53);color:#fff9e9;border:1px solid #367467;border-radius:8px 16px 8px 8px;box-shadow:inset 0 1px #ffffff24,0 5px 18px #326f6117}
:is(body,#paper-edition)[data-scheme=b][data-health-cloud] .primary{background:linear-gradient(115deg,#e8d7ae,#ccbd94);color:#2e483d;border-color:#e3c998}
/* One quiet choice rail, with no nested frames or native touch highlight. */
:is(body,#paper-edition)[data-health-cloud] .degree-dialog{width:min(680px,calc(100vw - 64px));padding:30px 32px 28px;border:1px solid color-mix(in srgb,var(--hc-gold) 32%,transparent);border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 24px 70px #162e2429;overflow:visible;-webkit-tap-highlight-color:transparent}
:is(body,#paper-edition)[data-health-cloud] .degree-dialog::backdrop{background:#15291f40;backdrop-filter:none;-webkit-backdrop-filter:none}
:is(body,#paper-edition)[data-health-cloud] .degree-head{min-height:24px;padding-right:40px}
:is(body,#paper-edition)[data-health-cloud] .degree-period{display:flex;align-items:center;gap:10px;color:var(--muted);font:13px/24px "PingFang SC",sans-serif;letter-spacing:2px}
:is(body,#paper-edition)[data-health-cloud] .degree-period:before{content:"";width:20px;height:1px;background:var(--hc-gold)}
:is(body,#paper-edition)[data-health-cloud] .degree-head>button{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);-webkit-appearance:none;appearance:none}
:is(body,#paper-edition)[data-health-cloud] .degree-head>button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
:is(body,#paper-edition)[data-health-cloud] .degree-head>button:active{background:var(--accent-soft)}
:is(body,#paper-edition)[data-health-cloud] .degree-dialog h2{font:400 24px/1.65 var(--serif);letter-spacing:1px;margin:16px 0 28px;outline:none;color:var(--ink)}
:is(body,#paper-edition)[data-health-cloud] .degree-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;border:1px solid color-mix(in srgb,var(--hc-jade) 17%,transparent);border-radius:16px;background:color-mix(in srgb,var(--hc-jade) 5%,var(--paper))}
:is(body,#paper-edition)[data-health-cloud] .degree-options>button{position:relative;min-height:104px;padding:12px 6px;gap:10px;border:0;border-radius:10px;background:transparent;color:var(--ink);box-shadow:none;transform:none;font:400 20px/1.4 var(--serif);transition:background .16s,color .16s;-webkit-appearance:none;appearance:none}
.frequency-icon{display:block;flex:none;width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.frequency-calendar{opacity:.68}
.frequency-day{fill:currentColor;stroke:none;opacity:.13}
.frequency-day.is-present{opacity:.9}
.frequency-empty{stroke-width:1.8;opacity:.65}
:is(body,#paper-edition)[data-health-cloud] .degree-options .frequency-icon{color:var(--hc-jade)}
:is(body,#paper-edition)[data-health-cloud] .degree-options>button[aria-pressed=true]{background:var(--hc-jade);color:var(--paper);box-shadow:none;transform:none}
:is(body,#paper-edition)[data-health-cloud] .degree-options>button[aria-pressed=true] .frequency-icon{color:inherit}
:is(body,#paper-edition)[data-health-cloud] .degree-options>button:active{background:color-mix(in srgb,var(--hc-jade) 15%,var(--paper));color:var(--hc-ink)}
:is(body,#paper-edition)[data-health-cloud] .degree-dialog button:focus-visible{outline:2px solid var(--hc-jade);outline-offset:2px}
:is(body,#paper-edition)[data-health-cloud] .degree-foot{justify-content:flex-end;min-height:44px;margin:8px 0 -8px}
:is(body,#paper-edition)[data-health-cloud] .degree-foot>button{min-height:44px;color:var(--muted)}
:is(body,#paper-edition)[data-health-cloud] .degree-dialog .source-question-note{margin:-16px 0 22px;color:var(--muted);font-size:14px}
:is(body,#paper-edition)[data-health-cloud] .balance-options button{border-radius:10px;box-shadow:none;-webkit-tap-highlight-color:transparent}
:is(body,#paper-edition)[data-health-cloud] .balance-options button[aria-pressed=true]{background:var(--hc-jade);border-color:var(--hc-jade);color:var(--paper);box-shadow:none}
:is(body,#paper-edition)[data-health-cloud] .answer-orb{width:40px;height:40px;color:var(--hc-jade)}
:is(body,#paper-edition)[data-health-cloud] .answer-options [aria-pressed=true] .answer-orb{color:inherit}
:is(body,#paper-edition)[data-health-cloud] .matrix-options .answer-orb{display:grid;width:22px;height:22px}
:is(body,#paper-edition)[data-health-cloud] .matrix-options .frequency-icon{width:22px;height:22px}
:is(body,#paper-edition)[data-health-cloud][data-scheme=b] .answer-orb,:is(body,#paper-edition)[data-health-cloud][data-scheme=b] .answer-orb .frequency-icon{width:30px;height:30px}
/* Original brand illustration on entry; a neutral vector meridian figure inside. */
:is(body,#paper-edition)[data-health-cloud] .welcome-brand-visual{display:flex;align-items:center;justify-content:center;height:100%;width:100%;min-width:0;min-height:0;padding:8px 0;position:relative;z-index:1}
.brand-hero-stage{--brand-flow-gold:#ebb74f;--brand-flow-light:#fff8d8;position:relative;isolation:isolate;width:min(100%,520px,calc(100dvh - 220px));aspect-ratio:1;flex:none;pointer-events:none}
.brand-cloud-drift{position:absolute;inset:0;will-change:transform;pointer-events:none}
:is(body,#paper-edition)[data-health-cloud] .welcome-brand-visual .welcome-brand-cutout{position:absolute;inset:12%;display:block;width:76%;height:76%;max-width:none;object-fit:contain;background:transparent;pointer-events:none}
.brand-emblem-aura{position:absolute;inset:8%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--hc-gold) 45%,transparent),transparent 68%);opacity:.12;will-change:transform,opacity;pointer-events:none}
.brand-orbit-field{position:absolute;inset:0;pointer-events:none;contain:layout style}
.brand-orbit-tracks,.brand-orbit-sheen{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.brand-orbit-track{fill:none;stroke:var(--hc-gold);stroke-width:1.3;opacity:.28}
.brand-orbit-track:nth-child(2){stroke-dasharray:1 10;opacity:.4}
.brand-orbit-star{fill:var(--hc-gold);opacity:.6}
.brand-orbit-sheen{transform-origin:50% 50%;opacity:.85;will-change:transform,opacity}
.brand-orbit-arc{fill:none;stroke-linecap:round}
.brand-orbit-arc-halo{stroke-width:12;opacity:.65}
.brand-orbit-arc-glow{stroke-width:4;opacity:1}
.brand-orbit-arc-core{stroke-width:1.4;opacity:.9}
.brand-orbit-sheen-inner{opacity:.7}
@media(prefers-reduced-motion:reduce){.brand-emblem-aura,.brand-cloud-drift,.brand-orbit-sheen{will-change:auto}}
:is(body,#paper-edition)[data-health-cloud] .brand-welcome .book-portrait,:is(body,#paper-edition)[data-health-cloud] .brand-welcome .workbench-visual{background:transparent;border:0;padding:0;box-shadow:none}
:is(body,#paper-edition)[data-health-cloud] .welcome-person:before{display:none}
.meridian-figure{display:block;aspect-ratio:1/2;pointer-events:none;overflow:visible}
.person-stage>.meridian-figure{position:relative;width:auto;height:96%;max-width:100%;z-index:1;flex:none}
:is(body,#paper-edition)[data-health-cloud] .qi-human .meridian-figure{left:0;top:0;width:100%;height:100%;filter:none}
@media(hover:hover) and (pointer:fine){
 :is(body,#paper-edition)[data-health-cloud] .degree-head>button:hover{background:var(--accent-soft)}
 :is(body,#paper-edition)[data-health-cloud] .degree-options>button:not([aria-pressed=true]):hover{background:color-mix(in srgb,var(--hc-jade) 9%,var(--paper))}
}
@media(max-width:1400px){
 .brand-source-variant{gap:8px}
 .brand-original-emblem{width:52px;height:52px}
 .brand-original-wordmark{width:184px;height:60px}
 :is(body,#paper-edition)[data-health-cloud] .brand-service{padding-left:14px;font-size:19px}
 :is(body,#paper-edition)[data-health-cloud] .brand-service small{font-size:8px;letter-spacing:1px}
}
@media(max-width:1100px){
 .brand-source-variant{gap:7px}
 .brand-original-emblem{width:46px;height:46px}
 .brand-original-wordmark{width:164px;height:54px}
 :is(body,#paper-edition)[data-health-cloud] .brand-plaque{width:118px;height:48px}
 :is(body,#paper-edition)[data-health-cloud] .brand-plaque img{width:118px;height:48px}
 :is(body,#paper-edition)[data-health-cloud] .brand-service{padding-left:10px;font-size:17px}
 :is(body,#paper-edition)[data-health-cloud] .brand-service small{display:none}
 :is(body,#paper-edition)[data-health-cloud] .qi-heading h1{font-size:27px}
}
@media(prefers-reduced-motion:no-preference){
 .health-orbit-live{animation:health-data-orbit 18s linear infinite}
 .health-scan{animation:health-field-pass 9s ease-in-out infinite}
 [data-cloud-signal=active] .health-node{animation:health-node-breathe 3s ease-in-out infinite}
 [data-cloud-signal=active] .health-orbit-live{stroke-width:1.5;opacity:.85}
}
@media(prefers-reduced-motion:reduce){.health-orbit-live,.health-scan,.health-node{animation:none!important}.health-scan{display:none}}
@keyframes health-data-orbit{to{stroke-dashoffset:-696}}
@keyframes health-field-pass{0%,100%{transform:translateY(0);opacity:0}15%,75%{opacity:.45}85%{transform:translateY(300px);opacity:0}}
@keyframes health-node-breathe{50%{opacity:.4;filter:drop-shadow(0 0 6px var(--hc-light))}}
