.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.studio-heading .eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--blue);margin-bottom:8px}.studio-heading h1{font-size:27px;line-height:1.3;letter-spacing:-.8px}.studio-radio-select{display:flex;gap:8px;align-items:center}.studio-radio-select select{min-width:180px}.button.small{padding:10px 14px;white-space:nowrap;font-size:11px}.studio-main-toolbar{display:flex;justify-content:space-between;gap:15px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px;margin-bottom:10px}.studio-main-toolbar>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.studio-main-toolbar button,.run-toolbar button,.deck-controls button,.folder-row button,.library-footer button,.asset-row button,.queue-actions button{border:1px solid var(--line);background:var(--surface);color:var(--white);padding:7px 10px;border-radius:5px;font-size:10px}.studio-main-toolbar button:hover,.run-toolbar button:hover,.asset-row button:hover,.queue-actions button:hover{border-color:var(--blue);color:var(--blue)}.studio-main-toolbar .studio-primary{background:linear-gradient(115deg,#1558d6,#3b78e5);color:#fff;border-color:transparent}.studio-status{font-size:9px;color:var(--muted);margin-right:8px}.studio-status i{display:inline-block;width:6px;height:6px;background:#20a476;border-radius:50%;margin-right:5px}.studio-information{font-size:10px;color:var(--muted);margin:12px 2px 20px}.studio-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:17px;align-items:start}.studio-left,.studio-right{display:grid;gap:13px;min-width:0}.studio-deck{display:flex;min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:9px;overflow:hidden;box-shadow:var(--shadow)}.deck-rail{writing-mode:vertical-rl;transform:rotate(180deg);background:linear-gradient(0deg,#1558d6,#427de1);color:#fff;width:28px;flex-shrink:0;text-align:center;padding:12px 7px;letter-spacing:1px;font-size:8px;font-weight:600}.deck-commercial .deck-rail{background:linear-gradient(0deg,#d77324,#f5a14c)}.deck-body{padding:13px 12px;flex:1;min-width:0}.deck-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}.deck-title>div{flex:1;min-width:0}.deck-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.deck-title small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.deck-title time{font-family:monospace;font-size:10px;white-space:nowrap;color:var(--muted)}.air-badge{background:var(--surface-hover);border:1px solid var(--line);font-size:8px;padding:5px;border-radius:4px;white-space:nowrap;font-weight:700}.air-badge.playing{background:#f582201a;border-color:#f5822080;color:var(--accent)}.waveform{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:4px;background:var(--surface);height:63px}.waveform canvas{width:100%;height:60px;display:block}.waveform input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:crosshair}.waveform:focus-within{outline:2px solid var(--blue)}.deck-controls{display:flex;align-items:center;gap:5px;margin-top:10px}.deck-controls button{padding:4px 8px}.deck-controls label{display:flex;align-items:center;gap:6px;font-size:8px;color:var(--muted);margin-left:7px}.deck-controls input{width:60px}.deck-controls>span{margin-left:auto;color:var(--muted);font-size:8px}.studio-meter{border-left:1px solid var(--line);display:flex;gap:3px;padding:13px 8px;background:var(--surface)}.studio-meter>div{display:flex;flex-direction:column;justify-content:center;gap:3px}.studio-meter i{display:block;width:5px;height:6px;background:var(--line);border-radius:1px}.studio-meter i.active{background:#2fb48b}.studio-meter i.active[data-level="13"],.studio-meter i.active[data-level="12"]{background:#ef634e}.studio-meter i.active[data-level="11"],.studio-meter i.active[data-level="10"]{background:#f5a346}.studio-panel{background:var(--panel);border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0;box-shadow:var(--shadow)}.studio-panel-title{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid var(--line);gap:8px;background:var(--surface)}.studio-panel-title h2{font-size:12px;font-weight:600;letter-spacing:0}.studio-panel-title>span{font-size:8px;color:var(--muted)}.run-toolbar{display:flex;gap:5px;align-items:center;padding:9px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.run-toolbar button{font-size:9px;padding:6px 8px}.run-toolbar label{margin-left:auto;font-size:9px;display:flex;align-items:center;gap:5px;color:var(--muted)}.run-table-wrap{min-height:210px;max-height:440px;overflow:auto}.run-table{font-size:10px}.run-table th{font-size:8px;padding:10px 8px;background:var(--surface);position:sticky;top:0;z-index:1;letter-spacing:.5px}.run-table td{padding:9px 7px}.run-table td:nth-child(3){width:100%}.run-table td strong{font-size:10px;font-weight:500;display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-table td small{font-size:8px}.run-table tr{cursor:grab}.run-table tr.selected{background:var(--soft-accent);box-shadow:inset 3px 0 var(--blue)}.queue-actions{display:flex;gap:3px}.queue-actions button{padding:4px 6px;font-size:10px}.kind-label{font-size:8px;border-radius:3px;padding:3px 5px;white-space:nowrap;background:var(--soft-accent);color:var(--blue)}.kind-label.spot{background:#f582201a;color:#c56b21}.kind-label.jingle{background:#8b68dc20;color:#8b68dc}.kind-label.voice{background:#20a47620;color:#20a476}.kind-dot{display:block;width:6px;height:6px;border-radius:50%;background:var(--blue);flex-shrink:0}.kind-dot.spot{background:#f58220}.kind-dot.jingle{background:#8b68dc}.kind-dot.voice{background:#20a476}.studio-empty{padding:35px 18px;text-align:center;color:var(--muted);font-size:10px;line-height:1.8}.studio-empty>span{font-size:26px;display:block;margin-bottom:10px;color:var(--blue)}.studio-empty strong{display:block;color:var(--white);font-size:12px;margin-bottom:7px}.studio-empty p{max-width:320px;margin:auto;font-size:10px}.studio-empty.small{padding:25px 15px}.run-footer,.library-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:8px;padding:9px 12px;font-size:8px;color:var(--muted);background:var(--surface)}.studio-history-list{padding:5px 14px}.studio-history-list>div{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.studio-history-list>div:last-child{border:0}.studio-history-list strong{font-size:10px;font-weight:500;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-history-list time{font-size:9px;color:var(--muted)}.studio-history-list>p{font-size:10px;color:var(--muted);padding:14px 0}.asset-tabs{display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border-bottom:1px solid var(--line)}.asset-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:9px;padding:14px 5px;white-space:nowrap}.asset-tabs button.active{color:var(--blue);border-bottom-color:var(--blue);background:var(--soft-accent)}.asset-search{display:flex;gap:7px;padding:12px 12px 8px}.asset-search input{font-size:10px!important;padding:8px 10px!important}.asset-search button{border:0;background:var(--blue);color:#fff;border-radius:6px;width:33px;flex-shrink:0}.folder-row{display:flex;gap:5px;padding:0 12px 12px}.folder-row select{font-size:10px;padding:7px 9px}.folder-row button{flex-shrink:0}.genre-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 12px 12px;max-height:205px;overflow:auto}.genre-grid button{background:linear-gradient(140deg,var(--soft-accent),var(--panel));border:1px solid var(--line);color:var(--white);text-align:left;border-radius:7px;padding:10px;min-width:0}.genre-grid button:nth-child(3n){background:linear-gradient(140deg,var(--soft-warm),var(--panel))}.genre-grid button.active{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.genre-grid span{font-size:18px;display:block;color:var(--blue);margin-bottom:7px}.genre-grid b{display:block;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.genre-grid small{font-size:8px;color:var(--muted)}.asset-list{max-height:310px;min-height:100px;overflow:auto;border-top:1px solid var(--line)}.asset-row{display:flex;align-items:center;gap:7px;padding:10px 12px;border-bottom:1px solid var(--line)}.asset-row>div{flex:1;min-width:0}.asset-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;font-size:10px}.asset-row small{font-size:8px;display:block;color:var(--muted);margin-top:2px}.asset-row time{font-size:9px;color:var(--muted)}.asset-row button{padding:4px 7px;font-size:13px}.library-footer{align-items:center}.library-footer button{font-size:8px;padding:4px 7px}.studio-footnote{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:9px;margin-top:17px}.radio-card-grid,.music-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.radio-card{position:relative}.radio-card-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(125deg,#1558d6,#f58220);color:#fff;font-size:26px;margin-bottom:20px}.radio-card>.tag{position:absolute;top:24px;right:24px}.radio-card p{margin:12px 0 22px}.radio-card .actions{margin-top:20px}.radio-card .list-line b{max-width:60%;font-size:10px;text-align:right}.music-source-grid h2{margin:20px 0 10px}.music-source-grid p{margin-bottom:22px;line-height:1.9}.style-checks{display:flex;gap:12px 18px;flex-wrap:wrap}.style-checks .check{font-size:11px}.folder-management>div{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.folder-management span{color:var(--muted)}.folder-management button{margin-left:auto;border:1px solid var(--line);color:var(--blue);background:var(--soft-accent);padding:6px;border-radius:5px;font-size:9px}.studio-grid button:focus-visible,.studio-main-toolbar button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(min-width:1500px){#app-content{max-width:1700px}.studio-grid{grid-template-columns:1.25fr 1fr}.run-table td strong{max-width:300px}}
@media(max-width:1150px){.studio-grid{grid-template-columns:minmax(0,1fr)}.studio-right{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:start}.studio-heading h1{font-size:22px}.studio-main-toolbar{flex-wrap:wrap}.radio-card-grid,.music-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.studio-heading{align-items:start;flex-direction:column}.studio-radio-select{width:100%}.studio-radio-select select{min-width:0;flex:1}.studio-right{grid-template-columns:1fr}.studio-grid{gap:13px}.deck-title{flex-wrap:wrap;gap:6px}.deck-title time{font-size:9px}.deck-title strong{font-size:11px}.deck-controls>span{display:none}.studio-panel-title h2{font-size:11px}.studio-main-toolbar>div{gap:5px}.studio-status{display:none}.run-table td strong{max-width:130px}.run-table-wrap{overflow:auto}.run-table{min-width:425px}.radio-card-grid,.music-source-grid{grid-template-columns:1fr}.studio-footnote{flex-direction:column;gap:8px}.run-footer{flex-wrap:wrap}.studio-heading h1{font-size:24px}}
/* Operator workspace: edge-to-edge console, inspired by the public FKS decks. */
body[data-view=player] .app-main{padding-bottom:0}body[data-view=player] .app-header{height:64px;padding-inline:20px}body[data-view=player] .sidebar{bottom:0}body[data-view=player] .bottom-player{display:none}body[data-view=player] #app-content{max-width:none;width:100%;margin:0;padding:14px 18px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;height:calc(100dvh - 64px);min-height:680px}body[data-view=player] .studio-heading{margin:0;gap:12px}body[data-view=player] .studio-heading h1{font-size:24px}body[data-view=player] .studio-heading .eyebrow{font-size:10px;margin-bottom:4px}body[data-view=player] .studio-radio-select{gap:8px}body[data-view=player] .studio-radio-select select{font-size:12px;padding:9px;min-width:160px;max-width:250px}.studio-theater-toggle{border:1px solid var(--blue);color:var(--blue);background:var(--soft-accent);border-radius:6px;white-space:nowrap;padding:10px 12px;font-size:12px;font-weight:600}body[data-view=player] .studio-main-toolbar{margin:0;padding:9px;border-radius:6px;gap:8px}body[data-view=player] .studio-main-toolbar button{font-size:11px;padding:8px 11px}body[data-view=player] .studio-information{font-size:10px;margin:0;color:var(--muted)}.studio-master-volume{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.studio-master-volume input{width:75px}body[data-view=player] .studio-grid{grid-template-columns:minmax(0,1.22fr) minmax(310px,1fr);gap:12px;align-items:stretch;min-height:0}body[data-view=player] .studio-left{grid-template-rows:clamp(140px,19vh,205px) clamp(140px,19vh,205px) minmax(170px,1fr);gap:10px;min-height:0}body[data-view=player] .studio-right{grid-template-columns:1fr;grid-template-rows:clamp(140px,19vh,205px) minmax(0,1fr);gap:10px;min-height:0}body[data-view=player] .studio-deck{border-radius:5px;box-shadow:none;position:relative}body[data-view=player] .deck-rail{width:24px;font-size:9px;letter-spacing:1.3px}body[data-view=player] .deck-body{padding:12px;display:flex;flex-direction:column;min-height:0}body[data-view=player] .deck-title{gap:10px;margin-bottom:9px;flex-wrap:nowrap}body[data-view=player] .deck-title strong{font-size:14px;font-weight:600}body[data-view=player] .deck-title small{font-size:10px}body[data-view=player] .deck-title time{color:var(--blue);font-family:monospace;font-weight:600;font-size:15px;letter-spacing:-.5px}body[data-view=player] .air-badge{background:#16895c;color:#fff;border:0;border-radius:3px;font-size:11px;letter-spacing:.7px;padding:6px 8px;min-width:53px;text-align:center}body[data-view=player] .air-badge.playing{background:#d84a49;color:#fff;box-shadow:0 0 12px #d84a492a}body[data-view=player] .waveform{flex:1;min-height:55px;height:auto;border-radius:3px;background:linear-gradient(180deg,var(--surface),var(--panel))}body[data-view=player] .waveform canvas{height:100%;min-height:55px}body[data-view=player] .deck-controls{margin-top:9px}body[data-view=player] .deck-controls button{font-size:13px;padding:5px 11px}body[data-view=player] .deck-controls label{font-size:10px}body[data-view=player] .deck-controls input{width:75px}body[data-view=player] .deck-controls>span{font-size:9px}body[data-view=player] .studio-meter{padding:12px 7px;gap:3px}body[data-view=player] .studio-meter>div{gap:3px}body[data-view=player] .studio-meter i{height:8px;width:7px;border-radius:0}body[data-view=player] .studio-panel{border-radius:5px;box-shadow:none;min-height:0}body[data-view=player] .studio-panel-title{padding:10px 12px;background:var(--surface-hover)}body[data-view=player] .studio-panel-title h2{font-size:13px}body[data-view=player] .studio-panel-title>span{font-size:9px}body[data-view=player] .run-list{display:flex;flex-direction:column}body[data-view=player] .run-toolbar{padding:8px;gap:5px}body[data-view=player] .run-toolbar button{font-size:10px;padding:6px 8px}body[data-view=player] .run-toolbar label{font-size:10px}body[data-view=player] .run-table-wrap{flex:1;min-height:0;max-height:none}body[data-view=player] .run-table{font-size:11px}body[data-view=player] .run-table th{font-size:9px;padding:9px 7px}body[data-view=player] .run-table td{padding:9px 7px}body[data-view=player] .run-table td strong{font-size:12px;max-width:clamp(140px,19vw,500px)}body[data-view=player] .run-table td small{font-size:10px}body[data-view=player] .run-table tbody tr:nth-child(even){background:var(--surface)}body[data-view=player] .run-table tbody tr.selected{background:var(--soft-accent)}body[data-view=player] .run-table tbody tr:has(.kind-label.spot) td:nth-child(3) strong{color:#df8a39}body[data-view=player] .run-table tbody tr:has(.kind-label.jingle) td:nth-child(3) strong{color:#9975df}body[data-view=player] .run-table tbody tr:has(.kind-label.voice) td:nth-child(3) strong{color:#20a476}body[data-view=player] .kind-label{font-size:9px;padding:4px 6px}body[data-view=player] .queue-actions button{font-size:12px;padding:4px 7px}body[data-view=player] .run-footer,body[data-view=player] .library-footer{font-size:10px;padding:9px 12px}body[data-view=player] .studio-history{display:flex;flex-direction:column}body[data-view=player] .studio-history-list{overflow:auto;flex:1}body[data-view=player] .studio-history-list strong{font-size:12px}body[data-view=player] .studio-history-list time{font-size:11px}body[data-view=player] .studio-history-list>div{padding:9px 0}body[data-view=player] .studio-library{display:flex;flex-direction:column}body[data-view=player] .asset-tabs{padding:8px;gap:5px;background:var(--surface);border:0}body[data-view=player] .asset-tabs button{background:var(--soft-accent);color:var(--blue);border:1px solid transparent;border-radius:3px;padding:9px 4px;font-size:11px;font-weight:600}body[data-view=player] .asset-tabs .tab-spot{background:#f5822025;color:#d87c31}body[data-view=player] .asset-tabs .tab-jingle{background:#24b8c525;color:#149ca9}body[data-view=player] .asset-tabs .tab-voice{background:#de555525;color:#d65555}body[data-view=player] .asset-tabs button.active{border-color:currentColor;box-shadow:inset 0 -2px currentColor}body[data-view=player] .asset-search{padding-top:3px}body[data-view=player] .asset-search input{font-size:12px!important;padding:10px!important}body[data-view=player] .folder-row select{font-size:11px}body[data-view=player] .genre-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px;flex-shrink:0;gap:7px}body[data-view=player] .genre-grid button{border-radius:3px;padding:12px;position:relative;min-height:72px;border-bottom:3px solid #27ac9a;background:var(--surface)}body[data-view=player] .genre-grid button:nth-child(3n){border-bottom-color:#f58220;background:var(--surface)}body[data-view=player] .genre-grid button:nth-child(4n){border-bottom-color:#24b8c5}body[data-view=player] .genre-grid span{float:left;font-size:20px;margin:0 10px 0 0;opacity:.8}body[data-view=player] .genre-grid b{font-size:12px;line-height:1.6}body[data-view=player] .genre-grid small{font-size:10px}body[data-view=player] .genre-grid button.active{background:var(--soft-accent)}body[data-view=player] .asset-list{flex:1;min-height:100px;max-height:none}body[data-view=player] .asset-row{padding:10px 12px}body[data-view=player] .asset-row strong{font-size:12px}body[data-view=player] .asset-row small{font-size:10px}body[data-view=player] .asset-row time{font-size:11px}body[data-view=player] .asset-row button{font-size:16px;padding:4px 9px}body[data-view=player] .library-footer button{font-size:10px}body[data-view=player] .studio-footnote{margin:0;font-size:10px}.studio-theater .sidebar,.studio-theater .app-header{display:none!important}.studio-theater .app-main{margin-left:0!important}.studio-theater[data-view=player] #app-content{height:100dvh;min-height:680px;padding:16px 20px}.studio-theater .studio-heading h1{font-size:28px}.studio-theater .studio-theater-toggle{background:var(--blue);color:#fff}.studio-theater[data-view=player] .studio-grid{grid-template-columns:minmax(0,1.35fr) minmax(350px,1fr)}.studio-theater[data-view=player] .deck-title strong{font-size:17px}.studio-theater[data-view=player] .deck-title time{font-size:20px}
@media(min-width:1700px){body[data-view=player] .genre-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-view=player] .run-table td strong{max-width:600px}body[data-view=player] .studio-main-toolbar button{font-size:13px}body[data-view=player] .studio-left{grid-template-rows:clamp(180px,22vh,250px) clamp(180px,22vh,250px) minmax(250px,1fr)}}
@media(max-width:1100px){body[data-view=player] #app-content{padding:12px;min-height:700px}body[data-view=player] .studio-main-toolbar{flex-wrap:wrap}body[data-view=player] .studio-heading{flex-wrap:wrap}body[data-view=player] .deck-title{gap:6px}body[data-view=player] .deck-title time{font-size:12px}body[data-view=player] .deck-title strong{font-size:12px}body[data-view=player] .deck-controls>span{display:none}body[data-view=player] .studio-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr)}body[data-view=player] .asset-tabs button{font-size:10px}}
@media(max-width:850px){body[data-view=player] #app-content{display:block;height:auto;min-height:0;padding:15px}body[data-view=player] .studio-heading,body[data-view=player] .studio-main-toolbar,body[data-view=player] .studio-information{margin-bottom:14px}body[data-view=player] .studio-grid,.studio-theater[data-view=player] .studio-grid{grid-template-columns:1fr}body[data-view=player] .studio-left{grid-template-rows:175px 175px minmax(260px,auto)}body[data-view=player] .studio-right{grid-template-rows:185px minmax(400px,auto)}body[data-view=player] .run-table-wrap{max-height:450px}body[data-view=player] .asset-list{max-height:350px}body[data-view=player] .studio-footnote{margin-top:15px}body[data-view=player] .studio-radio-select{flex-wrap:wrap}body[data-view=player] .studio-radio-select select{flex:1;max-width:none}body[data-view=player] .studio-meter i{height:7px}.studio-theater[data-view=player] #app-content{height:auto;min-height:100dvh}.studio-master-volume{margin-left:auto}}

/* Execution workspace inspired by the demonstrated four-panel workflow. */
body[data-view=player] .studio-left{grid-template-rows:clamp(165px,20vh,220px) clamp(165px,20vh,220px) minmax(190px,1fr)}body[data-view=player] .studio-right{grid-template-rows:minmax(210px,.8fr) minmax(340px,1.2fr)}.studio-execution-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}.studio-execution-panel>.run-list{flex:1;min-height:0}.studio-execution-tabs,.studio-library-views{display:flex;gap:6px;padding:8px;background:var(--surface)}.studio-execution-tabs button,.studio-library-views button{padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--white);font:600 11px Poppins,Arial;cursor:pointer}.studio-execution-tabs button.active,.studio-library-views button.active{background:var(--blue);color:white;border-color:var(--blue)}.studio-library-views{flex-wrap:wrap;padding-top:2px}.studio-metadata-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 10px 8px}.studio-metadata-filters label{min-width:0;font-size:10px;color:var(--muted)}.studio-metadata-filters select{display:block;width:100%;max-width:100%;margin-top:4px;padding:7px;border:1px solid var(--line);background:var(--panel);color:var(--white);border-radius:4px;font:inherit}.studio-mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}.studio-mode-cards button{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:16px 9px;border:1px solid var(--blue);border-radius:8px;background:var(--soft-accent);color:var(--white);cursor:pointer}.studio-mode-cards button:nth-child(2){border-color:#f58220;background:#f5822012}.studio-mode-cards button:nth-child(3){border-color:#1c9e8c;background:#1c9e8c12}.studio-mode-cards span{font-size:22px;color:var(--blue)}.studio-mode-cards strong{font-size:12px}.studio-mode-cards small{font-size:10px;line-height:1.5}.studio-program-modes{overflow:auto}.studio-program-modes>p{font-size:11px;padding:0 14px 14px;line-height:1.6;color:var(--muted)}.studio-favorite[aria-pressed=true]{color:#f58220}.studio-library .asset-row>div{min-width:0;flex:1}.studio-library .asset-row button{flex-shrink:0}body[data-view=player] .studio-history-list>div{display:flex;align-items:center;gap:9px}body[data-view=player] .studio-history-list strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-view=player] .studio-history-list time{flex-shrink:0}@media(max-width:850px){body[data-view=player] .studio-right{grid-template-rows:minmax(280px,auto) minmax(450px,auto)}body[data-view=player] .studio-left{grid-template-rows:175px 175px minmax(220px,auto)}.studio-mode-cards{grid-template-columns:1fr}.studio-mode-cards button{align-items:flex-start;padding:12px}.studio-metadata-filters{grid-template-columns:1fr}}

.studio-upcoming{display:flex;flex-direction:column;min-height:0}.studio-upcoming>#studio-upcoming-list{flex:1;overflow:auto;min-height:0;padding:4px 12px}.studio-next-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.studio-next-row>b{color:var(--muted);font-size:10px}.studio-next-row>div{flex:1;min-width:0}.studio-next-row strong,.studio-next-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-next-row small{color:var(--muted);font-size:10px;margin-top:3px}.studio-next-row time{flex-shrink:0;color:var(--muted)}.studio-upcoming>p{font-size:10px;line-height:1.5;padding:8px 12px;color:var(--muted)}

.studio-transport-strip{display:flex;align-items:center;gap:5px}.studio-transport-strip button{display:grid;place-items:center;width:37px;height:32px;border:0!important;border-radius:4px!important;padding:0!important;background:var(--blue)!important;color:#fff!important;font:700 15px Arial!important;cursor:pointer}.studio-transport-strip button:last-child{background:#f58220!important}.studio-transport-strip button:hover{filter:brightness(1.15)}body[data-view=player] .asset-tabs button{border-radius:4px;font-weight:700;color:white;background:#1558d6}body[data-view=player] .asset-tabs .tab-spot{background:#e77b24;color:white}body[data-view=player] .asset-tabs .tab-jingle{background:#138e9b;color:white}body[data-view=player] .asset-tabs .tab-voice{background:#c74250;color:white}body[data-view=player] .asset-tabs button.active{outline:2px solid var(--white);outline-offset:-4px;box-shadow:none}body[data-view=player] .studio-radio-select{gap:9px}@media(max-width:650px){.studio-transport-strip{width:100%;justify-content:flex-start}.studio-transport-strip button{width:42px;height:34px}}

/* Studio controls and inline music catalogue */
body[data-view=player] .asset-tabs .tab-music,body[data-view=player] .studio-transport-strip button:not(:last-child){background:#7860dc;color:#fff;border-color:#7860dc}body[data-view=player] .asset-tabs .tab-spot{background:#ed8a38;color:#fff}body[data-view=player] .asset-tabs .tab-jingle{background:#149eae;color:#fff}body[data-view=player] .asset-tabs .tab-voice{background:#d84c57;color:#fff}.deck-music .deck-rail{background:linear-gradient(0deg,#6550be,#9582ee)}.studio-mode-cards button:first-child{border-color:#8870df;background:#8870df18}.studio-mode-cards button:first-child span{color:#8870df}.studio-mode-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 12px}.studio-mode-actions button,.studio-catalog-tabs button,.studio-catalog-cards button{padding:9px 12px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--white);cursor:pointer}.studio-mode-actions button:first-child,.studio-catalog-tabs button.active{background:#7860dc;color:white}.studio-catalog-tabs{display:flex;gap:8px;margin:12px 0}.studio-catalog-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-catalog-cards article{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.studio-catalog-cards .playlist-cover{width:100%;aspect-ratio:1;max-height:none}.studio-catalog-cards strong{font-size:13px}.studio-catalog-cards small,.studio-catalog-tracks small{display:block;color:var(--muted);font-size:11px}.studio-catalog-cards button{font-size:11px}.studio-catalog-art{display:grid;place-items:center;aspect-ratio:1;background:linear-gradient(135deg,#7860dc,#194d89);color:white;font-size:55px;border-radius:5px}.studio-catalog-tracks{max-height:340px;overflow:auto}.studio-catalog-tracks label,.studio-catalog-tracks p{padding:10px;border-bottom:1px solid var(--line)}#studio-catalog-grid{max-height:440px;overflow:auto;padding:3px}@media(max-width:600px){.studio-catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-catalog-tabs{flex-wrap:wrap}}

.studio-sequence{display:flex;flex-direction:column;min-height:0;overflow:hidden;flex:1}.sequence-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:10px;border-bottom:1px solid var(--line)}.sequence-picker label{font-size:10px;min-width:0}.sequence-picker select{display:block;width:100%;padding:6px;margin-top:3px;font-size:11px;border:1px solid var(--line);border-radius:4px;color:var(--white);background:var(--surface)}.sequence-picker button,.sequence-loop,.sequence-row button{padding:6px 9px;border:1px solid var(--line);border-radius:5px;color:var(--white);background:var(--surface);font-size:11px;cursor:pointer}.sequence-picker .sequence-start,.sequence-loop.active{background:#7860dc;color:white}.sequence-rows{flex:1;min-height:90px;overflow:auto;padding:10px}.sequence-row{display:flex;align-items:center;gap:7px;padding:9px;margin-bottom:6px;border:1px solid var(--step-color);border-left:5px solid var(--step-color);border-radius:7px;background:var(--step-bg)}.sequence-music{--step-color:#ed8439;--step-bg:#ed843914}.sequence-jingle{--step-color:#15a9bb;--step-bg:#15a9bb14}.sequence-spot{--step-color:#87b936;--step-bg:#87b93614}.sequence-time{--step-color:#4387eb;--step-bg:#4387eb14}.sequence-row>b{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--step-color);border-radius:50%;color:var(--step-color);flex-shrink:0}.sequence-row>div{flex:1;min-width:0}.sequence-row strong{display:block;font-size:12px}.sequence-row small{display:block;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.sequence-row.selected{box-shadow:0 0 0 2px var(--step-color)}.sequence-help{font-size:10px;line-height:1.6;color:var(--muted);padding:8px 12px;border-top:1px solid var(--line)}.studio-execution-tabs{flex-wrap:wrap}body[data-view=player]:has(.studio-sequence) .studio-right{grid-template-rows:minmax(0,1fr)}body[data-view=player]:has(.studio-sequence) .studio-library{display:none}@media(max-width:850px){body[data-view=player]:has(.studio-sequence) .studio-right{grid-template-rows:minmax(520px,auto)}}

.sequence-save-status{font-size:10px;color:var(--muted);padding:0 12px 5px;margin:0}.sequence-refresh-voices{grid-column:1/-1}.sequence-row{transition:background-color .12s,box-shadow .12s}.sequence-row button:hover{background:var(--step-bg);border-color:var(--step-color)}.sequence-row button:active{transform:translateY(1px)}

@keyframes sequence-on-air{0%,100%{box-shadow:0 0 0 1px var(--step-color),0 0 5px var(--step-color)}50%{box-shadow:0 0 0 3px var(--step-color),0 0 14px var(--step-color)}}.sequence-row.on-air{animation:sequence-on-air 1.2s ease-in-out infinite}.sequence-row.on-air>b{font-weight:800}@media(prefers-reduced-motion:reduce){.sequence-row.on-air{animation:none;box-shadow:0 0 0 3px var(--step-color)}}
body.studio-theater #general-rail,body.studio-theater #radio-management,body.studio-theater .workspace-rail{display:none!important}body.studio-theater .app-main{margin-left:0!important;padding-top:0!important;width:100%}body.studio-theater #app-content{max-width:none!important}

body[data-view=player] .studio-heading{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}body[data-view=player] .studio-heading>div:first-child{min-width:0}body[data-view=player] .studio-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-view=player] .studio-radio-select{justify-content:flex-end;flex-wrap:wrap}.studio-center-clock{text-align:center;padding:6px 22px;border-inline:1px solid var(--line);min-width:190px}.studio-center-clock small{display:block;font-size:9px;letter-spacing:1.6px;font-weight:700;color:var(--muted)}.studio-center-clock time{display:block;font:700 32px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:1px;color:var(--blue);text-shadow:0 0 14px #467eff30}.studio-center-clock span{font-size:10px;color:var(--muted)}.studio-theater .studio-center-clock time{font-size:40px}@keyframes radio-neon{0%,100%{opacity:1;text-shadow:0 0 4px #ff443c,0 0 10px #ff443c;box-shadow:0 0 5px #ff443c66,inset 0 0 5px #ff443c33}50%{opacity:.55;text-shadow:0 0 2px #ff443c;box-shadow:0 0 2px #ff443c33}}body[data-view=player] .air-badge.playing{color:#ff544c;border-color:#ff544c;background:#ff443c15;font-weight:900;letter-spacing:1px;animation:radio-neon 1.4s ease-in-out infinite}@media(max-width:1100px){body[data-view=player] .studio-heading{grid-template-columns:minmax(0,1fr) auto}body[data-view=player] .studio-radio-select{grid-column:1/-1;justify-content:flex-start}.studio-center-clock{min-width:160px;padding:4px 12px}}@media(max-width:600px){.studio-center-clock time{font-size:25px}.studio-theater .studio-center-clock time{font-size:28px}.studio-center-clock{min-width:135px}}@media(prefers-reduced-motion:reduce){body[data-view=player] .air-badge.playing{animation:none;text-shadow:0 0 6px #ff443c}}
/* Estúdio com uma única sequência e um conjunto de transportes. */
.loop-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:42px;min-height:42px;border-radius:10px}.loop-controls svg{flex-shrink:0}.loop-controls .studio-primary{padding:10px 16px}.studio-theater-toggle{display:inline-flex;align-items:center;gap:7px}.loop-library .input-help{padding:8px 14px}.loop-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px;padding:12px;overflow:auto;min-height:150px;max-height:420px}.loop-catalog article{display:flex;flex-direction:column;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px;min-width:0}.loop-catalog article>strong{font-size:12px}.loop-catalog article>small{font-size:10px;color:var(--muted)}.loop-catalog article img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.loop-catalog article>button{margin-top:auto;padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:7px;color:var(--blue);font-weight:700}.loop-catalog button:disabled{opacity:.4}.loop-folder-icon{display:grid;place-items:center;min-height:75px;background:linear-gradient(135deg,#1558d622,#f28c2822);color:var(--blue);border-radius:8px}.loop-folder-icon svg{width:38px;height:38px}.studio-clear-history{background:transparent;border:1px solid var(--line);border-radius:6px;padding:6px 9px;color:var(--muted);font-size:10px}body[data-view=player] .studio-right{grid-template-rows:minmax(280px,1.1fr) minmax(240px,1fr)}body[data-view=player] .studio-loop-only~.studio-grid{min-height:0}body[data-view=player] .loop-controls{align-items:center;margin-bottom:14px}body[data-view=player] .loop-controls .studio-master-volume{margin-left:auto}@media(max-width:850px){body[data-view=player] .studio-right{grid-template-rows:auto auto}.loop-controls{flex-wrap:wrap}.loop-catalog{max-height:400px}.loop-controls .studio-primary span{display:none}}
body[data-view=player]:has(.studio-loop-only) #app-content{grid-template-rows:auto auto minmax(0,1fr) auto}body[data-view=player]:has(.studio-sequence) .studio-library.loop-library{display:flex;flex-direction:column;min-height:0}body[data-view=player]:has(.studio-sequence) .studio-right{grid-template-rows:minmax(280px,1.1fr) minmax(230px,1fr)}.loop-library .loop-catalog{flex:1;min-height:0}.loop-catalog .playlist-cover{width:100%;height:auto;aspect-ratio:1;min-height:0;max-height:none}.loop-catalog .cover-intensity{display:none}@media(max-width:850px){body[data-view=player]:has(.studio-sequence) .studio-right{grid-template-rows:auto auto}.loop-library .loop-catalog{min-height:170px}}
body[data-view=player]:has(.studio-loop-only) .studio-right{grid-template-rows:minmax(0,1fr)}body[data-view=player] .loop-library>.studio-sequence{flex:1;min-height:0;border:0;box-shadow:none;border-radius:0;overflow:hidden}.loop-library>.asset-tabs{flex-shrink:0}.sequence-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}body[data-view=player] .loop-library .sequence-rows{min-height:160px}.loop-library .asset-tabs button{flex:1;padding:12px 8px;font-weight:700}.loop-library .asset-tabs button[aria-selected=true]{box-shadow:inset 0 -3px var(--blue)}@media(max-width:850px){body[data-view=player]:has(.studio-loop-only) .studio-right{grid-template-rows:auto}body[data-view=player] .loop-library>.studio-sequence{min-height:520px}}
body[data-view=player]:has(.studio-loop-only) #app-content{grid-template-rows:auto auto minmax(0,1fr)}.studio-history-list time{font-variant-numeric:tabular-nums;white-space:nowrap}
/* Telão: os painéis crescem com a tela, mantendo a rolagem dentro das listas. */
body.studio-theater[data-view=player] #app-content{display:grid;width:100%;height:100dvh;min-height:0;max-height:100dvh;grid-template-rows:auto auto minmax(0,1fr);gap:clamp(10px,1.4vh,20px);padding:clamp(12px,1.4vw,28px);overflow:hidden}
body.studio-theater[data-view=player] .studio-heading{margin:0;gap:18px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
body.studio-theater[data-view=player] .studio-heading h1{font-size:clamp(25px,2.1vw,44px);line-height:1.2}
body.studio-theater[data-view=player] .studio-heading .eyebrow{font-size:clamp(11px,.8vw,16px);margin-bottom:7px}
body.studio-theater[data-view=player] .studio-center-clock{padding:5px clamp(14px,2vw,40px);min-width:210px}
body.studio-theater[data-view=player] .studio-center-clock time{font-size:clamp(34px,3vw,64px)}
body.studio-theater[data-view=player] .studio-center-clock small,body.studio-theater[data-view=player] .studio-center-clock span{font-size:clamp(12px,.9vw,18px)}
body.studio-theater[data-view=player] .studio-radio-select{grid-column:auto;justify-content:flex-end;gap:12px}
body.studio-theater[data-view=player] .studio-radio-select select{max-width:320px;padding:12px;font-size:clamp(14px,1vw,20px)}
body.studio-theater[data-view=player] .studio-theater-toggle{font-size:clamp(13px,.95vw,19px);padding:12px 16px}
body.studio-theater[data-view=player] .loop-controls{margin:0;padding:clamp(10px,1vh,18px);gap:20px}
body.studio-theater[data-view=player] .loop-controls button{min-width:54px;min-height:52px;padding:12px 16px;font-size:clamp(16px,1.1vw,22px)}
body.studio-theater[data-view=player] .loop-controls button svg{width:28px;height:28px}
body.studio-theater[data-view=player] .studio-master-volume{font-size:clamp(14px,1vw,20px);gap:12px}
body.studio-theater[data-view=player] .studio-master-volume input{width:clamp(130px,12vw,260px)}
body.studio-theater[data-view=player] .studio-grid{height:100%;min-height:0;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(12px,1.4vw,24px)}
body.studio-theater[data-view=player] .studio-left{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr);gap:clamp(10px,1.4vh,20px)}
body.studio-theater[data-view=player] .studio-right{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
body.studio-theater[data-view=player] .studio-deck{height:100%;min-height:0;border-radius:14px}
body.studio-theater[data-view=player] .deck-rail{width:38px;font-size:clamp(11px,.8vw,16px);padding:12px 10px}
body.studio-theater[data-view=player] .deck-body{padding:clamp(12px,1.2vw,24px)}
body.studio-theater[data-view=player] .deck-title{gap:12px;margin-bottom:12px}
body.studio-theater[data-view=player] .deck-title strong{font-size:clamp(18px,1.45vw,30px)}
body.studio-theater[data-view=player] .deck-title small{font-size:clamp(12px,.9vw,18px);margin-top:6px}
body.studio-theater[data-view=player] .deck-title time{font-size:clamp(17px,1.3vw,28px)}
body.studio-theater[data-view=player] .air-badge{font-size:clamp(12px,.9vw,18px);padding:9px}
body.studio-theater[data-view=player] .waveform{min-height:35px;flex:1}
body.studio-theater[data-view=player] .waveform canvas{height:100%;width:100%}
body.studio-theater[data-view=player] .deck-controls{margin-top:12px}
body.studio-theater[data-view=player] .deck-controls label{font-size:clamp(12px,.9vw,18px)}
body.studio-theater[data-view=player] .deck-controls input{width:clamp(90px,9vw,180px)}
body.studio-theater[data-view=player] .studio-meter{padding:12px 10px;gap:5px}
body.studio-theater[data-view=player] .studio-meter i{width:7px;height:clamp(5px,.85vh,12px)}
body.studio-theater[data-view=player] .studio-panel-title{padding:clamp(12px,1.1vh,20px) 18px}
body.studio-theater[data-view=player] .studio-panel-title h2{font-size:clamp(17px,1.2vw,24px)}
body.studio-theater[data-view=player] .studio-clear-history{font-size:clamp(12px,.85vw,17px);padding:9px 12px}
body.studio-theater[data-view=player] .studio-history-list{font-size:clamp(14px,1vw,20px);min-height:0;padding:4px 18px}
body.studio-theater[data-view=player] .studio-history-list strong{font-size:inherit}
body.studio-theater[data-view=player] .studio-history-list time{font-size:clamp(13px,.95vw,19px)}
body.studio-theater[data-view=player] .loop-library{height:100%;min-height:0}
body.studio-theater[data-view=player] .loop-library .asset-tabs button{font-size:clamp(15px,1.05vw,21px);padding:16px 8px}
body.studio-theater[data-view=player] .sequence-save-status{font-size:clamp(12px,.85vw,17px);padding:5px 14px}
body.studio-theater[data-view=player] .sequence-picker{padding:12px;gap:9px}
body.studio-theater[data-view=player] .sequence-picker label{font-size:clamp(12px,.9vw,18px)}
body.studio-theater[data-view=player] .sequence-picker select,body.studio-theater[data-view=player] .sequence-picker button{font-size:clamp(14px,1vw,20px);padding:9px}
body.studio-theater[data-view=player] .loop-library .sequence-rows{min-height:0;padding:12px;flex:1;overflow:auto}
body.studio-theater[data-view=player] .sequence-row{padding:clamp(11px,1.15vh,20px);gap:12px;margin-bottom:10px}
body.studio-theater[data-view=player] .sequence-row strong{font-size:clamp(17px,1.2vw,25px)}
body.studio-theater[data-view=player] .sequence-row small{font-size:clamp(13px,.95vw,19px);margin-top:7px}
body.studio-theater[data-view=player] .sequence-row>b{width:36px;height:36px;font-size:18px}
body.studio-theater[data-view=player] .sequence-row>button{min-width:34px;min-height:38px;font-size:20px}
body.studio-theater[data-view=player] .loop-catalog{max-height:none;grid-template-columns:repeat(auto-fill,minmax(clamp(150px,11vw,230px),1fr));gap:18px;padding:18px}
body.studio-theater[data-view=player] .loop-catalog article{gap:10px;padding:14px}
body.studio-theater[data-view=player] .loop-catalog article>strong{font-size:clamp(16px,1.15vw,24px)}
body.studio-theater[data-view=player] .loop-catalog article>small,body.studio-theater[data-view=player] .loop-catalog article>button,body.studio-theater[data-view=player] .loop-library .input-help,body.studio-theater[data-view=player] .library-footer{font-size:clamp(13px,.95vw,19px)}
@media(max-width:1100px){body.studio-theater[data-view=player] .studio-heading{grid-template-columns:minmax(0,1fr) auto}body.studio-theater[data-view=player] .studio-radio-select{grid-column:1/-1;justify-content:flex-start}body.studio-theater[data-view=player] .studio-center-clock{min-width:175px}}
@media(max-width:850px),(max-height:620px){body.studio-theater[data-view=player] #app-content{height:auto;min-height:100dvh;max-height:none;overflow:visible}body.studio-theater[data-view=player] .studio-grid{height:auto;grid-template-columns:1fr}body.studio-theater[data-view=player] .studio-left{height:auto;grid-template-rows:240px 240px minmax(200px,auto)}body.studio-theater[data-view=player] .studio-right{height:auto}body.studio-theater[data-view=player] .loop-library{min-height:560px;height:auto}body.studio-theater[data-view=player] .loop-library>.studio-sequence{min-height:520px}body.studio-theater[data-view=player] .sequence-rows{max-height:60dvh}body.studio-theater[data-view=player] .loop-controls{flex-wrap:wrap}body.studio-theater[data-view=player] .loop-controls .studio-master-volume{margin-left:0}}
