:root{--navy:#001a5a;--deep:#041b49;--blue:#004ea1;--cyan:#009eed;--muted:#56769d;--line:#d7e1ee;--pale:#f3f7fb;--amber:#8b4a06;--green:#13876b;font-family:Arial,Helvetica,sans-serif;color:var(--navy);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,summary,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}a{color:var(--blue);text-underline-offset:5px}h1,h2,p{margin:0}.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}.skip{position:absolute;top:-80px;left:20px;background:#fff;padding:12px;z-index:5}.skip:focus{top:10px}.site-header{border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:28px;min-height:86px}.logo{width:166px;display:block;line-height:0}.logo img{width:100%;height:auto}.header-label{font-size:14px;color:var(--muted);padding-left:27px;border-left:1px solid var(--line)}.zte-link{margin-left:auto;font-size:14px;white-space:nowrap}.zte-link span{margin-left:7px}.demo-notice{display:flex;align-items:center;gap:10px;padding:11px 15px;background:#fff8e9;border:1px solid #f0dfb9;border-radius:4px;color:var(--amber);font-size:13px;line-height:1.45;margin-top:23px}.demo-dot{width:6px;height:6px;background:#c58b26;border-radius:50%;flex:none}.intro{margin:29px 0 25px}.intro h1{font-size:36px;line-height:1.15;letter-spacing:-1.1px;font-weight:700}.intro p{color:var(--muted);font-size:16px;line-height:1.5;margin-top:10px}.intro p span{margin:0 12px;color:#b2bfd2}.loader{display:flex;align-items:center;gap:25px;background:var(--deep);color:white;padding:20px 23px;border-radius:6px;min-height:94px}.loader-title{display:flex;flex-direction:column;gap:7px;min-width:111px}.loader-title h2{font-size:19px}.loader-title>span{font-size:12px;color:#b9cde7}.loader-detail{border-left:1px solid #36537b;padding-left:24px;display:flex;align-items:center;gap:9px;flex:1;font-size:13px;line-height:1.5}.loader-detail small{display:block;color:#9cb8dd;font-size:11px}.live-dot{width:6px;height:6px;background:#38d6aa;border-radius:50%;flex:none}.loader-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.loader button{background:transparent;border:1px solid #8199ba;color:white;border-radius:4px;padding:10px 13px;font-size:13px;min-height:40px}.loader button:hover:not(:disabled){background:#163e72}.components{margin-top:29px}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:17px}.section-heading h2{font-size:23px;letter-spacing:-.3px}.section-heading>span{color:var(--muted);font-size:12px}.table-head,.component{display:grid;grid-template-columns:minmax(230px,1.45fr) minmax(140px,.8fr) minmax(155px,.85fr) minmax(250px,1.15fr);gap:20px;align-items:center}.table-head{padding:11px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--pale);font-size:11px;font-weight:600;letter-spacing:.03em;color:var(--muted)}.component{min-height:84px;padding:16px 18px;border-bottom:1px solid var(--line);transition:background .16s}.component[aria-busy=true]{background:#f1f9ff}.component-name{font-size:17px;font-weight:700}.component-desc{font-size:12px;color:var(--muted);line-height:1.45;margin-top:5px}.file-state{font-size:13px;line-height:1.5}.file-state small{display:block;font-size:11px;color:var(--muted)}.state{font-size:12px;font-weight:700;letter-spacing:.035em;color:#627087;display:flex;align-items:center;gap:8px;min-height:24px;line-height:1.4}.state.on{color:var(--green)}.state.unknown{color:var(--amber);font-weight:400;letter-spacing:0}.state.pending{color:var(--blue);font-weight:400;letter-spacing:0}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.controls{display:flex;align-items:center;gap:11px;justify-content:flex-end}.switch{display:flex;border:1px solid #cbd8e7;border-radius:5px;overflow:hidden;width:146px}.switch button{width:50%;min-height:36px;background:#fff;border:0;color:var(--muted);font-size:11px;font-weight:700}.switch button+button{border-left:1px solid #cbd8e7}.switch button[aria-pressed=true]{background:#566d8b;color:white;opacity:1}.switch button.on[aria-pressed=true]{background:var(--blue)}.switch button:hover:not(:disabled){background:#e5f3ff;color:var(--blue)}.row-button{border:1px solid #b6cbe3;background:#fff;color:var(--blue);border-radius:4px;min-width:110px;min-height:36px;padding:8px 12px;font-size:12px}.row-button:hover:not(:disabled){border-color:var(--blue);background:#f1f8ff}.row-button.remove{min-width:73px;border-color:transparent;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.row-button.remove:hover:not(:disabled){color:#ae2d3c}.control-wrap{display:inline-flex}.hourglass{display:inline-block;width:13px;height:18px;animation:turn 1.3s ease-in-out infinite;flex:none}.hourglass svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.5}.notice-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0 20px}.protection-notice{color:var(--amber);font-size:12px;line-height:1.5;display:flex;align-items:center;gap:9px}.protection-notice span{font-size:23px;line-height:1}.protection-notice.enabled{color:var(--green)}.text-button{color:var(--blue);border:0;background:transparent;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:7px 0;white-space:nowrap}.terminal{background:var(--deep);color:#cfe0f8;border-radius:6px;overflow:hidden}.terminal-heading{display:flex;align-items:center;gap:18px;padding:15px 21px;border-bottom:1px solid #294873}.terminal-heading h2{font-size:17px;color:white}.terminal-heading>span{font-size:11px;color:#91aed4}.terminal-heading>button{margin-left:auto;color:#b9d4f4;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:4px}.terminal pre{height:115px;overflow:auto;margin:0;padding:17px 21px 7px;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-color:#40628a #041b49}.terminal-form{display:flex;gap:10px;padding:12px 16px 16px;align-items:center}.prompt{position:absolute;margin-left:13px;color:#54b8ee;font-family:monospace;font-size:16px}.terminal-form input{min-width:0;flex:1;color:white;background:#061631;border:1px solid #527199;border-radius:4px;min-height:42px;padding:11px 13px 11px 32px;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.terminal-form input::placeholder{color:#94b0d4}.terminal-form button,.primary{border:1px solid #008fe0;background:#007fca;border-radius:4px;color:white;min-height:42px;padding:10px 18px;font-size:12px;font-weight:600}.terminal-form button span{margin-left:10px}.panel-footer{padding:17px 0 35px;color:var(--muted);font-size:11px;line-height:1.6;display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.demo-tools{max-width:340px;text-align:right}.demo-tools summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.demo-tools label{display:block;margin-top:10px}.demo-tools select{margin:6px 12px 6px 0;font-size:12px;padding:6px;color:var(--navy);border:1px solid var(--line);border-radius:4px;background:white}.demo-tools p{margin-top:6px}.loading{padding:30px 16px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:8px;color:var(--navy);padding:28px;width:min(430px,calc(100% - 32px));box-shadow:0 18px 80px #041b4933}dialog::backdrop{background:#041b4966}dialog h2{font-size:22px}dialog p{margin:15px 0 25px;color:var(--muted);font-size:14px;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.dialog-actions button{min-height:42px;padding:10px 18px;border:1px solid #b6cbe3;border-radius:4px;background:white;color:var(--blue);font-size:13px}.dialog-actions button.primary{background:var(--blue);color:white}
@keyframes turn{0%,30%{transform:rotate(0)}70%,100%{transform:rotate(180deg)}}
@media(max-width:1100px){.loader{flex-wrap:wrap}.loader-actions{margin-left:auto}.table-head,.component{grid-template-columns:minmax(170px,1.2fr) minmax(115px,.8fr) minmax(120px,.8fr) minmax(200px,1.15fr);gap:14px}.controls{gap:4px}.row-button{min-width:100px;padding:8px}.intro h1{font-size:32px}.loader-detail{flex:1}.wrap{width:calc(100% - 48px)}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.header-inner{min-height:73px;gap:12px}.logo{width:133px}.header-label{display:none}.zte-link{font-size:12px}.demo-notice{margin-top:18px;font-size:11px;padding:9px 11px}.intro{margin:25px 0 21px}.intro h1{font-size:29px;line-height:1.15;letter-spacing:-.7px;max-width:350px}.intro p{font-size:13px}.intro p span{margin:0 5px}.loader{padding:17px;gap:17px}.loader-title h2{font-size:17px}.loader-detail{font-size:12px;padding-left:17px}.loader-actions{justify-content:flex-start;margin:0;width:100%;gap:7px}.loader button{flex:1;padding:9px 5px;font-size:11px}.section-heading{margin:25px 0 13px}.section-heading h2{font-size:21px}.section-heading>span{font-size:10px}.table-head{display:none}.component{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;padding:19px 2px;min-height:118px}.component:first-child{border-top:1px solid var(--line)}.component-name{font-size:16px}.component-desc{font-size:11px}.file-state{grid-column:1;font-size:12px;grid-row:2}.file-state small{font-size:10px}.state{grid-column:2;grid-row:1;justify-content:flex-end;font-size:11px}.controls{grid-column:2;grid-row:2;gap:4px;flex-wrap:wrap}.switch{width:136px}.row-button{min-width:91px;font-size:11px;padding:7px}.row-button.remove{min-width:56px}.notice-row{align-items:flex-start;flex-direction:column;gap:7px}.protection-notice{font-size:11px}.terminal-heading{padding:14px;gap:9px}.terminal-heading h2{font-size:16px}.terminal-heading>span{font-size:9px}.terminal-heading>button{font-size:10px}.terminal pre{font-size:11px;height:148px;padding:15px 14px}.terminal-form{padding:10px 12px 13px;gap:7px}.terminal-form input{font-size:11px}.terminal-form button{padding:10px 12px;font-size:11px}.terminal-form button span{display:none}.panel-footer{display:block;font-size:10px}.demo-tools{margin-top:14px;text-align:left;max-width:none}.terminal-form input{max-width:100%}}
@media(max-width:360px){.controls{gap:3px}.row-button{min-width:79px}.row-button.remove{min-width:49px;padding:5px}.intro h1{font-size:27px}.section-heading>span{max-width:105px;text-align:right}.loader-detail{padding-left:12px}.loader-title{min-width:100px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.logo{position:relative;margin-right:77px;flex-shrink:0}.cloud-suffix{position:absolute;left:calc(100% + 3px);top:15%;display:flex;align-items:baseline;line-height:1;font-size:14.667px;font-weight:600;letter-spacing:.025em;white-space:nowrap;color:#004ea1;transform:translateY(calc(-.72em + 10px))}.cloud-dot{font-size:28px;line-height:0;letter-spacing:0}
.intro h1{font-size:32px;font-weight:600;letter-spacing:-.8px}.loader{background:#fff;color:var(--navy);border-radius:0;border-top:1px solid #bcd5ed;border-bottom:1px solid #bcd5ed;padding-inline:0;min-height:86px}.loader-title>span,.loader-detail small{color:var(--muted)}.loader-detail{border-color:var(--line)}.loader button{border-color:#b8cde4;color:var(--blue);background:#fff}.loader button:hover:not(:disabled){background:#f0f8ff}.loader-title h2{font-weight:600}.table-head{background:#fff}.section-heading h2{font-weight:600}.component-name{font-weight:600}.switch .control-wrap{display:contents}.switch button[aria-pressed=true]{background:#e8eef5;color:#455b78}.switch button.on[aria-pressed=true]{background:#e3f5ff;color:var(--blue)}.demo-notice{background:#fff;border:0;border-left:2px solid #dbb568;border-radius:0;padding-block:5px;padding-left:12px;font-size:12px}.terminal{border-radius:4px}
/* Saved smaller variant: desktop CLOUD 11.7336px / dot 22.4px; mobile 9.6px / 18.4px. */
@media(max-width:760px){.logo{margin-right:64px}.cloud-suffix{font-size:12px}.cloud-dot{font-size:23px}.header-inner{gap:8px}.intro h1{font-size:28px}.loader{padding-block:18px}.demo-notice{font-size:11px}.table-head{display:none}.loader-actions button{font-size:11px}.section-heading h2{font-size:21px}}
@media(max-width:420px){.header-inner{flex-wrap:wrap;padding-block:20px 13px;gap:9px}.zte-link{margin-left:auto}.logo{margin-right:64px}.terminal-heading{flex-wrap:wrap}.terminal-heading>span{white-space:normal}}
.state-control{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.state-control .state{font-size:11px;min-height:0}.file-state{min-width:0;overflow-wrap:anywhere}.notice-row{justify-content:flex-end}.loader-actions{min-width:207px}.loader .switch button{border:0;border-radius:0;padding:8px;min-height:36px;font-size:11px}.loader .switch button.on[aria-pressed=true]{background:#e3f5ff;color:var(--blue)}.loader-actions .row-button.remove{border-color:transparent}.loader-actions .row-button{min-height:36px}.loader-actions .control-wrap{display:inline-flex}
@media(max-width:760px){.component>.state-control{grid-column:2;grid-row:1;align-items:flex-end}.loader-actions{width:auto;min-width:0;margin-left:auto}.loader-actions button{flex:none}.loader{gap:14px}.loader .switch{width:110px}.loader-actions .row-button{min-width:82px}.loader-actions .row-button.remove{min-width:54px}.notice-row{align-items:flex-end}}
@media(min-width:761px){.loader{display:grid;grid-template-columns:minmax(230px,1.45fr) minmax(140px,.8fr) minmax(155px,.85fr) minmax(250px,1.15fr);gap:20px;padding-inline:18px}.loader-detail{padding:0;border:0}.loader-actions{min-width:0;flex-wrap:nowrap}}
@media(min-width:761px) and (max-width:1100px){.loader{grid-template-columns:minmax(170px,1.2fr) minmax(115px,.8fr) minmax(120px,.8fr) minmax(200px,1.15fr);gap:14px}}
[hidden]{display:none!important}.console-tabs{display:flex;gap:18px;align-items:center}.console-tabs button{border:0;background:transparent;color:#91aed4;font-size:17px;font-weight:600;min-height:32px;padding:4px 0;border-bottom:2px solid transparent}.console-tabs button[aria-selected=true]{color:#fff;border-bottom-color:#35b8ff}.console-tabs button:focus-visible{outline-offset:2px}.console-tabs span{font-size:11px;font-weight:400;margin-left:4px;color:#91aed4}.event-columns,.event-entry{display:grid;grid-template-columns:142px 155px 1fr;gap:18px}.event-columns{padding:13px 21px 9px;color:#91aed4;font-size:11px}.event-entry{font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;padding:11px 0;border-bottom:1px solid #294873;overflow-wrap:anywhere}.event-entry time{color:#91aed4}.event-source{color:#66bff3}.event-entry[data-type=confirmed]>span:last-child{color:#8ce1c4}.event-entry[data-type=timeout]>span:last-child,.event-entry[data-type=rejected]>span:last-child{color:#ffd38a}#event-output{height:183px;overflow:auto;padding:0 21px;scrollbar-color:#40628a #041b49}.journal-note{font-size:10px;line-height:1.5;color:#91aed4;padding:12px 21px 17px}.event-empty{font-size:12px;color:#91aed4;padding-top:18px}
@media(max-width:760px){.terminal-heading{flex-wrap:wrap;gap:8px 15px}.console-tabs{gap:17px}.console-tabs button{font-size:15px}.terminal-heading>#console-channel{order:3;flex-basis:100%;font-size:10px}.event-columns{display:none}.event-entry{grid-template-columns:1fr 1fr;gap:4px 12px;font-size:11px}.event-entry>span:last-child{grid-column:1/-1}.event-source{text-align:right}#event-output{height:250px;padding:0 14px}.journal-note{padding:12px 14px}.console-tabs span{font-size:10px}}
.log-toolbar{display:flex;align-items:center;gap:12px;padding:12px 21px;border-bottom:1px solid #294873;font-size:12px;color:#91aed4}.log-toolbar select{background:#0a294f;color:#d6e8ff;border:1px solid #527199;border-radius:4px;padding:7px;min-height:34px;color-scheme:dark}.log-toolbar button{background:none;border:0;color:#c3d9f4;font-size:12px;min-height:34px;text-decoration:underline;text-underline-offset:4px}.log-toolbar #clear-logs{margin-left:auto;color:#e9b6ad}.terminal pre{height:320px;padding:17px 21px;margin:0}.event-columns{height:36px}#event-output{height:284px}.journal-note{height:56px;padding:12px 21px;overflow:auto}.terminal pre:focus-visible,#event-output:focus-visible{outline:2px solid var(--cyan);outline-offset:-3px}
@media(max-width:760px){.log-toolbar{padding:10px 14px;gap:7px;flex-wrap:wrap;font-size:11px}.log-toolbar button{font-size:11px}.log-toolbar #clear-logs{margin-left:0}.terminal pre,#event-output{height:280px;padding-inline:14px}.journal-note{height:76px;padding:12px 14px}.console-tabs button{font-size:14px}.console-tabs{gap:14px}}
.state-control{height:62px;min-height:62px;width:146px;justify-content:flex-start}.state-control .state{min-height:19px;height:19px;max-width:146px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:19px}.state-control .switch{flex-shrink:0}.component{height:112px;min-height:112px}.component-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.component-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loader{min-height:112px}.capability-notes{font-size:12px;line-height:1.6;color:var(--muted);margin-top:17px;max-width:880px}.capability-notes summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.capability-notes p{margin-top:9px}.refresh-note{font-size:11px;color:var(--muted);margin-right:auto}.notice-row{align-items:center}
@media(max-width:760px){.state-control{width:136px}.state-control .state{max-width:136px}.component{height:164px;min-height:164px;grid-template-rows:62px 50px;padding:20px 2px;gap:12px 16px}.loader{height:180px;min-height:180px}.notice-row{align-items:flex-end}.refresh-note{font-size:10px;align-self:flex-start}.capability-notes{font-size:11px}}
@media(max-width:360px){.component{height:190px;min-height:190px;grid-template-rows:62px 76px}.component>.state-control{width:128px}.component .switch{width:128px}.loader{height:204px;min-height:204px}}
.component-pager{display:none}
.intro-title{display:flex;align-items:center;justify-content:space-between;gap:25px}.profile-trigger{display:flex;gap:11px;align-items:center;border:1px solid #b6cbe3;border-radius:5px;padding:10px 15px;min-height:52px;background:white;color:var(--blue);font-size:14px;text-align:left;flex:none}.profile-trigger:hover{background:#f0f8ff}.profile-trigger svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.profile-trigger small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.intro-context{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:13px}.intro-context p{font-size:13px;margin:0}.modem-link{display:flex;align-items:center;gap:14px;text-decoration:none;flex:none}.modem-link img{width:138px;height:52px}.modem-link span{font-size:12px;line-height:1.5}.modem-link small{display:block;font-size:10px;color:var(--muted)}.modem-link:hover small{color:var(--blue);text-decoration:underline}
#profile-dialog{width:min(700px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:27px;overflow:auto}#profile-dialog p{font-size:12px;line-height:1.6;margin:0}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-eyebrow{font-size:10px;letter-spacing:.08em;color:var(--muted)}#profile-title{font-size:23px;margin-top:5px;font-weight:600}#profile-close{background:none;border:0;color:var(--muted);font-size:26px;padding:6px;min-width:36px}#profile-privacy{margin-top:15px!important;color:var(--muted)}.profile-file-row{display:flex;gap:15px;align-items:center;margin:22px 0 15px}.profile-file-row .row-button{flex:none}#profile-file-name{font-size:12px;color:var(--muted);overflow-wrap:anywhere;min-width:0}.profile-summary{font-size:12px;line-height:1.6;background:#f1f7fc;padding:13px;color:var(--muted);overflow-wrap:anywhere}.profile-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;font-size:12px}.profile-editor-heading .text-button{white-space:normal;text-align:right}#profile-text{display:block;width:100%;height:235px;min-height:140px;resize:vertical;border:1px solid #b6cbe3;border-radius:4px;background:#fff;color:var(--navy);padding:13px;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;overflow:auto}#profile-text:read-only{background:#f7f9fc;color:#536985}#profile-text:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}#profile-dialog .profile-secret-note{font-size:10px;margin-top:8px}#profile-feedback{min-height:22px;margin-top:12px!important;color:var(--blue)}.profile-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.profile-footer button{font-size:12px}.profile-footer .row-button{min-width:90px}
@media(max-width:760px){.intro-title{align-items:flex-start;gap:13px}.intro-title h1{font-size:25px;max-width:250px}.profile-trigger{padding:8px 10px;gap:7px;min-height:48px;font-size:12px}.profile-trigger svg{width:16px;height:18px}.profile-trigger small{font-size:8px}.intro-context{flex-direction:column;align-items:flex-start;gap:14px;margin-top:14px}.intro-context p{font-size:12px;max-width:310px}.modem-link{gap:15px}.modem-link img{width:120px;height:45px}.modem-link span{font-size:12px}.modem-link small{font-size:10px}.intro{margin-bottom:20px}#profile-dialog{padding:19px}#profile-title{font-size:20px}.profile-file-row{align-items:flex-start;flex-direction:column;gap:9px}#profile-text{height:220px}.profile-footer{gap:8px}.profile-footer button{padding:9px 11px;font-size:11px}}
.profile-import-options{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}.profile-import-options .row-button{font-size:12px;min-height:40px;padding:8px 12px}.profile-import-hint{color:var(--muted)}#profile-camera-view{margin:16px 0;padding:12px;background:#f1f7fc;border-radius:6px;text-align:center}#profile-camera-view[hidden]{display:none}#profile-camera-video{display:block;width:100%;max-height:260px;object-fit:contain;background:#091e38;border-radius:4px;margin-bottom:12px}#profile-dialog:has(.profile-import-options) .profile-file-row{margin:12px 0}#profile-dialog:has(.profile-import-options) #profile-text{height:180px}@media(max-width:480px){.profile-import-options{display:grid;grid-template-columns:1fr 1fr}.profile-import-options button:last-child{grid-column:1/-1}.profile-import-options .row-button{min-width:0;white-space:normal;font-size:11px;padding:9px 7px}#profile-dialog:has(.profile-import-options) #profile-text{height:140px}#profile-camera-video{max-height:200px}}
@media(max-width:360px){.intro-title h1{font-size:22px}.profile-trigger{padding:8px}.profile-trigger svg{display:none}.profile-trigger small{font-size:8px}}
.header-label{transform:translateY(3px)}
@media(max-width:760px){
  #component-list{position:relative;display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:3px 0 5px;-webkit-overflow-scrolling:touch}
  #component-list::-webkit-scrollbar{display:none}
  #component-list:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:6px}
  #component-list::after{content:'';flex:0 0 10px}
  #component-list .component{flex:0 0 calc(100% - 22px);height:246px;min-height:246px;display:grid;grid-template-columns:minmax(0,1fr) 136px;grid-template-rows:64px 62px 44px;gap:15px 12px;padding:20px 18px;border:1px solid var(--line);border-radius:8px;background:#fff;scroll-snap-align:start;scroll-snap-stop:always}
  #component-list .component[aria-busy=true]{background:#f1f9ff}
  #component-list .component>div:first-child{grid-column:1/-1;grid-row:1;align-self:start}
  #component-list .component-name{font-size:20px;white-space:normal;line-height:1.2}
  #component-list .component-desc{font-size:12px;margin-top:6px}
  #component-list .file-state{grid-column:1;grid-row:2}
  #component-list .state-control{grid-column:2;grid-row:2}
  #component-list .controls{grid-column:1/-1;grid-row:3;gap:12px;align-self:end;flex-wrap:nowrap}
  #component-list .row-button{min-height:40px;min-width:104px;font-size:12px}
  #component-list .row-button.remove{min-width:65px}
  .component-pager{display:block;padding-top:6px}
  .pager-navigation{display:flex;justify-content:space-between;align-items:center;gap:6px}
  .pager-arrow{width:36px;height:44px;border:0;background:none;color:var(--blue);font-size:23px;padding:0}
  .pager-arrow:disabled{opacity:.25}
  .pager-dots{display:flex;align-items:center;justify-content:center}
  .pager-dots button{display:flex;align-items:center;justify-content:center;width:28px;height:44px;border:0;background:none;padding:0}
  .pager-dots button::before{content:'';width:6px;height:6px;border-radius:9px;background:#bdcfe0;transition:width .24s ease,background-color .24s ease}
  .pager-dots button[aria-current=true]::before{width:20px;background:var(--blue)}
  .pager-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:28px;color:var(--muted);font-size:10px}
  #component-page{color:var(--navy);font-weight:600}
  #component-swipe-hint{white-space:nowrap}
}
@media(max-width:360px){#component-list .component{grid-template-columns:minmax(0,1fr) 128px;padding-inline:14px}.pager-caption{font-size:9px;gap:5px}#component-list .component-desc{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pager-dots button::before{transition:none}}
/* Status captions never shift the actual controls off their shared centerline. */
@media(min-width:761px){.component>.state-control{position:relative;height:38px;min-height:38px;gap:0;justify-content:center}.component>.state-control>.state{position:absolute;top:calc(100% + 5px);left:0}.component>.controls{align-self:center}}
/* Loader is a coherent block, not a narrow transport column on phones. */
.loader-detail{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:0;padding:0;min-width:0}.loader-channel-label{font-size:10px;color:var(--muted)}#clock-state{font-size:12px;line-height:1.45}.loader-title{min-width:0}
@media(min-width:761px){.loader{grid-template-columns:minmax(140px,1fr) minmax(170px,1.35fr) 146px auto;gap:24px}.loader-actions{justify-content:flex-end}.loader-actions .row-button{min-width:110px}.loader-actions .row-button.remove{min-width:73px}}
@media(min-width:761px) and (max-width:1000px){.loader{grid-template-columns:minmax(110px,1fr) minmax(130px,1.2fr) 146px auto;gap:14px}}
@media(max-width:760px){
  .loader{display:grid;grid-template-columns:minmax(0,1fr) 136px;grid-template-rows:62px 30px 40px;gap:8px 14px;height:186px;min-height:186px;padding:18px 0}
  .loader-title{grid-column:1;grid-row:1;align-self:start;padding-top:5px}.loader-title h2{font-size:19px}#loader-switch{grid-column:2;grid-row:1;justify-self:end}.loader .switch{width:136px}.loader-detail{grid-column:1/-1;grid-row:2;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}#clock-state{font-size:11px}.loader-channel-label{font-size:10px}.loader-actions{grid-column:1/-1;grid-row:3;margin:0;justify-content:flex-end;gap:12px}.loader-actions .row-button{min-height:40px;min-width:104px;font-size:12px}.loader-actions .row-button.remove{min-width:65px}
  #component-list .component{flex-basis:100%}#component-list::after{display:none}
}
.help-search{display:flex;align-items:center;gap:12px;padding:12px 21px;border-bottom:1px solid #294873;font-size:12px}.help-search label{color:#91aed4}.help-search input{min-width:0;flex:1;background:#0a294f;border:1px solid #527199;border-radius:4px;padding:9px 11px;color:white;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.help-search input::placeholder{color:#a6bfdc}.help-search button{min-height:36px;color:#d6e8ff;background:none;border:0;font-size:12px;padding:4px}
#help-output{height:320px;overflow:auto;padding:8px 21px 18px;scrollbar-color:#40628a #041b49;overflow-wrap:anywhere}.help-intro,.help-empty{font-size:12px;line-height:1.65;color:#abc4e3;padding:10px 0}.help-entry{padding:17px 0;border-bottom:1px solid #294873;font-size:12px;line-height:1.7}.help-entry code{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#87d8ff;white-space:pre-wrap}.help-entry p{margin-top:6px}.help-entry .help-meta{font-size:10px;color:#91aed4;margin:0 0 5px}.callback-help code{color:#ffd38a}.callback-help p:first-of-type{color:#ffd38a;font-size:11px}.help-entry:last-child{border:0}
@media(max-width:760px){
  .terminal{display:flex;flex-direction:column;height:calc(100vh - 24px);height:calc(100dvh - 24px);min-height:360px;scroll-margin-block:12px}
  .terminal-heading,.log-toolbar{flex:none}.terminal-heading{padding:10px 14px}.terminal-heading>#console-channel{font-size:9px}.console-tabs{gap:12px}.console-tabs button{font-size:13px}.console-tabs span{font-size:9px;margin-left:2px}
  .terminal>[role=tabpanel]{display:flex;flex-direction:column;flex:1;min-height:0}.terminal pre,#event-output,#help-output{flex:1;min-height:0;height:auto;overscroll-behavior-y:contain}.journal-note{height:auto;min-height:48px;flex:none;padding:10px 14px;font-size:10px}.help-search{flex:none;padding:10px 14px;gap:8px}.help-search label{display:none}.help-search input{font-size:11px;padding:9px}.help-search button{font-size:11px}#help-output{padding-inline:14px}.help-intro,.help-entry{font-size:11px}.help-entry code{font-size:11px}
}
