:root{--bg:#f6f7f9;--panel:#fff;--panel-2:#f6f7f9;--line:#e5e8ee;--ink:#202734;--muted:#606c7d;--faint:#768294;--stabilo:#f5df62;--stabilo-2:#e8cd42;--line-yellow:#d6bf4d;--on-yellow:#302a12;--green:#20825a;--red:#bc4141;--amber:#a76813;--shadow:0 2px 5px rgba(28,39,58,.025)}
.side .nav>a.active{box-shadow:inset 3px 0 0 #fff0a3;font-weight:700}
.nav>a.nav-attention-link{gap:7px}
.nav>a:focus-visible{outline:2px solid var(--stabilo);outline-offset:3px}
.nav-count-wrapper{display:inline-flex;align-items:center;margin-left:auto;flex-shrink:0}
.nav-issue-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:6px;background:#73413d;color:#fff0ec;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.nav>a.active .nav-issue-count{background:#483d1d;color:#fff7d4}
.nav-issue-count.is-unknown{background:#354354;color:#c7d2df}
body{font-size:16px;line-height:1.65;letter-spacing:0}button,input,select,textarea{font:inherit}button,a,input,select,summary,textarea{-webkit-tap-highlight-color:transparent}button{line-height:1.3}a{color:inherit}button:disabled{opacity:.46;cursor:not-allowed}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;z-index:200;background:var(--stabilo);padding:12px;border-radius:8px}.skip-link:focus{top:15px}
.side{width:238px;background:#17212c;color:#c1c9d2;border:0;padding:26px 15px 16px;z-index:20}.brand{padding:0 12px 26px}.brand a{color:#fff;gap:10px}.brand .logo{width:36px;height:36px;border-radius:10px;font-size:22px;letter-spacing:-2px;padding-right:3px}.brand .name{font-size:18px;letter-spacing:-.4px}.brand-sub{font-size:12px;letter-spacing:1.7px;color:#929fae;margin-top:2px}.nav{padding:0;gap:3px}.nav-label{color:#8c9bac;font-size:13px;letter-spacing:1.4px;padding:23px 12px 8px;display:flex;justify-content:space-between;align-items:center}.nav-label:first-child{padding-top:0}.nav a{min-height:44px;padding:9px 12px;border-radius:8px;color:#bac5d1;font-size:15px;gap:10px;font-weight:500}.nav a:hover{color:#fff;background:#253140}.nav a.active{background:var(--stabilo);color:var(--on-yellow);font-weight:650}.nav .icon{width:16px;height:16px}.side .grow{scrollbar-width:thin;scrollbar-color:#45505f transparent}.devrow.active{background:#2c3947}.devrow .devlink{min-height:44px;padding:8px 12px;color:#b9c5d1;font-size:15px}.devrow.active .devlink{color:#fff}.devrow .devlink .n,.devrow.active .devlink .n{color:#94a6b8;font-size:14px}.devrow:hover{background:#253140}.device-search{display:block;padding:0 7px;margin:0 0 6px}.device-search input{background:#202d3b;border:1px solid #334151;border-radius:7px;color:#e4eaf1;font-size:14px;padding:8px 10px;min-height:44px}.device-search input::placeholder{color:#91a0b0}.devices-label .icon-button{color:#bfcbd6;border-color:#3b4857;min-width:24px;width:24px;height:24px;min-height:24px;padding:0;background:none}.nav-empty{color:#94a3b4;font-size:14px}.side .foot{padding:8px 5px 0;border-color:#344151;margin-top:22px}.side .foot .nav-label{padding:12px 7px 4px}.navbtn{color:#b9c5d1;font-size:14px;padding:8px}.navbtn:hover{background:#263341;color:#fff}.workspace-note{color:#8c9bad;font-size:14px;line-height:1.7;padding:12px 8px 0}
.main{max-width:1440px;padding:38px 38px 64px;width:calc(100% - 238px)}.page-header,.topbar2{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}.eyebrow{font-size:14px;font-weight:650;letter-spacing:1.6px;color:var(--muted);margin-bottom:9px;display:flex;gap:12px;align-items:center}.eyebrow a{text-decoration:none}.eyebrow span{color:#aab2bd}.page-header h1,.topbar2 h1{font-size:32px;line-height:1.2;letter-spacing:-1.1px;font-weight:680;margin:0}.page-description,.topbar2 .muted{font-size:15px;color:var(--muted);margin:10px 0 0;max-width:680px}.page-header>.btn{flex-shrink:0}.host-pill{display:inline-flex;align-items:center;gap:6px;background:#e9edf2;padding:3px 8px;border-radius:5px;margin-right:5px;color:#546171;font-size:14px}.host-pill .icon{width:13px;height:13px}.main>h1{font-size:32px}.card{border:1px solid var(--line);border-radius:13px;padding:22px;background:#fff;box-shadow:var(--shadow);margin-bottom:20px}.card h2{font-size:16px;line-height:1.4;letter-spacing:-.25px;text-transform:none;color:var(--ink);font-weight:650;margin:0 0 14px;display:flex;gap:8px}.card h2 .count{font-size:14px;background:#f0f2f5;color:#657285;font-weight:550;letter-spacing:0;padding:3px 8px;border-radius:6px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.section-heading h2{margin:0}.section-description{color:var(--muted);font-size:14px;margin:5px 0 0}.text-link{color:#526276;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}.text-link:hover{text-decoration:underline}.text-button{background:none;border:0;color:#53677c;font-size:14px;padding:3px 0;cursor:pointer}.text-button:hover{text-decoration:underline}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:44px;font-size:21px;background:none;border:1px solid transparent;color:#647287;border-radius:7px;cursor:pointer}.icon-button:hover{background:#eef1f6;color:#202734}
button.btn,a.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--stabilo);color:var(--on-yellow);border:1px solid transparent;border-radius:8px;padding:10px 16px;font-size:15px;font-weight:650;min-height:44px;box-shadow:0 1px 2px #22222208;text-decoration:none}button.btn:hover,a.btn:hover{background:#efd650}.btn.ghost{background:#fff;color:#455367;border:1px solid var(--line)}button.mini,a.mini,summary.mini{border:1px solid #dfe4eb;background:#fff;color:#41516a;border-radius:7px;padding:7px 11px;font-size:14px;font-weight:600;line-height:1.4;min-height:44px;white-space:nowrap;box-shadow:none}.mini:hover{background:#f7f8fa!important;border-color:#adb9c8!important}.mini.ok{background:#202e3e!important;color:#fff!important;border-color:#202e3e!important}.mini.ok:hover{background:#34465b!important}.mini.danger{color:var(--red)}.mini.danger:hover{color:#a82e2e!important;background:#fff1f1!important;border-color:#e5b4b4!important}.btn.danger{background:#be3f3f;color:#fff}.filter-buttons .mini{background:transparent;border-color:transparent;color:#6b7686;min-height:44px}.filter-buttons .mini.selected{background:#eef1f5;color:#273951;border-color:#e0e5ed}.view-buttons{padding:3px;background:#f0f2f5;border-radius:8px;gap:2px}.view-buttons .mini{border:0;background:none;box-shadow:none;min-height:44px;padding:5px 11px;font-size:14px}.view-buttons .mini.selected{background:#fff;color:#202e3e;box-shadow:0 1px 3px #24324616}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat.card{padding:19px 21px;margin:0;text-decoration:none;display:block}.stat .tag{font-size:14px;margin-bottom:12px;font-weight:550}.stat .val{font-size:36px;line-height:1.2;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-caption{font-size:14px;color:var(--muted);margin-top:8px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#91a0ae;flex-shrink:0}.status-dot.green{background:var(--green)}.status-dot.amber{background:#be8a36}.status-dot.red{background:var(--red)}.overview-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.overview-columns>.card{min-width:0}.attention-preview .attention-summary,.attention-preview .monitoring-note{display:none}.attention-preview .attention-item:nth-child(n+4){display:none}.attention-preview .attention-item{flex-wrap:wrap}.attention-preview .attention-item>.mini{margin-left:37px}.attention-preview .empty-state{padding:25px 15px}
.table-scroll{border-radius:9px}.device-table{font-size:15px}.device-table th,th{font-size:13px;font-weight:650;letter-spacing:.75px;color:#65758a;background:#f8f9fb;padding:11px 14px;white-space:nowrap}.device-table td,td{padding:17px 14px;border-color:#edf0f4}.device-table td:first-child{min-width:170px}.device-name{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:15px;font-weight:650}.device-glyph{width:31px;height:31px;background:#eef1f5;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#63748a}.device-glyph .icon{width:16px}.device-host{display:block;margin-left:41px;margin-top:-6px;font-size:14px;color:#7b8796}.device-health{display:flex;gap:9px;flex-wrap:wrap;min-width:180px}.badge{font-size:14px;font-weight:550;gap:5px;white-space:nowrap;text-decoration:none}.badge::before{width:5px;height:5px}.badge.ready{color:#277652}.badge.initializing,.badge.restarting{color:#9b691e}.badge.error{color:#b34747}.badge.queued,.badge.created{color:#7e8997}.badge.initializing::before,.badge.restarting::before{animation:none;background:#c2933d}.capacity{min-width:100px;font-size:14px}.capacity progress{display:block;width:100px;margin:5px 0 0;height:4px;accent-color:#8b99aa}.capacity .muted{color:#65758a}.device-table tbody tr:hover,.slot-table tbody tr:hover{background:#fafbfd}.device-table .row-actions{white-space:nowrap}
input,textarea,select,select.psel{min-height:44px;background:#fff;border:1px solid #dce2e9;border-radius:7px;padding:9px 11px;font-size:15px;color:#27364a;box-shadow:0 1px 2px #20273403;width:100%}input::placeholder,textarea::placeholder{color:#8993a2;font-weight:400}input:focus,textarea:focus,select:focus{outline:0!important;border-color:#b4a34c!important;box-shadow:0 0 0 3px #e7d9742b!important}input[type=checkbox]{width:15px;height:15px;min-height:15px;accent-color:#34465b;cursor:pointer;flex-shrink:0;padding:0;box-shadow:none}input[type=checkbox]:disabled{cursor:not-allowed}label{font-size:14px;color:#59687a;margin-bottom:6px}.field{margin-bottom:17px}.r2{gap:16px}.search-toolbar{display:flex;align-items:center;gap:16px;margin-top:19px}.search-field{position:relative;display:block;flex:1;margin:0}.search-field input{padding-left:37px;background:#fafbfd}.search-icon{position:absolute;left:12px;top:12px;width:15px;height:15px;stroke:#65758a;fill:none;stroke-width:1.8;pointer-events:none}.sort-field{margin:0;display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:14px;color:#748193}.sort-field select{min-width:170px;font-size:14px}.toolbar{margin-top:13px;gap:12px}.filter-buttons{gap:3px}.result-count{font-size:14px;color:#7c8999;font-variant-numeric:tabular-nums}.health-summary{font-size:14px;gap:17px;padding-bottom:16px;border-color:#edf0f4}.setup-disclosure{border-top:1px solid #edf0f4;margin-top:17px;padding-top:14px}.setup-disclosure>summary{font-size:14px;font-weight:600;cursor:pointer;color:#41536b;list-style:none;display:flex;align-items:center;gap:8px}.setup-disclosure>summary::before{content:'+';font-size:15px;font-weight:400}.setup-disclosure[open]>summary::before{content:'−'}.setup-disclosure>summary span{margin-left:auto;font-size:14px;font-weight:400;color:#65758a}.setup-content{padding-top:8px}.setup-content .hint{margin:0 0 13px}.batchform{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.batchform label{display:block;margin:0}.batchform label:first-child{width:90px}.batchform label:nth-child(2){width:220px;max-width:100%}.batchform input,.batchform select{margin-top:5px}.queue-panel{background:#fffef8;border-color:#e8e2c4;padding:18px 22px}.queue-panel .section-heading{margin-bottom:5px}.queue-active{gap:12px;padding:12px 0;font-size:14px}.queue-active .hint{font-size:14px;margin-top:3px}.queue-indicator{border-radius:20px;font-size:13px;color:#896817;background:#f8efcf;padding:4px 9px}.queued-names{font-size:14px;display:flex;gap:8px;flex-wrap:wrap;color:#758091}.queue-separator{color:#b3bbc5}.selection-tools{display:flex;align-items:center;gap:12px;margin:4px 0 15px}.select-visible{display:flex;align-items:center;gap:8px;font-size:14px;margin:0;cursor:pointer}.selection-tools>.hint{margin:0;font-size:14px;color:#65758a}.device-menu{margin-left:auto}.device-menu>summary{font-size:14px;cursor:pointer;list-style:none}.selection-bar{position:sticky;top:12px;z-index:15;background:#253547;border:1px solid #3b4e63;box-shadow:0 8px 20px #19243120;border-radius:10px;padding:13px 16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;color:#fff}.selection-title{margin-right:auto;display:flex;align-items:center;gap:12px;font-size:15px}.selection-title .text-button{color:#d6e0eb;font-size:14px}.selection-bar label{margin:0;max-width:180px}.selection-bar .psel{min-height:44px;font-size:14px}.selection-bar .btn{min-height:44px;font-size:14px;padding:7px 12px}.selection-bar .mini{min-height:44px}
.slots{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:17px;align-items:start}.slot{border-radius:12px;padding:15px;background:#fff;gap:8px;border:1px solid var(--line);box-shadow:var(--shadow)}.slot.used{border-left-width:1px}.slot.used.st-initializing,.slot.used.st-restarting{animation:none;border-color:#dcd2b3}.slot.used.st-error{border-left-color:var(--line);border-color:#e8c9c9}.slot.used.st-ready{border-left-color:var(--line)}.slot.used.st-queued{border:1px solid var(--line);background:#fff}.tile-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.tile-selection{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;color:#65758a}.tile-heading .badge{font-size:13px}.slot .shotwrap{border:1px solid #edf0f4;background:#f5f7fa;border-radius:8px;margin:0 0 7px}.slot .shotwrap .noshot{min-height:130px;background:linear-gradient(145deg,#f6f8fb,#f0f3f7);display:flex;flex-direction:column;gap:8px;padding:20px 24px;font-size:14px;color:#65758a}.noshot .icon{width:22px;height:22px;stroke:#aeb9c7}.screenshot-button{position:relative;width:100%;border:0;background:#f3f5f8;padding:0;cursor:zoom-in;display:block}.slot .shotwrap img{aspect-ratio:auto;height:200px;object-fit:contain;cursor:zoom-in}.capture-overlay{position:absolute;bottom:6px;left:6px;color:#fff;background:#1e2d3cd9;padding:3px 7px;border-radius:4px;font-size:13px;pointer-events:none}.slot .sname{font-family:inherit;font-size:16px;line-height:1.3;font-weight:650;letter-spacing:-.25px}.slot .smail,.slot-table .smail{font-family:inherit;color:#65758a;font-size:14px;margin-top:-3px;overflow-wrap:anywhere}.slot>label{margin:7px 0 -3px;color:#65758a;font-size:13px}.slot .psel{min-height:44px;padding:6px 9px;font-size:14px}.slot.free{min-height:116px;border:1px dashed #d6dde6;background:transparent;gap:2px;color:#65758a}.slot.free:hover{background:#fffdf1;border-color:#d2be56;color:#675b27}.slot.free .add{font-size:22px;font-weight:300;line-height:1;margin:0 0 4px}.slot.free .hint{margin:2px 0 0;font-size:13px}.tile-metrics{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#65758a;border-top:1px solid #edf0f4;padding-top:10px;margin-top:4px}.tile-metrics strong{font-weight:650;color:#53667c}.tile-metrics a{text-decoration:none;font-size:16px;padding:0 3px}.android-actions{border-top:0;padding-top:5px;margin-top:4px;gap:6px}.android-actions .pwarn{width:100%;font-size:13px;font-weight:400;margin:3px 0 0}.android-actions>details{margin-left:auto}.action-menu{border-color:var(--line);border-radius:9px;box-shadow:0 10px 25px #26344a18;padding:6px;gap:4px;min-width:160px}.action-menu .mini{font-size:14px;text-align:left;border:0;background:#fff}.slot-table{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0}.slot-table table{min-width:880px;font-size:14px}.slot-table td{min-width:0;padding:15px 13px}.slot-table td:first-child{width:38px;padding-right:0}.slot-table td:nth-child(2){min-width:165px;max-width:235px}.slot-table td:nth-child(3){min-width:235px;max-width:310px}.slot-table .psel{min-width:130px;font-size:14px;min-height:44px;padding:7px}.slot-table .smail{margin:3px 0}.slot-table .action-menu{position:absolute}.slot-table .android-actions{flex-wrap:nowrap}.table-hint{padding:5px 14px 12px;margin:0;font-size:14px}.audio-state{font-size:13px;color:#8995a6;display:flex;align-items:center;gap:5px;margin-top:3px}.audio-state.playing{color:#497a64}.audio-state.silent{color:#a47938}.queue-note{font-size:14px;background:#f3f5f8;border-radius:6px;color:#748194;padding:9px;margin:5px 0}.workflow-progress{color:#5b6b7c;margin:5px 0;font-size:14px;gap:7px}.workflow-progress strong{font-size:14px;font-weight:550;text-transform:none}.workflow-progress span{font-size:13px;color:#65758a}progress{appearance:auto;accent-color:#809e8d;height:4px}.workflow-stages{list-style:none;display:flex;padding:0;margin:0 0 3px;gap:0;font-size:12px}.workflow-stages li{flex:1;color:#9ba6b4;position:relative;display:flex;flex-direction:column;gap:5px}.workflow-stages li::after{content:'';position:absolute;top:4px;left:10px;right:0;height:1px;background:#e2e7ee}.workflow-stages li:last-child::after{display:none}.workflow-stages li>span{width:8px;height:8px;border-radius:50%;background:#e1e6ed;z-index:1}.workflow-stages li.current{color:#8b7122;font-weight:650}.workflow-stages li.current>span{background:#debd49;box-shadow:0 0 0 3px #f7efcf}.workflow-stages li.complete{color:#58816a}.workflow-stages li.complete>span{background:#7ba28a}.workflow-stages li.complete::after{background:#b5d0bf}.failure-detail{background:#fcf3f3;color:#ac5c5c;font-size:14px;border-radius:6px;padding:10px;max-height:100px;line-height:1.6}
.attention-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.attention-summary>span{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;font-size:14px;color:#6a7789}.attention-summary strong{display:block;color:#26354a;font-size:30px;font-weight:650;line-height:1.2;margin-bottom:6px}.monitoring-note{color:#65758a;background:#eef1f5;padding:12px 15px;border-radius:8px;font-size:14px;margin:0 0 16px}.attention-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px;display:flex;align-items:center;gap:13px;margin-bottom:11px}.attention-marker{align-self:flex-start;width:24px;height:24px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#b28432;background:#fbf3df;flex-shrink:0;font-weight:650}.attention-item.critical .attention-marker{color:#b55b5b;background:#fbebeb}.attention-copy{flex:1;min-width:0}.attention-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.attention-title>strong{font-size:15px;font-weight:600}.attention-copy p{margin:5px 0 0;font-size:14px;overflow-wrap:anywhere}.attention-copy p strong{font-weight:550}.attention-copy .hint{font-size:14px;color:#65758a}.empty-state{text-align:center;padding:42px 22px;color:#65758a}.empty-symbol{width:42px;height:42px;border:1px solid #e0e5ec;border-radius:13px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:22px;background:#f7f9fc;color:#91a0b3}.empty-state.healthy .empty-symbol{background:#ecf5ef;color:#659276;border-color:#dbe9df}.empty-state h3{font-size:16px;font-weight:600;color:#42546b;margin:0 0 8px}.empty-state p{font-size:14px;max-width:380px;margin:0 auto 15px}.empty-state .hint{font-size:14px}.activity-item{padding:14px 0;border-color:#edf0f4;font-size:14px}.activity-item:first-child{padding-top:0}.activity-item strong{font-size:14px}.activity-item>div{margin-top:7px;color:#6e7b8e;font-size:14px}.activity-item a{font-size:14px}.activity-item .hint{font-size:13px}.pblock,.pitem{border-radius:10px;background:#fff;border-color:#e3e8ef;padding:16px}.pblock-head{margin-bottom:14px}.prename input{font-weight:600!important;min-height:44px}.psonglist{border-color:#e8edf3;margin-bottom:15px}.songrow{padding:10px 12px;border-color:#edf0f4;gap:10px}.songrow .songtitle{font-size:15px}.duration-form label,.duration-label{font-size:14px;color:#65758a}.duration-form input{min-height:44px!important;width:72px;font-variant-numeric:tabular-nums}.duration-form .mini{min-height:44px;padding:5px 10px}.addsong input{min-height:44px}.songrow>.cbtn{background:none;border:0;color:#a0aaba;font-size:17px;cursor:pointer}.songrow>.cbtn:hover{color:var(--red)}.nlist{border-color:#e4e9f0}.nitem{padding:10px 12px;border-color:#edf0f4}.nitem input{min-height:44px}.nitem .nsel{min-height:15px}.nbar .nsearch{min-height:44px}.nfoot{flex-wrap:wrap}.manager-page{max-width:1050px}.main>form.analytics-filter{padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px}.analytics-filter label{margin:0}.wall-tile{border-color:var(--line);background:#fff}.wall-empty{font-size:14px;color:#65758a;padding:15px}.wall-time{font-size:13px}.wall-cap{font-size:14px;padding:10px}.wall-cap .badge{font-size:13px}.shot-full{max-height:72vh}
#modal,#confirm{background:rgba(19,29,41,.5);backdrop-filter:blur(3px)}#modal .box,#confirm .box{max-width:480px;padding:27px;border:0;box-shadow:0 24px 80px #0e192849;border-radius:15px;max-height:90vh;overflow-y:auto}#modal .box:has(.shot-full){max-width:680px}#modal h2,#confirm h2{font-size:22px;font-weight:650;text-transform:none;color:var(--ink);letter-spacing:-.5px;margin-bottom:10px}#modal .mm,#confirm .mm{font-size:15px;color:#65758a;margin-bottom:23px}#modal .md,#confirm .md{gap:8px;margin-top:20px}.dialog-close{position:absolute;right:17px;top:17px}.box{position:relative}.box>h2{padding-right:25px}.form-feedback{font-size:14px;padding:9px 12px;border-radius:7px;line-height:1.6;margin:10px 0 0;flex-basis:100%;width:100%;order:100;overflow-wrap:anywhere}.form-feedback.success{color:#346d50;background:#edf6f0;border:1px solid #d9eadd}.form-feedback.error{color:#a34b4b;background:#fcf1f1;border:1px solid #efd9d9}.feedback-slot:empty{display:none}.feedback-slot>.form-feedback{margin:0 0 15px}form[aria-busy=true]{cursor:progress}form[aria-busy=true] button[type=submit]::after{content:'';display:inline-block;width:11px;height:11px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;margin-left:8px;vertical-align:middle;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{display:flex;gap:15px;align-items:center;border-left:0;border:1px solid #3e5266;background:#243648;color:#eff4f9;box-shadow:0 8px 30px #1d2a3d30;max-width:420px;font-size:15px;padding:13px 16px;border-radius:10px;pointer-events:auto}#toast[hidden]{display:none!important}#toast button{background:none;border:0;color:#becad7;font-size:17px;cursor:pointer}.loading-state{display:flex;align-items:center;gap:10px;color:#8995a4;font-size:15px;padding:30px}.loading-dot{width:9px;height:9px;background:#d8c35f;border-radius:50%;animation:pulse 1.8s infinite}.muted{color:var(--muted)}:focus-visible{outline:2px solid #8c9aad;outline-offset:3px}.main:focus{outline:none}
@media(min-width:1700px){.main{max-width:1500px;padding-left:50px;padding-right:50px}}@media(max-width:1180px){.main{padding:28px 24px}.side{width:212px;padding-left:12px;padding-right:12px}.main{width:calc(100% - 212px)}.overview-columns{grid-template-columns:1fr}.stats{gap:10px}.stat.card{padding:16px}.slots{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.page-header h1,.topbar2 h1{font-size:30px}}
@media(max-width:760px){.app{flex-direction:column}.side{position:static;width:100%;height:auto;padding:15px}.brand{padding:0 3px 15px}.brand-sub{font-size:12px}.nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nav>a{min-height:44px;font-size:14px;padding:8px;gap:5px}.nav .icon{width:13px;height:13px}.nav-label,.device-search,#sidebar-devices,#device-search-empty,.side .foot{display:none!important}.main{width:100%;padding:24px 16px 40px}.page-header,.topbar2{align-items:flex-start;margin-bottom:22px;gap:13px}.page-header h1,.topbar2 h1{font-size:28px}.page-description{font-size:14px;line-height:1.7}.page-header>.btn,.page-header>.mini{font-size:14px;padding:8px 10px;min-height:44px}.eyebrow{font-size:12px;letter-spacing:1px;gap:8px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat.card{padding:16px}.stat .val{font-size:32px}.stat .tag{font-size:14px}.stat-caption{font-size:13px}.card{padding:18px;border-radius:11px}.devices-panel{padding:18px 0 0}.devices-panel>.section-heading{padding:0 18px}.device-table{min-width:620px}.section-heading{gap:10px}.section-heading h2{font-size:15px}.section-description{font-size:14px}.text-link{font-size:14px}.overview-columns{gap:0}.search-toolbar{align-items:stretch;flex-direction:column;gap:10px}.sort-field{justify-content:space-between}.sort-field select{min-width:0;width:70%}.filter-buttons{gap:2px}.filter-buttons .mini{font-size:14px;padding:6px 8px}.slots{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px}.slot{padding:16px}.slot .shotwrap img{height:240px}.selection-tools{flex-wrap:wrap;gap:6px}.selection-tools>.hint{display:none}.selection-bar{top:5px;padding:13px;gap:8px}.selection-title{width:100%;justify-content:space-between;margin-bottom:3px}.selection-bar label{max-width:none;flex:1;min-width:120px}.selection-bar .mini,.selection-bar .btn{font-size:14px}.attention-summary{gap:8px}.attention-summary>span{padding:13px 10px;font-size:13px}.attention-summary strong{font-size:23px}.attention-item{padding:14px;gap:10px;flex-wrap:wrap}.attention-copy{min-width:calc(100% - 40px)}.attention-item>.mini{margin-left:34px}.attention-title{gap:7px}.attention-title>strong{font-size:14px}.attention-copy p{font-size:14px}.monitoring-note{font-size:14px}.duration-form{gap:6px}.duration-form label{font-size:13px}.duration-form input{width:65px}.songrow{padding:10px;gap:6px}.songrow .songtitle{flex-basis:100%;font-size:14px}.songrow>.cbtn{margin-left:auto}.addsong{gap:8px}.addsong>input{flex-basis:100%}.pblock{padding:12px}.pblock-head{flex-wrap:wrap}.pblock-head .prename{min-width:180px}.analytics-filter{flex-wrap:wrap}.section-heading>.view-buttons{flex-shrink:0}.health-summary{gap:10px}.queue-active{align-items:flex-start}.queue-active>.mini{font-size:14px}.setup-disclosure>summary{font-size:14px}.setup-disclosure>summary span{font-size:13px}.selection-tools .device-menu>summary{font-size:14px}.setup-content .batchform{gap:8px}.batchform label:nth-child(2){flex:1;min-width:130px}.batchform .btn{width:100%}.r2{gap:0}.box .r2{gap:0}.main>.topbar2{flex-wrap:wrap}#toast{max-width:calc(100vw - 28px);right:14px;bottom:14px;font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.slot.is-selected{border-color:#93a6bd;box-shadow:0 0 0 2px #c2d0e14d}.slot-table tr.is-selected{background:#f1f5fa}.form-feedback[hidden]{display:none}.search-field input::-webkit-search-cancel-button{cursor:pointer}.host-pill + span{color:var(--muted)}
.analytics-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.analytics-stats{grid-template-columns:1fr}}.is-selected .tile-selection{color:#3e5876}.form-feedback{box-sizing:border-box}.feedback-slot{margin-top:0}form[aria-busy=true] .form-feedback{cursor:default}input[aria-invalid=true]{border-color:#ce9292}
.table-scroll{position:relative;max-width:100%}@media(max-width:760px){.nav>a{font-size:13px;flex-direction:column;gap:5px;justify-content:center;text-align:center;padding:9px 5px;min-width:0}}
.empty-toggle{display:flex;gap:7px;align-items:center;font-size:14px;margin:0 0 0 8px;color:#7d8999;cursor:pointer}.slot-grid.only-empty{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}@media(max-width:760px){.empty-toggle{font-size:13px;margin-left:auto}.selection-tools .device-menu{width:100%;text-align:right;margin-top:4px}}
.danger-section{border-top:1px solid #edf0f4;margin-top:24px;padding-top:16px}.danger-section p{color:#65758a;font-size:14px;margin:0 0 12px}.empty-toggle:has(input:disabled){opacity:.5}

/* Comfortable reading sizes apply to shared and legacy fragments as well. */
.hint,.hint.inline,.empty,.mono.small,.wall-time,.wall-empty,.wall-cap .badge,.slot.free .hint{font-size:14px;line-height:1.65}
table{font-size:14px}th,.device-table th{font-size:13px;letter-spacing:.5px}
input,textarea,select,select.psel,.slot .psel,.slot-table .psel,.sort-field select,.selection-bar .psel,.prename input,.nitem input{font-size:16px}
.brand-sub,.eyebrow{font-size:12px}.brand-sub{letter-spacing:1.2px}.nav-label{font-size:12px}
.slot .sname{font-size:18px}.slot .smail,.slot-table .smail,.audio-state,.tile-metrics,.tile-selection,.tile-heading .badge,.workflow-progress span,.workflow-progress strong,.workflow-stages{font-size:14px}
.workflow-stages{line-height:1.5}.workflow-stages li{min-width:0}.workflow-progress{gap:10px}.failure-detail{font-size:14px;line-height:1.7;max-height:150px}
.select-visible,.empty-toggle{min-height:44px}.tile-selection{min-height:32px}
input[type=checkbox],.nitem .nsel{width:18px;height:18px;min-height:18px}.tile-heading{flex-wrap:wrap}
.capacity progress{width:100%;max-width:150px}.capacity{min-width:120px}
.host-pill{font-size:14px}.host-pill .icon{width:16px;height:16px}
.device-table{min-width:730px}.slot-table table{min-width:1080px}.slot-table td:nth-child(2){min-width:200px}.slot-table td:nth-child(3){min-width:270px}
.section-heading{align-items:flex-start;flex-wrap:wrap}.selection-bar label{max-width:240px}.batchform label:first-child{width:100px}.batchform label:nth-child(2){width:260px}
.brand .logo{flex-shrink:0}.brand a>div:last-child{min-width:0}.brand-sub{overflow-wrap:anywhere}
.box>h2{padding-right:40px}.icon-button{min-width:40px;min-height:40px}.dialog-close{top:12px;right:12px}
@media(max-width:760px){
 .nav>a{font-size:13px;line-height:1.45;min-height:62px;padding:10px 4px}.nav .icon{width:17px;height:17px}
 .page-header,.topbar2{flex-wrap:wrap}.page-header h1,.topbar2 h1{font-size:28px}.page-description,.topbar2 .muted{font-size:15px}
 .stat .tag,.stat-caption{font-size:14px}.stat.card{padding:16px 14px}.stat .val{font-size:32px}
 .sort-field{flex-wrap:wrap}.sort-field select{width:100%}.filter-buttons .mini{font-size:14px;min-height:44px}
 .setup-disclosure>summary{align-items:flex-start;flex-wrap:wrap;font-size:14px;min-height:44px}.setup-disclosure>summary span{font-size:14px;margin-left:0}
 .selection-tools{gap:8px}.select-visible,.empty-toggle{font-size:14px}.empty-toggle{margin-left:0}.selection-bar .mini,.selection-bar .btn{font-size:14px}
 .attention-summary{grid-template-columns:1fr}.attention-summary>span{display:flex;align-items:center;gap:12px;font-size:14px}.attention-summary strong{font-size:26px;margin:0}
 .attention-copy{min-width:0;width:calc(100% - 40px)}.attention-copy p,.attention-copy .hint,.attention-title>strong,.monitoring-note{font-size:14px}
 .songrow .songtitle,.duration-form label,.duration-label{font-size:14px}.duration-form input{width:88px}.duration-form{flex-wrap:wrap}
 .selection-bar label{max-width:none;width:100%}.section-heading>.view-buttons{margin-left:auto}
 .queue-active>.mini,.empty-toggle,.device-menu>summary,.selection-tools .device-menu>summary{font-size:14px}
 .batchform label:nth-child(2){width:auto;flex:1}.batchform .btn{width:100%}.pblock-head .prename{flex-wrap:wrap;min-width:0;width:100%}
}
.row-actions{flex-wrap:wrap}@media(max-width:760px){.nitem{flex-wrap:wrap}.nitem .nedit{min-width:0}.nitem .nedit input{min-width:100px}.nitem>.danger{margin-left:auto}}
.device-search input,.addsong input,.duration-form input,.duration-label input,.nbar .nsearch,.pblock-head .prename input,.nitem .nedit input{font-size:16px}
/* Initialization timing editor */
.init-timing-guide{display:grid;grid-template-columns:1fr 1fr;gap:20px}.init-timing-guide strong{font-size:16px}.init-timing-guide p{font-size:14px;color:var(--muted);margin:8px 0 0}.init-timing-guide>.hint{grid-column:1/-1;border-top:1px solid var(--line);padding-top:15px;margin:0}.init-savebar{position:sticky;top:12px;z-index:12;padding:17px 22px;box-shadow:0 4px 15px #2436480c}.init-savebar .section-heading{margin:0}.init-savebar .form-feedback{margin-top:14px}.has-changes{color:#997322;font-weight:600}.init-delay-card .search-toolbar{margin-top:0}.init-delay-hint{margin:17px 0}.init-delay-table{min-width:650px}.init-delay-table th{font-size:14px;white-space:normal}.init-delay-table .table-unit{font-size:13px;font-weight:400;text-transform:none;letter-spacing:0}.init-delay-table td{vertical-align:middle}.init-delay-table td:first-child{width:47%;min-width:220px}.init-delay-table td:nth-child(2),.init-delay-table td:nth-child(3){width:23%;min-width:155px}.init-delay-input{width:140px;max-width:100%;font-variant-numeric:tabular-nums}.step-label{display:block;font-size:15px;font-weight:550;text-transform:none}.step-stage{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.step-default{display:block;font-size:13px;color:#68778b;margin-top:5px}.step-custom{display:inline-block;font-size:12px;color:#897021;background:#faf3d9;border-radius:4px;padding:2px 6px;margin-top:5px}@media(max-width:760px){.init-timing-guide{grid-template-columns:1fr}.init-savebar{top:5px;padding:15px}.init-savebar .section-heading{align-items:center}.init-savebar .section-description{font-size:14px}.init-delay-card{padding:15px}.init-delay-table td,.init-delay-table th{padding:13px 10px}.init-timing-guide>.hint{grid-column:auto}}

.playback-period{padding:16px 0;border-top:1px solid var(--line)}.playback-period-heading{line-height:1.7;overflow-wrap:anywhere}

#android-activity table{min-width:1000px}#android-activity .mono{white-space:nowrap}.analytics-filter select{min-height:40px;max-width:100%}

.recovery-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.recovery-stats .stat{box-shadow:none;border:0}@media(max-width:760px){.recovery-stats{grid-template-columns:1fr}}

#restart-attempts{scroll-margin-top:20px}#restart-attempts table{min-width:1200px}#restart-attempts .mono{white-space:nowrap}.audio-runtime [data-audio-seconds]{font-variant-numeric:tabular-nums}

.restart-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.restart-choices form{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--line);border-radius:10px}.restart-choices form>.btn{margin-top:auto;width:100%;min-height:60px;box-sizing:border-box}.restart-choices h3{margin-top:0}.restart-choices p{line-height:1.6;color:var(--muted)}[data-init-group] .init-timing-guide{margin-bottom:20px}@media(max-width:760px){.restart-choices{grid-template-columns:1fr}}

/* Device health and setup controls share a clear size and alignment. */
.android-controls .health-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;padding-bottom:0;border-bottom:0}
.health-tile{--health-ink:#526279;--health-bg:#f3f6fa;--health-border:#dfe6ef;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-width:0;min-height:100px;padding:16px;border:1px solid var(--health-border);border-radius:12px;background:var(--health-bg);color:var(--health-ink);font:inherit;text-align:left;box-sizing:border-box;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.health-tile:hover{transform:translateY(-1px);border-color:var(--health-ink);box-shadow:0 3px 12px #192b4012}.health-tile:focus-visible{outline:3px solid #526f9c;outline-offset:2px}.health-tile.selected{border-color:var(--health-ink);box-shadow:inset 0 0 0 1px var(--health-ink)}
.health-tile.ready{--health-ink:#19704b;--health-bg:#ebf8f0;--health-border:#ccead9}.health-tile.in-progress{--health-ink:#9c650e;--health-bg:#fff7e7;--health-border:#f0dfbb}.health-tile.queued{--health-ink:#365fa9;--health-bg:#edf3ff;--health-border:#d4e1f8}.health-tile.error{--health-ink:#b33a3f;--health-bg:#fff0f1;--health-border:#efc5c8}.health-tile.is-empty{--health-ink:#7c899a;--health-bg:#f7f9fb;--health-border:#e5eaf0}
.health-number{font-size:30px;line-height:1;font-weight:700;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.health-label{font-size:13px;font-weight:600;line-height:1.4}
.slot-filter-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:10px 12px;border:1px solid #dfe6ef;border-radius:9px;background:#f8fafc;color:#526279;font-size:13px}.slot-filter-notice[hidden]{display:none}
.setup-disclosure>summary{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:54px;padding:12px 15px;border:1px solid #dce3ed;border-radius:10px;background:#f4f7fb;list-style:none;box-sizing:border-box;transition:background .15s,border-color .15s}.setup-disclosure>summary::-webkit-details-marker{display:none}.setup-disclosure>summary:hover{background:#eaf0f7;border-color:#b7c6d9}.setup-disclosure>summary:focus-visible{outline:3px solid #415a88;outline-offset:3px}.setup-disclosure[open]>summary{background:#fffbe7;border-color:#e9d884}
.setup-disclosure>summary::before{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #dce3ed;border-radius:7px;background:#fff;font-size:20px;line-height:1;font-weight:500}
.setup-disclosure>summary .setup-toggle-label{grid-column:2;margin:0;color:#34465f;font-size:15px;font-weight:650}.setup-disclosure>summary .setup-capacity{grid-column:3;margin:0;padding:4px 9px;border:1px solid #e0e6ef;border-radius:20px;background:#fff;color:#65758a;font-size:13px;font-weight:500;white-space:nowrap}
.setup-content{padding-top:16px}.setup-content .batchform{display:grid;grid-template-columns:100px minmax(180px,300px) max-content;align-items:end;gap:14px;max-width:100%}.setup-content .batchform>label{display:flex;flex-direction:column;gap:7px;width:auto;min-width:0;max-width:none;margin:0;font-size:14px;line-height:20px}.setup-content .batchform input,.setup-content .batchform select{display:block;width:100%;min-width:0;height:46px;min-height:46px;margin:0;padding:10px 12px;border:1px solid #dce3ed;border-radius:8px;background:#fff;font-size:16px;line-height:1.4;box-sizing:border-box}.setup-content .batchform>.btn{width:auto;height:46px;min-height:46px;margin:0;padding:10px 18px;box-sizing:border-box}
@media(max-width:1100px){.android-controls .health-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.android-controls .health-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-tile{min-height:88px;padding:14px}.health-number{font-size:28px}.setup-disclosure>summary{grid-template-columns:28px minmax(0,1fr);gap:6px 10px;padding:12px}.setup-disclosure>summary::before{grid-row:1 / span 2}.setup-disclosure>summary .setup-toggle-label{grid-column:2;font-size:14px}.setup-disclosure>summary .setup-capacity{grid-column:2;justify-self:start;font-size:12px}.setup-content .batchform{grid-template-columns:100px minmax(0,1fr);gap:12px}.setup-content .batchform>.btn{grid-column:1 / -1;width:100%}}

.android-downtime{display:flex;flex-direction:column;gap:4px;margin:10px 0;padding:10px 12px;border-left:3px solid #d99b24;border-radius:5px;background:#fff8e7;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.android-downtime time,.android-downtime [data-down-seconds]{font-variant-numeric:tabular-nums}.android-downtime small{color:var(--muted)}

.workflow-tabs{display:flex;gap:6px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.workflow-tab{min-height:44px;padding:9px 18px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.workflow-tab:hover{background:#f4f6f9;color:var(--ink)}
.workflow-tab[aria-selected=true]{background:var(--stabilo);border-color:var(--line-yellow);color:var(--on-yellow)}
@media(max-width:760px){.workflow-tab{flex:1;padding:9px 10px}.workflow-tabs{gap:4px}}

#batchform .init-workflow-field{width:240px;max-width:100%}#batchform [data-init-source]{width:300px;max-width:100%}#batchform .init-quantity-field{width:100px}#batchform>.text-link{align-self:center;font-size:14px}
.android-playlist-source{display:flex;flex-direction:column;gap:4px;margin:7px 0}.android-playlist-source .hint{margin:0;font-size:13px}.android-playlist-source>a{overflow-wrap:anywhere;font-size:14px}
.playlist-link-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:15px}.playlist-link-form label{flex:1;min-width:190px}.playlist-link-form label:nth-child(2){flex:2}.playlist-link-form input{margin-top:6px}.saved-playlist-link{padding:18px 0;border-bottom:1px solid var(--line)}.saved-playlist-link:last-child{border-bottom:0}.saved-playlist-link h3{margin:0 0 8px}.saved-link-url{display:block;overflow-wrap:anywhere;font-size:14px}.saved-playlist-link>details{margin:14px 0}.saved-playlist-link>details>summary{cursor:pointer}
@media(max-width:760px){#batchform .init-workflow-field,#batchform [data-init-source]{width:100%}.playlist-link-form label{min-width:0;flex-basis:100%}.playlist-link-form .btn{width:100%}}
.setup-content #batchform{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px}
.setup-content #batchform>.init-workflow-field{flex:0 1 240px;min-width:200px;width:240px;max-width:100%}
.setup-content #batchform>[data-init-source]{flex:1 1 280px;min-width:200px;width:300px;max-width:360px}
.setup-content #batchform>.init-quantity-field{flex:0 0 90px;min-width:0;width:90px}
.setup-content #batchform>.btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:760px){.setup-content #batchform>.init-workflow-field,.setup-content #batchform>[data-init-source]{flex:1 1 100%;width:100%;min-width:0;max-width:100%}.setup-content #batchform>.btn{flex-basis:100%;width:100%}.setup-content #batchform>.text-link{flex-basis:100%}}

.playlist-duration-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:0 0 210px;min-width:0;margin:0;padding:0;border:0}.playlist-duration-fields legend{font-size:14px;color:#59687a;margin-bottom:6px}.playlist-link-form .playlist-duration-fields label{min-width:0;flex:none;margin:0}.playlist-duration-fields input{width:100%}
.recovery-reason{display:flex;flex-direction:column;gap:4px;padding:10px 12px;margin:8px 0;background:#fff8e7;border-left:3px solid #d99b24;border-radius:5px;font-size:13px;overflow-wrap:anywhere}.failure-detail>p{margin:5px 0}.failure-detail>small{font-size:11px;overflow-wrap:anywhere}
#workflow-failures table{min-width:1150px}#workflow-failures td{max-width:310px;overflow-wrap:anywhere}#workflow-failures .mono{white-space:nowrap}
@media(max-width:760px){.playlist-link-form>.playlist-duration-fields{flex-basis:100%;width:100%}}

.duration-form{align-items:flex-end;flex-wrap:wrap}.duration-form .song-duration-unit,.addsong .song-duration-unit{display:flex;flex-direction:column;gap:5px;width:82px;min-width:0;margin:0;font-size:13px;color:var(--muted)}.duration-form .song-duration-unit input,.addsong .song-duration-unit input{width:100%;min-width:0;box-sizing:border-box}.duration-form>.mini{min-height:44px}
@media(max-width:760px){.songrow{flex-wrap:wrap}.songrow>.songtitle{flex-basis:100%}.songrow>.duration-form{flex:1;min-width:0}.addsong .song-duration-unit{flex:1}.addsong>.mini{flex-basis:100%}}
.pmanage .pblock-head{flex-wrap:wrap}.pmanage .pblock-head>.prename{flex:1 1 240px;min-width:0}.pmanage .pblock-head>.mini.danger{margin-left:auto}
@media(max-width:760px){.pmanage .pblock-head>.prename{flex-basis:100%;width:100%}}

#modal .init-setup-description{margin:0 0 20px;line-height:1.55}
#modal .init-setup-form{display:grid;gap:18px;margin:0}
#modal .init-setup-form>.field{margin:0;min-width:0}
#modal .init-setup-form .field>label{display:block;margin:0 0 7px;line-height:20px}
#modal .init-setup-form select{display:block;box-sizing:border-box;width:100%;height:46px;min-height:46px;padding:10px 38px 10px 12px;border:1px solid #dce3ed;border-radius:8px;background-color:#fff;font-size:16px;line-height:24px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2365758a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
#modal .init-setup-form .field>.hint{margin:8px 0 0;font-size:13px;line-height:1.5}
.init-setup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;margin-top:2px;border-top:1px solid var(--line)}
.init-setup-actions>.text-link{font-size:13px;white-space:nowrap}.init-setup-buttons{display:flex;gap:8px}.init-setup-buttons>.btn{min-height:44px;white-space:nowrap}
@media(max-width:420px){.init-setup-actions{flex-wrap:wrap;gap:14px}.init-setup-buttons{order:0;width:100%}.init-setup-buttons>.btn{flex:1}.init-setup-actions>.text-link{order:1}}
.health-tile.captcha{--health-ink:#6d28a5;--health-bg:#f5efff;--health-border:#e3d1f7}
.wall{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}
.wall-tile{display:flex;flex-direction:column}
.wall-cap{flex-wrap:wrap}
.wall-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 10px;margin-top:auto}
.wall-actions .mini{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;height:44px;min-height:44px;padding:8px 6px;font-size:12px;line-height:1.4}
.wall-actions .icon{width:14px;height:14px;flex-shrink:0}

.init-multi-playlists{flex-basis:100%;min-width:0}.init-multi-playlists fieldset{border:1px solid #e0e6ed;border-radius:8px;padding:12px;margin:0 0 14px;min-width:0}.init-multi-playlists legend{font-size:13px;padding:0 5px;color:#52687c}.init-playlist-checks{max-height:200px;overflow:auto}.init-playlist-checks label{display:flex;align-items:center;gap:10px;padding:8px 2px;margin:0;overflow-wrap:anywhere}.init-playlist-checks input[type=checkbox]{width:17px;height:17px;min-height:17px!important;flex-shrink:0}.init-playlist-checks label:has(input[data-no-songs=true]){color:#8995a4}.init-multi-playlists select{width:100%;min-width:0}.init-multi-playlists[hidden]{display:none!important}

.created-playlists{font-size:12px;line-height:1.6;margin-top:8px;color:#52687c}.created-playlists summary{cursor:pointer;min-height:32px;align-content:center}.created-playlists ul{padding-left:18px;margin:5px 0}.created-playlists li{overflow-wrap:anywhere}
.schedule-entry { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:12px 0; }
.schedule-entry label { display:flex; flex-direction:column; gap:6px; flex:1 1 180px; min-width:0; }
.schedule-entry input,.schedule-entry select { width:100%; min-width:0; }
.schedule-template + .schedule-template { border-top:1px solid #dde3e8; margin-top:20px; padding-top:20px; }
.workflow-tabs { flex-wrap:wrap; }
.workflow-tab { flex:1 1 180px; min-width:0; white-space:normal; }
#modal .box, #confirm .box { scroll-padding-block:16px; }

/* Keep lifecycle dates readable on narrow Android cards and table cells. */
.android-dates { margin: 8px 0; line-height: 1.6; overflow-wrap: anywhere; }
.android-dates time { font-variant-numeric: tabular-nums; }

/* Device actions stay together; setup lives in a dialog. */
.device-header{align-items:flex-start}
.device-header>div:first-child{flex:1 1 260px;min-width:0}
.device-header .device-header-actions{display:flex;flex-direction:column;gap:9px;flex:0 1 320px;min-width:260px;margin-left:auto}
.device-header-actions .device-setup-button{width:100%;min-height:46px}
.device-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.device-secondary-actions .mini{display:flex;align-items:center;justify-content:center;gap:7px}
.device-secondary-actions .icon{width:16px;height:16px}
#modal .box:has(.batch-setup-dialog){max-width:560px}
.batch-setup-dialog>h2{padding-right:34px}
.batch-setup-availability{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f3f6fa;border:1px solid #e1e7ef;border-radius:8px;color:#586a81;font-size:13px;margin-bottom:22px}
#modal .batch-setup-dialog .init-setup-form input[type=number]{width:100%;height:46px;background:#fff;font-size:16px}
@media(max-width:760px){.device-header .device-header-actions{flex-basis:100%;width:100%;min-width:0;margin-left:0}.device-secondary-actions .mini{min-height:44px}.device-header .page-description{display:flex;flex-wrap:wrap;gap:6px}.device-header .host-pill{margin:0}}

.setup-workflow-note{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid #e6dfb9;background:#fffbee;border-radius:8px;color:#62552a;font-size:14px}.setup-workflow-note span{font-size:12px;color:#83764c}

#modal .init-setup-actions{justify-content:flex-end}

.schedule-entry [hidden]{display:none!important}

/* Keep per-Android controls compact; detailed actions live in dialogs. */
.android-actions-compact{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px}
.android-actions-compact>.btn{display:inline-flex;flex:1;align-items:center;justify-content:center;gap:8px;min-height:40px;font-size:14px}
.android-actions-compact .android-more{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:40px}
.android-actions.android-actions-compact>.android-more{flex:0 0 auto;min-width:76px;justify-content:center}
.android-actions-compact .android-action-busy{margin:0}
.wall-actions-compact{display:flex;gap:8px}.wall-actions-compact>button{flex:1}
.wall-actions-compact .playback-open{background:#f8e57b;border-color:#e5d16a;color:#293746}
.dialog-eyebrow{font-size:12px;font-weight:600;color:#78869a;letter-spacing:.6px;margin-bottom:8px}
.playback-modes{display:flex;gap:4px;background:#f1f4f7;border:1px solid #e6ebf1;padding:4px;border-radius:10px;margin:0 0 22px}
.playback-modes button{flex:1;min-width:0;min-height:42px;border:0;border-radius:7px;background:transparent;color:#65758a;font:inherit;font-size:14px;cursor:pointer}
.playback-modes button[aria-pressed=true]{background:#fff;color:#293746;font-weight:600;box-shadow:0 1px 4px #26344a12}
.playback-picker [hidden]{display:none!important}.playback-picker form{margin:0}.playback-picker .field{margin:0}
.playback-current{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e7ecf2;padding-top:18px;margin-top:24px}
.playback-current strong{display:block;font-size:14px;font-weight:550}.playback-current span{display:block;color:#78869a;font-size:13px;margin-top:3px}
.playback-current .mini{flex-shrink:0}.playback-schedule-note{margin:16px 0 0;font-size:12px}
.android-option-group{border:1px solid #e4eaf1;border-radius:10px;overflow:hidden}
.android-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 15px;border:0;border-bottom:1px solid #edf0f4;background:#fff;color:#293746;text-align:left;text-decoration:none;font:inherit;cursor:pointer;box-sizing:border-box}
.android-option:last-child{border-bottom:0}.android-option:hover{background:#f6f8fa}
.android-option strong{display:block;font-size:14px;font-weight:550}.android-option small{display:block;color:#78869a;font-size:12px;margin-top:4px;line-height:1.5}
.android-option>span:last-child{font-size:20px;color:#9aa6b5}.android-option-danger{margin-top:20px}.android-option-danger strong{color:#a25252}.android-option-danger .android-option:hover{background:#fff7f5}
@media(max-width:760px){.android-actions-compact>.btn,.android-actions-compact>.mini,.playback-modes button{min-height:44px}.android-option{min-height:64px}}
.selection-tools-group{display:flex;align-items:center;gap:12px}.selection-tools-label{font-size:13px;font-weight:650;color:#8290a0}.select-attention-button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:5px 9px;border:1px solid #e6c9c7;border-radius:7px;background:#fff8f7;color:#8d4541;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.select-attention-button:hover:not(:disabled){background:#fceeed;border-color:#d9aaa6}.select-attention-button:disabled{opacity:.5;cursor:not-allowed}.select-attention-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:#f0dddb;color:#803c38;font-size:12px;font-variant-numeric:tabular-nums}
@media(max-width:760px){.selection-tools{align-items:flex-start}.selection-tools-group{width:100%;flex-wrap:wrap;gap:8px}.selection-tools-label{width:100%}.select-attention-button{min-height:42px}.selection-tools>.hint{display:block!important}}
.attention-selection-toolbar{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:0 0 12px;border-radius:8px;background:#f5f6f8}.attention-selection-toolbar>label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap;cursor:pointer;color:#39485a;font-weight:550}.attention-available-count,.attention-selected-count{color:#7b8796;font-size:13px;white-space:nowrap}.attention-available-count strong,.attention-selected-count strong{color:#39485a;font-variant-numeric:tabular-nums;font-weight:600}.attention-selection-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.attention-selection-actions button:disabled{opacity:.45;cursor:not-allowed}.attention-check,.attention-check-placeholder{display:flex;align-items:center;justify-content:center;width:22px;min-width:22px;margin:0}.attention-check input{width:17px;height:17px}.attention-check-placeholder{height:22px}
@media(max-width:760px){.attention-selection-toolbar{align-items:center;flex-wrap:wrap;gap:8px}.attention-selection-actions{width:100%;margin-left:0}.attention-selection-actions button{flex:1}.attention-item>.mini,.attention-item>a.mini{margin-left:34px}}
