:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111318;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#111318;--muted:#626773;--line:#e5e7eb;--border:#e2e5e9;--soft:#f8f9fa;--sidebar:#14161c;--accent:#0f766e;--accent-hover:#115e59;--accent-soft:#e6f4f1;--focus-ring:0 0 0 3px #0f766e2e;--focus-outline:#0f766e55;--shadow-control:0 1px 2px #11131808;--shadow-card:0 4px 12px #11131808;--shadow-dialog:0 20px 80px #0003;--shadow-login:0 14px 44px #1113180d;--green:#16a34a;--yellow:#d99b00;--red:#dc2626;--radius:12px;--radius-control:9px;--radius-card:12px;--radius-dialog:16px;--text-primary:#17191e;--text-secondary:#555b66;--text-subtle:#777d87;--line-subtle:#eceef1;--line-table:#dfe2e7;--control-border:#d1d5dc;--status-success:#16823d;--status-success-bg:#effaf2;--status-warning:#9a6b00;--status-warning-bg:#fff8e7;--status-danger:#bd3030;--status-danger-bg:#fff0f0;--surface-icon:#f2f3f5;--surface-item:#f3f4f6}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#fff;font-size:14px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--sidebar);color:#f9fafb;padding:31px 17px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:14px;padding:4px 16px 47px;color:inherit;text-decoration:none}.brand strong,.brand small{display:block}.brand strong{font-size:20px;letter-spacing:-.04em;font-weight:750}.brand small{margin-top:4px;color:#d1d5db;font-size:14px}.brand-mark{display:flex;gap:7px;align-items:center;transform:skew(-27deg);width:38px;height:40px}.brand-mark i{display:block;width:12px;height:38px;border-radius:7px;background:#fff}.brand-mark i:first-child{height:24px;align-self:flex-end}.nav-list{display:grid;gap:7px}.nav-item{height:54px;display:flex;align-items:center;gap:18px;padding:0 22px;border:0;border-radius:11px;background:transparent;color:var(--surface-item);font:inherit;font-size:16px;font-weight:500;text-align:left;cursor:pointer;transition:background .15s}.nav-item svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-item:hover{background:#262a32}.nav-item.active{background:var(--accent);font-weight:650}.sidebar-footer{margin-top:auto;padding:16px 17px 2px;display:flex;align-items:center;gap:10px;color:#c5c8ce;font-size:12px;border-top:1px solid #2b2e35}.sidebar-dot{width:8px;height:8px;border-radius:50%;background:#16a34a}.footer-count{margin-left:auto;color:#aeb2ba}.main-area{margin-left:250px;min-height:100vh;padding:32px 40px 52px;max-width:1800px}.topline{height:48px;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:27px}.signed-in{margin-right:auto;color:var(--muted);font-size:12px}.debug-badge{display:inline-flex;align-items:center;gap:8px;border-radius:14px;background:#f0f1f3;padding:12px 17px;color:#181a20;font-size:14px;font-weight:600;white-space:nowrap}.flask{font-size:19px}.badge-separator{color:#898d95}.top-actions{display:flex;gap:7px;align-items:center}.icon-button{width:40px;height:40px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}.icon-button:hover{background:var(--soft);border-color:var(--line)}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.text-button,.back-button{border:0;background:transparent;color:var(--text-secondary);font:inherit;cursor:pointer}.text-button:hover,.back-button:hover{color:var(--ink)}.mobile-header{display:none}.notice{margin:-8px 0 20px;border:1px solid #d9dee7;border-radius:10px;background:var(--soft);padding:11px 14px;color:var(--text-secondary);font-size:13px}.toast{position:fixed;z-index:30;right:25px;bottom:18px;max-width:min(480px,calc(100vw - 30px));margin:0;padding:0;color:var(--green);font-size:13px}.toast:not(:empty){padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px #11131818}.toast.error,.message.error{color:var(--red)}.view{display:none}.view.active{display:block}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:37px}.page-heading h1,.login-card h1{margin:0;color:#08090b;font-size:clamp(32px,3vw,48px);line-height:1.08;letter-spacing:-.055em;font-weight:750}.subheading{margin:8px 0 0;color:#555a65;font-size:17px;line-height:1.5}.eyebrow{margin:0 0 10px;color:#6b707a;font-size:11px;font-weight:700;letter-spacing:.14em}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;padding:0 19px;border:1px solid var(--accent);border-radius:var(--radius-control);background:var(--accent);color:#fff;font:inherit;font-size:15px;font-weight:650;white-space:nowrap;cursor:pointer;transition:background .15s,box-shadow .15s}.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.secondary{background:#fff;color:#20232a;border-color:#d4d7de}.secondary:hover{background:#f6f7f8}.primary:disabled,.secondary:disabled{opacity:.55;cursor:not-allowed}.plus{font-size:26px;font-weight:400;line-height:0}.table-panel,.panel{border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow-card)}.table-panel{padding:27px 24px 8px}.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:0 3px 20px}.searchbox{width:min(420px,100%);height:49px;display:flex;align-items:center;gap:12px;padding:0 15px;border:1px solid #cdd1d9;border-radius:12px;color:var(--muted)}.searchbox:focus-within{border-color:var(--accent);box-shadow:var(--focus-ring)}.searchbox svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.searchbox input{width:100%;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:15px}.searchbox input::placeholder{color:#606570}.table-scroll{width:100%;overflow-x:auto}.locations-table,.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.locations-table thead th,.data-table th{height:57px;border-bottom:1px solid var(--line-table);color:#343842;font-size:14px;font-weight:700}.locations-table thead th:first-child,.locations-table tbody td:first-child{padding-left:14px}.locations-table thead th:last-child,.locations-table tbody td:last-child{width:34px;text-align:center}.locations-table tbody tr{height:91px;border-bottom:1px solid var(--line);cursor:pointer;transition:background .14s}.locations-table tbody tr:last-child{border-bottom:0}.locations-table tbody tr:hover,.locations-table tbody tr:focus{outline:0;background:var(--accent-soft)}.locations-table tbody td{padding:12px 14px;color:var(--text-primary);font-size:16px}.locations-table tbody td:first-child{display:flex;align-items:center;gap:24px}.location-icon{width:64px;height:62px;border-radius:12px;background:#f0f1f3;display:grid;place-items:center;color:#13151a;flex:none}.location-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.location-copy strong,.location-copy small{display:block}.location-copy strong{font-size:18px;font-weight:700;letter-spacing:-.025em}.location-copy small{margin-top:6px;color:#555a65;font-size:14px}.count-cell{display:inline-flex;align-items:center;gap:13px}.count-cell svg{width:28px;height:28px;fill:none;stroke:#4e535d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.online-count{display:inline-flex;align-items:center;gap:11px;font-size:16px}.online-count i,.status-pill i{width:11px;height:11px;border-radius:50%;background:currentColor;display:inline-block;flex:none}.online-count.all-online{color:var(--green)}.online-count.some-online{color:var(--yellow)}.online-count.none-online{color:var(--red)}.last-activity{color:#22252c!important}.row-chevron svg{width:22px;height:22px;fill:none;stroke:#59606b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.workflow{margin-top:50px;min-height:152px;display:flex;align-items:center;gap:32px;padding:22px 25px;border:1px solid #e4e6ea;border-radius:17px;background:linear-gradient(110deg,#fafafa,#f7f8fa)}.workflow-copy{min-width:225px}.workflow-copy h2{margin:0 0 7px;font-size:21px;letter-spacing:-.04em}.workflow-copy p{margin:0;color:var(--text-secondary);font-size:14px;white-space:nowrap}.workflow-steps{flex:1;display:flex;align-items:center;justify-content:space-between;gap:9px}.workflow-steps a{min-width:77px;display:flex;flex-direction:column;align-items:center;gap:6px;color:#181a20;text-decoration:none;text-align:center;font-size:14px;line-height:1.35}.workflow-steps a:hover{color:var(--accent)}.workflow-steps small{color:var(--text-secondary);font-size:12px}.step-icon{display:grid;place-items:center;width:37px;height:37px}.step-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.step-arrow{color:#747985;font-size:22px}.empty-state{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--muted);text-align:center}.empty-state strong{color:#262a32;font-size:15px}.empty-state span{font-size:13px}.detail-heading{align-items:flex-end}.back-button{display:flex;align-items:center;gap:8px;margin:0 0 18px;padding:0;font-size:13px}.back-button span{text-decoration:underline;text-underline-offset:3px}.detail-heading h1{font-size:38px}.detail-section-title{display:flex;align-items:center;justify-content:space-between;padding:6px 7px 18px}.detail-section-title h2{margin:0;font-size:18px}.muted{color:var(--muted);font-size:13px}.data-table th,.data-table td{padding:14px 12px;border-bottom:1px solid var(--line);font-size:13px}.data-table th:first-child,.data-table td:first-child{padding-left:14px}.data-table tbody tr:last-child td{border-bottom:0}.clickable-row{cursor:pointer}.clickable-row:hover,.clickable-row:focus{outline:0;background:var(--accent-soft)}.clickable-row td:first-child strong,.table-subline{display:block}.clickable-row td:first-child strong{color:#20232a;font-size:14px}.table-subline{margin-top:4px;color:var(--muted);font-size:12px}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:var(--surface-icon);color:#525762;font-size:11px;font-weight:600}.status-pill.paired,.status-pill.online{background:var(--status-success-bg);color:var(--status-success)}.status-pill.unpaired{background:var(--status-warning-bg);color:var(--status-warning)}.status-pill.offline{background:var(--status-danger-bg);color:var(--status-danger)}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.panel{padding:22px}.panel h2{margin:0 0 18px;font-size:18px;letter-spacing:-.03em}.overview-list{display:grid;gap:0;margin:0}.overview-list div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #eff0f2}.overview-list div:last-child{border-bottom:0}.overview-list dt{color:var(--muted);font-size:13px}.overview-list dd{color:#272a31;font-size:13px;text-align:right;overflow-wrap:anywhere}.detail-panel .muted{line-height:1.5}.detail-panel .status-pill{margin:0 0 4px}.revision-value{font-size:25px;font-weight:700;letter-spacing:-.04em}.revision-value span{color:#7b8089;font-size:13px;font-weight:400;letter-spacing:0}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.panel-heading{display:flex;align-items:center;gap:14px;margin-bottom:22px}.panel-heading h2{margin:0 0 5px}.panel-heading p,.format-note{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.panel-icon,.domain-icon,.activity-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:11px;background:var(--surface-icon);color:#272a31}.panel-icon svg,.domain-icon svg,.activity-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.panel form{display:grid;gap:16px;margin-top:20px}.format-note{margin:0 0 18px}.domain-form-wrap{padding:5px 7px 23px;border-bottom:1px solid var(--line)}.inline-form{display:flex;align-items:flex-end;gap:16px}.inline-form label{flex:1}.domain-list{padding:3px 7px}.domain-row{min-height:80px;display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.domain-row:last-child{border-bottom:0}.domain-row>div{flex:1}.domain-row strong,.domain-row small{display:block}.domain-row strong{font-size:14px}.domain-row small{margin-top:5px;color:var(--muted);font-size:12px}.activity-list{padding:0 8px}.activity-row{min-height:77px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.activity-row:last-child{border-bottom:0}.activity-copy{flex:1}.activity-copy strong,.activity-copy small{display:block}.activity-copy strong{font-size:13px;font-weight:600}.activity-copy small{margin-top:5px;color:var(--muted);font-size:12px}.command-status{border-radius:999px;background:var(--surface-icon);padding:6px 9px;color:#505660;font-size:11px;text-transform:capitalize}.command-status.failed,.command-status.expired{background:var(--status-danger-bg);color:var(--status-danger)}.command-status.acknowledged,.command-status.completed{background:var(--status-success-bg);color:var(--status-success)}.login-card{width:min(440px,100%);margin:8vh auto;padding:34px;border:1px solid var(--line);border-radius:var(--radius-dialog);box-shadow:var(--shadow-login)}.login-card .subheading{margin:12px 0 26px;font-size:14px}.login-card form{display:grid;gap:16px}.message{min-height:20px;color:var(--green);font-size:13px}label{display:grid;gap:7px;color:#353943;font-size:13px;font-weight:600}.optional{color:#7a7f89;font-weight:400}input,select,textarea{width:100%;min-height:44px;border:1px solid var(--control-border);border-radius:var(--radius-control);background:#fff;color:var(--text-primary);padding:10px 12px;font:inherit;font-size:14px;outline:none}input::placeholder,textarea::placeholder{color:#90949d}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}textarea{resize:vertical}.row{display:grid;grid-template-columns:.6fr 1.4fr;gap:13px}.dialog{width:min(520px,calc(100% - 30px));max-height:calc(100vh - 30px);padding:29px;border:1px solid var(--line);border-radius:var(--radius-dialog);background:#fff;color:var(--ink);box-shadow:var(--shadow-dialog)}.dialog::backdrop{background:#10131880;backdrop-filter:blur(2px)}.dialog form{display:grid;gap:15px}.dialog h2{margin:0;font-size:24px}.dialog .muted{margin:-8px 0 3px}.dialog-close{position:absolute;right:18px;top:13px;width:34px;height:34px;border:0;background:transparent;color:#686d77;font-size:27px;cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.dialog-actions button{min-height:42px;font-size:13px}.pairing-result{padding:14px;border:1px solid #d9e9dc;border-radius:10px;background:#f6fbf7}.pairing-result strong{display:block;font-size:13px}.pairing-result code{display:block;margin:10px 0;color:#111318;font-size:22px;font-weight:700;letter-spacing:.13em;overflow-wrap:anywhere}.pairing-result p{color:var(--muted);font-size:12px;line-height:1.5}.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}[hidden]{display:none!important}
@media(max-width:1100px){.main-area{padding-right:26px;padding-left:26px}.workflow{align-items:flex-start;flex-direction:column;gap:18px}.workflow-steps{width:100%}.workflow-copy{min-width:0}.locations-table tbody td{padding-right:9px;padding-left:9px}.location-icon{width:52px;height:52px}.locations-table tbody td:first-child{gap:14px}.location-copy strong{font-size:16px}}
@media(max-width:780px){.sidebar{width:250px;transform:translateX(-100%);transition:transform .2s;box-shadow:12px 0 28px #0002}.nav-open .sidebar{transform:translateX(0)}.main-area{margin-left:0;padding:0 20px 38px}.mobile-header{height:58px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);margin:0 -20px 15px;padding:0 16px}.mobile-header strong{font-size:14px}.topline{height:auto;min-height:48px;margin-bottom:18px}.signed-in{font-size:10px}.debug-badge{padding:9px 11px;font-size:11px}.top-actions .icon-button{width:35px;height:35px}.page-heading{align-items:flex-start;margin-bottom:25px}.page-heading h1{font-size:34px}.subheading{font-size:14px}.table-panel{padding:15px 13px 7px}.table-toolbar{padding:0 0 14px}.primary{min-height:42px;padding:0 12px;font-size:13px}.locations-table thead{display:none}.locations-table,.locations-table tbody,.locations-table tr,.locations-table td{display:block;width:100%}.locations-table tbody tr{position:relative;height:auto;min-height:95px;padding:13px 34px 13px 3px}.locations-table tbody td{display:inline-flex;align-items:center;width:auto!important;padding:8px 8px 0!important;font-size:13px}.locations-table tbody td:first-child{display:flex;padding:0 0 4px!important}.location-icon{width:43px;height:43px}.location-icon svg{width:24px;height:24px}.location-copy strong{font-size:15px}.location-copy small{font-size:12px}.count-cell svg{width:19px;height:19px}.online-count{font-size:12px}.online-count i{width:8px;height:8px}.locations-table tbody td.last-activity{font-size:12px}.locations-table tbody td.row-chevron{position:absolute;right:2px;top:28px;padding:0!important}.workflow{margin-top:24px;padding:19px 16px}.workflow-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}.step-arrow{display:none}.workflow-steps a{min-width:0;flex-direction:row;justify-content:flex-start;text-align:left;font-size:12px}.step-icon{width:31px;height:31px}.step-icon svg{width:27px;height:27px}.content-grid,.detail-grid{grid-template-columns:1fr}.detail-heading{align-items:flex-start;flex-direction:column}.data-table{min-width:700px}.inline-form{align-items:stretch;flex-direction:column}.inline-form .primary{align-self:flex-start}.workflow-copy h2{font-size:19px}}
@media(max-width:440px){.main-area{padding-right:14px;padding-left:14px}.mobile-header{margin-right:-14px;margin-left:-14px}.debug-badge{gap:5px;padding:8px;font-size:10px}.badge-separator{display:none}.topline{gap:5px}.table-toolbar{align-items:stretch;flex-direction:column}.searchbox{width:100%}.table-toolbar .primary{align-self:flex-end}.page-heading h1{font-size:31px}.login-card{padding:25px}.dialog{padding:24px 19px}.dialog-actions{flex-wrap:wrap}.row{grid-template-columns:1fr 1fr}}
.auth-mode .sidebar,.auth-mode .topline,.auth-mode .mobile-header{display:none}.auth-mode .main-area{min-height:100vh;margin-left:0;padding:32px;display:grid;place-items:center}.auth-mode #login-view{width:100%}.auth-mode .login-card{margin:0 auto}
.sidebar-footer{display:grid;gap:15px;padding:16px 12px 0}.fleet-summary{display:flex;align-items:center;gap:10px;color:#c5c8ce;font-size:12px}.sidebar-signout{width:100%;min-height:42px;display:flex;align-items:center;gap:12px;padding:0 12px;border:1px solid #353943;border-radius:var(--radius-control);background:transparent;color:#e2e4e8;font:inherit;font-size:13px;text-align:left;cursor:pointer}.sidebar-signout:hover{background:#262a32}.sidebar-signout svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.setup-dialog{width:min(570px,calc(100% - 30px));padding:30px}.setup-dialog h2{margin:0;font-size:25px;letter-spacing:-.04em}.setup-dialog>.muted{margin:8px 0 22px;line-height:1.5}.setup-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;list-style:none;padding:0;margin:0 0 22px}.setup-progress li{position:relative;display:grid;justify-items:center;gap:7px;color:#858a94;font-size:11px}.setup-progress li:not(:last-child)::after{position:absolute;content:"";height:1px;background:var(--line-table);top:14px;left:calc(50% + 17px);right:calc(-50% + 17px)}.setup-progress li span{width:29px;height:29px;display:grid;place-items:center;border:1px solid #d3d6dc;border-radius:50%;background:#fff;color:#666b75;font-size:12px;font-weight:650;z-index:1}.setup-progress li.current{color:#14161c;font-weight:650}.setup-progress li.current span{border-color:#14161c;background:#14161c;color:#fff}.setup-progress li.complete span{border-color:#14161c;background:#fff;color:#14161c}.setup-step{display:grid;gap:16px;min-height:140px}.setup-step[hidden]{display:none}.form-hint{margin:-7px 0 0;color:#737883;font-size:12px;line-height:1.5}.text-link{justify-self:start;padding:0;border:0;background:transparent;color:#343943;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.text-link:hover,.text-link.attention{color:#9b5d00}.setup-message{min-height:18px;margin:-9px 0 12px;color:var(--red);font-size:12px;line-height:1.5}.setup-complete{display:flex;align-items:center;gap:11px;margin:4px 0 17px}.setup-complete strong{font-size:15px}.setup-complete .muted{margin-left:auto;text-align:right}.complete-check{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--status-success-bg);color:var(--status-success);font-weight:700}.setup-dialog .pairing-result{padding:18px}.setup-dialog .pairing-result code{font-size:27px}.setup-dialog .dialog-actions{margin-top:18px}.setup-dialog .dialog-actions[hidden]{display:none}
@media(max-width:780px){.sidebar-footer{margin-top:auto}.setup-dialog{padding:26px 21px}.setup-progress li small{font-size:10px}}
.approved-hosts{margin:-8px 0 0;padding:10px 12px;border-radius:8px;background:#f5f6f8;color:#454a54;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.stats-section{margin:0 0 25px}.section-kicker{margin:0 0 11px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.12em}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.stat-card{min-height:119px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:17px 19px;border:1px solid var(--line);border-radius:12px;background:#fff}.stat-label{color:var(--text-secondary);font-size:12px;font-weight:600}.stat-value{color:var(--text-primary);font-size:30px;letter-spacing:-.055em;line-height:1}.stat-detail{color:#7a7f89;font-size:11px;line-height:1.4}.stat-card.success .stat-value{color:var(--status-success)}.stat-card.warning .stat-value{color:#a87500}.stat-card.danger .stat-value{color:#c53333}.dashboard-panels{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin:5px 0 30px}.dashboard-panels .table-panel{padding:17px 18px 8px}.dashboard-panels .detail-section-title{padding:3px 2px 11px}.dashboard-panels .detail-section-title h2{font-size:16px}.attention-list{padding:0 2px}.attention-row{width:100%;min-height:66px;display:flex;align-items:center;gap:12px;padding:9px 3px;border:0;border-top:1px solid var(--line-subtle);background:transparent;color:var(--ink);text-align:left;cursor:pointer}.attention-row:hover{background:var(--soft)}.attention-row>svg{width:18px;height:18px;margin-left:auto;fill:none;stroke:#727782;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.attention-indicator{width:10px;height:10px;border-radius:50%;background:#d99b00;flex:none}.attention-indicator.online{background:#16a34a}.attention-indicator.offline{background:#dc2626}.attention-indicator.unpaired{background:#d99b00}.attention-copy{min-width:0}.attention-copy strong,.attention-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-copy strong{font-size:12px;font-weight:650}.attention-copy small{margin-top:5px;color:#747985;font-size:11px}.empty-state.compact{min-height:110px;border-top:1px solid var(--line-subtle)}.dashboard-panels .activity-row{min-height:66px}.dashboard-panels .activity-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels{grid-template-columns:1fr}}
@media(max-width:440px){.stats-grid{gap:8px}.stat-card{min-height:104px;padding:13px}.stat-value{font-size:25px}.stat-label{font-size:11px}.stat-detail{font-size:10px}}
.screen-detail-view{max-width:1450px}.screen-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 20px}.screen-page-heading h1{margin:0;color:#08090b;font-size:clamp(34px,3vw,43px);line-height:1.05;letter-spacing:-.055em}.screen-page-heading .back-button{margin-bottom:12px}.screen-page-heading .subheading{margin-top:7px;font-size:15px}.screen-page-heading>div:first-child{min-width:0}.screen-pairing-status{margin-top:10px}.screen-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.action-button{min-height:39px;padding:0 12px;border-radius:var(--radius-control);font-size:12px}.action-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.action-button span{font-size:16px}.action-divider{height:23px;width:1px;margin:0 3px;background:#e2e4e8}.pairing-callout{position:relative;margin:0 0 14px;padding:12px 15px;border:1px solid #d9e9dc;border-radius:10px;background:#f7fbf8;display:flex;align-items:center;gap:14px}.pairing-callout strong{font-size:12px}.pairing-callout code{color:#14161c;font-size:17px;font-weight:750;letter-spacing:.1em}.pairing-callout p{margin:0;color:var(--muted);font-size:11px}.pairing-callout button{min-height:32px;padding:0 10px;margin-left:auto;font-size:11px}.screen-overview-panel{margin:0 0 16px;padding:18px 20px}.screen-overview-panel .detail-section-title{padding:0 0 13px}.screen-overview-panel .detail-section-title h2,.screen-content-panel h2{margin:0;font-size:18px;letter-spacing:-.035em}.screen-overview-panel .detail-section-title .muted,.content-panel-heading .muted{margin:5px 0 0;font-size:12px}.revision-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid #e1e3e7;border-radius:8px;background:#fafafa;color:#4f5560;font-size:11px;font-weight:600;white-space:nowrap}.screen-overview-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line-subtle);border-radius:10px;overflow:hidden}.overview-tile{min-height:68px;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:10px 13px;border-right:1px solid var(--line-subtle)}.overview-tile:last-child{border-right:0}.overview-tile span{color:#6b707a;font-size:11px}.overview-tile strong{color:#20232a;font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-tile .online{color:var(--status-success)}.overview-tile .offline,.overview-tile .unpaired,.overview-tile .error-value{color:var(--status-danger)}.screen-content-panel{padding:19px 20px 17px}.content-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:13px;border-bottom:1px solid var(--line-subtle)}.content-panel-heading .muted{margin-bottom:0}.screen-content-items{margin:0 0 10px}.content-empty{display:flex;align-items:center;gap:7px;padding:14px 2px;color:#6b707a;font-size:12px}.content-empty strong{color:#353943;font-size:12px}.content-list-heading{display:flex;justify-content:space-between;padding:11px 1px 4px;color:var(--muted);font-size:11px;font-weight:650}.content-item-row{min-height:58px;display:flex;align-items:center;gap:12px;padding:8px 2px;border-bottom:1px solid var(--line-subtle)}.content-item-number{width:29px;height:29px;display:grid;place-items:center;border-radius:7px;background:var(--surface-item);color:var(--text-secondary);font-size:11px;font-weight:650;flex:none}.content-item-copy{min-width:0;flex:1}.content-item-copy strong,.content-item-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-item-copy strong{color:#252830;font-size:12px;font-weight:600}.content-item-copy small{margin-top:4px;color:#757a84;font-size:11px}.item-edit-button{min-height:32px;padding:0 11px;font-size:11px}.screen-content-form{display:grid;gap:13px;padding-top:13px;border-top:1px solid var(--line-subtle)}.content-type-row{display:grid;grid-template-columns:minmax(210px,300px) 1fr;align-items:end;gap:16px}.content-type-row .form-hint{margin:0 0 12px}.content-input-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(200px,1fr);gap:13px 16px;align-items:end}.content-input-grid[hidden]{display:none}.content-input-grid .content-help{grid-column:1/-1;margin:-8px 0 0}.content-submit-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.content-submit-row>div{display:flex;gap:8px}.content-submit-row .form-hint{margin:0}.content-submit-row button{min-height:40px;font-size:12px}.screen-content-panel input[type=file]{font-size:12px;padding:9px}.screen-content-panel input[type=file]::file-selector-button{margin-right:9px;padding:7px 9px;border:0;border-radius:6px;background:var(--surface-item);color:#252830;font:inherit;font-size:11px;cursor:pointer}
@media(max-width:1150px){.screen-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-tile:nth-child(3){border-right:0}.overview-tile:nth-child(-n+3){border-bottom:1px solid var(--line-subtle)}}
@media(max-width:780px){.screen-page-heading{align-items:flex-start;flex-direction:column}.screen-actions{justify-content:flex-start}.screen-overview-panel,.screen-content-panel{padding:15px}.screen-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-tile:nth-child(3){border-right:1px solid var(--line-subtle)}.overview-tile:nth-child(2n){border-right:0}.overview-tile:nth-child(-n+4){border-bottom:1px solid var(--line-subtle)}.content-type-row,.content-input-grid{grid-template-columns:1fr}.content-type-row .form-hint{margin:0}.content-input-grid .content-help{grid-column:auto}.content-submit-row{align-items:flex-start;flex-direction:column}.pairing-callout{align-items:flex-start;flex-direction:column;gap:7px}.pairing-callout button{margin-left:0}}

/* Shared form control styling across login, setup, content, search and domains. */
label{gap:8px;color:#353943;font-size:12px;font-weight:600;line-height:1.35}
input,select,textarea{min-height:44px;padding:10px 12px;border:1px solid var(--control-border);border-radius:var(--radius-control);background-color:#fff;color:var(--text-primary);font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;box-shadow:var(--shadow-control);transition:border-color .15s,box-shadow .15s,background-color .15s}
input::placeholder,textarea::placeholder{color:#9297a1;opacity:1}
select{appearance:none;padding-right:40px;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='%23626773' 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;background-size:16px}
textarea{min-height:96px;resize:vertical}
input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--accent);outline:0;box-shadow:var(--focus-ring)}
input:disabled,select:disabled,textarea:disabled{border-color:#e3e5e9;background-color:#f4f5f7;color:#858a94;cursor:not-allowed;box-shadow:none}
input[type=file]{padding:7px 9px;color:var(--text-secondary);font-size:12px}
input[type=file]::file-selector-button{min-height:28px;margin-right:10px;padding:0 10px;border:1px solid var(--line-table);border-radius:6px;background:#f5f6f8;color:#353943;font:inherit;font-size:11px;font-weight:600;cursor:pointer}
input[type=file]::file-selector-button:hover{background:var(--line-subtle)}
.optional{color:#7a7f89;font-size:11px;font-weight:400}
.form-hint{font-weight:400}

.screen-playlist-panel{margin:0 0 16px;padding:19px 20px 10px}
.screen-playlist-items[aria-busy="true"]{opacity:.65;pointer-events:none}
.playlist-item-list{display:grid}
.playlist-item-row{gap:10px;min-height:66px;padding:9px 2px}
.playlist-drag-handle{width:28px;min-width:28px;height:34px;min-height:34px;justify-content:center;padding:0;border:0;border-radius:6px;color:#7b8089;font-size:20px;cursor:grab;touch-action:none}
.playlist-drag-handle:hover{background:var(--surface-item);color:#252830}
.playlist-drag-handle:active{cursor:grabbing}
.playlist-item-actions{display:flex;align-items:center;gap:5px}
.playlist-item-actions button{min-height:32px;padding:0 9px;font-size:11px}
.playlist-item-actions .order-button{width:30px;min-width:30px;justify-content:center;padding:0;font-size:14px}
.playlist-item-actions .order-button:disabled{opacity:.35;cursor:not-allowed}
.playlist-item-actions .item-delete-button{border-color:#f0d6d6;background:#fff;color:#a93434}
.playlist-item-actions .item-delete-button:hover{border-color:#dfb4b4;background:#fff7f7}
.playlist-item-row.dragging{opacity:.45}
.playlist-item-row.drop-before{box-shadow:inset 0 2px #252830}
.playlist-item-row.drop-after{box-shadow:inset 0 -2px #252830}
@media(max-width:780px){.screen-playlist-panel{padding:15px}.playlist-item-row{flex-wrap:wrap}.playlist-item-copy{flex-basis:calc(100% - 110px)}.playlist-item-actions{width:100%;justify-content:flex-end;padding-left:38px}.content-list-heading{gap:10px}.content-list-heading span:last-child{white-space:nowrap}}

.action-button:disabled{opacity:.5;cursor:not-allowed}
.screen-diagnostics-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0 0 16px}
.screen-device-panel,.screen-screenshot-panel{min-width:0;margin:0;padding:18px 20px}
.screen-device-panel .content-panel-heading,.screen-screenshot-panel .content-panel-heading{padding-bottom:12px}
.screen-device-panel .content-panel-heading h2,.screen-screenshot-panel .content-panel-heading h2{margin:0;font-size:17px;letter-spacing:-.03em}
.screen-device-panel .content-panel-heading .muted,.screen-screenshot-panel .content-panel-heading .muted{margin:5px 0 0;font-size:11px}
.screen-device-updated{font-size:10px;white-space:nowrap}
.screen-device-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.device-info-item{min-width:0;display:grid;gap:5px;padding:10px 1px;border-bottom:1px solid var(--line-subtle)}
.device-info-item span{color:#727782;font-size:10px}
.device-info-item strong{overflow:hidden;color:#252830;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.screenshot-status{flex:none;border-radius:999px;background:var(--surface-item);color:var(--muted);padding:6px 9px;font-size:10px;font-weight:650;white-space:nowrap}
.screenshot-status.pending,.screenshot-status.requested,.screenshot-status.received,.screenshot-status.capturing,.screenshot-status.uploading{background:#fff7e5;color:#946200}
.screenshot-status.completed{background:var(--status-success-bg);color:var(--status-success)}
.screenshot-status.failed,.screenshot-status.expired{background:var(--status-danger-bg);color:var(--status-danger)}
.screenshot-preview{padding-top:12px}
.screenshot-empty{min-height:178px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px;border:1px dashed #d9dde4;border-radius:10px;background:#fafbfc;color:#727782;text-align:center}
.screenshot-empty strong{max-width:360px;color:#414650;font-size:12px;font-weight:600}
.screenshot-empty span:not(.screenshot-placeholder-icon){font-size:11px;line-height:1.5}
.screenshot-placeholder-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:var(--radius-control);background:#f0f1f3;color:var(--text-subtle);font-size:18px}
.screenshot-image-link{display:grid;gap:7px;color:var(--text-secondary);font-size:10px;text-decoration:none}
.screenshot-image-link:hover{color:#14161c}
.screenshot-frame{position:relative;display:grid;place-items:center;max-width:100%;margin:0 auto;overflow:hidden;border-radius:var(--radius-control);background:#121419;box-shadow:0 0 0 1px rgba(20,22,28,.08)}
.screenshot-frame[data-orientation="portrait"]{border-radius:8px}
.screenshot-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#121419;transform-origin:center}
.screenshot-meta{margin:8px 0 0;color:var(--text-subtle);font-size:10px}
@media(max-width:1000px){.screen-diagnostics-grid{grid-template-columns:1fr}.screen-device-info{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){.screen-device-panel,.screen-screenshot-panel{padding:15px}.screen-device-info{grid-template-columns:repeat(2,minmax(0,1fr))}.screen-actions .action-divider{display:none}}
@media(max-width:420px){.screen-device-info{grid-template-columns:1fr 1fr}.screen-device-panel .content-panel-heading,.screen-screenshot-panel .content-panel-heading{align-items:flex-start}.screenshot-status{font-size:9px;padding:5px 7px}}

.orientation-settings{display:grid;grid-template-columns:minmax(200px,260px) auto 1fr;align-items:end;gap:12px;padding-top:14px}.orientation-settings label{display:grid}.orientation-settings button{min-height:42px}.orientation-settings .form-hint{margin:0 0 12px}.tv-preview-dialog{width:min(1120px,calc(100% - 28px));max-width:none;max-height:calc(100% - 28px);padding:20px 22px 14px}.tv-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.tv-preview-heading .eyebrow{margin:0 0 5px;color:#747985;font-size:10px;font-weight:700;letter-spacing:.12em}.tv-preview-heading h2{margin:0;color:var(--text-primary);font-size:22px;letter-spacing:-.04em}.tv-preview-heading .muted{margin:5px 0 0;font-size:11px}.dialog-close{width:35px;min-width:35px;height:35px;min-height:35px;justify-content:center;padding:0;border:1px solid #e1e3e7;border-radius:50%;background:#fff;color:var(--text-secondary);font-size:23px;line-height:1}.preview-stage{min-height:210px;display:grid;place-items:center;margin:14px 0 11px;padding:14px;overflow:auto;border:1px solid #e2e4e8;border-radius:10px;background-color:var(--surface-item);background-image:linear-gradient(45deg,var(--line) 25%,transparent 25%),linear-gradient(-45deg,var(--line) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--line) 75%),linear-gradient(-45deg,transparent 75%,var(--line) 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.preview-frame{max-width:100%;max-height:58vh;overflow:hidden;border:1px solid #101116;border-radius:3px;background:#111318;box-shadow:0 8px 24px #11131835}.preview-content-area,.preview-content-area iframe,.preview-content-area img,.preview-content-area video{width:100%;height:100%;border:0}.preview-content-area img,.preview-content-area video{display:block;object-fit:contain;background:#111318}.preview-content-area iframe{display:block;background:#fff}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-footer .muted{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.preview-footer>div{display:flex;gap:7px}.preview-footer button{min-height:34px;padding:0 11px;font-size:11px}.tv-preview-dialog>.form-hint{margin:10px 0 0;font-size:10px}.tv-preview-dialog::backdrop{background:#1113188c}
@media(max-width:780px){.orientation-settings{grid-template-columns:1fr 1fr}.orientation-settings .form-hint{grid-column:1/-1;margin:0}.tv-preview-dialog{padding:16px}.preview-stage{min-height:180px;padding:8px}.preview-frame{max-height:52vh}.preview-footer{align-items:flex-start;flex-direction:column}}

.playlist-item-thumbnail{position:relative;width:54px;min-width:54px;height:42px;display:grid;place-items:center;overflow:hidden;padding:0;border:1px solid #dfe2e7;border-radius:7px;background:#f3f4f6;color:#565d68;cursor:pointer;flex:none}.playlist-item-thumbnail:hover{border-color:#9ca3af;box-shadow:0 0 0 2px #1113180d}.playlist-item-thumbnail>img{display:block;width:100%;height:100%;object-fit:cover}.playlist-item-video-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#111318}.playlist-thumbnail-play{position:absolute;left:50%;top:50%;width:20px;height:20px;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid #ffffffa6;border-radius:50%;background:#111318a6;color:#fff;font-size:8px;line-height:1}.playlist-item-type-icon{position:relative;width:100%;height:100%;display:grid;place-items:center;background:#f1f2f4}.playlist-item-type-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.playlist-item-type-icon.video{background:#e9edf4;color:#3b4c68}.playlist-item-type-icon.webpage{background:#e8f3f2;color:#146c66}.playlist-item-type-icon i{position:absolute;right:4px;bottom:3px;color:#353b45;font-size:9px;font-style:normal}
.playlist-item-preview-dialog{width:min(980px,calc(100% - 28px));max-width:none;max-height:calc(100% - 28px);padding:21px 23px 16px}.playlist-item-preview-dialog::backdrop{background:#11131899}.playlist-item-preview-dialog .tv-preview-heading{padding-bottom:13px;border-bottom:1px solid var(--line-subtle)}.playlist-item-preview-dialog .tv-preview-heading h2{max-width:min(70vw,760px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playlist-item-preview-stage{min-height:220px;display:grid;place-items:center;margin:14px 0 10px;padding:14px;overflow:auto;border:1px solid #e2e4e8;border-radius:10px;background-color:#f3f4f6;background-image:linear-gradient(45deg,#e6e8eb 25%,transparent 25%),linear-gradient(-45deg,#e6e8eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6e8eb 75%),linear-gradient(-45deg,transparent 75%,#e6e8eb 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.playlist-item-preview-frame{max-width:100%;max-height:66vh;overflow:hidden;border:6px solid #17191e;border-radius:12px;background:#111318;box-shadow:0 9px 28px #11131830}.playlist-item-preview-frame[data-orientation="portrait"]{border-radius:15px}.playlist-item-preview-frame img,.playlist-item-preview-frame video,.playlist-item-preview-frame iframe{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#111318}.playlist-item-preview-frame iframe{background:#fff}.playlist-preview-unavailable{display:grid;place-items:center;width:100%;height:100%;margin:0;padding:20px;color:#c7cbd2;text-align:center;font-size:13px}.playlist-item-preview-dialog>.form-hint{margin:8px 0 0;font-size:11px}.playlist-item-preview-dialog::backdrop{background:#11131899}
@media(max-width:780px){.playlist-item-preview-dialog{padding:16px}.playlist-item-preview-stage{min-height:180px;padding:8px}.playlist-item-preview-frame{max-height:62vh}.playlist-item-thumbnail{width:48px;min-width:48px;height:38px}}

.playlist-version-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.playlist-version-actions button{min-height:36px;padding:0 12px;font-size:11px}.revision-state{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:var(--surface-item);color:#59606b;font-size:10px;font-weight:650;white-space:nowrap}.revision-state.draft{background:#fff6df;color:#8c6200}.revision-state.published{background:var(--status-success-bg);color:var(--status-success)}.published-playlist-panel{margin-top:0}.published-playlist-panel .playlist-item-row{padding-left:4px}.published-playlist-panel .content-list-heading span:last-child{color:var(--status-success)}.media-upload-row{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:2px 0 0}.media-upload-row button{min-height:38px;padding:0 14px;font-size:12px}.media-upload-row .form-hint{margin:0}.screen-content-panel .content-submit-row button{min-height:40px}
@media(max-width:780px){.playlist-version-actions{justify-content:flex-start}.screen-playlist-panel>.content-panel-heading{align-items:flex-start;flex-direction:column}.media-upload-row{align-items:flex-start;flex-direction:column}.published-playlist-panel .screen-playlist-items{overflow-x:auto}}
.content-dialog{width:min(760px,calc(100% - 28px));max-height:calc(100% - 28px);padding:25px 26px 20px;overflow-y:auto}.content-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:0 42px 15px 0;border-bottom:1px solid var(--line-subtle)}.content-dialog-heading h2{margin:0;color:var(--text-primary);font-size:22px;letter-spacing:-.04em}.content-dialog-heading .muted{margin:6px 0 0;font-size:12px}.content-dialog .screen-content-form{border-top:0;padding-top:17px}.content-dialog .content-submit-row{padding-top:4px}
.edit-content-current-type{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid var(--line-subtle);border-radius:9px;background:#fafbfc}.edit-content-current-type[hidden],.content-type-row[hidden],#screen-media-file-label[hidden],#screen-media-help[hidden],#media-upload-row[hidden]{display:none}.edit-content-current-type>div{display:grid;gap:4px}.edit-content-current-type span{color:var(--muted);font-size:10px}.edit-content-current-type strong{color:#252830;font-size:12px;font-weight:650}.edit-content-current-type button{min-height:35px;padding:0 12px;font-size:11px}
.content-input-grid.duration-only{grid-template-columns:minmax(200px,320px)}
.edit-media-preview{display:grid;gap:8px;padding:12px;border:1px solid var(--line-subtle);border-radius:10px;background:#fafbfc}.edit-media-preview[hidden]{display:none}.edit-media-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#30343c;font-size:12px}.edit-media-preview-heading strong{font-weight:650}.edit-media-preview-heading span{min-width:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px}.edit-media-screen-info{margin:0;color:var(--muted);font-size:10px}.edit-media-preview-stage{min-height:180px;display:grid;place-items:center;padding:12px;border-radius:8px;background:#f0f1f3}.edit-tv-frame{display:grid;place-items:center;max-width:100%;max-height:100%;overflow:hidden;border:6px solid #17191e;border-radius:12px;background:#111318;box-shadow:0 8px 22px #11131820}.edit-tv-frame[data-orientation="portrait"]{border-radius:14px}.edit-tv-frame img,.edit-tv-frame video,.edit-tv-frame iframe{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#111318}.edit-tv-frame iframe{background:#fff}.edit-media-unavailable{padding:20px;color:#b9bdc6;text-align:center;font-size:12px}.edit-media-duration{margin:0;color:var(--muted);font-size:11px}.content-dialog-actions,.content-dialog-primary-actions{display:flex;align-items:center;gap:8px}.content-dialog-actions[hidden],.content-dialog-primary-actions[hidden]{display:none}.content-dialog-primary-actions{justify-content:flex-end}
@media(max-width:780px){.content-dialog{padding:22px 18px 17px}.content-dialog-heading .muted{line-height:1.45}.playlist-version-actions{gap:6px}.playlist-version-actions .revision-state{order:3}}

.users-panel{padding:19px 20px}.users-panel>.detail-section-title{padding:2px 1px 13px}.users-panel>.detail-section-title h2{margin:0;font-size:17px}.users-table{min-width:850px}.users-table td:first-child strong,.users-table td:first-child small{display:block}.users-table td:first-child strong{color:#252830;font-size:12px;font-weight:650}.table-subline{margin-top:4px;color:var(--text-subtle);font-size:11px}.users-loading{text-align:center;padding:25px;color:var(--text-subtle)}.user-row-actions{display:flex;gap:6px;justify-content:flex-end}.user-row-actions button{min-height:32px;padding:0 9px;font-size:11px;white-space:nowrap}.user-row-actions button.danger{border:1px solid #f1d5d5;background:#fff;color:var(--status-danger)}.user-row-actions button.danger:hover{background:#fff5f5}.user-row-actions button:disabled{opacity:.5;cursor:not-allowed}.user-dialog{width:min(520px,calc(100% - 30px));padding:27px}.user-dialog-heading{display:flex;justify-content:space-between;gap:16px;padding-right:38px;margin-bottom:18px}.user-dialog-heading .eyebrow{margin-bottom:7px}.user-dialog-heading h2{margin:0;color:var(--text-primary);font-size:23px;letter-spacing:-.04em}.user-dialog-heading .muted{margin:6px 0 0;line-height:1.5}.user-form{display:grid;gap:13px}.user-form label{display:grid}.user-form .form-hint{margin:0}.user-password-result{margin-top:18px;padding:16px;border:1px solid #d9e9dc;border-radius:10px;background:#f7fbf8}.user-password-result p{margin:6px 0 11px;color:var(--muted);font-size:12px;line-height:1.5}.user-password-result code{display:block;overflow-wrap:anywhere;padding:11px;border:1px solid var(--line-table);border-radius:7px;background:#fff;color:#111318;font-size:14px}.user-password-result .dialog-actions{margin-top:15px}.users-panel #admin-users-message{margin:12px 0 2px}.users-panel #admin-users-message:empty{display:none}
.reload-confirm-screen{margin:10px 0 0;padding:9px 11px;border:1px solid var(--line-subtle);border-radius:8px;background:#fafbfc;color:#30343c;font-size:12px;font-weight:650;overflow-wrap:anywhere}
@media(max-width:780px){.users-panel{padding:15px 13px}.users-panel>.detail-section-title{align-items:flex-start;flex-direction:column;gap:4px}.users-table{min-width:850px}.user-dialog{padding:23px 19px}}


button:focus-visible,a:focus-visible{outline:3px solid var(--focus-outline);outline-offset:2px}

.screenshot-placeholder-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1100px){.screen-page-heading{align-items:flex-start;flex-direction:column}.screen-actions{width:100%;justify-content:flex-start}}

.route-loading{min-height:clamp(260px,55vh,560px);display:grid;place-content:center;justify-items:center;gap:13px;color:var(--muted)}.route-loading p{margin:0;font-size:13px}.route-loading-spinner{width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:route-spin .75s linear infinite}@keyframes route-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.route-loading-spinner{animation:none}}
.danger{min-height:40px;padding:0 12px;border:1px solid #f1d5d5;border-radius:var(--radius-control);background:#fff;color:var(--status-danger);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.danger:hover:not(:disabled){background:#fff5f5;border-color:#e6bcbc}.danger:disabled{opacity:.55;cursor:not-allowed}.playlist-version-actions .danger{min-height:36px;padding:0 12px;font-size:11px}.screen-delete-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 32px;padding:18px 20px;border-color:#f1d5d5}.screen-delete-panel h2{margin:0 0 5px;color:var(--status-danger);font-size:15px}.screen-delete-panel .muted{margin:0;font-size:12px;line-height:1.45}@media(max-width:780px){.screen-delete-panel{align-items:flex-start;flex-direction:column;padding:15px}}

.draft-playlist-panel{border-color:#d7dfde}.draft-playlist-panel>.content-panel-heading{align-items:flex-start}.live-playlist-panel{padding:13px 18px 8px;background:#fbfcfc}.live-playlist-panel .content-panel-heading{padding-bottom:5px;border-bottom:0}.live-playlist-panel>.screen-playlist-items{padding-top:8px;border-top:1px solid var(--line-subtle)}.version-history-list{display:grid;gap:0;max-height:min(55vh,520px);overflow:auto;border-top:1px solid var(--line-subtle)}.version-history-row{min-height:65px;display:flex;align-items:center;gap:14px;padding:10px 3px;border-bottom:1px solid var(--line-subtle)}.version-history-copy{min-width:0;flex:1}.version-history-copy strong,.version-history-copy span{display:block}.version-history-copy strong{color:#252830;font-size:13px;font-weight:650}.version-history-copy span{margin-top:4px;color:var(--muted);font-size:11px}.version-history-row button{min-height:34px;padding:0 12px;font-size:11px}.history-dialog{width:min(620px,calc(100% - 28px));max-height:calc(100% - 28px);padding:25px 26px 20px}.history-dialog .user-dialog-heading{margin-bottom:17px}.history-dialog .user-dialog-heading h2{font-size:22px}.history-dialog .dialog-actions{justify-content:flex-end}.history-dialog #version-history-message:empty{display:none}

.live-revision-button{min-height:36px;padding:0 12px;border:1px solid #167a45;border-radius:8px;background:#16834b;color:#fff;font:inherit;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px #0e5b321f;transition:background .15s,border-color .15s,box-shadow .15s}.live-revision-button:hover:not(:disabled){background:#126d3e;border-color:#126d3e}.live-revision-button:focus-visible{outline:3px solid #16834b40;outline-offset:2px}.live-revision-button.is-open{background:#105f36;border-color:#105f36}.live-revision-button:disabled{border-color:#dfe4e1;background:#f3f5f4;color:#7b837e;box-shadow:none;cursor:not-allowed}
