.tvshare-workspace{display:flex;min-width:0;flex:1;flex-direction:column;gap:16px}.tvshare-page-heading{min-width:0;align-items:center}.tvshare-page-heading>div{min-width:0}.tvshare-page-heading p{overflow-wrap:anywhere}.tvshare-page-heading .primary-button{white-space:nowrap}.tvshare-tabs{max-width:100%;scrollbar-width:thin}.tvshare-view{display:flex;min-width:0;min-height:0;flex:1;flex-direction:column}.tvshare-overview{display:flex;min-height:0;flex:1;flex-direction:column;gap:16px}.tvshare-loading{display:flex;align-items:center;gap:12px;padding:24px;color:var(--muted);font-size:13px}.tvshare-spinner{width:20px;height:20px;flex:0 0 20px;border:3px solid #d9e5fb;border-top-color:var(--blue);border-radius:50%;animation:tvshare-spin .8s linear infinite}@keyframes tvshare-spin{to{transform:rotate(360deg)}}
.tvshare-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;overflow:hidden}.tvshare-metric{display:grid;gap:4px;min-width:0;padding:18px 20px;border-right:1px solid #e6edf7}.tvshare-metric:last-child{border-right:0}.tvshare-metric span{color:#52708f;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.tvshare-metric strong{color:var(--text);font-size:25px;line-height:1.15}.tvshare-metric small{color:var(--muted);font-size:10px;line-height:1.4;overflow-wrap:anywhere}.tvshare-overview-action{display:flex;justify-content:flex-end;margin-bottom:-8px}.tvshare-overview-action .text-button{font-size:10px}.tvshare-overview-grid{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.45fr);gap:16px}.tvshare-tv-status{order:-1}.tvshare-now,.tvshare-tv-status,.tvshare-upcoming,.tvshare-library-panel,.tvshare-devices-panel,.tvshare-agenda-panel{min-width:0;padding:20px;overflow:hidden}.tvshare-section-head{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:14px}.tvshare-section-head>div{min-width:0}.tvshare-section-head h2{margin:3px 0 0;color:var(--text);font-size:18px;line-height:1.25;overflow-wrap:anywhere}.tvshare-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#edf2f8;color:#60758b;font-size:10px;font-style:normal;font-weight:800;line-height:1.2;text-align:center;white-space:nowrap}.tvshare-pill.is-online{background:#e4f7ed;color:#167a49}.tvshare-pill.is-scheduled{background:#fff5d9;color:#9a6905}.tvshare-pill.is-offline{background:#feeceb;color:#bd3f37}.tvshare-now-body{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(190px,.85fr);gap:18px;margin-top:18px}.tvshare-now-body>img,.tvshare-preview-empty{display:block;width:100%;aspect-ratio:16/9;border-radius:14px;background:#eaf1fb;object-fit:cover}.tvshare-preview-empty{display:grid;place-items:center;color:#6591c3}.tvshare-preview-empty svg{width:56px;height:56px}.tvshare-now-body p{margin:0 0 13px;color:var(--muted);font-size:11px}.tvshare-now-body strong{font-size:11px;text-transform:uppercase}.tvshare-now-body ul{display:grid;gap:5px;margin:8px 0 12px;padding:0;list-style:none;color:#365777;font-size:12px}.tvshare-now-body li::before{margin-right:6px;color:#20a365;content:'●'}.tvshare-now-body small{color:var(--muted);font-size:10px}.tvshare-inline-actions{display:flex;gap:10px;margin-top:17px}.tvshare-inline-actions .secondary-button{min-height:36px}.text-button.danger{color:#b23c35}.tvshare-empty{display:grid;justify-items:center;gap:8px;min-width:0;margin-top:18px;padding:30px 18px;border:1px dashed #c7d8ed;border-radius:15px;background:#fbfdff;text-align:center}.tvshare-empty.compact{padding:20px 14px}.tvshare-empty svg{width:42px;height:42px;color:#6995c7}.tvshare-empty strong{max-width:100%;font-size:13px;overflow-wrap:anywhere}.tvshare-empty p{max-width:550px;margin:0;color:var(--muted);font-size:11px;line-height:1.5}.tvshare-empty .primary-button{margin-top:5px}
.tvshare-device-list{display:grid;gap:8px;margin-top:16px}.tvshare-device-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:11px 0;border-bottom:1px solid #e9eff6}.tvshare-device-row:last-child{border-bottom:0}.tvshare-device-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#eaf2ff;color:var(--blue)}.tvshare-device-icon svg{width:23px;height:23px}.tvshare-device-main,.tvshare-device-row>div{min-width:0}.tvshare-device-main>strong,.tvshare-device-main>small,.tvshare-device-main>span,.tvshare-device-row>div>strong,.tvshare-device-row>div>small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tvshare-device-main>strong,.tvshare-device-row>div>strong{font-size:12px}.tvshare-device-main>small,.tvshare-device-row>div>small{margin-top:3px;color:var(--muted);font-size:10px}.tvshare-device-main>span{margin-top:5px;color:#496b8d;font-size:10px}.tvshare-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#9aaabd}.tvshare-dot.is-online{background:#21a264}.tvshare-dot.is-offline{background:#dc4b44}.tvshare-dot.is-scheduled{background:#dfa916}.tvshare-row-actions{display:flex;align-items:center;gap:6px}.tvshare-upcoming{min-height:180px;flex:1;padding-bottom:14px}.tvshare-table{display:grid;margin-top:15px}.tvshare-tr{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(160px,1.4fr) minmax(80px,.6fr) minmax(130px,.8fr);align-items:center;gap:12px;min-width:0;padding:12px 8px;border-top:1px solid #e8eef6;color:#466887;font-size:11px}.tvshare-tr>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tvshare-tr strong{color:var(--text)}.tvshare-th{border-top:0;color:#71879d;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.tvshare-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.tvshare-search{display:flex;align-items:center;gap:8px;min-width:190px;max-width:330px;height:40px;padding:0 12px;border:1px solid #d6e2f1;border-radius:11px;background:#fbfdff}.tvshare-search svg{width:17px;height:17px;color:#7189a3}.tvshare-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:12px}.tvshare-filter-group,.tvshare-view-switch,.tvshare-add-methods{display:flex;gap:4px;padding:4px;border-radius:11px;background:#eff4fa;overflow-x:auto}.tvshare-filter-group button,.tvshare-view-switch button,.tvshare-add-methods button{min-height:31px;padding:5px 10px;border:0;border-radius:8px;background:transparent;color:#60778e;font:inherit;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer}.tvshare-filter-group button.active,.tvshare-view-switch button.active,.tvshare-add-methods button.active{background:#fff;color:var(--blue);box-shadow:0 1px 5px rgba(38,74,116,.12)}.tvshare-filter-group button:disabled{opacity:.48;cursor:not-allowed}.tvshare-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:18px}.tvshare-asset-card{min-width:0;overflow:hidden;border:1px solid #dce6f2;border-radius:14px;background:#fff}.tvshare-asset-image{position:relative;overflow:hidden;background:#eaf1f8}.tvshare-asset-image>img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.tvshare-asset-actions{position:absolute;inset:auto 8px 8px;display:flex;flex-wrap:wrap;gap:5px;opacity:0;transform:translateY(5px);transition:.18s}.tvshare-asset-card:hover .tvshare-asset-actions,.tvshare-asset-card:focus-within .tvshare-asset-actions{opacity:1;transform:none}.tvshare-asset-actions button{min-height:29px;flex:1 1 72px;border:0;border-radius:8px;background:rgba(15,39,66,.9);color:#fff;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.tvshare-asset-actions button.danger{background:rgba(151,42,35,.94)}.tvshare-asset-card>div:last-child{display:grid;gap:3px;padding:11px}.tvshare-asset-card strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.tvshare-asset-card small{color:var(--muted);font-size:9px}.tvshare-ai-note{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:14px;border-radius:12px;background:#f0f6ff;color:#365f8a}.tvshare-ai-note svg{width:24px;height:24px;flex:0 0 24px}.tvshare-ai-note strong{font-size:11px}.tvshare-ai-note p{margin:3px 0 0;font-size:10px;line-height:1.5}.tvshare-devices-panel .tvshare-device-row{padding:14px 5px}.tvshare-devices-panel .tvshare-device-icon{width:46px;height:46px}.tvshare-devices-panel .tvshare-device-main>strong{font-size:13px}
.tvshare-library-actions{display:flex;align-items:center;gap:8px}.secondary-button.danger{border-color:#e7b9b5;color:#a7352e}.tvshare-asset-card{position:relative}.tvshare-asset-card.selected{border-color:var(--blue);box-shadow:0 0 0 2px rgba(9,105,255,.12)}.tvshare-asset-select{position:absolute;z-index:3;top:8px;left:8px;display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.94);color:#244a70;font-size:9px;font-weight:800;cursor:pointer;box-shadow:0 2px 8px rgba(8,28,50,.16)}.tvshare-device-row[data-tvshare-device-select]{cursor:pointer}.tvshare-device-row.selected{border-color:var(--blue);background:#f2f7ff;box-shadow:inset 3px 0 0 var(--blue)}.tvshare-now-media{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:14px;background:#0b1621}.tvshare-now-media>img{display:block;width:100%;height:100%;object-fit:contain}.tvshare-now-controls{position:absolute;right:8px;bottom:8px;left:8px;display:flex;align-items:center;justify-content:space-between;padding:5px 7px;border-radius:10px;background:rgba(8,25,42,.82);color:#fff}.tvshare-now-controls button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:#fff;color:#173b60;font-size:22px;cursor:pointer}.tvshare-now-controls strong{font-size:10px;text-transform:none}
.tvshare-calendar{display:grid;gap:10px;max-height:min(66vh,720px);margin-top:18px;padding-right:5px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.tvshare-calendar-event{display:grid;grid-template-columns:92px minmax(0,1fr) auto auto;align-items:center;gap:14px;min-width:0;padding:13px 14px;border:1px solid #dfe8f4;border-left:4px solid #93a8bc;border-radius:12px;background:#fff}.tvshare-calendar-event.is-online{border-left-color:#21a264}.tvshare-calendar-event.is-scheduled{border-left-color:#e2aa16}.tvshare-calendar-event.is-offline{border-left-color:#d94c44}.tvshare-calendar-event time strong,.tvshare-calendar-event time small{display:block}.tvshare-calendar-event time strong{font-size:17px}.tvshare-calendar-event time small{margin-top:2px;color:var(--muted);font-size:9px;text-transform:capitalize}.tvshare-calendar-event>div{display:grid;min-width:0;gap:3px}.tvshare-calendar-event>div strong,.tvshare-calendar-event>div span,.tvshare-calendar-event>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tvshare-calendar-event>div strong{font-size:12px}.tvshare-calendar-event>div span{color:#45698b;font-size:10px}.tvshare-calendar-event>div small{color:var(--muted);font-size:9px}.tvshare-agenda-actions{display:flex!important;grid-auto-flow:column;align-items:center;gap:8px!important;white-space:nowrap}
.tvshare-modal-backdrop{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:24px;background:rgba(13,29,49,.55);backdrop-filter:blur(4px)}.tvshare-modal{display:flex;width:min(920px,100%);max-height:min(850px,calc(100vh - 40px));flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.4);border-radius:19px;background:#fff;box-shadow:0 24px 75px rgba(12,34,60,.28)}.tvshare-device-modal{width:min(620px,100%)}.tvshare-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e6edf6}.tvshare-modal>header h1{margin:3px 0 0;font-size:19px;line-height:1.3}.tvshare-close{width:35px;height:35px;flex:0 0 35px;border:0;border-radius:50%;background:#eef3f8;color:#516b85;font-size:23px;line-height:1;cursor:pointer}.tvshare-modal-body{min-height:0;overflow-y:auto;padding:22px}.tvshare-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-top:1px solid #e6edf6;background:#fbfcfe}.tvshare-wizard-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:14px 22px;background:#f7f9fc}.tvshare-wizard-progress span{display:flex;align-items:center;gap:7px;color:#7c8fa2;font-size:10px;font-weight:750}.tvshare-wizard-progress i{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#e4eaf1;font-style:normal}.tvshare-wizard-progress .active,.tvshare-wizard-progress .done{color:var(--blue)}.tvshare-wizard-progress .active i,.tvshare-wizard-progress .done i{background:var(--blue);color:#fff}.tvshare-wizard-page{display:grid;gap:18px}.tvshare-wizard-page>h2{margin:0;font-size:20px}.tvshare-field,.tvshare-form label{display:grid;min-width:0;gap:6px;color:#365b80;font-size:11px;font-weight:750}.tvshare-field input,.tvshare-field select,.tvshare-form input,.tvshare-form select{width:100%;height:42px;border:1px solid #d4e2f1;border-radius:10px;background:#fbfdff;padding:0 11px;color:var(--text);font:inherit;font-size:12px}.tvshare-field input:focus,.tvshare-field select:focus,.tvshare-form input:focus,.tvshare-form select:focus{outline:2px solid rgba(9,105,255,.18);border-color:var(--blue)}.tvshare-wizard-assets{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:11px}.tvshare-wizard-assets>label{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;min-width:0;padding:7px;border:2px solid transparent;border-radius:12px;background:#f2f6fb;cursor:pointer}.tvshare-wizard-assets>label.selected{border-color:var(--blue);background:#edf5ff}.tvshare-wizard-assets img{grid-column:1/-1;width:100%;aspect-ratio:16/10;border-radius:8px;object-fit:cover}.tvshare-wizard-assets>label>input[type=checkbox]{position:absolute;top:12px;left:12px}.tvshare-wizard-assets>label>span{min-width:0;overflow:hidden;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.tvshare-wizard-assets input[type=number]{width:48px;height:28px;border:1px solid #cbd9e9;border-radius:7px;padding:0 5px;font-size:10px}.tvshare-wizard-assets small{position:absolute;right:10px;bottom:13px;transform:translateX(13px);font-size:9px}.tvshare-select-all{display:flex;justify-content:flex-end}.tvshare-select-all label{font-size:11px;font-weight:750}.tvshare-wizard-devices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tvshare-wizard-devices>label{display:grid;grid-template-columns:auto 40px minmax(0,1fr);align-items:center;gap:10px;padding:12px;border:1px solid #dce7f3;border-radius:12px;cursor:pointer}.tvshare-wizard-devices>label.selected{border-color:var(--blue);background:#f0f6ff}.tvshare-wizard-devices strong,.tvshare-wizard-devices small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tvshare-wizard-devices strong{font-size:11px}.tvshare-wizard-devices small{margin-top:3px;color:var(--muted);font-size:9px}.tvshare-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tvshare-choice label{display:flex;align-items:center;gap:9px;padding:14px;border:1px solid #dce6f2;border-radius:12px;font-size:12px;font-weight:750;cursor:pointer}.tvshare-choice label.selected{border-color:var(--blue);background:#eff6ff;color:var(--blue)}.tvshare-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tvshare-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.tvshare-weekdays label{display:grid;place-items:center;min-height:38px;border:1px solid #dce6f2;border-radius:9px;font-size:9px;font-weight:750;cursor:pointer}.tvshare-weekdays label.selected{border-color:var(--blue);background:var(--blue);color:#fff}.tvshare-weekdays input{position:absolute;opacity:0}.tvshare-review{display:grid;grid-template-columns:minmax(230px,1fr) minmax(250px,1fr);gap:20px}.tvshare-review-preview{overflow:hidden;border-radius:14px;background:#eaf1f8}.tvshare-review-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.tvshare-review dl{display:grid;gap:0;margin:0}.tvshare-review dl>div{display:grid;grid-template-columns:95px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f6}.tvshare-review dt{color:var(--muted);font-size:10px}.tvshare-review dd{margin:0;font-size:11px;font-weight:750;overflow-wrap:anywhere}.tvshare-delivery-truth{display:grid;gap:3px;padding:13px;border:1px solid #f2d993;border-radius:11px;background:#fff9e8;color:#745411}.tvshare-delivery-truth strong{font-size:11px}.tvshare-delivery-truth small{font-size:9px;line-height:1.45}.tvshare-success{display:grid;justify-items:center;gap:9px;padding:30px 15px;text-align:center}.tvshare-success>span{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#dff5e9;color:#168453;font-size:30px;font-weight:800}.tvshare-success h2{margin:5px 0 0}.tvshare-success p{margin:0;color:var(--muted);font-size:12px}.tvshare-success .tvshare-delivery-truth{max-width:480px;margin:10px 0;text-align:left}
.tvshare-add-methods{margin-bottom:18px}.tvshare-add-methods button{flex:1}.tvshare-form{display:grid;gap:13px}.tvshare-form p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.tvshare-form .primary-button{justify-self:start}.tvshare-lan-progress{display:flex;align-items:center;gap:11px;margin-top:15px;padding:14px;border:1px solid #dce6f2;border-radius:11px;background:#fbfdff}.tvshare-lan-progress strong,.tvshare-lan-progress small{display:block}.tvshare-lan-progress strong{font-size:11px}.tvshare-lan-progress small{margin-top:3px;color:var(--muted);font-size:9px}.tvshare-error{margin:0;padding:13px 15px;border:1px solid #f1cac7;border-radius:11px;background:#fff1f0;color:#a73d36;font-size:11px;line-height:1.5}
@media(max-width:1050px){.tvshare-metrics{grid-template-columns:repeat(2,1fr)}.tvshare-metric:nth-child(2){border-right:0}.tvshare-metric:nth-child(-n+2){border-bottom:1px solid #e6edf7}.tvshare-overview-grid{grid-template-columns:1fr}.tvshare-toolbar{align-items:stretch;flex-direction:column}.tvshare-search{max-width:none}.tvshare-filter-group{max-width:100%}}
@media(max-width:720px){.tvshare-workspace{gap:12px}.tvshare-page-heading{align-items:stretch;flex-direction:column}.tvshare-page-heading .primary-button{width:100%}.tvshare-tabs{overflow-x:auto}.tvshare-metric{padding:14px}.tvshare-metric strong{font-size:22px}.tvshare-now,.tvshare-tv-status,.tvshare-upcoming,.tvshare-library-panel,.tvshare-devices-panel,.tvshare-agenda-panel{padding:15px}.tvshare-now-body{grid-template-columns:1fr}.tvshare-table{overflow-x:auto}.tvshare-tr{min-width:600px}.tvshare-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tvshare-asset-actions{position:static;padding:6px;opacity:1;transform:none}.tvshare-calendar{max-height:58vh}.tvshare-calendar-event{grid-template-columns:74px minmax(0,1fr);gap:10px}.tvshare-calendar-event>.tvshare-pill,.tvshare-calendar-event>.text-button,.tvshare-agenda-actions{justify-self:start}.tvshare-modal-backdrop{align-items:end;padding:0}.tvshare-modal{max-height:94vh;border-radius:18px 18px 0 0}.tvshare-modal>header,.tvshare-modal-body,.tvshare-modal>footer{padding:16px}.tvshare-modal>header h1{font-size:16px}.tvshare-wizard-progress{padding:11px 14px}.tvshare-wizard-progress span{justify-content:center;font-size:0}.tvshare-wizard-progress i{font-size:10px}.tvshare-wizard-devices,.tvshare-review,.tvshare-date-grid{grid-template-columns:1fr}.tvshare-weekdays{grid-template-columns:repeat(4,1fr)}.tvshare-section-head{align-items:flex-start}.tvshare-section-head .primary-button{white-space:nowrap}}
@media(max-width:390px){.tvshare-metrics{grid-template-columns:1fr}.tvshare-metric{border-right:0;border-bottom:1px solid #e6edf7}.tvshare-metric:last-child{border-bottom:0}.tvshare-library-grid{grid-template-columns:1fr}.tvshare-device-row{grid-template-columns:38px minmax(0,1fr)}.tvshare-row-actions,.tvshare-device-row>.primary-button{grid-column:2;justify-self:start}.tvshare-section-head{flex-direction:column}.tvshare-section-head>.primary-button,.tvshare-section-head>.tvshare-view-switch{width:100%}.tvshare-view-switch button{flex:1}.tvshare-choice{grid-template-columns:1fr}.tvshare-modal>footer .primary-button,.tvshare-modal>footer .secondary-button{padding-inline:12px}}
.tvshare-pairing-guide{display:grid;justify-items:start;gap:16px}.tvshare-pairing-guide>p{margin:0;color:#54708b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.tvshare-pairing-steps{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px 12px}.tvshare-pairing-steps>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e9f2ff;color:var(--blue);font-size:12px;font-weight:850}.tvshare-pairing-steps>p{margin:0;color:#345777;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.tvshare-pairing-label{font-size:11px!important;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.tvshare-pairing-code{font-size:clamp(34px,8vw,56px);letter-spacing:.16em;color:#123c68}
.tvshare-wizard-assets-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.tvshare-wizard-assets-head>div{display:grid;gap:3px}.tvshare-wizard-assets-head strong{font-size:12px}.tvshare-wizard-assets-head small{color:var(--muted);font-size:10px}.tvshare-wizard-assets-actions{display:flex!important;align-items:center;gap:9px!important}.tvshare-wizard-assets-actions>span{flex:0 0 auto;color:var(--blue);font-size:10px;font-weight:800;white-space:nowrap}.tvshare-wizard-assets-actions .secondary-button{min-height:34px;padding:0 11px;white-space:nowrap}.tvshare-wizard-assets{max-height:none;padding:3px;overflow:visible}.tvshare-wizard-asset{display:grid;min-width:0;overflow:hidden;border:2px solid transparent;border-radius:13px;background:#f2f6fb}.tvshare-wizard-asset.selected{border-color:var(--blue);background:#edf5ff}.tvshare-wizard-asset-select{position:relative;display:grid;grid-template-columns:1fr;gap:5px;min-width:0;padding:7px;cursor:pointer}.tvshare-wizard-asset-select>input[type=checkbox]{position:absolute;z-index:1;top:12px;left:12px}.tvshare-wizard-asset-select>span{min-width:0;overflow:hidden;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.tvshare-wizard-asset-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 7px 8px}.tvshare-wizard-asset-controls>label{display:flex;align-items:center;gap:4px;min-width:0;color:#45698b;font-size:9px;font-weight:750}.tvshare-wizard-asset-controls>span{color:var(--muted);font-size:9px}.tvshare-wizard-asset-controls small{position:static;right:auto;bottom:auto;transform:none}.tvshare-wizard-asset-controls .secondary-button{min-height:30px;padding:0 8px;font-size:9px;white-space:nowrap}.tvshare-magic-backdrop{z-index:1300}.tvshare-magic-modal{width:min(980px,100%)}.tvshare-magic-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:20px}.tvshare-magic-preview{display:grid;place-items:center;overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:15px;background:#000;box-shadow:0 12px 34px rgba(7,24,44,.18)}.tvshare-magic-preview img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;background:#000;image-rendering:auto}.tvshare-magic-preview-label{margin:8px 0 0;color:var(--muted);font-size:10px;text-align:center}.tvshare-magic-options{display:grid;align-content:start;gap:14px}.tvshare-magic-options fieldset{display:grid;gap:7px;margin:0;padding:0;border:0}.tvshare-magic-options legend{margin-bottom:7px;color:#365b80;font-size:11px;font-weight:800}.tvshare-magic-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tvshare-magic-choice button{display:grid;gap:3px;min-height:68px;padding:10px;border:1px solid #d7e3f1;border-radius:11px;background:#fff;color:var(--text);font:inherit;text-align:left;cursor:pointer}.tvshare-magic-choice button.selected{border-color:var(--blue);background:#edf5ff;box-shadow:0 0 0 1px var(--blue)}.tvshare-magic-choice strong{font-size:11px}.tvshare-magic-choice small{color:var(--muted);font-size:9px;line-height:1.35}.tvshare-magic-note{display:grid;gap:3px;padding:12px;border:1px solid #cfe0f5;border-radius:11px;background:#f4f8ff}.tvshare-magic-note strong{font-size:11px}.tvshare-magic-note small{color:var(--muted);font-size:9px;line-height:1.45}.tvshare-magic-progress{display:flex;align-items:center;gap:9px;color:#365b80;font-size:11px;font-weight:750}@media(max-width:720px){.tvshare-wizard-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.tvshare-wizard-assets-head{align-items:flex-start;flex-direction:column}.tvshare-wizard-assets-actions{width:100%;justify-content:space-between}.tvshare-magic-layout{grid-template-columns:1fr}.tvshare-magic-choice{grid-template-columns:1fr 1fr}}@media(max-width:390px){.tvshare-wizard-assets{grid-template-columns:1fr}.tvshare-wizard-assets-actions{align-items:stretch;flex-direction:column}.tvshare-wizard-assets-actions .secondary-button{width:100%}.tvshare-magic-choice{grid-template-columns:1fr}}
.tvshare-wizard-assets{grid-auto-rows:max-content;align-content:start}
.tvshare-review-preview img{object-fit:contain;background:#000}
.tvshare-magic-choice.tvshare-magic-treatment{grid-template-columns:1fr}.tvshare-magic-note.is-ai{border-color:#a9d8c2;background:#effaf5}
.tvshare-library-panel{display:flex;height:clamp(220px,calc(100dvh - 185px),1080px);min-height:0;flex-direction:column}.tvshare-library-panel>.tvshare-section-head,.tvshare-library-panel>.tvshare-toolbar{flex:0 0 auto}.tvshare-library-actions{flex-wrap:wrap;justify-content:flex-end}.tvshare-library-photos{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:5px}.tvshare-library-photos .tvshare-empty{margin-top:14px}.tvshare-library-grid{align-content:start;margin-top:14px;padding-bottom:5px}.tvshare-asset-card{display:flex;flex-direction:column}.tvshare-asset-image{flex:0 0 auto}.tvshare-asset-preview{display:block;width:100%;padding:0;border:0;background:#eaf1f8;cursor:zoom-in}.tvshare-asset-preview:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}.tvshare-asset-preview img{display:block;width:100%;aspect-ratio:16/10;object-fit:contain}.tvshare-asset-card>div.tvshare-asset-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 10px 6px}.tvshare-asset-meta>div{display:grid;gap:3px;min-width:0}.tvshare-asset-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.tvshare-asset-meta small{color:var(--muted);font-size:9px;white-space:nowrap}.tvshare-asset-card .tvshare-asset-select{position:static;z-index:auto;flex:0 0 auto;gap:5px;padding:3px 0;border-radius:0;background:transparent;box-shadow:none;color:#244a70;font-size:9px}.tvshare-asset-card .tvshare-asset-select input{margin:0}.tvshare-asset-card>div.tvshare-asset-actions{position:static;display:flex;gap:6px;margin-top:auto;padding:5px 8px 9px;opacity:1;transform:none}.tvshare-asset-actions button{min-height:30px;background:#edf4fc;color:#245276}.tvshare-asset-actions button:hover{background:#dceaff}.tvshare-photo-backdrop{z-index:1500}.tvshare-photo-modal{width:min(1400px,100%);max-height:calc(100dvh - 32px)}.tvshare-photo-stage{display:grid;place-items:center;min-height:0;overflow:auto;padding:12px;background:#101b29}.tvshare-photo-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 140px);object-fit:contain}
@media(max-width:720px){.tvshare-library-panel>.tvshare-section-head{align-items:stretch;flex-direction:column}.tvshare-library-actions{justify-content:flex-start}.tvshare-photo-backdrop{align-items:center;padding:12px}.tvshare-photo-modal{border-radius:16px}.tvshare-photo-stage img{max-height:calc(100dvh - 125px)}}
.tvshare-library-panel.all-collapsed{height:auto}.tvshare-library-groups{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:9px;margin-top:14px}.tvshare-library-group{display:flex;min-height:0;flex:1 1 0;flex-direction:column;overflow:hidden;border:1px solid #dce6f2;border-radius:12px;background:#fbfdff}.tvshare-library-group.is-collapsed{flex:0 0 auto}.tvshare-library-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:39px;flex:0 0 auto;padding:8px 12px;border:0;background:#eff5fc;color:#244a70;font:inherit;font-size:11px;font-weight:800;text-align:left;cursor:pointer}.tvshare-library-group-toggle small{font-size:10px;color:#64809b}.tvshare-library-group-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.tvshare-library-group .tvshare-library-photos{padding:0 10px 9px}.tvshare-library-group .tvshare-library-grid{margin-top:10px}.tvshare-library-actions .secondary-button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:720px){.tvshare-library-panel{height:clamp(250px,calc(100dvh - 170px),900px)}.tvshare-library-panel.all-collapsed{height:auto}.tvshare-library-panel.manage-mode .tvshare-toolbar{display:none}}
.tvshare-library-notice{flex:0 0 auto;margin:10px 0 0;padding:8px 10px;border-radius:8px;background:#eef5fd;color:#245276;font-size:11px;line-height:1.4}
@media(max-height:500px){.tvshare-library-panel>.tvshare-toolbar{display:none}.tvshare-library-panel .tvshare-library-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.tvshare-library-panel .tvshare-asset-preview img{aspect-ratio:16/9}.tvshare-library-panel .tvshare-asset-meta{padding:5px 7px}.tvshare-library-panel .tvshare-asset-actions{padding:4px 6px}}

/* TVShare overview scheduling refinement: scoped to the TVShare page only. */
.tvshare-page .tvshare-tv-status{display:flex;min-height:0;flex-direction:column;overflow:hidden!important}
.tvshare-page .tvshare-tv-status>.tvshare-device-list{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin}
.tvshare-page .tvshare-now{display:flex;min-height:0;flex-direction:column;overflow:hidden!important}
.tvshare-page .tvshare-now>.tvshare-section-head{flex:0 0 auto}
.tvshare-page .tvshare-now-body{display:grid;min-height:0;flex:1 1 auto;grid-template-columns:minmax(240px,1.55fr) minmax(180px,.72fr);align-items:stretch;gap:18px;margin-top:10px}
.tvshare-page .tvshare-now-media,.tvshare-page .tvshare-now-body>.tvshare-preview-empty{min-width:0;min-height:0;width:100%;height:100%;aspect-ratio:auto}
.tvshare-page .tvshare-now-media>img{width:100%;height:100%;object-fit:contain}
.tvshare-page .tvshare-now-details{display:flex;min-width:0;min-height:0;flex-direction:column;align-items:stretch;justify-content:center}
.tvshare-page .tvshare-now-program{display:grid;gap:2px;margin-bottom:5px}
.tvshare-page .tvshare-now-program small,.tvshare-page .tvshare-now-frequency span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.tvshare-page .tvshare-now-program h2{margin:0;color:var(--text);font-size:16px;line-height:1.2;overflow-wrap:anywhere}
.tvshare-page .tvshare-now-content-count{margin:0 0 10px}
.tvshare-page .tvshare-now-details ul{margin:6px 0 9px}
.tvshare-page .tvshare-now-details li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 6px;min-width:0}
.tvshare-page .tvshare-now-details li::before{grid-row:1/3}
.tvshare-page .tvshare-now-details li>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:none}
.tvshare-page .tvshare-now-details li>small{grid-column:2;white-space:nowrap}
.tvshare-page .tvshare-now-frequency{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px;padding-top:8px;border-top:1px solid #edf2f7}
.tvshare-page .tvshare-now-frequency strong{color:#365777;font-size:10px;text-transform:none}
.tvshare-page .tvshare-now-controls{position:static;display:grid;grid-template-columns:26px minmax(0,1fr) 26px;align-items:center;gap:7px;margin-top:9px;padding:3px;border:1px solid #dce7f3;border-radius:9px;background:#f5f8fc;color:#365777}
.tvshare-page .tvshare-now-controls button{width:26px;height:24px;border-radius:7px;background:#fff;color:#365777;font-size:17px;box-shadow:0 1px 3px rgba(27,61,96,.08)}
.tvshare-page .tvshare-now-controls strong{font-size:9px;text-align:center;text-transform:none}
.tvshare-page .tvshare-now-actions{display:flex;flex:0 0 auto;justify-content:flex-end;gap:6px;margin:10px 0 0;padding-top:9px;border-top:1px solid #edf2f7}
.tvshare-page .tvshare-now-actions .secondary-button{width:auto;min-width:78px;min-height:29px;justify-content:center;padding:4px 9px;font-size:9px;white-space:nowrap}
.tvshare-field-title{display:block;margin:3px 0 8px;color:#365b80;font-size:11px}
.tvshare-time-grid{margin-top:9px}
@media(max-width:720px){.tvshare-page .tvshare-now{height:auto;min-height:max-content}.tvshare-page .tvshare-now-body{grid-template-columns:1fr;gap:12px}.tvshare-page .tvshare-now-media,.tvshare-page .tvshare-now-body>.tvshare-preview-empty{height:auto;aspect-ratio:16/9}.tvshare-page .tvshare-now-details{justify-content:start}.tvshare-page .tvshare-now-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.tvshare-page .tvshare-now-actions .secondary-button{min-width:74px}}
.tvshare-wizard-assets .tvshare-magic-preview img{grid-column:auto;min-width:0;min-height:0;width:auto;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;border-radius:0}
.tvshare-magic-preview>img{grid-column:auto;min-width:0;min-height:0;width:auto;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;border-radius:0}
@media(max-width:720px){.tvshare-tabs{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;overflow:visible}.tvshare-tabs button{min-width:0;padding-inline:3px;font-size:clamp(9px,2.75vw,11px);white-space:nowrap}}
.tvshare-qr-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tvshare-qr-reader{display:grid;gap:8px;overflow:hidden;padding:10px;border:1px solid #cfe0f3;border-radius:13px;background:#08131f}.tvshare-qr-reader video{display:block;width:100%;max-height:min(46vh,360px);aspect-ratio:4/3;border-radius:9px;background:#02070b;object-fit:cover}.tvshare-qr-reader p{color:#eaf4ff;text-align:center}.tvshare-qr-success{margin:0;padding:11px 13px;border:1px solid #bde6cf;border-radius:10px;background:#eaf8f0!important;color:#167a49!important;font-size:11px!important;font-weight:750}.tvshare-magic-choice button:disabled{opacity:.52;cursor:not-allowed}.tvshare-magic-choice button:disabled:hover{box-shadow:none}
.tvshare-conflict{display:grid;gap:9px;padding:14px;border:1px solid #efc768;border-radius:12px;background:#fff8e5;color:#684b09}.tvshare-conflict>strong{font-size:13px}.tvshare-conflict p,.tvshare-conflict small{margin:0;font-size:10px;line-height:1.5}.tvshare-conflict ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.tvshare-conflict li{display:flex;justify-content:space-between;gap:12px;padding:8px;border-radius:8px;background:rgba(255,255,255,.72);font-size:10px}.tvshare-conflict li span{color:#7b622b;text-align:right}.tvshare-conflict-actions{display:flex;justify-content:flex-end;gap:8px}@media(max-width:520px){.tvshare-conflict-actions{width:100%;flex-direction:column}.tvshare-conflict-actions .primary-button,.tvshare-conflict-actions .secondary-button{width:100%}.tvshare-modal>footer:has(.tvshare-conflict-actions){align-items:stretch;flex-direction:column}}
/* Release 58 candidate: TVShare always occupies the available viewport.
   Long collections scroll only inside their own panel so navigation and actions stay visible. */
body.tvshare-active{overflow:hidden!important}
body.tvshare-active .app-shell{height:100dvh!important;min-height:0!important}
body.tvshare-active .client-area{min-height:0;overflow:hidden}
.workspace.tvshare-page{display:flex!important;height:100%;min-height:0;flex-direction:column;overflow:hidden!important;padding:12px 16px 14px}
.tvshare-page .tvshare-workspace{height:100%;min-height:0;gap:10px;overflow:hidden}
.tvshare-nav-row{display:flex;min-width:0;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px}
.tvshare-nav-row .tvshare-tabs{min-width:0;margin:0}
.tvshare-nav-add{min-height:34px;flex:0 0 auto;padding:6px 12px;font-size:10px;white-space:nowrap}
.tvshare-nav-add svg{width:16px;height:16px}
.tvshare-page .tvshare-view{height:100%;min-height:0;overflow:hidden}
.tvshare-page .tvshare-view>.tvshare-library-panel,.tvshare-page .tvshare-view>.tvshare-devices-panel,.tvshare-page .tvshare-view>.tvshare-agenda-panel{display:flex;height:100%;min-height:0;flex-direction:column}
.tvshare-library-head{display:flex;min-width:0;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:9px}
.tvshare-library-head h2{margin:0;color:var(--text);font-size:16px;line-height:34px;white-space:nowrap}
.tvshare-library-head .tvshare-search{width:180px;min-width:140px;max-width:180px;height:32px;padding:0 9px;border-radius:9px}
.tvshare-library-head .tvshare-search input{font-size:10px}
.tvshare-library-head .tvshare-search svg{width:14px;height:14px}
.tvshare-library-head>.secondary-button{min-height:32px;padding:5px 9px;font-size:9px}
.tvshare-page .tvshare-toolbar{flex:0 0 auto;justify-content:flex-start;gap:0;margin-top:7px}
.tvshare-page .tvshare-filter-group{max-width:100%;flex-wrap:wrap;justify-content:flex-start;overflow:visible;padding:3px}
.tvshare-page .tvshare-filter-group button{min-height:27px;padding:4px 9px;font-size:9px}
.tvshare-page .tvshare-library-grid{min-height:0;flex:1;grid-auto-rows:max-content;align-content:start;margin-top:8px;padding:1px 5px 1px 1px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.tvshare-page .tvshare-ai-note{flex:0 0 auto;margin-top:7px;padding:9px 11px}
.tvshare-page .tvshare-ai-note svg{width:18px;height:18px;flex-basis:18px}
.tvshare-page .tvshare-ai-note p{margin-top:1px;font-size:9px;line-height:1.3}
.tvshare-page .tvshare-device-list{min-height:0;flex:1;grid-auto-rows:max-content;align-content:start;margin-top:10px;padding-right:4px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.tvshare-page .tvshare-calendar{min-height:0;max-height:none;flex:1;grid-auto-rows:max-content;align-content:start;margin-top:10px}
.tvshare-page .tvshare-overview{height:100%;min-height:0;gap:10px;overflow:hidden}
.tvshare-page .tvshare-overview-action{flex:0 0 auto;margin-bottom:-4px}
.tvshare-page .tvshare-metrics{flex:0 0 auto}
.tvshare-page .tvshare-overview-grid{min-height:0;flex:1;gap:10px;overflow:hidden}
.tvshare-page .tvshare-now,.tvshare-page .tvshare-tv-status,.tvshare-page .tvshare-upcoming,.tvshare-page .tvshare-library-panel,.tvshare-page .tvshare-devices-panel,.tvshare-page .tvshare-agenda-panel{padding:14px}
.tvshare-page .tvshare-now,.tvshare-page .tvshare-tv-status{min-height:0;overflow:auto;overscroll-behavior:contain}
.tvshare-page .tvshare-upcoming{min-height:108px;max-height:30%;padding-bottom:10px;overflow:auto;overscroll-behavior:contain}

@media(max-width:1050px){
  body.tvshare-active .app-shell{display:grid;grid-template-columns:205px minmax(0,1fr)}
  .workspace.tvshare-page{height:100%;overflow:hidden!important}
  .tvshare-page .tvshare-overview-grid{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr)}
}
@media(max-width:720px){
  body.tvshare-active .app-shell{display:block;height:100dvh!important}
  body.tvshare-active .client-area{display:grid;height:100dvh;grid-template-rows:auto minmax(0,1fr)}
  .workspace.tvshare-page{height:auto;padding:9px 10px 10px}
  .tvshare-nav-row{gap:6px}
  .tvshare-nav-row .tvshare-tabs{display:grid;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}
  .tvshare-nav-row .tvshare-tabs button{min-height:32px;padding-inline:2px;font-size:clamp(8px,2.3vw,10px)}
  .tvshare-nav-add{min-height:32px;padding-inline:8px;font-size:0}
  .tvshare-nav-add svg{width:17px;height:17px;margin:0}
  .tvshare-library-head{gap:6px}
  .tvshare-library-head h2{font-size:13px}
  .tvshare-library-head .tvshare-search{width:min(37vw,160px);min-width:104px}
  .tvshare-page .tvshare-library-panel,.tvshare-page .tvshare-devices-panel,.tvshare-page .tvshare-agenda-panel{padding:11px}
  .tvshare-page .tvshare-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tvshare-page .tvshare-overview{overflow:auto;overscroll-behavior:contain}
  .tvshare-page .tvshare-overview-grid{grid-template-columns:1fr;grid-template-rows:none;overflow:visible}
  .tvshare-page .tvshare-upcoming{max-height:none}
  .tvshare-page .tvshare-section-head{flex-direction:row}
  .tvshare-page .tvshare-section-head>.primary-button,.tvshare-page .tvshare-section-head>.tvshare-view-switch{width:auto}
  .tvshare-page .tvshare-devices-panel .tvshare-device-row{grid-template-columns:36px minmax(0,1fr);gap:6px 8px;padding:8px 3px}
  .tvshare-page .tvshare-devices-panel .tvshare-device-icon{width:36px;height:36px}
  .tvshare-page .tvshare-row-actions{display:flex;grid-column:1/-1;width:100%;align-items:center;justify-content:flex-start;gap:4px;overflow-x:auto;scrollbar-width:thin}
  .tvshare-page .tvshare-row-actions .text-button{min-height:26px;flex:0 0 auto;justify-content:flex-start;padding:2px 4px;font-size:8px;white-space:nowrap}
  .tvshare-page .tvshare-calendar-event{grid-template-columns:56px minmax(0,1fr) auto;gap:5px 8px;padding:8px 9px}
  .tvshare-page .tvshare-calendar-event>.tvshare-pill{grid-column:3;grid-row:1;align-self:center;justify-self:end;min-height:22px;padding:3px 7px;font-size:8px}
  .tvshare-page .tvshare-agenda-actions{grid-column:2/4;grid-row:2;justify-self:start;gap:4px!important}
  .tvshare-page .tvshare-agenda-actions .text-button{min-height:26px;padding:2px 4px;font-size:8px;white-space:nowrap}
}
@media(max-width:390px){
  .tvshare-page .tvshare-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tvshare-library-head h2{font-size:12px}
  .tvshare-page .tvshare-filter-group{gap:2px}
  .tvshare-page .tvshare-filter-group button{padding-inline:6px;font-size:8px}
}

@media(max-height:500px){
  .tvshare-page .tvshare-library-panel>.tvshare-toolbar{display:flex!important}
  .tvshare-page .tvshare-filter-group{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:3px}
  .tvshare-page .tvshare-filter-group button{min-height:24px;padding:3px 8px;font-size:8px}
}
.tvshare-page .tvshare-now{overflow:hidden!important}
.tvshare-page .tvshare-tv-status{display:flex;min-height:0;flex-direction:column;overflow:hidden!important}
.tvshare-page .tvshare-tv-status>.tvshare-device-list{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}
@media(max-width:1050px) and (min-width:721px){.tvshare-page .tvshare-overview{overflow-y:auto;overscroll-behavior:contain}.tvshare-page .tvshare-overview-grid{min-height:360px;flex:0 0 360px;overflow:visible}.tvshare-page .tvshare-now{min-height:360px}.tvshare-page .tvshare-now-body{grid-template-columns:minmax(150px,1.35fr) minmax(145px,.75fr);gap:10px;margin-top:7px}.tvshare-page .tvshare-now-program h2{font-size:14px}.tvshare-page .tvshare-now-details li>small{white-space:normal}.tvshare-page .tvshare-now-actions{margin-top:7px;padding-top:7px}}
@media(max-height:760px) and (min-width:1051px){.tvshare-page .tvshare-overview{overflow-y:auto;overscroll-behavior:contain}.tvshare-page .tvshare-overview-grid{min-height:300px;flex:0 0 300px;overflow:visible}.tvshare-page .tvshare-now{min-height:300px}}
@media(max-width:720px){.tvshare-page .tvshare-overview-grid{flex:0 0 auto}.tvshare-page .tvshare-now{height:auto;min-height:0}}

/* Release 65: smartphones use the document's native vertical scroll in TVShare. */
@media(max-width:720px){
  body.tvshare-active{height:auto;min-height:100dvh;overflow-x:hidden!important;overflow-y:auto!important}
  body.tvshare-active .app-shell{height:auto!important;min-height:100dvh!important}
  body.tvshare-active .client-area{height:auto;min-height:100dvh;grid-template-rows:auto auto;overflow:visible}
  .workspace.tvshare-page{height:auto;min-height:0;overflow:visible!important}
  .tvshare-page .tvshare-workspace,.tvshare-page .tvshare-view,.tvshare-page .tvshare-overview{height:auto;overflow:visible}
  .tvshare-page .tvshare-view>.tvshare-library-panel,.tvshare-page .tvshare-view>.tvshare-devices-panel,.tvshare-page .tvshare-view>.tvshare-agenda-panel{height:auto}
  .tvshare-page .tvshare-tv-status{height:auto;overflow:visible!important}
  .tvshare-page .tvshare-tv-status>.tvshare-device-list,.tvshare-page .tvshare-devices-panel>.tvshare-device-list{max-height:none;flex:none;overflow:visible}
  .tvshare-page .tvshare-upcoming{max-height:none;overflow:visible}
  .tvshare-page .tvshare-library-panel{height:auto}
  .tvshare-page .tvshare-library-groups,.tvshare-page .tvshare-library-group,.tvshare-page .tvshare-library-photos{flex:none;overflow:visible}
  .tvshare-page .tvshare-library-grid,.tvshare-page .tvshare-calendar{max-height:none;flex:none;overflow:visible}
}

/* TVShare videos: scoped to existing media surfaces. */
.tvshare-asset-image video,.tvshare-wizard-asset-select video{width:100%;height:100%;object-fit:contain;pointer-events:none;background:#07111f}
.tvshare-photo-stage video{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;background:#000}
.tvshare-now-media video,.tvshare-review-preview video{width:100%;height:100%;max-height:100%;object-fit:contain;background:#000}
.tvshare-video-options{display:grid;gap:8px;width:100%;min-width:0}.tvshare-video-options label{display:grid;gap:4px}.tvshare-video-options select{max-width:100%;min-width:0}.tvshare-video-options small{white-space:normal}.tvshare-video-options input{max-width:90px}
.tvshare-asset-preview video{display:block;aspect-ratio:16/9;height:auto}.tvshare-wizard-assets video{grid-column:1/-1;aspect-ratio:16/10;height:auto;border-radius:8px}.tvshare-review-preview video{display:block;aspect-ratio:16/9;height:auto}.tvshare-photo-stage video{max-height:calc(100dvh - 125px)}

.tvshare-video-options{font-size:12px}.tvshare-video-options label.video-mode{display:flex;align-items:flex-start;gap:5px;white-space:normal;line-height:1.35}.tvshare-video-options .video-mode input{flex:0 0 auto;width:auto;margin:2px 0 0}.tvshare-video-options>label{font-size:12px}

/* Preview and zoom while choosing a TVShare image. */
.tvshare-wizard .tvshare-wizard-asset{position:relative}
.tvshare-wizard .tvshare-wizard-preview-button{position:absolute;z-index:2;top:10px;right:10px;min-height:28px;padding:0 9px;border:1px solid #d7e3f1;border-radius:8px;background:#fff;color:#173b60;font-size:10px;font-weight:700;cursor:pointer}
.tvshare-wizard-zoom-controls{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}
.tvshare-wizard-zoom-controls button{width:32px;height:32px;border:1px solid #cbd9e9;border-radius:8px;background:#fff;color:#173b60;font-size:20px;cursor:pointer}
.tvshare-wizard-zoom-controls span{min-width:42px;color:#365777;font-size:12px;font-weight:700;text-align:center}
