/* Shared rhythm for customer, administration and remote controls. */
*,*::before,*::after{box-sizing:border-box}
body{line-height:1.5}
button,.button,input:not([type=checkbox]):not([type=radio]):not([type=file]),select{min-height:42px;line-height:1.25;border-radius:10px}
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;font-weight:600;vertical-align:middle}
input:not([type=checkbox]):not([type=radio]),select,textarea{padding:10px 12px}
input[type=checkbox],input[type=radio]{width:18px;height:18px;min-height:0;margin:0;flex-shrink:0}
h2{font-size:20px;line-height:1.3}h3{line-height:1.35}
.panel{padding:20px}.panel h2{margin:0 0 16px}.panel label{line-height:1.5}.panel label input,.panel label select{display:block;margin-top:6px}
.actions,.dialogactions,.segmented,.sectionhead>div{align-items:center;gap:8px}
.actions button,.actions .button{min-height:40px;margin-top:0;padding:9px 12px}
.createbar{align-items:center;gap:10px}.createbar input,.createbar select,.createbar button{height:42px;margin:0!important}
.listrow{align-items:center}.listrow button,.listrow .button{flex-shrink:0;margin-top:0!important}
td,th{vertical-align:middle;line-height:1.5}.metric{display:flex;flex-direction:column;justify-content:center;gap:8px}.metric strong{line-height:1.3}
.syncTools button,.syncTools select{height:42px;margin:0;padding:8px 12px}
.syncCardHead{min-height:28px}.syncCardHead button,.syncCardHead a{min-height:28px;padding:2px 4px;line-height:1.3;margin:0}
.syncCardHead label{display:flex;align-items:center;margin:0}.syncCardHead input{margin:0!important}
.syncKeys button,#keys button{margin:0!important;min-height:46px;line-height:1.2;padding:6px;font-size:12px}
.syncKeyboard h2{font-size:16px}.syncPrimary h2{font-size:16px}.syncCard small{display:block;line-height:1.4}
#keys{align-items:stretch}#textBar{align-items:center}#textBar input,#textBar button{margin:0;min-height:42px}
#quality,#reconnect{margin-top:8px}#nativeForm input,#nativeForm textarea{border-radius:0;padding:2px;min-height:0}
.homehero{max-width:none;padding:48px 0 16px!important}
.homeIntro{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:48px}
.homeCopy h1{font-size:clamp(36px,4.5vw,58px);line-height:1.12;margin:16px 0 20px;letter-spacing:-1.5px}
.homeCopy>.muted{max-width:650px;font-size:16px;line-height:1.75}.homeCopy .actions{margin-top:24px}
.homeIntro .illustration{position:static;width:100%;margin:0}.homeIntro .phone{box-sizing:content-box}
.homefeatures{margin:48px 0 0;gap:16px}.homefeatures .metric{padding:22px;min-height:126px}.homefeatures strong{font-size:19px}
.homeSection{margin-top:56px;width:100%}.homeSection h2{font-size:clamp(24px,3vw,32px);margin:10px 0 22px;letter-spacing:-.5px}.homeSection .sectionhead{margin:0;align-items:center}
.homeSection .sectionhead>div{display:block}
.featureGrid,.priceGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.featureGrid article,.priceCard{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:24px;min-width:0}
.featureIcon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#8751ed15;color:#8751ed;font-size:24px}
.featureGrid h3{font-size:17px;margin:16px 0 10px}.featureGrid p{color:var(--muted);font-size:14px;margin:0;line-height:1.7}
.priceCard{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.priceCard h3{font-size:22px;margin:0}.priceBadge{font-size:12px;border-radius:20px;padding:4px 10px;background:#8751ed15;color:var(--muted)}
.priceTotal{font-size:34px;line-height:1.2;letter-spacing:-1px;margin-top:8px}.priceCard p{margin:0}.priceCard button{width:100%;margin-top:auto;min-height:44px}.priceCard .note{padding-bottom:12px}.priceCard:nth-child(2){border-color:#8751ed}
@media(max-width:800px){.homeIntro{grid-template-columns:1fr;gap:32px}.homeIntro .illustration{max-width:310px;margin:auto}.homehero{padding-top:28px!important}.featureGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.homefeatures{margin-top:32px}}
@media(max-width:600px){
 .panel{padding:16px}.homeSection{margin-top:36px}.homefeatures,.featureGrid,.priceGrid{grid-template-columns:1fr}.homefeatures .metric{min-height:0;padding:18px}.featureGrid article,.priceCard{padding:20px}.homeCopy h1{letter-spacing:-1px}.homeCopy .actions{display:grid;grid-template-columns:1fr 1fr}
 body.is-sync main{padding-top:8px}body.is-sync .pagetitle{font-size:20px;margin:0 0 4px}body.is-sync main>.note,#syncPage>.note{font-size:11px;line-height:1.4;margin:0 0 6px}
 .syncTools{gap:4px;margin:6px 0}.syncTools>span{line-height:1.3}.syncTools button,.syncTools select{height:32px;min-height:32px;padding:4px;font-size:11px!important}
 body.is-sync .syncLayout{display:flex;flex-direction:column;gap:8px;align-items:stretch}body.is-sync .syncPrimary{padding:0;border:0;background:transparent;display:flex;justify-content:center;order:1;box-shadow:none}body.is-sync .syncKeyboard{order:2}body.is-sync .syncList{order:3}
 body.is-sync .syncPrimary>h2{display:none}body.is-sync .syncPrimary .syncCard{width:clamp(330px,45svh,390px);max-width:100%;margin:0 auto;padding:0;border:0;background:transparent;border-radius:0}
 body.is-sync .syncPrimary .syncCard iframe{border:0;border-radius:0}
 body.is-sync .syncPrimary .syncCardHead{width:100%;gap:0}.syncPrimary .syncCardHead button{padding-left:0;text-align:left}.syncPrimary .syncCardHead a{margin-left:auto;padding-right:0}.syncPrimary .syncCardHead label{display:none}
 .syncPrimary .syncCard small{display:none}.syncPrimary .syncCard iframe{margin-top:3px}.syncPrimary .syncCardHead{min-height:22px}.syncPrimary .syncCardHead button,.syncPrimary .syncCardHead a{min-height:22px;font-size:11px}
 body.is-sync .syncKeyboard{padding:0;border:0;background:transparent;box-shadow:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}
 .syncKeyboard h2{font-size:11px;line-height:1.3;margin:0;align-self:center;overflow-wrap:anywhere}.syncNumberToggle{min-height:28px;height:28px;padding:4px 8px;font-size:10px;margin:0;max-width:110px;justify-self:end}.syncKeys{grid-column:1/-1;gap:5px}
 .syncKeys button{height:34px;min-height:34px;font-size:11px;padding:4px}.syncCardHead input{width:16px;height:16px}.syncList .syncCard{padding:4px}.syncList .syncCardHead button,.syncList .syncCardHead a{font-size:11px}
}
@media(max-width:760px){body.is-playing:not(.host-viewer-full)>header,body.is-playing .playlayout>aside{display:none!important}body.is-playing main{padding:0!important}body.is-playing .playlayout{gap:0}body.is-playing .player{width:100%}}
@media(min-width:1051px){body.is-sync .syncLayout{grid-template-columns:minmax(0,1fr) clamp(340px,30vw,500px) 260px}.syncPrimary .syncCard{padding:4px}.syncPrimary,.syncKeyboard{align-self:start}body.is-sync .syncKeyboard{min-height:calc((clamp(340px,30vw,500px) - 50px)*4/3 + 137px);display:flex;flex-direction:column}body.is-sync .syncKeyboard>.note{margin-top:auto;padding-top:16px}}
/* Text presentation selectors keep symbols monochrome on iOS and Windows. */
.themeToggle::before,button[data-mobile-icon]::before,button[data-viewer-icon]::before{font-family:Arial,"Segoe UI Symbol",sans-serif!important;line-height:1!important;display:block}
header button[data-mobile-icon]:not([hidden]),header button[data-viewer-icon]:not([hidden]),.mobileMenu summary,.viewerMenu summary{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0!important;text-align:center}
.mobileMenu summary,.viewerMenu summary{font-family:Arial,"Segoe UI Symbol",sans-serif}
.syncCard.syncMain .syncCardHead label{display:none!important}
.syncCard .syncCardHead{flex-wrap:nowrap;gap:6px;align-items:center}.syncCard .syncCardHead>a{white-space:nowrap;flex-shrink:0}.syncCard .syncCardHead .syncConnection{display:inline-block!important;width:8px;height:8px;min-width:8px;flex:0 0 8px;border-radius:50%;background:#e4ad28;font-size:0;line-height:0;margin:0}.syncCard .syncConnection[data-connected="true"]{background:#21bd79;animation:sync-connected-pulse 1.5s ease-in-out infinite}
@keyframes sync-connected-pulse{0%,100%{opacity:1}50%{opacity:.4}}
@media(prefers-reduced-motion:reduce){.syncCard .syncConnection[data-connected="true"]{animation:none}}
#syncPage .syncIntro .pagetitle{margin:0 0 6px}
#syncPage .syncIntro>.note{margin:0;line-height:1.5}
#syncPage .syncIntro{margin-bottom:8px}
@media(min-width:1051px){
 #syncPage{display:grid;grid-template-columns:minmax(260px,1fr) auto;column-gap:16px;row-gap:10px;align-items:center}
 #syncPage .syncIntro{grid-column:1;grid-row:1;margin:0}
 #syncPage #syncWorkspace{display:contents}
 #syncPage .syncTools{grid-column:2;grid-row:1;margin:0;gap:6px;max-width:100%;justify-content:flex-end}
 #syncPage .syncTools button{font-size:12px;padding:8px 10px}
 #syncPage .syncTools select{min-width:90px;font-size:13px}
 #syncPage .syncLayout,#syncPage #syncWorkspace>input{grid-column:1/-1}
 body.is-sync main{padding-top:12px}
}

.syncBack{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit;font-size:22px}
.syncGroupReturn{margin:0!important;min-height:28px;font-size:14px;align-self:end}
.customerIdentity{position:relative}.customerIdentity summary{list-style:none;cursor:pointer;padding:10px 14px;min-height:42px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.customerIdentity summary::-webkit-details-marker{display:none}.customerIdentity summary::after{content:'▾';font-size:11px}.customerInfo{position:absolute;right:0;top:calc(100% + 8px);min-width:230px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 25px #0002;z-index:50}.customerInfo p{margin:0 0 8px;font-size:13px;overflow-wrap:anywhere}.customerInfo p:last-child{margin-bottom:0}.customerInfo span{display:inline!important}
header>.themeToggle{min-height:42px;padding:10px 14px!important;line-height:1.25}
@media(max-width:600px){.syncTools{display:grid;grid-template-columns:36px minmax(0,1.7fr) minmax(65px,1fr) minmax(42px,.6fr);align-items:center;gap:5px}.syncTools>span{display:none}.syncTools .syncSelectAll{font-size:11px!important;white-space:nowrap;padding:4px}.syncTools button,.syncTools select,.syncBack{height:36px;min-height:36px}.syncTools .syncPaste{font-size:12px!important}.customerIdentity .customerInfo{position:static;margin-top:8px;min-width:0;box-shadow:none}.customerIdentity summary{padding:10px 14px}header>.themeToggle[data-mobile-icon]{padding:0!important}}
