/* Focused opening interfaces. Product tile colours remain the approved brand colours. */
:root{--pro-halo-led:#8099ff}
.device .screen{display:flex;flex-direction:column;min-height:0;background:#071626;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Arial,sans-serif}
.device.tablet,.device.desktop{height:580px}
.device .statusbar{display:flex!important;flex:0 0 31px;height:31px}
.device.tablet .statusbar,.device.desktop .statusbar{flex-basis:24px;height:24px}
.device .appheader{display:flex!important;flex:0 0 auto;min-height:53px;padding:10px 18px 7px;gap:12px;align-items:center}
.device .appbrand,.device .active-product-app{color:#f5f7fb;font-size:17px;line-height:1.2;font-weight:600;letter-spacing:-.025em}
.device .active-product-app{min-height:44px;gap:9px;white-space:nowrap}
.device .appheader-actions{gap:7px}
.device .appheader .app-launcher{min-width:44px;width:44px;height:44px;padding:8px;border:0;background:#ffffff0a;border-radius:10px;justify-content:center}
.device .appheader .app-launcher>span:last-child{display:none}
.device .interface-more{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #d4e1ff30;border-radius:50%;background:transparent;color:#f4f7fc}
.device .interface-more svg{width:19px;height:19px;fill:currentColor}
.device .interface-more:focus-visible,.device .opening-identity:focus-visible{outline:2px solid #c9dcff;outline-offset:4px}
.device .context{display:block!important;position:static!important;flex:0 0 auto;text-align:left;margin:0;padding:3px 20px 12px;letter-spacing:0;color:#b8c8db;line-height:1.45}
.device .context strong{display:block;font-size:13px;font-weight:500;color:#dbe6f4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.device .context .context-scope{display:block;font-size:10px;color:#92a8bf;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.device .context .context-plan{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.device .context-note{display:none!important}
.device .content{position:relative!important;inset:auto!important;width:100%;flex:1 1 auto;min-height:0;height:auto!important;max-width:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#456986 transparent}
.device[data-step="0"] .content,.device[data-step="1"] .content{display:flex;align-items:stretch;justify-content:stretch;padding:0 18px 10px!important;overflow:hidden!important}
.device .appnav{display:flex!important;position:static;flex:0 0 auto;min-height:48px;margin:0 14px 5px;padding:8px 2px 5px;gap:4px;justify-content:space-around;align-items:center;border-top:1px solid #ffffff15;border-radius:0;background:transparent}
.device .appnav button{min-height:32px;padding:7px 5px;color:#aabed5;font-size:10px;font-weight:500;letter-spacing:0;border-radius:9px;flex:1}
.device .appnav button[aria-current="page"]{color:#fff;background:#ffffff0d}
.device[data-step="0"] #environment-identity-trigger{display:none}
.device.tablet .appheader,.device.desktop .appheader{padding-inline:24px}
.device.tablet .context,.device.desktop .context{padding-inline:25px}
.calm-opening{min-width:0;display:flex;flex:1;flex-direction:column;min-height:0;width:100%;height:100%;gap:8px}
.opening-focus{min-width:0;display:grid;flex:1 1 auto;place-items:center;min-height:0;padding:0}
.opening-identity{display:block;position:relative;aspect-ratio:1;min-width:0;max-height:100%;height:auto;max-width:100%;width:min(100%,300px);padding:0;border:0;background:none;color:inherit;border-radius:50%;line-height:0}
.opening-avatar-target{position:absolute;left:22.5%;top:18.75%;width:55%;height:55%;border:0;padding:0;border-radius:50%;background:transparent;cursor:pointer}.opening-avatar-target:focus-visible{outline:2px solid #dce7ff;outline-offset:5px}
.device .opening-identity .halo{display:block;width:100%;height:100%;max-width:none;max-height:100%;margin:0;object-fit:contain;filter:none}
.calm-footer{display:flex;flex:0 0 auto;flex-direction:column;align-items:stretch;gap:11px;width:100%;max-width:340px;margin:0 auto;padding:0 0 5px;text-align:left}
.calm-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 3px;color:#dce6f3;font-size:12px;line-height:1.4}
.calm-status-label{display:inline-flex;align-items:center;gap:8px}
.calm-status-label:before{content:"";width:6px;height:6px;border-radius:50%;background:#32c86c;flex:none}
.calm-status[data-reading="unknown"] .calm-status-label:before{background:#829ba1}
.calm-status[data-reading="review"] .calm-status-label:before{background:#ffb52e}
.calm-status small{color:#839cb7;font-size:9px;white-space:nowrap}
.calm-action-row{display:flex;align-items:center;gap:10px}
.device .calm-primary{display:block;flex:1;margin:0;min-height:42px;padding:11px 15px;border:0;border-radius:14px;background:#eef4ff;color:#15345d;font-size:12px;font-weight:600;line-height:1.5;text-align:center}
.device .calm-details-button{min-height:42px;margin:0;padding:10px 7px;border:0;background:none;color:#b9cde7;font-size:11px;white-space:nowrap}
.calm-status-options{border-top:1px solid #ffffff15;padding-top:8px;color:#b1c6df;font-size:10px;max-height:135px;overflow:auto}
.calm-status-options summary{cursor:pointer;font-size:11px;padding:2px 0 5px}
.calm-status-options .bracelet-caption{font-size:10px;margin:5px 0;line-height:1.5}
.calm-status-options .audit-link{font-size:10px;margin:0;padding:6px 0}
.calm-status-options .sector-tools{margin:6px 0}
.calm-footer .attention-bubble{position:static;max-width:none;margin:0;font-size:10px}
.refined-bracelet circle[data-live-layer="pro"][fill="#02064D"],.ecosystem-halo .section-bracelet[data-section="pro"] circle[fill="#02064D"],.device[data-product="pro"] .full-halo circle[fill="#02064D"],.hero-led[fill="#02064D"]{fill:var(--pro-halo-led);stroke:none;stroke-opacity:1;stroke-width:0}
.identity-preview-front.calm-preview,.configured-mini-screen.calm-preview{display:flex;flex-direction:column;position:relative;min-height:455px;padding:20px 18px 17px;background:#071626;border-radius:28px;color:#e8eef9}
.calm-preview .identity-preview-product,.calm-preview .configured-app-name{position:static;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;gap:10px;text-align:left;color:#f5f7fb;font-size:15px;letter-spacing:-.02em}
.calm-preview .product-brand-lockup{font-size:15px;color:#f5f7fb;gap:8px}
.calm-preview .configured-product-name{font-size:15px;gap:8px}
.calm-preview .brand-preview-note{font-size:7px;line-height:1.4;letter-spacing:.06em;color:#93abc6;max-width:48px;text-align:right}
.calm-preview-context{display:flex;flex-direction:column;gap:3px;text-align:left;margin:13px 1px 0;line-height:1.5}
.calm-preview-context strong{font-size:11px;font-weight:500;color:#cddbef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calm-preview-context>span{font-size:9px;color:#90a7c4}
.calm-preview-halo{min-width:0;display:grid;place-items:center;flex:1;min-height:215px;width:100%;padding:6px 0;margin:0;border:0;background:transparent;line-height:0;color:inherit}
.calm-preview-halo .halo{display:block;margin:0!important;width:min(100%,270px)!important;max-width:none;height:auto;filter:none}
.calm-preview-footer{flex:0 0 auto;margin-top:4px;text-align:left;font-size:10px;color:#b1c4dd;line-height:1.6}
.calm-preview-footer>span{display:block;margin-bottom:8px;font-size:10px;color:#d2dfef}
.calm-preview-footer details{border-top:1px solid #ffffff15;padding-top:9px}
.calm-preview-footer summary{cursor:pointer;font-size:10px;color:#b1c7e2}
.calm-preview-footer p{font-size:10px!important;line-height:1.6!important;color:#93abc7!important;margin:7px 0 0!important}
.calm-preview .mini-apps-button{min-width:29px;width:29px;height:29px;padding:3px;border:0;background:#ffffff09;border-radius:9px}
.calm-preview .mini-apps-button>span:last-child{display:none}
.environment-tools-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:18px 0 24px;font-size:13px}
.environment-tools-meta dt{color:#a5bbc8;font-size:11px}.environment-tools-meta dd{margin:0;color:inherit;overflow-wrap:anywhere}
.identity-product-meta{border-top:1px solid #78919f40;padding-top:15px}
@media(max-width:760px){.device.phone{width:min(330px,100%)}.device.tablet,.device.desktop{height:580px}.device .appheader{padding-inline:15px;gap:8px}.device .context{padding-inline:18px}.device .active-product-app{font-size:16px;gap:7px}.calm-preview-halo .halo{width:min(100%,280px)!important}}
@media(prefers-reduced-motion:reduce){.device{transition:none}}

/* Each image and bracelet now share an exact centre, with a protected Halo area. */
.device.tablet,.device.desktop{height:680px}
.device[data-step="0"] .content,.device[data-step="1"] .content,.device[data-step="6"] .content{display:flex;align-items:stretch;justify-content:stretch;padding:0 18px 10px!important;overflow:hidden!important}
.device .content>*{flex-shrink:0}.device .content>.calm-opening{flex-shrink:1}
.opening-focus{container-type:size;position:relative;overflow:visible;isolation:isolate}
.device .opening-identity{width:min(100cqw,100cqh,340px);height:min(100cqw,100cqh,340px);max-width:none;max-height:none;aspect-ratio:1;margin:0}
.device .opening-avatar-target{left:50%;top:50%;width:60.9375%;height:60.9375%;transform:translate(-50%,-50%)}
.device .staged-status-halo{overflow:visible;filter:none!important}
.halo-reference-controls{flex:none;width:100%;margin:0;padding:0}
.halo-reference-label{display:flex;justify-content:space-between;gap:8px;margin:0 2px 6px;color:#a6bbd2;font-size:9px;line-height:1.4}
.halo-reference-label>span:last-child{color:#7f99b5}
.halo-stage-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;border-radius:13px;background:#ffffff08;border:1px solid #b6c8e01a}
.device .halo-stage-buttons button{min-width:0;min-height:40px;margin:0;padding:6px 2px;border:0;border-radius:9px;background:transparent;color:#a3b8d1;font-size:10px;line-height:1.3;font-weight:500;white-space:normal}
.device .halo-stage-buttons button[aria-pressed="true"]{background:#dce7fb;color:#102d50}
.device .halo-stage-buttons button:focus-visible{outline:2px solid #a6bbff;outline-offset:1px}
.device .halo-stage-caption{min-height:28px;margin:6px 2px 0;font-size:9px;line-height:1.4;color:#91a9c4;text-align:left;max-width:none}
.calm-footer{gap:8px;max-width:360px}.calm-status-options p{font-size:10px!important;line-height:1.6!important}
.device .halo circle[data-micro-led],.hero-halo .hero-led,.gaming-bracelet circle[data-micro-led]{filter:none!important;stroke-linecap:round;stroke-linejoin:round}
.device[data-step="2"] .content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start!important;gap:12px;padding:16px 18px!important;overflow-y:auto!important}
.device[data-step="2"] .content>.halo{flex:none;display:block;width:min(100%,320px)!important;height:auto!important;aspect-ratio:1;margin:8px 0!important}
.device[data-step="2"] .content>.quiet-eyebrow,.device[data-step="2"] .content>.detail-caption{position:static;margin:0;max-width:100%;line-height:1.5}
.device .inline-layer-groups,.device .inline-layer-tools{flex-wrap:wrap;max-width:100%}
.calm-preview-halo .halo{overflow:visible}
@media(max-width:760px){.device.tablet,.device.desktop{height:680px}}

/* Reference controls sit outside the device so the Halo retains its clear central space. */
.interface-appearance{display:grid!important;grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);gap:24px;align-items:center!important}
.interface-settings{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.interface-settings>span{display:block;flex-basis:100%;font-size:10px;color:#68819c}
.halo-reference-panel{min-width:0;background:#f5f8ff;border:1px solid #cad7ee;border-radius:17px;padding:13px 15px 11px}
.halo-reference-label{font-size:10px;color:#34547d;font-weight:600;margin:0 2px 8px}
.halo-reference-label>span:last-child{font-size:10px;color:#637d9d;font-weight:400}
.halo-stage-buttons{background:#e8eef8;border-color:transparent;padding:3px;gap:3px}
.halo-stage-buttons button{min-width:0;min-height:44px;margin:0;padding:7px 4px;border:0;border-radius:10px;background:transparent;color:#37597e;font-size:11px;line-height:1.4;font-weight:500;white-space:normal}
.halo-stage-buttons button[aria-pressed="true"]{background:#164bd6;color:#fff}
.halo-stage-buttons button:focus-visible{outline:2px solid #164bd6;outline-offset:2px}
.halo-stage-caption{min-height:15px;margin:7px 2px 0!important;font-size:10px!important;line-height:1.5!important;color:#577394;text-align:left!important;max-width:none}
.device .active-product-app{min-width:44px;justify-content:center}
@media(max-width:900px){.interface-appearance{grid-template-columns:1fr;gap:14px}.halo-reference-panel{width:100%;max-width:680px}.interface-settings>span{flex-basis:auto}}

.device[data-step] .opening-identity>.halo{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:1;display:block;margin:0!important}

/* Keep the image action below the Halo stages within the settings panel. */
.interface-appearance .halo-reference-panel{display:block!important;min-width:0;overflow:visible}
.interface-appearance .halo-reference-panel>.halo-image-option{display:inline-flex!important;width:auto!important;max-width:100%;margin-top:5px;white-space:normal}
