/* TubeDirector 3.2 — somente Planejamento e Produção. Sem alterações em dados nem outras páginas. */

/* Planejamento: controles fiéis à referência e sem seleção cortada */
#page-planejamento.planning-page { padding-top: 0; }
#page-planejamento .planning-header { margin-bottom: 23px; }
#page-planejamento .planning-controls { margin-bottom: 24px; }
#page-planejamento .plan-modes { overflow: visible; gap: 4px; padding: 4px; height: 53px; border-radius: 28px; }
#page-planejamento .plan-modes button { line-height: 42px; height: 43px; border-radius: 23px; padding: 0 11px; }
#page-planejamento .plan-modes button.selected { box-shadow: inset 0 1px 7px rgba(255,223,255,.6), 0 0 13px rgba(178,66,255,.6); }
#page-planejamento .planning-stats { overflow: hidden; background: linear-gradient(112deg,rgba(45,81,165,.5),rgba(8,34,82,.46) 52%,rgba(71,31,126,.52)) !important; }
#page-planejamento .fresh-stat-subtitle { font-size:11px; font-weight:550; color:#9beaf4; }
#page-planejamento .planning-filterbar { margin: 20px 0 19px; gap: 10px; }
#page-planejamento .filter-chips { gap: 9px; }
#page-planejamento .filter-chip { min-width: 0; gap: 6px; height: 44px; border-radius: 24px; padding: 0 13px; font-size: 12px; font-weight: 600; }
#page-planejamento .filter-chip svg { width: 17px; height: 17px; }
#page-planejamento .filter-chip select { font-size: 12px; max-width: 165px; min-width: 40px; }
#page-planejamento .filter-caret { font-size: 16px; }
#page-planejamento .plan-display-switch { padding: 3px; border-radius: 25px; }
#page-planejamento .week-scroll { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 5px 6px 20px; margin: -5px -6px -15px; scrollbar-color: #6d61c3 #0c1b3d; scrollbar-width: thin; }
#page-planejamento .week-grid { display:grid; grid-template-columns: repeat(7,minmax(0,1fr)); min-width: 1075px; gap: 8px; min-height: 475px; align-items: stretch; }
#page-planejamento .week-grid.day-mode { grid-template-columns: minmax(290px,470px); min-width: 0; justify-content: start; }
#page-planejamento .week-grid.fresh-list-grid { display: flex; flex-direction: column; min-width: 0; }
#page-planejamento .week-grid.fresh-month-grid { grid-template-columns:repeat(7,minmax(165px,1fr)); min-width: 1220px; }
#page-planejamento .fresh-plan-day { min-width: 0; min-height: 480px; padding: 10px 8px 14px; gap: 12px; border-radius: 22px; background: linear-gradient(178deg,rgba(16,38,88,.78),rgba(14,28,64,.86) 47%,rgba(22,29,79,.85)); border:1px solid rgba(117,161,255,.3); box-shadow: inset 0 1px 1px rgba(190,230,255,.07), 0 10px 26px rgba(0,0,0,.12); }
#page-planejamento .fresh-plan-day.is-today { background: linear-gradient(180deg,rgba(81,34,156,.85),rgba(47,31,111,.78) 58%,rgba(55,31,107,.8)); border: 1px solid #d46cff; box-shadow: inset 0 0 17px rgba(206,89,255,.27),0 0 0 1px rgba(197,79,255,.55),0 0 21px rgba(200,64,255,.48); }
#page-planejamento .fresh-plan-day-head { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap: 4px; padding: 8px 2px 4px; border: 0; text-align: center; }
#page-planejamento .fresh-plan-day-head span { color:#d9dfff; font-weight:750; letter-spacing:.065em; font-size:12px; }
#page-planejamento .fresh-plan-day-head strong { font-size:22px; color:#fff; font-weight:790; letter-spacing:-.03em; line-height:1.1; margin:2px 0 5px; }
#page-planejamento .fresh-plan-day-head b { padding: 5px 13px; font-size: 12px; min-width: 94px; font-weight:550; white-space:nowrap; background:rgba(165,133,222,.28); border:1px solid rgba(202,186,255,.16); }
#page-planejamento .fresh-plan-day.is-today .fresh-plan-day-head b { background:rgba(179,103,226,.32); border-color:rgba(239,168,255,.25); }
#page-planejamento .fresh-plan-cards { gap: 9px; }
#page-planejamento .fresh-plan-card { display:flex; flex-direction:column; justify-content:space-between; width:100%; min-height:106px; gap:9px; padding:10px 9px 9px; border-radius:16px; border:1px solid rgba(150,176,245,.33); background:linear-gradient(148deg,rgba(84,96,164,.3),rgba(28,49,98,.56)); box-shadow: inset 0 1px 8px rgba(200,228,255,.1),0 2px 10px rgba(4,9,32,.15); transform:translateZ(0); transition: background .18s,border-color .18s,box-shadow .18s; }
#page-planejamento .fresh-plan-day.is-today .fresh-plan-card { background:linear-gradient(145deg,rgba(145,84,179,.43),rgba(64,52,131,.48)); border-color:rgba(231,151,251,.3); }
#page-planejamento .fresh-plan-card:hover { transform: none; border-color: rgba(114,240,255,.7); box-shadow:0 0 13px rgba(77,176,255,.19),inset 0 1px 10px rgba(200,228,255,.08); }
#page-planejamento .fresh-plan-card-head { gap: 5px; min-width:0; }
#page-planejamento .fresh-plan-card-head .fresh-avatar,#page-planejamento .fresh-plan-card-head .fresh-avatar-wrapper { width:18px; height:18px; flex-basis:18px; font-size:10px; border:1px solid rgba(187,224,255,.5); }
#page-planejamento .fresh-plan-channel { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f2f4ff; font-weight:730; font-size:11px; }
#page-planejamento .fresh-plan-title { font-size:13px; line-height:1.25; color:#fff; text-align:left; font-weight:500; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; min-height:32px; overflow-wrap:anywhere; }
#page-planejamento .fresh-plan-card-foot { justify-content:flex-start; gap:7px; font-size:10px; }
#page-planejamento .fresh-platform-chip { width:18px; height:17px; border-radius:4px; flex-shrink:0; font-size:10px; }
#page-planejamento .fresh-platform-chip.facebook { background:#287be6; }
#page-planejamento .fresh-plan-time { color:#cbd2f4; }
#page-planejamento .fresh-plan-status { margin-left:auto; flex-shrink:0; width:19px; height:19px; border-radius:50%; border:1px solid #9bace3; background:rgba(12,22,53,.34); }
#page-planejamento .fresh-plan-status.done { border-color:#42ffd0; box-shadow: 0 0 10px rgba(35,255,182,.53); }
#page-planejamento .fresh-empty-day { padding-top:28px; color:#a0add1; }
#page-planejamento .fresh-month-grid .fresh-plan-day { min-height:315px; }
#page-planejamento .fresh-month-grid .fresh-plan-card { min-height:84px; }
#page-planejamento .fresh-list-grid .fresh-plan-card { max-width:780px; min-height:85px; }

