/* Operational consumer of CredTech 1.3. No brand-token overrides. */
body.ct-ui{--panel:var(--ct-color-surface);--panel-raised:var(--ct-color-surface-raised);--muted:var(--ct-color-secondary-text);font-family:var(--ct-font-body);background-color:var(--ct-color-bg)}
body.ct-ui h1,body.ct-ui h2,body.ct-ui h3{font-family:var(--ct-font-heading);font-weight:700}body.ct-ui h1{font-weight:800}body.ct-ui h1 span:not(.ct-number){color:var(--ct-color-lime);background:none;-webkit-text-fill-color:currentColor}
body.ct-ui .ct-number,body.ct-ui input,body.ct-ui select,body.ct-ui textarea,body.ct-ui pre,body.ct-ui code{font-family:var(--ct-font-body)!important;font-variant-numeric:tabular-nums}body.ct-ui .dot-contact-shadow{display:none!important}
body.ct-ui .brand-symbol{width:32px;height:32px;display:block}body.ct-ui .brand-symbol svg{width:100%;height:100%}body.ct-ui .brand-symbol svg *{stroke:none}
#operationMissionDeck{min-height:470px}.op-mission-dialog{max-width:650px}.op-mission-dialog .ct-deck-area{min-height:540px}body.ct-ui .ct-dialog.op-mission-dialog{overflow-x:hidden}
/* UX V2: one primary action, contextual inputs; all advanced controls stay opt-in. */
body.ct-ui .op-simple{max-width:880px;margin:0 auto;padding:clamp(6px,2vw,25px) 0 55px}
body.ct-ui .op-intro{margin:5px 0 22px}
body.ct-ui .op-intro .eyebrow{font-size:10px;color:var(--ct-color-lime);letter-spacing:.16em}
body.ct-ui .op-intro h1{font-size:clamp(30px,5.1vw,56px);line-height:1.06;letter-spacing:-.035em;margin:15px 0 12px;color:var(--ct-color-text)}
body.ct-ui .op-intro p{max-width:47ch;color:var(--ct-color-secondary-text);font-size:clamp(13px,1.35vw,15px);margin:0}
body.ct-ui .op-primary{border:1px solid var(--ct-border);border-radius:24px;background:var(--ct-glass-fill);box-shadow:var(--ct-shadow-panel);padding:clamp(15px,3.5vw,26px);backdrop-filter:blur(var(--ct-glass-blur))}
body.ct-ui .op-primary .ct-fast-path{padding:0;border:0;box-shadow:none;background:none;backdrop-filter:none;margin:0}
body.ct-ui .op-primary .ct-fast-path>.ct-kicker,body.ct-ui .op-primary #fastPathTitle{display:none}
body.ct-ui .op-primary .ct-fast-path>.ct-soft{margin:8px 0}
body.ct-ui .op-primary .ct-console-entry{gap:12px;align-items:end}
body.ct-ui .op-primary .ct-console-entry label{font-weight:600}
body.ct-ui .op-primary .ct-console-submit{min-height:52px;border-radius:14px;font-size:15px;margin:20px 0 0;width:100%}
body.ct-ui .op-primary .ct-fast-fields{margin-top:18px}
body.ct-ui .op-primary .ct-robot-chooser{margin-top:18px}
body.ct-ui .op-primary .ct-fast-result{margin-top:20px}
body.ct-ui .op-primary input,body.ct-ui .op-primary select{min-height:46px}
body.ct-ui .op-simple[data-op-auto-robot="true"] .ct-fast-fields>.ct-field:has(#fastService){display:none}
body.ct-ui .op-last{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:19px 0;border-bottom:1px solid var(--ct-border);margin-top:14px}
body.ct-ui .op-last h2{font-size:17px;margin:7px 0 2px}
body.ct-ui .op-last p{font-size:12px;color:var(--ct-color-secondary-text);margin:0}
body.ct-ui .op-last .btn{white-space:nowrap}
body.ct-ui .op-more{border-bottom:1px solid var(--ct-border);padding:18px 0}
body.ct-ui .op-more>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:var(--ct-color-secondary-text);font-size:13px;list-style:none}
body.ct-ui .op-more>summary::-webkit-details-marker{display:none}
body.ct-ui .op-more[open]>summary{color:var(--ct-color-text)}
body.ct-ui .op-secondary-actions{display:flex;flex-wrap:wrap;gap:10px 26px;margin:18px 0 6px}
body.ct-ui .op-text-action{border:0;background:none;color:var(--ct-color-lime);text-decoration:underline;text-underline-offset:4px;padding:7px 0;cursor:pointer;font:500 13px var(--ct-font-body)}
body.ct-ui .op-tech-body{margin-top:16px}
body.ct-ui .op-measure-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
body.ct-ui .op-measure-head p,body.ct-ui .op-tech-note{color:var(--ct-color-secondary-text);font-size:12px;line-height:1.5}
body.ct-ui .op-readings{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:14px 0}
body.ct-ui .op-reading{padding:13px;border:1px solid var(--ct-border);border-radius:12px;display:grid;gap:5px}
body.ct-ui .op-reading span,body.ct-ui .op-reading small{font-size:11px;color:var(--ct-color-secondary-text)}
body.ct-ui .op-reading strong{font:600 17px var(--ct-font-body)}
body.ct-ui .op-issue{padding:12px 0;font-size:12px;color:var(--ct-color-warning)}
body.ct-ui .op-unavailable{font-size:14px;color:var(--ct-color-secondary-text)}
@media(max-width:540px){body.ct-ui .op-simple{padding-top:5px}body.ct-ui .op-intro{margin-bottom:17px}body.ct-ui .op-primary{border-radius:20px;padding:17px}body.ct-ui .op-last{flex-wrap:wrap;gap:9px}body.ct-ui .op-measure-head{align-items:flex-start;flex-direction:column}}

