.legal-page{color:var(--text);background:#f6f8fb;min-height:100vh}.legal-topbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;min-height:68px;padding:10px max(20px,50vw - 460px);display:flex}.legal-brand{color:var(--text);align-items:center;gap:10px;text-decoration:none;display:flex}.legal-brand img{object-fit:contain;width:42px;height:42px}.legal-brand span{display:grid}.legal-brand strong{color:var(--brand);letter-spacing:0;font-size:1rem}.legal-brand small{color:var(--muted);font-size:.72rem}.legal-topbar nav{gap:18px;display:flex}.legal-topbar nav a,.legal-footer a,.legal-sections a{color:var(--brand-dark);font-weight:700;text-decoration:none}.legal-topbar nav a:hover,.legal-footer a:hover,.legal-sections a:hover{text-decoration:underline}.legal-document{max-width:820px;margin:0 auto;padding:56px 24px 72px}.legal-title{border-bottom:1px solid var(--border);padding-bottom:30px}.legal-title>span{color:var(--brand-dark);margin-bottom:10px;font-size:.82rem;font-weight:800;display:block}.legal-title h1{margin:0;font-size:2.25rem;line-height:1.25}.legal-title p{color:var(--gray-600);margin:14px 0;font-size:1rem;line-height:1.8}.legal-title time{color:var(--gray-500);font-size:.82rem}.legal-sections section{border-bottom:1px solid var(--border);padding:28px 0}.legal-sections h2{margin:0 0 12px;font-size:1.1rem}.legal-sections p,.legal-sections li,.legal-footer p{color:var(--gray-700);line-height:1.85}.legal-sections p,.legal-sections ul{margin:0}.legal-sections ul{padding-left:1.35rem}.legal-sections li+li{margin-top:6px}.legal-footer{padding-top:28px}.legal-footer p{margin:0 0 12px}.auth-legal-links{color:var(--gray-400);flex-wrap:wrap;justify-content:center;gap:6px 12px;margin-top:1.25rem;font-size:.75rem;display:flex}.auth-legal-links a{color:var(--gray-500);text-decoration:none}.auth-legal-links a:hover{color:var(--brand-dark);text-decoration:underline}@media (max-width:640px){.legal-topbar{flex-direction:column;align-items:flex-start;gap:10px;padding:10px 16px}.legal-topbar nav{white-space:nowrap;gap:14px;width:100%;padding-bottom:4px;overflow-x:auto}.legal-document{padding:36px 18px 56px}.legal-title h1{font-size:1.75rem}}
.ops-page{gap:16px;display:grid}.ops-summary .summary-card{text-align:left;border:1px solid var(--gray-200);cursor:pointer;background:var(--white)}.ops-summary .summary-card.selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 14%, transparent)}.ops-filters{grid-template-columns:minmax(220px,1fr) repeat(3,minmax(130px,180px));gap:10px;display:grid}.ops-issue-list{gap:10px;display:grid}.ops-issue{border:1px solid var(--gray-200);background:var(--white);border-radius:8px;padding:16px}.ops-issue-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ops-issue-head>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ops-issue h2{width:100%;margin:4px 0 0;font-size:1rem}.ops-category{color:var(--gray-500);font-size:.8rem}.ops-detail{color:var(--gray-700);margin:10px 0}.ops-suggestion{background:var(--gray-50);border-radius:6px;grid-template-columns:88px 1fr;gap:8px;padding:10px 12px;font-size:.86rem;display:grid}.ops-meta{color:var(--gray-500);flex-wrap:wrap;gap:12px;margin-top:10px;font-size:.75rem;display:flex}.ops-issue .row-actions{justify-content:flex-end;margin-top:10px}.filming-schedule-page{--schedule-accent:#0f766e;--schedule-accent-soft:#f0fdfa;--white:var(--surface);gap:14px}.schedule-page-header{align-items:center}.schedule-create-button{min-height:42px}.schedule-create-button span{font-size:1.05rem;line-height:1}.schedule-summary-strip{background:var(--white);border:1px solid var(--gray-200);border-radius:8px;grid-template-columns:160px 160px minmax(280px,1fr);display:grid;overflow:hidden}.schedule-summary-strip>div{border-right:1px solid var(--gray-200);align-items:baseline;gap:6px;min-width:0;padding:13px 18px;display:flex}.schedule-summary-strip>div:last-child{border-right:0}.schedule-summary-strip span{color:var(--gray-500);margin-right:auto;font-size:.76rem;font-weight:700}.schedule-summary-strip strong{color:var(--gray-900);font-size:1.28rem}.schedule-summary-strip small{color:var(--gray-500);font-size:.72rem}.schedule-summary-strip .schedule-next-summary{grid-template-columns:76px auto 1fr;align-items:center;gap:2px 12px;display:grid}.schedule-next-summary span{grid-row:1/3;margin:0}.schedule-next-summary strong{white-space:nowrap;font-size:.86rem}.schedule-next-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.schedule-next-summary .is-empty{color:var(--gray-500);grid-column:2/-1;font-weight:600}.schedule-workspace{background:var(--white);border:1px solid var(--gray-200);border-radius:8px;overflow:hidden}.schedule-toolbar{background:var(--gray-50);border-bottom:1px solid var(--gray-200);justify-content:space-between;align-items:center;min-height:62px;padding:10px 14px;display:flex}.schedule-month-navigation{align-items:center;gap:8px;display:flex}.schedule-month-navigation>div{border-radius:5px;align-items:center;min-width:126px;padding:0 8px;display:flex;position:relative}.schedule-month-navigation>div:focus-within{box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent)}.schedule-month-navigation strong{color:var(--gray-900);white-space:nowrap;font-size:1rem}.schedule-month-navigation input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.schedule-month-navigation .icon-button{background:var(--white);border-color:var(--gray-300);width:36px;height:36px;font-size:1.2rem}.schedule-view-switch{background:var(--gray-100);border:1px solid var(--gray-200);border-radius:6px;flex:none;gap:2px;padding:2px;display:flex}.schedule-view-switch button{color:var(--gray-600);cursor:pointer;background:0 0;border:0;border-radius:4px;min-height:32px;padding:5px 14px;font-size:.76rem;font-weight:700}.schedule-view-switch button.active{background:var(--surface);color:var(--primary);box-shadow:0 1px 2px #0f172a14}.schedule-calendar{background:var(--gray-200);grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;display:grid}.schedule-weekday,.schedule-day{background:var(--white);min-width:0}.schedule-weekday{color:var(--gray-500);text-align:center;padding:9px;font-size:.72rem;font-weight:700}.schedule-day{min-height:112px;padding:8px}.schedule-day.outside{color:var(--gray-400);background:#fafafa}.schedule-day.today{box-shadow:inset 0 3px 0 var(--schedule-accent)}.schedule-date{justify-content:space-between;align-items:center;height:24px;display:flex}.schedule-date>span{justify-content:center;align-items:center;width:24px;height:24px;font-size:.76rem;font-weight:800;display:inline-flex}.schedule-mobile-date{display:none}.schedule-day.today .schedule-date>span{background:var(--schedule-accent);color:var(--white);border-radius:50%}.schedule-date small{color:var(--schedule-accent);font-size:.64rem;font-weight:800}.schedule-day-events{gap:5px;margin-top:5px;display:grid}.schedule-event{background:var(--schedule-accent-soft);border:1px solid #bfe9e3;border-left:3px solid var(--schedule-accent);color:var(--gray-800);cursor:pointer;text-align:left;border-radius:4px;width:100%;min-width:0;padding:6px 7px;display:block;overflow:hidden}.schedule-event:hover{background:#e5f8f5;border-color:#80cbc2}.schedule-event:focus-visible{outline:2px solid var(--schedule-accent);outline-offset:1px}.schedule-event strong,.schedule-event span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.schedule-event-time{color:var(--schedule-accent);font-size:.66rem;font-weight:800}.schedule-event strong{margin-top:2px;font-size:.76rem}.schedule-event-meta,.schedule-event-location{color:var(--gray-500);margin-top:1px;font-size:.64rem}.schedule-calendar-empty,.schedule-agenda-empty,.schedule-loading{background:var(--white);color:var(--gray-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:130px;padding:24px;display:flex}.schedule-calendar-empty{grid-column:1/-1}.schedule-calendar-empty strong,.schedule-agenda-empty strong{color:var(--gray-700);font-size:.9rem}.schedule-calendar-empty span,.schedule-agenda-empty span{font-size:.78rem}.schedule-agenda{background:var(--white)}.schedule-agenda-group{grid-template-columns:150px minmax(0,1fr);display:grid}.schedule-agenda-group+.schedule-agenda-group{border-top:1px solid var(--gray-200)}.schedule-agenda-group>header{background:var(--gray-50);border-right:1px solid var(--gray-200);align-content:start;gap:4px;padding:16px;display:grid}.schedule-agenda-group>header time{color:var(--gray-800);font-size:.82rem;font-weight:800}.schedule-agenda-group>header span{color:var(--gray-500);font-size:.7rem}.schedule-agenda-group>div{min-width:0}.schedule-agenda-item{background:var(--white);border:0;border-bottom:1px solid var(--gray-100);color:inherit;cursor:pointer;text-align:left;grid-template-columns:86px minmax(130px,.8fr) minmax(140px,.8fr) minmax(180px,1.2fr) 62px;align-items:center;gap:16px;width:100%;min-height:72px;padding:11px 16px;display:grid}.schedule-agenda-item:last-child{border-bottom:0}.schedule-agenda-item:hover{background:#f8fafc}.schedule-agenda-item>span{gap:3px;min-width:0;display:grid}.schedule-agenda-item strong,.schedule-agenda-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.schedule-agenda-time strong{color:var(--schedule-accent);font-size:.95rem}.schedule-agenda-item small{color:var(--gray-500);font-size:.68rem}.schedule-agenda-main>strong,.schedule-agenda-location>strong,.schedule-agenda-team>strong{color:var(--gray-800);font-size:.8rem}.schedule-agenda-action{color:var(--primary);white-space:nowrap;grid-auto-flow:column;justify-content:end;font-size:.74rem;font-weight:800;display:flex!important}.schedule-agenda-action span{font-size:1rem}.schedule-modal-context{background:var(--gray-50);border-left:3px solid var(--schedule-accent);grid-template-columns:1fr 1fr auto;align-items:center;gap:14px;padding:12px 14px;display:grid}.schedule-modal-context>div{gap:3px;min-width:0;display:grid}.schedule-modal-context span:not(.status-badge),.schedule-form-heading small{color:var(--gray-500);font-size:.7rem;font-weight:600}.schedule-modal-context strong{color:var(--gray-900);text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;overflow:hidden}.schedule-form-section{gap:12px;padding:18px 0;display:grid}.schedule-form-section+.schedule-form-section{border-top:1px solid var(--gray-200)}.schedule-form-heading{align-items:center;gap:10px;display:flex}.schedule-form-heading>span{background:var(--gray-100);color:var(--gray-700);border-radius:50%;flex:0 0 26px;justify-content:center;align-items:center;height:26px;font-size:.72rem;font-weight:800;display:inline-flex}.schedule-form-heading>div{gap:2px;display:grid}.schedule-form-heading strong{color:var(--gray-900);font-size:.88rem}.schedule-time-grid{grid-template-columns:1fr 1fr 160px;gap:12px;display:grid}.schedule-time-grid label{margin:0}.schedule-time-grid input,.schedule-time-grid select,.schedule-participant-row select{width:100%;min-width:0}.schedule-location-field{grid-column:1/3}.schedule-participants{gap:8px;display:grid}.schedule-participant-row{background:var(--gray-50);border:1px solid var(--gray-200);grid-template-columns:32px minmax(160px,1fr) 130px 40px;align-items:center;gap:8px;padding:8px;display:grid}.schedule-participant-avatar{color:var(--schedule-accent);background:#dff3ef;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:.75rem;font-weight:800;display:inline-flex}.schedule-participant-row select{margin:0}.schedule-participant-empty{border:1px dashed var(--gray-300);color:var(--gray-500);text-align:center;padding:16px;font-size:.78rem}.schedule-add-participant{justify-self:start}.schedule-change-reason{padding-bottom:2px}.schedule-job-picker{padding-top:2px}.schedule-job-picker .autocomplete-menu button{justify-content:space-between;align-items:center;display:flex}.schedule-job-picker .autocomplete-menu span{color:var(--gray-500);font-size:.7rem}.schedule-cancel-button{margin-right:auto}.renewal-page{gap:14px}.renewal-page .work-page-header>div{min-width:0}.renewal-page .work-page-subtitle{overflow-wrap:anywhere}.renewal-create-button{min-height:42px}.renewal-summary-strip{background:var(--white);border:1px solid var(--gray-200);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.renewal-summary-strip>div{border-right:1px solid var(--gray-200);justify-content:space-between;align-items:center;min-width:0;padding:14px 18px;display:flex}.renewal-summary-strip>div:last-child{border-right:0}.renewal-summary-strip span{color:var(--gray-500);font-size:.8rem;font-weight:700}.renewal-summary-strip strong{color:var(--gray-900);font-size:1.35rem}.renewal-summary-strip .urgent{background:#fff7ed}.renewal-summary-strip .urgent strong{color:#c2410c}.renewal-summary-strip .completed strong{color:#047857}.renewal-worklist{background:var(--white);border:1px solid var(--gray-200);border-radius:8px;overflow:hidden}.renewal-list-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.renewal-list-toolbar>div:first-child{white-space:nowrap;align-items:baseline;gap:8px;display:flex}.renewal-list-toolbar h2{margin:0;font-size:1rem}.renewal-list-toolbar>div:first-child span{color:var(--gray-500);font-size:.78rem}.renewal-filters{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.renewal-filters input{min-width:260px}.renewal-filters select{min-width:140px}.renewal-table{border-top:1px solid var(--gray-200);width:100%;min-width:1000px}.renewal-table th{background:var(--gray-50);color:var(--gray-500);letter-spacing:0;white-space:nowrap;padding:10px 14px;font-size:.72rem}.renewal-table td{vertical-align:middle;padding:14px}.renewal-table tbody tr{border-left:3px solid #0000}.renewal-table tbody tr.is-overdue{border-left-color:var(--danger);background:snow}.renewal-table tbody tr.is-due{background:#fffdf5;border-left-color:#d97706}.renewal-client,.renewal-proposal{gap:3px;display:grid}.renewal-client strong{color:var(--gray-900);font-size:.92rem}.renewal-client a,.renewal-proposal a{color:var(--primary);font-size:.82rem;font-weight:700;text-decoration:none}.renewal-client a:hover,.renewal-proposal a:hover{text-decoration:underline}.renewal-client span,.renewal-proposal span{color:var(--gray-500);font-size:.74rem}.renewal-status{white-space:nowrap}.renewal-reason{color:var(--gray-500);max-width:180px;margin-top:5px;font-size:.72rem;line-height:1.4;display:block}.renewal-followup{color:var(--gray-700);white-space:nowrap;font-size:.82rem;font-weight:700}.renewal-followup.overdue,dd.overdue{color:#b91c1c}.renewal-followup.due,dd.due{color:#b45309}.renewal-followup.soon,dd.soon{color:#1d4ed8}.renewal-owner{white-space:nowrap;align-items:center;gap:8px;display:flex}.renewal-owner>span{background:var(--gray-100);color:var(--gray-700);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:.74rem;font-weight:800;display:inline-flex}.renewal-owner strong{color:var(--gray-700);font-size:.82rem}.renewal-no-proposal{color:var(--gray-400);font-size:.8rem}.renewal-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;display:flex}.renewal-actions .btn{white-space:nowrap}.renewal-empty{color:var(--gray-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:150px;display:flex}.renewal-empty strong{color:var(--gray-700);font-size:.95rem}.renewal-empty span{font-size:.8rem}.renewal-mobile-list{display:none}.renewal-form{gap:16px;display:grid}.renewal-form label{margin:0}.renewal-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.renewal-selected-contract{background:var(--gray-50);border-left:3px solid var(--primary);gap:4px;padding:12px 14px;display:grid;position:relative}.renewal-selected-contract span,.renewal-modal-context span{color:var(--gray-500);font-size:.72rem;font-weight:700}.renewal-selected-contract strong{color:var(--gray-900);padding-right:80px}.renewal-selected-contract button{color:var(--primary);cursor:pointer;background:0 0;border:0;font-size:.76rem;font-weight:700;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.renewal-modal-context{background:var(--gray-50);grid-template-columns:1fr 1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.renewal-modal-context>div{gap:3px;min-width:0;display:grid}.renewal-modal-context strong,.renewal-modal-context a{text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;overflow:hidden}.renewal-record-details{background:var(--gray-200);grid-template-columns:1fr 1fr;gap:1px;margin:0;display:grid}.renewal-record-details>div{background:var(--white);min-width:0;padding:12px 0}.renewal-record-details>div:nth-child(2n){padding-left:14px}.renewal-record-details>.full{grid-column:1/-1;padding-left:0}.renewal-record-details dt{color:var(--gray-500);margin-bottom:4px;font-size:.72rem;font-weight:700}.renewal-record-details dd{color:var(--gray-800);overflow-wrap:anywhere;margin:0;font-size:.86rem;line-height:1.5}@media (max-width:720px){.ops-filters{grid-template-columns:1fr 1fr}.ops-filters input{grid-column:1/-1}.ops-suggestion{grid-template-columns:1fr}.schedule-page-header{align-items:stretch}.schedule-create-button{width:100%}.schedule-summary-strip{grid-template-columns:1fr 1fr}.schedule-summary-strip>div{padding:11px 13px}.schedule-summary-strip>div:nth-child(2){border-right:0}.schedule-summary-strip .schedule-next-summary{border-right:0;border-top:1px solid var(--gray-200);grid-column:1/-1;grid-template-columns:68px auto 1fr}.schedule-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:11px}.schedule-month-navigation{justify-content:space-between}.schedule-month-navigation>div{min-width:116px}.schedule-month-navigation .btn{display:none}.schedule-view-switch{grid-template-columns:1fr 1fr;align-self:stretch;display:grid}.schedule-calendar{background:var(--white);padding:10px;display:block}.schedule-weekday,.schedule-day.outside,.schedule-day:not(.has-events){display:none}.schedule-day{border:1px solid var(--gray-200);border-radius:6px;min-height:0;margin-bottom:9px;padding:10px}.schedule-day:last-child{margin-bottom:0}.schedule-day.today{box-shadow:inset 3px 0 0 var(--schedule-accent)}.schedule-date{border-bottom:1px solid var(--gray-100);height:30px;margin-bottom:8px}.schedule-date>span{width:auto}.schedule-day-number{display:none!important}.schedule-mobile-date{color:var(--gray-800);font-size:.78rem;display:block}.schedule-day.today .schedule-date>span{color:var(--schedule-accent);background:0 0}.schedule-event{grid-template-columns:88px minmax(0,1fr);gap:2px;padding:8px 9px;display:grid}.schedule-event-time{grid-row:1/3}.schedule-event strong,.schedule-event-meta,.schedule-event-location{grid-column:2}.schedule-calendar-empty{border:1px solid var(--gray-200);border-radius:6px;padding:20px;display:flex}.schedule-agenda-group{display:block}.schedule-agenda-group>header{border-right:0;border-bottom:1px solid var(--gray-200);justify-content:space-between;align-items:center;padding:10px 13px;display:flex}.schedule-agenda-item{grid-template-columns:72px minmax(0,1fr) auto;gap:5px 12px;min-height:0;padding:13px}.schedule-agenda-time{grid-row:1/3}.schedule-agenda-main,.schedule-agenda-location{grid-column:2}.schedule-agenda-team{grid-column:2/4;margin-top:5px}.schedule-agenda-action{grid-area:1/3/3}.schedule-modal-context{grid-template-columns:1fr auto}.schedule-modal-context>div:nth-child(2){grid-column:1}.schedule-modal-context>.status-badge{grid-area:1/2/3}.schedule-time-grid{grid-template-columns:1fr}.schedule-location-field{grid-column:1}.schedule-participant-row{grid-template-columns:32px minmax(0,1fr) 40px}.schedule-participant-row select:nth-of-type(2){grid-column:2}.schedule-participant-row .icon-button{grid-area:1/3/3}.schedule-editor-modal .modal-footer{flex-wrap:wrap}.schedule-cancel-button{order:3;width:100%}.renewal-page .work-page-header{align-items:stretch}.renewal-create-button{width:100%}.renewal-summary-strip{grid-template-columns:1fr 1fr}.renewal-summary-strip>div{border-bottom:1px solid var(--gray-200);padding:12px 14px}.renewal-summary-strip>div:nth-child(2){border-right:0}.renewal-summary-strip>div:nth-child(3),.renewal-summary-strip>div:nth-child(4){border-bottom:0}.renewal-list-toolbar{flex-direction:column;align-items:stretch}.renewal-filters{grid-template-columns:1fr auto;justify-content:stretch;display:grid}.renewal-filters input{grid-column:1/-1;width:100%;min-width:0}.renewal-filters select{width:100%;min-width:0}.renewal-desktop-table{display:none}.renewal-mobile-list{border-top:1px solid var(--gray-200);display:grid}.renewal-mobile-item{border-left:3px solid #0000;border-bottom:1px solid var(--gray-200);padding:15px 14px}.renewal-mobile-item:last-child{border-bottom:0}.renewal-mobile-item.is-overdue{border-left-color:var(--danger);background:snow}.renewal-mobile-item.is-due{background:#fffdf5;border-left-color:#d97706}.renewal-mobile-item header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.renewal-mobile-item header>div{gap:3px;min-width:0;display:grid}.renewal-mobile-item header strong{color:var(--gray-900)}.renewal-mobile-item header a{color:var(--primary);font-size:.8rem;font-weight:700}.renewal-mobile-item dl{grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;display:grid}.renewal-mobile-item dl>div{min-width:0}.renewal-mobile-item dt{color:var(--gray-500);margin-bottom:3px;font-size:.7rem;font-weight:700}.renewal-mobile-item dd{color:var(--gray-800);overflow-wrap:anywhere;margin:0;font-size:.8rem;font-weight:700}.renewal-mobile-item .renewal-reason{background:var(--gray-50);max-width:none;margin:0 0 12px;padding:8px 10px}.renewal-actions{grid-template-columns:1fr 1fr;display:grid}.renewal-actions .btn:only-child{grid-column:1/-1}.renewal-form-grid{grid-template-columns:1fr}.renewal-modal-context{grid-template-columns:1fr auto}.renewal-modal-context>div:nth-child(2){grid-area:2/1/auto/-1}.renewal-modal-context .renewal-status{grid-area:1/2}}
.client-dashboard-shell .client-portal-main{display:block}.client-dashboard-shell .client-portal-content,.client-social-insights-page{width:100%;max-width:1240px;margin:0 auto}.client-sidebar-company{color:var(--gray-500);padding:.2rem .25rem;font-size:.75rem;font-weight:700;line-height:1.45}.social-insights-head{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.social-insight-range{background:var(--gray-100);border:1px solid var(--border);border-radius:8px;flex:none;grid-template-columns:repeat(3,1fr);padding:3px;display:inline-grid}.social-insight-range button{color:var(--gray-600);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;min-height:36px;padding:.4rem .8rem;font-size:.85rem;font-weight:800}.social-insight-range button.active{background:var(--surface);box-shadow:var(--shadow);color:var(--primary)}.social-insight-filter-row{justify-content:flex-end;margin-bottom:1rem;display:flex}.social-insight-filter-row .compact-field{min-width:200px}.social-insight-error,.social-insight-warning{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.social-insight-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:1rem;display:grid}.social-insight-kpis.four{grid-template-columns:repeat(4,minmax(0,1fr))}.social-insight-kpis>div{background:var(--surface);border:1px solid var(--border);border-radius:8px;gap:4px;min-height:108px;padding:1rem;display:grid}.social-insight-kpis span,.social-performance-metrics span,.social-video-metrics span{color:var(--gray-500);font-size:.78rem;font-weight:750}.social-insight-kpis strong{overflow-wrap:anywhere;font-size:1.45rem;line-height:1.3}.social-insight-kpis small,.social-performance-metrics small,.social-video-metrics small{color:var(--gray-500);font-size:.73rem;font-weight:700}.social-insight-chart-panel{border-radius:8px}.social-account-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.social-performance-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;min-width:0;overflow:hidden}.social-performance-card>header{border-top:4px solid var(--gray-400);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1rem .8rem;display:flex}.social-performance-card.platform-facebook>header{border-top-color:#1877f2}.social-performance-card.platform-instagram>header{border-top-color:#c13584}.social-performance-card.platform-youtube>header{border-top-color:#f03}.social-performance-card.platform-tiktok>header{border-top-color:#111827}.social-performance-card header>div>span{color:var(--gray-500);text-transform:uppercase;font-size:.72rem;font-weight:800}.social-performance-card h2{overflow-wrap:anywhere;margin-top:2px;font-size:1rem}.social-sync-state{background:var(--gray-100);color:var(--gray-600);border-radius:999px;flex:none;padding:.25rem .5rem;font-size:.72rem;font-weight:800}.social-sync-state.state-synced{background:var(--success-soft);color:#047857}.social-sync-state.state-error,.social-sync-state.state-unavailable{color:#b91c1c;background:#fee2e2}.social-card-error{color:#9a3412;background:#fff7ed;margin:0 1rem .8rem;padding:.55rem .7rem;font-size:.8rem;font-weight:700}.social-performance-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:0 1rem 1rem;display:grid}.social-performance-metrics>div{background:var(--gray-50);gap:2px;min-height:78px;padding:.7rem;display:grid}.social-performance-metrics strong{overflow-wrap:anywhere;font-size:1rem}.social-performance-card>footer{border-top:1px solid var(--border);color:var(--gray-500);padding:.7rem 1rem;font-size:.75rem}.social-insight-empty{grid-column:1/-1;place-items:center;gap:.6rem;display:grid}.social-video-performance{border-radius:8px}.social-video-list{border-top:1px solid var(--border);margin:.75rem -20px -20px}.social-video-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(220px,1.15fr) minmax(420px,2fr) auto;align-items:center;gap:1rem;padding:1rem 20px;display:grid}.social-video-identity{align-items:flex-start;gap:.65rem;min-width:0;display:flex}.platform-label{background:var(--gray-100);color:var(--gray-700);border-radius:6px;flex:none;padding:.3rem .45rem;font-size:.7rem;font-weight:850}.social-video-identity h3{overflow-wrap:anywhere;margin:0;font-size:.9rem}.social-video-identity p{color:var(--gray-500);margin:.25rem 0 0;font-size:.75rem}.social-video-metrics{grid-template-columns:repeat(5,minmax(62px,1fr));gap:.75rem;display:grid}.social-video-metrics>div{gap:2px;display:grid}.social-video-metrics strong{overflow-wrap:anywhere;font-size:.88rem}.social-video-actions{flex-direction:column;align-items:flex-end;gap:.5rem;display:flex}@media (max-width:960px){.social-insight-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.social-insight-kpis.four{grid-template-columns:repeat(2,minmax(0,1fr))}.social-video-row{grid-template-columns:1fr}.social-video-actions{flex-direction:row;align-items:flex-start}}@media (max-width:640px){.social-insights-head{flex-direction:column;align-items:stretch}.social-insight-range{width:100%}.social-insight-filter-row{justify-content:stretch}.social-insight-filter-row .compact-field{width:100%}.social-insight-kpis,.social-insight-kpis.four{grid-template-columns:repeat(2,minmax(0,1fr))}.social-insight-kpis>div{min-height:96px;padding:.8rem}.social-account-performance-grid{grid-template-columns:1fr}.social-performance-metrics,.social-video-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.social-video-actions{flex-direction:column;align-items:stretch}.social-video-actions .btn{width:100%}.social-insight-error{flex-direction:column;align-items:stretch;gap:.6rem}}
.ai-usage-page{gap:18px;display:grid}.ai-usage-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.ai-usage-summary-grid article{border:1px solid var(--border,#dde2e8);background:#fff;border-radius:8px;align-content:space-between;gap:6px;min-height:118px;padding:18px;display:grid}.ai-usage-summary-grid span{color:#5d6672;font-size:.82rem;font-weight:700}.ai-usage-summary-grid strong{color:#17202a;font-size:1.55rem;line-height:1.2}.ai-usage-summary-grid small{color:#7a8490;font-size:.76rem;line-height:1.5}.ai-usage-filters{border:1px solid var(--border,#dde2e8);background:#fff;border-radius:8px;grid-template-columns:150px 150px 160px minmax(240px,1fr);gap:12px;padding:16px;display:grid}.ai-usage-filters label{gap:6px;min-width:0;display:grid}.ai-usage-filters label>span{color:#5d6672;font-size:.76rem;font-weight:700}.ai-usage-filters input,.ai-usage-filters select{width:100%;min-width:0;min-height:40px}.ai-usage-list{border:1px solid var(--border,#dde2e8);background:#fff;border-radius:8px;overflow:hidden}.ai-usage-list-head,.ai-usage-row{grid-template-columns:1.25fr 1.2fr .9fr 1fr 1.1fr .85fr;align-items:center;gap:14px;display:grid}.ai-usage-list-head{border-bottom:1px solid var(--border,#dde2e8);color:#697380;background:#f6f8fa;padding:12px 16px;font-size:.76rem;font-weight:700}.ai-usage-row{border-bottom:1px solid #edf0f3;min-height:76px;padding:14px 16px}.ai-usage-row:last-child{border-bottom:0}.ai-usage-row>div{justify-items:start;gap:4px;min-width:0;display:grid}.ai-usage-row strong{color:#202833;overflow-wrap:anywhere;max-width:100%;font-size:.84rem}.ai-usage-row span:not(.status-badge){color:#78828e;font-size:.75rem;line-height:1.4}@media (max-width:1000px){.ai-usage-summary-grid,.ai-usage-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-usage-search{grid-column:1/-1}.ai-usage-list-head{display:none}.ai-usage-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.ai-usage-row>div:before{content:attr(data-label);color:#8a939d;font-size:.68rem;font-weight:700}}@media (max-width:600px){.ai-usage-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-usage-summary-grid article{min-height:108px;padding:14px}.ai-usage-summary-grid strong{font-size:1.2rem}.ai-usage-filters{grid-template-columns:1fr;padding:12px}.ai-usage-search{grid-column:auto}.ai-usage-row{grid-template-columns:1fr;gap:12px;padding:16px}}
.ai-collaboration{gap:14px;min-width:0;display:grid}.ai-collaboration-loading{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:8px;justify-content:center;align-items:center;min-height:240px;padding:24px;display:flex}.ai-collaboration-head,.ai-stage-heading,.ai-stage-footer,.ai-script-editor>header,.ai-assistant-panel>header,.ai-episode-nav>header,.ai-proposal-head,.ai-proposal-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-collaboration-head{min-width:0}.ai-collaboration-head h2,.ai-stage-heading h3,.ai-quality-issue h4,.ai-diff h4{margin:0}.ai-collaboration-head h2{font-size:1.2rem;line-height:1.35}.ai-collaboration-head p,.ai-stage-heading p,.ai-quality-issue p,.ai-quality-clear p{color:var(--muted);margin:3px 0 0}.ai-collaboration-eyebrow{color:var(--primary);margin-bottom:3px;font-size:.72rem;font-weight:850;display:block}.ai-stage-tabs{background:var(--surface-muted);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(5,minmax(0,1fr));padding:4px;display:grid}.ai-stage-tabs button,.ai-mobile-editor-tabs button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;min-height:40px;padding:8px 12px;font-size:.84rem;font-weight:800}.ai-stage-tabs button.active,.ai-mobile-editor-tabs button.active{background:var(--surface);color:var(--primary);border-radius:6px;box-shadow:0 1px 3px #0f172a1a}.ai-stage-panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;gap:18px;min-width:0;padding:20px;display:grid}.ai-stage-heading{align-items:flex-start}.ai-stage-heading h3{font-size:1rem}.ai-stage-heading p{font-size:.82rem}.ai-stage-footer{border-top:1px solid var(--border);color:var(--muted);min-height:66px;margin:2px -20px -20px;padding:12px 20px;font-size:.82rem;font-weight:750}.ai-profile-platforms,.ai-example-scripts{border:0;margin:0;padding:0}.ai-profile-platforms legend,.ai-example-scripts legend{color:var(--text);margin-bottom:8px;font-size:.84rem;font-weight:850}.ai-profile-platforms>div{flex-wrap:wrap;gap:8px;display:flex}.ai-profile-platforms label,.ai-example-scripts label{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:7px;align-items:center;gap:8px;min-height:42px;padding:8px 11px;display:flex}:is(.ai-profile-platforms label:has(input:checked),.ai-example-scripts label:has(input:checked)){background:var(--primary-soft);border-color:#9ebdf5}.ai-profile-platforms input,.ai-example-scripts input,.ai-lock-toggle input{width:18px;height:18px}.ai-example-scripts>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ai-example-scripts label>span{min-width:0;display:grid}.ai-example-scripts strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-example-scripts small{color:var(--muted)}.ai-inherited-context{background:var(--surface-muted);border-left:3px solid var(--primary);flex-wrap:wrap;align-items:center;gap:8px;padding:11px 13px;display:flex}.ai-inherited-context strong{font-size:.8rem}.ai-inherited-context span{background:var(--surface);border:1px solid var(--border);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:6px;max-width:280px;padding:5px 8px;font-size:.76rem;font-weight:700;overflow:hidden}.ai-content-map-list{gap:10px;display:grid}.ai-map-item{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-template-columns:96px minmax(150px,1fr) minmax(180px,1.2fr) minmax(180px,1.2fr) minmax(120px,.7fr) minmax(150px,.9fr);align-items:start;gap:10px;min-width:0;padding:12px;display:grid}.ai-map-item.locked{box-shadow:inset 3px 0 0 var(--primary);border-color:#9ebdf5}.ai-map-item>label{gap:5px;min-width:0;display:grid}.ai-map-item>label>span{color:var(--muted);font-size:.7rem;font-weight:800}.ai-map-item input,.ai-map-item textarea{border:1px solid var(--border);font:inherit;resize:vertical;border-radius:6px;width:100%;min-height:40px;padding:8px;font-size:.82rem}.ai-map-order{gap:8px;display:grid}.ai-map-order>span{color:var(--primary);font-size:.82rem;font-weight:900}.ai-map-order>div{gap:4px;display:flex}.ai-map-order .icon-button{min-width:40px;min-height:40px}.ai-map-actions{border-top:1px solid var(--border);grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;padding-top:10px;display:flex}.ai-lock-toggle{color:var(--muted);cursor:pointer;align-items:center;gap:6px;margin-right:auto;font-size:.8rem;font-weight:800;display:flex}.ai-editor-stage{grid-template-columns:minmax(170px,210px) minmax(360px,1fr) minmax(280px,360px);align-items:start;gap:12px;min-width:0;display:grid}.ai-episode-nav,.ai-script-editor,.ai-assistant-panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:0;overflow:hidden}.ai-episode-nav>header,.ai-assistant-panel>header{background:var(--surface-muted);border-bottom:1px solid var(--border);min-height:50px;padding:10px 12px}.ai-episode-nav>header span,.ai-assistant-panel>header span{color:var(--muted);font-size:.72rem;font-weight:700}.ai-episode-nav>button{background:var(--surface);border:0;border-bottom:1px solid var(--border);color:var(--text);cursor:pointer;text-align:left;gap:4px;width:100%;min-height:62px;padding:10px 12px;display:grid}.ai-episode-nav>button:last-child{border-bottom:0}.ai-episode-nav>button.active{background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}.ai-episode-nav>button span{color:var(--primary);font-size:.72rem;font-weight:850}.ai-episode-nav>button strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.8rem;line-height:1.4;display:-webkit-box;overflow:hidden}.ai-script-editor{gap:13px;padding:16px;display:grid}.ai-script-editor>header{border-bottom:1px solid var(--border);min-height:58px;margin:-16px -16px 1px;padding:9px 16px}.ai-script-editor>header>div:first-child{align-items:center;gap:8px;display:flex}.ai-script-editor>header span{font-weight:900}.unsaved-indicator,.saved-indicator{border-radius:6px;padding:4px 7px;font-size:.68rem}.unsaved-indicator{background:var(--warning-soft);color:var(--warning)}.saved-indicator{background:var(--success-soft);color:#047857}.ai-script-content-field textarea{min-height:520px;line-height:1.75}.ai-assistant-panel{gap:12px;padding-bottom:14px;display:grid}.ai-assistant-panel>:not(header){margin-left:14px;margin-right:14px}.ai-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.ai-quick-actions button{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;font:inherit;border-radius:7px;min-height:42px;padding:7px;font-size:.76rem;font-weight:750}.ai-quick-actions button:hover:not(:disabled){background:var(--primary-soft);color:var(--primary);border-color:#9ebdf5}.ai-proposal{gap:12px;display:grid}.ai-proposal-head span{color:var(--muted);font-size:.76rem;font-weight:750}.ai-diff{border:1px solid var(--border);border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));max-height:520px;display:grid;overflow:auto}.ai-diff section{min-width:0}.ai-diff section+section{border-left:1px solid var(--border)}.ai-diff-title{background:var(--surface-muted);border-bottom:1px solid var(--border);padding:8px;font-size:.76rem;display:block;position:sticky;top:0}.ai-diff section>div{overflow-wrap:anywhere;white-space:pre-wrap;min-height:24px;padding:4px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;line-height:1.55}.ai-diff .removed{color:#9f1239;background:#fff1f2}.ai-diff .added{color:#065f46;background:#ecfdf5}.ai-editor-footer{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;padding:10px 12px;display:flex}.ai-mobile-editor-tabs{display:none}.ai-quality-list{gap:9px;display:grid}.ai-quality-issue{border:1px solid var(--border);border-left:4px solid #64748b;border-radius:7px;gap:7px;padding:13px;display:grid}.ai-quality-issue.error{border-left-color:var(--danger)}.ai-quality-issue.warning{border-left-color:#d97706}.ai-quality-issue>div{gap:8px;display:flex}.ai-quality-issue>div span,.ai-quality-issue>div strong{background:var(--surface-muted);border-radius:6px;padding:4px 7px;font-size:.7rem}.ai-quality-issue h4{font-size:.9rem}.ai-quality-issue p{font-size:.8rem}.ai-quality-clear{background:var(--success-soft);border-left:4px solid var(--success);padding:16px}@media (max-width:1180px){.ai-map-item{grid-template-columns:92px repeat(2,minmax(0,1fr))}.ai-editor-stage{grid-template-columns:180px minmax(360px,1fr)}.ai-assistant-panel{grid-column:1/-1}}@media (max-width:760px){.ai-collaboration-head,.ai-stage-heading,.ai-stage-footer{flex-direction:column;align-items:stretch}.ai-collaboration-head>.btn,.ai-stage-heading .row-actions,.ai-stage-heading .row-actions>.btn,.ai-stage-footer>.btn{width:100%}.ai-stage-tabs{display:flex;overflow-x:auto}.ai-stage-tabs button{flex:none;min-width:96px}.ai-stage-panel{padding:14px}.ai-stage-footer{margin:0 -14px -14px;padding:12px 14px}.ai-example-scripts>div,.ai-map-item{grid-template-columns:1fr}.ai-map-item{padding:11px}.ai-map-order{justify-content:space-between;align-items:center;display:flex}.ai-map-actions{grid-column:auto;grid-template-columns:1fr 1fr;align-items:stretch;display:grid}.ai-lock-toggle{grid-column:1/-1;min-height:40px}.ai-editor-stage{grid-template-columns:1fr;display:grid}.ai-mobile-editor-tabs{background:var(--surface-muted);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px;display:grid}.ai-episode-nav,.ai-script-editor,.ai-assistant-panel{grid-column:1;display:none}.ai-episode-nav.mobile-active,.ai-script-editor.mobile-active,.ai-assistant-panel.mobile-active{display:grid}.ai-script-editor>header{flex-direction:column;align-items:stretch}.ai-script-editor>header .row-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ai-script-editor>header .row-actions .btn:last-child{grid-column:1/-1}.ai-script-content-field textarea{min-height:440px}.ai-editor-footer{grid-template-columns:1fr;display:grid}.ai-diff{grid-template-columns:1fr}.ai-diff section+section{border-left:0;border-top:1px solid var(--border)}}