/* Produção: a barra de indicadores vira uma peça única; Kanban com colunas finas e cabeçalhos visuais */
#page-producao.workspace-page { margin-top:20px; }
#page-producao .workspace-heading { margin-bottom:23px; }
#page-producao .production-summary { display:block; padding:0; min-height:0; margin-bottom:16px; border:0; border-radius:24px; background:transparent; box-shadow:none; overflow:visible; }
#page-producao .production-summary > .fresh-production-overview { display:grid; grid-template-columns:1.35fr repeat(4,minmax(0,1fr)); min-height:93px; overflow:hidden; border:1px solid rgba(127,171,253,.57); border-radius:23px; background: linear-gradient(90deg,rgba(16,62,112,.63),rgba(17,36,92,.72) 52%,rgba(66,36,125,.62)) !important; box-shadow:inset 0 1px 13px rgba(175,220,255,.13),0 3px 19px rgba(4,12,45,.15); }
#page-producao .fresh-production-overview-cell { padding:14px 18px; min-height:93px; border:0; border-right:1px solid rgba(133,155,243,.29); display:flex; flex-direction:row; align-items:center; justify-content:center; gap:9px; }
#page-producao .fresh-production-overview-cell:last-child { border-right:0; }
#page-producao .fresh-production-overview-cell.total { display:flex; flex-direction:column; align-items:flex-start; gap:0; padding-left:24px; }
#page-producao .fresh-production-overview-cell.total small { font-size:9px; font-weight:800; letter-spacing:.21em; }
#page-producao .fresh-production-overview-cell.total strong { font-size:31px; line-height:1.15; color:#29eaff; }
#page-producao .fresh-production-overview-cell.total >span { font-size:11px; color:#bbd7f4; }
#page-producao .fresh-production-overview-cell:not(.total) label { font-size:12px; font-weight:550; color:#dce7ff; }
#page-producao .fresh-production-overview-cell:not(.total) strong { font-size:23px; font-weight:790; margin-left:1px; }
#page-producao .fresh-production-overview-cell .dot { margin:0; width:9px; height:9px; flex:none; }
#page-producao .kanban-toolbar { margin-bottom:14px; border:1px solid rgba(110,180,246,.53); border-radius:17px; padding:10px 14px; min-height:62px; background:linear-gradient(100deg,rgba(12,76,131,.43),rgba(13,38,91,.46) 55%,rgba(70,35,128,.49)) !important; box-shadow:inset 0 1px 11px rgba(92,219,255,.15); }
#page-producao .kanban-container { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); min-width:0; gap:12px; overflow:visible; align-items:stretch; }
#page-producao .fresh-production-column { min-width:0; min-height:494px; padding:0; border-radius:19px; border:1px solid rgba(112,163,245,.33); background:linear-gradient(168deg,rgba(18,39,87,.68),rgba(9,20,49,.81) 62%,rgba(23,25,70,.68)); box-shadow:inset 0 1px 6px rgba(200,220,255,.05),0 7px 19px rgba(0,5,32,.16); overflow:hidden; }
#page-producao .fresh-production-column.stage-roteiro { border-top:2px solid #ae5aff; }
#page-producao .fresh-production-column.stage-narracao { border-top:2px solid #25eaf7; }
#page-producao .fresh-production-column.stage-edicao { border-top:2px solid #f5bb53; }
#page-producao .fresh-production-column.stage-postado { border-top:2px solid #34e9af; }
#page-producao .fresh-production-column-head { display:flex; align-items:center; justify-content:flex-start; gap:10px; min-height:64px; padding:12px 10px; border-bottom:1px solid rgba(137,174,247,.25); background:linear-gradient(105deg,rgba(60,44,121,.33),rgba(16,50,94,.16)); }
#page-producao .fresh-stage-head-copy { flex:1; min-width:0; }
#page-producao .fresh-stage-head-copy strong { font-size:14px; letter-spacing:-.02em; font-weight:780; }
#page-producao .fresh-stage-head-copy small { font-size:10px; color:#b3c5e7; margin-top:3px; line-height:1.25; }
#page-producao .fresh-stage-icon { flex:none; display:grid; place-items:center; width:34px; height:34px; border-radius:11px; font-size:18px; font-weight:800; color:#d39aff; border:1px solid rgba(192,113,255,.32); background:rgba(138,61,206,.23); }
#page-producao .stage-narracao .fresh-stage-icon { color:#33ecff; border-color:rgba(57,232,255,.34); background:rgba(23,153,177,.22); }
#page-producao .stage-edicao .fresh-stage-icon { color:#ffd27c; border-color:rgba(248,184,82,.3); background:rgba(185,114,25,.2); }
#page-producao .stage-postado .fresh-stage-icon { color:#5effc1; border-color:rgba(67,233,174,.36); background:rgba(18,154,105,.21); }
#page-producao .fresh-stage-count { border:1px solid rgba(188,170,255,.2); border-radius:11px; min-width:28px; height:28px; padding:4px 8px; text-align:center; font-size:12px; color:#f6f3ff; background:rgba(136,116,223,.22); }
#page-producao .fresh-production-column-body { flex:1; padding:11px 9px 15px; gap:9px; }
#page-producao .fresh-stage-empty { min-height:310px; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:11px; text-align:center; }
#page-producao .fresh-stage-empty-icon { font-size:30px; color:#b886fa; line-height:1; }
#page-producao .fresh-stage-empty strong { font-size:12px; font-weight:560; color:#d6daf3; }
#page-producao .fresh-stage-empty small { font-size:10px; color:#8ba5d3; }
#page-producao .fresh-production-liquid { display:flex; flex-direction:column; gap:8px; padding:13px 11px 10px; border:1px solid rgba(129,185,253,.43); border-radius:15px; background:linear-gradient(124deg,rgba(43,94,157,.5),rgba(20,41,88,.67) 52%,rgba(90,44,150,.41)); box-shadow:inset 0 1px 10px rgba(169,219,255,.14),0 2px 12px rgba(7,12,45,.15); transition: background .2s,border-color .2s,box-shadow .2s; transform:none; }
#page-producao .fresh-production-liquid:hover { transform:none; border-color:rgba(105,222,255,.8); box-shadow:0 3px 17px rgba(63,151,237,.18),inset 0 1px 11px rgba(161,211,255,.12); }
#page-producao .fresh-production-main { display:flex; gap:9px; align-items:flex-start; flex:1; width:100%; }
#page-producao .fresh-production-main .fresh-avatar,#page-producao .fresh-production-main .fresh-avatar-wrapper { width:28px; height:28px; flex-basis:28px; }
#page-producao .fresh-production-content strong { display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; font-size:13px; line-height:1.3; min-height:17px; }
#page-producao .fresh-production-content small { white-space:nowrap; font-size:11px; color:#c5d6f1; }
#page-producao .fresh-card-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px; font-size:10px; color:#a3bde8; padding-top:9px; }
#page-producao .fresh-card-bottom { width:100%; display:flex; align-items:center; justify-content:space-between; gap:9px; padding-top:8px; border-top:1px solid rgba(143,186,255,.2); }
#page-producao .fresh-card-phase { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; color:#bfd3f4; }
#page-producao .fresh-card-edit { flex:0 0 auto; width:30px; height:29px; border-radius:9px; padding:0; font-size:15px; }
#page-producao .fresh-production-column.fresh-drop-target { outline:2px solid #49efff; outline-offset:-2px; background:linear-gradient(160deg,rgba(16,74,119,.7),rgba(18,33,76,.85)); }
@media(max-width:1380px) { #page-producao .kanban-container { min-width:980px; } #page-producao .workspace-heading h1 { font-size:38px; } #page-producao .production-summary .fresh-production-overview-cell { padding-inline:11px; } #page-planejamento .week-grid { min-width:1090px; } }
@media(max-width:1100px) { #page-producao .kanban-container { overflow:visible; } #page-producao .production-summary .fresh-production-overview { grid-template-columns:repeat(4,minmax(0,1fr)); } #page-producao .fresh-production-overview-cell.total { grid-column:1/-1; border-bottom:1px solid rgba(133,155,243,.24); } #page-producao .kanban-container { min-width:980px; } #page-producao.workspace-page { overflow-x:auto; } }
@media(max-width:760px) { #page-planejamento .plan-modes { width:100%; } #page-planejamento .planning-filterbar { align-items:flex-start; } #page-producao .kanban-toolbar { flex-wrap:wrap; } #page-producao .fresh-production-overview-cell:not(.total) { flex-direction:column; gap:2px; } }

/* Etapa 3.3 — ajustes visuais pontuais, preservando a identidade aprovada */
#page-producao .kanban-toolbar{position:relative;z-index:18;overflow:visible;isolation:auto}
#page-producao .kanban-toolbar-group,#page-producao .channel-chooser{position:relative;overflow:visible}
#page-producao .channel-chooser-menu{position:absolute!important;top:calc(100% + 10px);left:0;right:auto;z-index:220!important;width:min(355px,calc(100vw - 70px));max-height:290px;overflow-y:auto;background:linear-gradient(135deg,rgba(9,29,71,.98),rgba(36,21,91,.98));border:1px solid rgba(132,172,250,.63);border-radius:18px;padding:7px;box-shadow:0 20px 54px #0009,0 0 24px #7244c655}
#page-producao .channel-chooser-menu button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border:0;border-radius:12px;background:transparent;color:#eff2ff;font-size:12px}
#page-producao .channel-chooser-menu button:hover,#page-producao .channel-chooser-menu button:focus-visible{background:rgba(123,92,214,.36)}
#page-producao .channel-chooser-menu .fresh-avatar,#page-producao .channel-chooser-menu .fresh-avatar-wrapper{width:25px!important;height:25px!important;flex:0 0 25px!important}
#page-producao .channel-chooser-trigger{display:flex;align-items:center;gap:10px}
#page-producao .channel-chooser-trigger .fresh-avatar,#page-producao .channel-chooser-trigger .fresh-avatar-wrapper{width:24px;height:24px;flex:0 0 24px}
#page-producao .channel-chooser-trigger>span:nth-child(2){min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#page-producao .channel-chooser-trigger>span:last-child{flex:0 0 auto}
#page-producao .fresh-rename-button{border:1px solid rgba(138,159,255,.38);border-radius:14px;padding:10px 13px;background:rgba(49,53,112,.34);color:#deeaff;font-size:12px;white-space:nowrap}
#page-producao .fresh-rename-button:hover{border-color:#65d8ff;background:rgba(66,84,142,.46)}
#page-producao .fresh-stage-right-icon{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:9px;background:rgba(156,87,255,.18);border:1px solid rgba(186,141,255,.28);color:#daa6ff;font-size:16px}
#page-producao .stage-narracao .fresh-stage-right-icon{color:#53dfff;background:rgba(27,189,219,.14);border-color:rgba(45,235,255,.25)}
#page-producao .stage-edicao .fresh-stage-right-icon{color:#ffd171;background:rgba(222,152,28,.13);border-color:rgba(242,196,76,.25)}
#page-producao .stage-postado .fresh-stage-right-icon{color:#58fdbb;background:rgba(26,193,137,.13);border-color:rgba(76,245,169,.25)}
#page-producao .fresh-production-column-head .fresh-stage-count{margin-left:0}
#page-producao .fresh-production-liquid{min-height:154px;justify-content:space-between;padding:14px 13px 11px;gap:14px;box-shadow:inset 0 1px 12px rgba(160,210,255,.12),0 7px 20px rgba(3,11,35,.17)}
#page-producao .fresh-production-main{align-items:center;gap:11px;min-height:42px}
#page-producao .fresh-production-main .fresh-avatar,#page-producao .fresh-production-main .fresh-avatar-wrapper{height:36px;width:36px;flex:0 0 36px}
#page-producao .fresh-production-content{min-width:0;flex:1}
#page-producao .fresh-production-content strong{font-size:13px;line-height:1.38;max-height:2.76em}
#page-producao .fresh-production-content small{font-size:11px;line-height:1.4}
#page-producao .fresh-production-tags{padding-top:5px;display:flex;flex-wrap:wrap;gap:6px}
#page-producao .fresh-production-tags span{font-size:10px;color:#dce5ff;background:rgba(115,145,237,.15);border:1px solid rgba(144,167,232,.24);padding:5px 9px;border-radius:99px;text-transform:none}
#page-producao .fresh-card-bottom{margin-top:auto;align-self:stretch}
#page-producao .fresh-card-phase{color:#a9c7f0}
#page-producao .fresh-production-column-head{gap:8px}
#page-producao .fresh-stage-head-copy{min-width:0}
#page-producao .fresh-stage-head-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
#page-producao .fresh-production-liquid .fresh-card-edit{margin-left:auto}
#page-planejamento .fresh-plan-title{font-weight:620}
#page-planejamento .fresh-plan-card .fresh-plan-status{align-self:flex-start}
#page-planejamento .fresh-plan-card{min-height:105px}
#modalContent:has(.fresh-delivery-editor),#modalContent:has(.fresh-production-editor){max-width:710px;max-height:min(92vh,980px);padding:26px 29px;scrollbar-width:thin;scrollbar-color:#6c64b4 #17224a;overflow-y:auto}
#modalContent:has(.fresh-delivery-editor)::-webkit-scrollbar,#modalContent:has(.fresh-production-editor)::-webkit-scrollbar{width:9px}
#modalContent:has(.fresh-delivery-editor)::-webkit-scrollbar-track,#modalContent:has(.fresh-production-editor)::-webkit-scrollbar-track{background:rgba(15,29,69,.8);border-radius:99px}
#modalContent:has(.fresh-delivery-editor)::-webkit-scrollbar-thumb,#modalContent:has(.fresh-production-editor)::-webkit-scrollbar-thumb{background:linear-gradient(#4c78d8,#9956e4);border:2px solid rgba(15,29,69,.8);border-radius:99px}
.fresh-edit-avatar-aligned{display:flex;align-items:center;gap:14px;padding:15px 18px;min-height:76px;border:1px solid rgba(125,170,252,.36);border-radius:15px;background:linear-gradient(110deg,rgba(25,53,103,.36),rgba(63,37,120,.27))}
.fresh-edit-avatar-aligned .fresh-avatar,.fresh-edit-avatar-aligned .fresh-avatar-wrapper{width:44px!important;height:44px!important;flex:0 0 44px!important;position:relative}
.fresh-edit-avatar-aligned>.fresh-avatar-wrapper>.fresh-avatar{position:absolute;inset:0;max-width:44px;max-height:44px}
.fresh-edit-avatar-aligned>div:not(.fresh-avatar-wrapper){min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px}
.fresh-edit-avatar-aligned strong{font-size:14px;color:#fff}
.fresh-edit-avatar-aligned small{font-size:11px;color:#b4c9ea}
.fresh-delivery-slot{font-size:11px;color:#b7c8ef;white-space:nowrap}
.fresh-delivery-editor .fresh-form-head{padding-bottom:17px;border-bottom:1px solid rgba(147,176,245,.22)}
.fresh-delivery-editor .fresh-form-head h2{font-size:26px}
.fresh-editor-tabs{display:flex;align-items:center;gap:7px;margin:3px 0 8px}
.fresh-editor-tabs button{min-height:39px;padding:8px 14px;border-radius:11px;background:rgba(17,32,76,.64);border:1px solid rgba(125,163,246,.27);font-size:12px;color:#d4e0ff}
.fresh-editor-tabs button.selected{background:linear-gradient(115deg,rgba(116,64,193,.74),rgba(59,57,139,.7));border-color:rgba(192,121,255,.68);color:#fff}
.fresh-editor-tab-panel{display:flex;flex-direction:column;gap:17px;min-height:245px}
.fresh-editor-tab-panel[hidden]{display:none!important}
.fresh-editor-tab-panel>label{font-weight:600}
.fresh-delivery-editor .fresh-help{font-size:12px;color:#aac3e4;line-height:1.5}
.fresh-schedule-info{font-size:12px;display:flex;align-items:center;gap:8px;color:#b3c4ef}
.fresh-delivery-date-reminder{border:1px solid rgba(112,166,234,.27);padding:16px 18px;border-radius:14px;background:rgba(8,24,65,.38);display:flex;flex-direction:column;gap:11px;color:#cfdef8;font-size:12px}
.fresh-delivery-date-reminder strong{font-size:13px;color:#edf4ff}
.fresh-editor-actions{margin-top:12px;padding-top:16px;border-top:1px solid rgba(138,166,240,.21)}
.fresh-production-editor{gap:19px}.fresh-production-editor .fresh-form-head{padding-bottom:15px;border-bottom:1px solid rgba(142,170,246,.18)}
.fresh-channel-imported-count{color:#9cb4e0;font-size:10px;margin-top:4px;padding:0 2px}
.fresh-channel-card-footer{display:flex;align-items:center;gap:8px}.fresh-channel-card-footer>span{flex:1}
@media(max-width:720px){#page-producao .kanban-toolbar{flex-wrap:wrap}#page-producao .kanban-toolbar-end{flex-wrap:wrap;justify-content:flex-start}#page-producao .fresh-rename-button{order:3}#modalContent:has(.fresh-delivery-editor),#modalContent:has(.fresh-production-editor){padding:19px 16px}.fresh-editor-tabs{flex-wrap:wrap}.fresh-delivery-slot{display:none}}
/* Etapa 4: filters as cohesive buttons; never expose the browser's native blue focused select. */
.filter-chip.enhanced { isolation:isolate; cursor:pointer; }
.filter-chip.enhanced select {position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;clip-path:inset(50%);}
.filter-chip.enhanced .filter-trigger{cursor:pointer;outline:none}
.filter-chip.enhanced .filter-trigger:focus-visible{box-shadow:inset 0 0 0 2px rgba(100,235,255,.7)}
.filter-chip.enhanced .filter-popover{min-width:100%;z-index:1000;}
.filter-chip.enhanced .filter-choice{cursor:pointer;}
.planning-filterbar,.filter-chips{overflow:visible!important}
.analytics-real-kpi{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid rgba(132,181,255,.35);border-radius:19px;background:linear-gradient(140deg,rgba(16,48,101,.75),rgba(42,24,95,.65));min-height:105px}
.analytics-real-kpi small{font-size:11px;color:#aac5ef;letter-spacing:.1em;text-transform:uppercase}
.analytics-real-kpi strong{font-size:28px;color:#6eebf8;line-height:1.1}
.analytics-real-kpi em{font-size:11px;color:#a8b8d9;font-style:normal}
.public-insight{padding:15px 16px;border-bottom:1px solid rgba(140,160,230,.19)}
.public-insight strong{font-size:13px;color:#f1eaff}.public-insight p{font-size:12px;color:#b6c6e9;margin:7px 0 0;line-height:1.5}
.public-video-row{display:flex;gap:12px;align-items:center;padding:12px;border-bottom:1px solid rgba(150,168,235,.2);color:#edf4ff}
.public-video-row img{width:72px;height:43px;object-fit:cover;border-radius:8px}
.public-video-row .public-video-main{flex:1;min-width:0}.public-video-row strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.public-video-row small{display:block;color:#aabce5;margin-top:5px;font-size:11px}
.public-chart-svg{width:100%;height:100%;min-height:210px}