/* The primary screen needs neither back nor reload buttons: the original dock
   and the advanced paths remain available without duplicating controls. */
body.ct-ui:has(.op-simple) #appHeader [data-action="go-back"],
body.ct-ui:has(.op-simple) #appHeader [data-action="reload"]{display:none}
/* Never ask the user to reconfirm the sole server-selected robot. When
   several are available, the accessible choice cards replace the duplicate dropdown. */
body.ct-ui .op-simple[data-op-auto-robot="true"] .ct-robot-chooser{display:none}
body.ct-ui .op-primary:has(.ct-robot-chooser) .ct-fast-fields>.ct-field:has(#fastService){display:none}
/* Faithful canonical office and motion, composed without new brand tokens. */
body.ct-ui .op-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(255px,.74fr);gap:8px;align-items:center;min-height:235px;margin:0 0 20px}
body.ct-ui .op-hero-copy{position:relative;z-index:2}
body.ct-ui .op-intro h1.ct-heading{max-width:13ch;font-size:clamp(32px,4.8vw,54px);line-height:1.04;letter-spacing:-.048em;margin:14px 0 14px;text-wrap:balance}
body.ct-ui .op-intro .eyebrow{display:flex;align-items:center;gap:9px;color:var(--ct-color-lime)}
body.ct-ui .op-orbit-mark{display:inline-flex;align-items:center;color:var(--ct-color-lime);width:16px;height:16px}
body.ct-ui .op-orbit-mark .ct-icon{width:16px;height:16px}
body.ct-ui .op-intro p{font-size:13px;max-width:34ch}
body.ct-ui .op-scene-host{position:relative;isolation:isolate;width:100%;height:235px;min-width:0;overflow:visible}
body.ct-ui .op-scene-host .ct-studio-scene{min-height:0!important;height:100%;aspect-ratio:auto;pointer-events:none}
body.ct-ui .op-scene-host .scene-svg{max-width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 16px 28px #0009)}
body.ct-ui .op-scene-host .ct-studio-dot-stage{pointer-events:none}
body.ct-ui .op-scene-host .ct-studio-dot-stage .ct-dot{left:44%;top:19%;width:29%;height:58%;min-width:100px;min-height:100px;pointer-events:auto}
body.ct-ui .op-scene-host .ct-dot canvas{cursor:grab;touch-action:none}
body.ct-ui .op-scene-host .ct-dot canvas:active{cursor:grabbing}
body.ct-ui .op-scene-host[data-ct-fallback=brand-only] {display:grid;place-items:center}
body.ct-ui .op-scene-host[data-ct-fallback=brand-only] svg{height:82px;width:82px}
body.ct-ui .op-primary.ct-surface[data-ct-material=glass]{position:relative;isolation:isolate;border:1px solid var(--ct-border-highlight);background:var(--ct-glass-fill);border-radius:var(--ct-radius-panel);box-shadow:var(--ct-shadow-panel),0 22px 54px -40px #d6ff3f1b;padding:clamp(20px,3.5vw,30px);transition:border-color var(--ct-motion-fast),box-shadow var(--ct-motion-fast)}
body.ct-ui .op-primary.ct-surface[data-ct-material=glass]:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 320px 200px at var(--op-glint-x,20%) var(--op-glint-y,0%),#d6ff3f08,transparent 100%)}
body.ct-ui .op-primary.ct-surface[data-ct-material=glass]:focus-within{border-color:#d6ff3f70;box-shadow:var(--ct-shadow-panel),0 12px 50px -38px #d6ff3f35}
body.ct-ui .op-primary .ct-console-entry{align-items:center;gap:14px;margin:0 0 14px;flex-wrap:wrap}
body.ct-ui .op-primary .ct-console-entry>.ct-field{flex:1 1 230px}
body.ct-ui .op-primary .ct-console-entry>.ct-soft{font-size:11px;letter-spacing:.08em}
body.ct-ui .op-primary .ct-console-entry>.ct-file-label{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:54px;padding:14px 18px;font-size:13px;color:var(--ct-color-text);border:1px solid var(--ct-border);background:var(--ct-color-surface-raised)}
body.ct-ui .op-primary .ct-console-entry>.ct-file-label:hover{border-color:#d6ff3f88;transform:translateY(-1px)}
body.ct-ui .op-primary .ct-console-entry>.ct-file-label .ct-icon{height:18px;width:18px;color:var(--ct-color-lime)}
body.ct-ui .op-primary label[for=queryCpf]{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ct-color-text)}
body.ct-ui .op-primary label[for=queryCpf] .ct-icon{width:18px;height:18px;color:var(--ct-color-lime)}
body.ct-ui .op-primary #queryCpf{min-height:54px;font-size:17px;font-weight:500;letter-spacing:.03em;border:1px solid var(--ct-border-highlight);background:var(--ct-color-bg);border-radius:13px;padding:15px 17px;transition:box-shadow var(--ct-motion-fast),border-color var(--ct-motion-fast)}
body.ct-ui .op-primary #queryCpf:focus{outline:2px solid #d6ff3f88;outline-offset:2px;box-shadow:0 0 0 5px #d6ff3f0a}
body.ct-ui .op-primary .ct-console-submit.ct-button-primary{display:flex;justify-content:center;align-items:center;gap:9px;background:var(--ct-color-lime);color:var(--ct-color-bg);border:1px solid var(--ct-color-lime);min-height:52px;border-radius:var(--ct-radius-button);font:650 14px var(--ct-font-body);cursor:pointer;transition:transform var(--ct-motion-fast),box-shadow var(--ct-motion-fast)}
body.ct-ui .op-primary .ct-console-submit.ct-button-primary .ct-icon{height:20px;width:20px;color:var(--ct-color-bg)}
body.ct-ui .op-primary .ct-console-submit.ct-button-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 25px -16px #d6ff3fbb}
body.ct-ui .op-primary .ct-console-submit.ct-button-primary:active:not(:disabled){transform:translateY(0) scale(.992)}
body.ct-ui .op-primary .ct-console-submit.ct-button-primary:disabled{cursor:not-allowed;box-shadow:none;opacity:.46}
body.ct-ui .op-primary .ct-fast-fields{margin-top:10px}
body.ct-ui .op-robot-launch{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:8px 0 18px}
body.ct-ui .op-robot-launch .op-robot-trigger{gap:10px;text-align:left;display:inline-flex;align-items:center;min-height:46px;transition:transform var(--ct-motion-fast),border-color var(--ct-motion-fast)}
body.ct-ui .op-robot-launch .op-robot-trigger .ct-icon:first-child{color:var(--ct-color-lime)}
body.ct-ui .op-robot-launch .op-robot-trigger .ct-icon:last-child{width:16px;height:16px;margin-left:12px}
body.ct-ui .op-robot-launch>small{font-size:11px;color:var(--ct-color-secondary-text)}
body.ct-ui .op-robot-empty{font-size:12px;color:var(--ct-color-warning);margin:12px 0}
body.ct-ui .op-simple .ct-fast-fields>.ct-field:has(#fastService){display:none!important}
body.ct-ui .op-simple .ct-robot-chooser{display:none!important}
body.ct-ui .op-last{border-bottom:1px solid var(--ct-border-highlight);margin-top:18px;padding:21px 5px}
body.ct-ui .op-last .op-result-button .ct-icon{height:17px;width:17px;color:var(--ct-color-lime)}
body.ct-ui .op-more>summary{justify-content:flex-start;gap:12px;transition:color var(--ct-motion-fast);min-height:33px}
body.ct-ui .op-more>summary .ct-icon:first-child{width:18px;height:18px;color:var(--ct-color-lime)}
body.ct-ui .op-more>summary span{flex:1}
body.ct-ui .op-more>summary .ct-icon:last-child{width:17px;height:17px;transition:transform var(--ct-motion-fast)}
body.ct-ui .op-more[open]>summary .ct-icon:last-child{transform:rotate(180deg)}
body.ct-ui .op-more>summary:hover{color:var(--ct-color-text)}
body.ct-ui .op-mission-dialog{max-width:min(840px,calc(100vw - 24px));padding:20px 26px}
body.ct-ui .op-mission-dialog .ct-heading{margin:12px 0 7px}
body.ct-ui .op-mission-dialog .ct-caption{max-width:54ch}
body.ct-ui .op-mission-dialog .ct-deck-area{min-height:760px;overflow-x:clip;overflow-y:visible}
body.ct-ui #operationMissionDeck{min-height:750px;height:750px}
body.ct-ui .op-robot-longlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:25px 0}
@media(max-width:700px){body.ct-ui .op-intro{grid-template-columns:minmax(0,1fr) 172px;gap:0;min-height:180px}
 body.ct-ui .op-intro h1.ct-heading{font-size:clamp(26px,5.8vw,40px);max-width:14ch}
 body.ct-ui .op-scene-host{height:173px}
 body.ct-ui .op-scene-host .ct-studio-dot-stage .ct-dot{left:42%;top:20%;width:44%;height:68%;min-width:96px;min-height:96px}
 body.ct-ui .op-scene-host .scene-svg{opacity:.8}
 body.ct-ui .op-intro p{font-size:12px}
 body.ct-ui .op-mission-dialog .ct-deck-area{min-height:655px}
 body.ct-ui #operationMissionDeck{min-height:635px;height:635px}}
@media(max-width:490px){body.ct-ui .op-intro{grid-template-columns:minmax(0,1fr) 112px;gap:0;min-height:168px}
 body.ct-ui .op-intro h1.ct-heading{font-size:clamp(26px,7.5vw,32px);max-width:13ch}
 body.ct-ui .op-scene-host{height:154px}
 body.ct-ui .op-scene-host .scene-svg{opacity:.5}
 body.ct-ui .op-scene-host .ct-studio-dot-stage .ct-dot{left:16%;top:21%;width:85%;height:70%;min-width:96px;min-height:96px}
 body.ct-ui .op-primary .ct-console-entry>.ct-field{flex-basis:100%}
 body.ct-ui .op-primary .ct-console-entry>.ct-soft{display:none}
 body.ct-ui .op-primary .ct-console-entry>.ct-file-label{width:100%;margin:0}
 body.ct-ui .op-robot-longlist{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.ct-ui .op-primary,body.ct-ui .op-primary *,body.ct-ui .op-more .ct-icon{transition:none!important;animation:none!important}}

body.ct-ui .op-robot-current{display:flex;align-items:center;gap:8px;color:var(--ct-color-secondary-text);font:500 12px var(--ct-font-body);margin:8px 0 15px}
body.ct-ui .op-robot-current .ct-icon{width:16px;height:16px;color:var(--ct-color-lime)}
