/* A unified campaign workspace. Labels follow the current DSP form and CTV HOUSE UI kit. */
.studio-breadcrumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin:0 0 18px}.studio-breadcrumb>button{padding:0!important;min-height:24px!important;background:none;border:0;color:var(--muted);font-size:13px!important;font-weight:400}.studio-breadcrumb>svg{width:12px;height:12px}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}.studio-heading h2{font-size:36px!important;font-weight:600;line-height:1.25;letter-spacing:-1.1px;margin:0 0 12px!important}.studio-heading p{margin:0!important;font-size:15px!important;color:var(--muted)}.studio-steps{display:flex;gap:0;overflow-x:auto;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:0;scroll-padding-inline:4px;margin:0 0 32px;scrollbar-width:thin}.product-content .studio-steps>button{display:flex;align-items:center;gap:8px;flex:none;min-height:64px;border:0;border-radius:0!important;border-bottom:2px solid transparent;padding:12px 16px!important;background:transparent;font-size:13px!important;color:var(--muted);font-weight:500;white-space:nowrap;line-height:1.4}.studio-steps>button>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--p-light-grey);font-size:11px}.product-content .studio-steps>button.active{color:var(--accent);border-bottom-color:var(--accent)}.studio-steps>button.active>span{background:var(--accent);color:#fff}.studio-body{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:32px;align-items:start}.studio-main{min-width:0}.studio-step-caption{display:flex;gap:12px;align-items:center;margin:0 0 16px;font-size:12px;color:var(--muted)}.studio-step-caption>span:first-child{font-size:10px;letter-spacing:.07em}.studio-step-caption>span:last-child{margin-left:auto}.studio-card{padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:16px;margin:0 0 24px;min-width:0}.studio-card>h3{font-size:22px;line-height:1.4;letter-spacing:-.5px;margin:0 0 16px}.studio-card h4{font-size:16px;line-height:1.5;letter-spacing:-.3px;margin:24px 0 12px}.studio-card .card-description{margin:-4px 0 26px!important;color:var(--muted);font-size:14px!important;line-height:1.65}.studio-card .field-label{font-size:14px!important;font-weight:500;margin:20px 0}.studio-card .field-label>input:not([type=checkbox]),.studio-card .field-label>textarea{border-radius:12px;height:48px!important;padding:12px 16px!important;font-size:15px!important;font-weight:400;color:var(--text);background:var(--surface);border:1px solid var(--border)}.studio-card .field-label>textarea{height:auto!important;min-height:108px;resize:vertical}.studio-card>.field-label:last-child{margin-bottom:0}.studio-card .two-cols{gap:20px}.studio-card .two-cols>.field-label{margin:14px 0}.studio-check{display:flex;align-items:start;gap:10px;font-size:14px!important;line-height:1.6;font-weight:400;margin:18px 0;cursor:pointer;color:var(--secondary)}.studio-check>input{margin-top:4px!important;width:16px!important;height:16px!important;flex:none}.studio-check>span{min-width:0}.studio-check .ctv-help{margin-top:0}.studio-hint{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:13px;padding:14px 16px;background:var(--p-lighter-grey);border-radius:10px;margin:18px 0}.studio-hint>svg{width:18px;height:18px;flex:none;margin-top:2px}.studio-hint>p{font-size:13px!important;line-height:1.65;margin:0!important}.credit-line-card{display:flex;gap:16px;align-items:center;padding:20px;background:var(--accent-soft);border:1px solid color-mix(in srgb,var(--accent) 12%,white);border-radius:12px;margin:18px 0}.credit-line-card>div{min-width:0}.credit-line-card>div:last-child{margin-left:auto}.credit-line-card small{display:block;font-size:11px;color:var(--muted)}.credit-line-card strong{font-size:24px;font-weight:600;line-height:1.6;display:block;color:var(--text);letter-spacing:-.7px}.credit-line-card p{font-size:12px!important;line-height:1.5;margin:0!important;color:var(--secondary)}.credit-line-card .credit-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--surface);flex:none;color:var(--accent)}.credit-icon svg{width:24px;height:24px}.studio-summary{position:sticky;top:20px;border-left:1px solid var(--border);padding:20px 0 20px 24px;min-width:0}.studio-summary>.eyebrow{font-size:10px!important;letter-spacing:.07em;color:var(--muted)}.studio-summary>h3{font-size:20px;font-weight:500;line-height:1.4;letter-spacing:-.4px;overflow-wrap:anywhere;margin:14px 0 6px}.studio-summary>p{font-size:13px!important;color:var(--muted);margin:0 0 24px}.studio-summary dl{margin:0}.studio-summary dl>div{padding:14px 0;border-top:1px solid var(--border)}.studio-summary dt{color:var(--muted);font-size:12px}.studio-summary dd{margin:6px 0 0;font-size:14px;line-height:1.8}.studio-summary-progress{margin:20px 0;font-size:11px;color:var(--muted)}.studio-summary-progress>div{height:4px;background:var(--border);border-radius:3px;margin-top:10px;overflow:hidden}.studio-summary-progress i{display:block;height:100%;background:var(--accent)}.studio-help-note{display:flex;gap:8px;color:var(--muted);margin:22px 0 0}.studio-help-note svg{width:16px;height:16px;flex:none;margin-top:3px}.studio-help-note p{font-size:12px!important;line-height:1.6;margin:0!important}.studio-actionbar{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid var(--border);border-radius:14px;background:var(--surface);margin:8px 0 0;letter-spacing:0}.studio-actionbar>span{font-size:12px;color:var(--muted)}.studio-actionbar>div{display:flex;align-items:center;gap:10px;margin-left:auto}.studio-actionbar button{font-size:14px!important;min-height:44px!important;padding:11px 18px!important}.studio-actionbar button svg{width:18px;height:18px}.studio-error{color:var(--danger)!important;font-size:14px!important;padding:0 8px;line-height:1.6}.studio-error:empty{display:none}.studio-limits td,.studio-limits th{padding:12px!important;height:52px!important}.studio-limits th{font-size:11px!important}.studio-limits input{width:100%;min-width:110px;height:40px!important;padding:8px 12px!important;border-radius:8px;font-size:13px!important}.studio-limits td:first-child{min-width:100px}.studio-card .schedule-grid{min-width:650px}.studio-card .schedule-grid button{height:22px!important;min-height:22px!important;border-radius:3px!important;padding:0!important}.schedule-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0 20px}.schedule-toolbar>p{font-size:12px!important;margin-right:auto}.schedule-toolbar>button{font-size:11px!important;min-height:30px!important;padding:6px 10px!important}.target-level-bar{display:flex;align-items:center;gap:24px;margin-bottom:24px}.target-level-bar>.field-label{flex:1;min-width:0;margin:0}.target-level-bar>.studio-check{margin:0;flex:1}.targeting-readonly{pointer-events:none;opacity:.65}.targeting-readonly .ctv-help{pointer-events:auto}.geo-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin:18px 0}.geo-tree{border:1px solid var(--border);border-radius:10px;overflow:hidden;padding:10px 0}.geo-tree-label{font-size:10px;color:var(--muted);padding:8px 14px 14px;border-bottom:1px solid var(--border);margin-bottom:6px}.geo-tree-row{display:flex;align-items:center;gap:6px;padding:7px 10px 7px calc(12px + var(--geo-depth)*10px);font-size:12px}.geo-tree-row>span{display:flex;align-items:center;gap:6px;margin-right:auto;min-width:0;overflow-wrap:anywhere;line-height:1.5}.geo-tree-row svg{width:14px;height:14px;flex:none;color:var(--muted)}.product-content .geo-tree-row>button{width:24px;height:24px;min-height:0!important;padding:0!important;border:0;border-radius:5px;font-size:16px!important;flex:none;color:var(--accent)}.geo-rules{min-width:0}.geo-rules>h4{margin:0 0 12px!important;font-size:13px!important}.target-rule{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;padding:10px;font-size:12px;margin:8px 0}.target-rule>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.target-rule small{display:block;color:var(--muted);font-size:10px}.target-rule .icon-button{width:22px;height:22px;min-height:22px!important;padding:0!important;font-size:20px!important}.rule-tone{color:var(--accent);font-size:9px;border-radius:5px;background:var(--accent-soft);padding:3px 5px;white-space:nowrap}.rule-tone.excluded{color:var(--danger);background:var(--danger-soft)}.device-rule{border:1px solid var(--border);border-radius:12px;padding:20px;margin:18px 0}.device-rule-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.device-rule-heading>button{font-size:11px!important;min-height:24px!important;padding:0!important}.logical-row{display:grid;grid-template-columns:1fr 1fr minmax(80px,1.2fr) 24px;align-items:center;gap:10px;margin:10px 0}.logical-row>.field-label{font-size:11px!important;margin:10px 0}.logical-row .ctv-control{font-size:12px!important;padding:10px!important}.logical-row .icon-button{padding:0!important;min-height:24px!important;width:24px;align-self:center;margin-top:20px}.postback-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,2fr) auto;gap:12px;align-items:center}.postback-row>.text-button{font-size:11px!important;padding:0!important;min-height:24px!important;margin-top:20px}.inventory-row>span{display:flex;align-items:center;gap:10px;min-width:0;overflow-wrap:anywhere}.inventory-row svg{width:20px;height:20px;flex:none;color:var(--muted)}.studio-section-actions{margin:0 0 22px}.studio-section-actions>button>svg{width:18px;height:18px}.studio-section-actions .studio-hint{margin-bottom:0}.studio-empty{padding:25px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.studio-empty.large{padding:50px 24px;border:1px dashed var(--border);border-radius:12px}.studio-empty>svg{width:40px;height:40px;margin-bottom:8px;color:var(--p-mid-grey)}.studio-empty>h4{margin:8px 0 12px!important;color:var(--text);font-size:20px;letter-spacing:-.5px}.studio-empty>p{font-size:14px!important;line-height:1.65;max-width:420px;margin:0 auto 24px!important}.flight-draft{border:1px solid var(--border);border-radius:14px;background:var(--surface);margin:18px 0}.flight-draft>header{display:flex;gap:14px;align-items:center;padding:20px;border-bottom:1px solid var(--border)}.flight-draft header>div:nth-child(2){min-width:0;flex:1}.flight-draft header span{font-size:10px;color:var(--muted)}.flight-draft h4{font-size:17px;margin:4px 0!important;overflow-wrap:anywhere}.flight-draft header p{font-size:12px!important;margin:0!important;color:var(--muted)}.hierarchy-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--accent-soft);color:var(--accent);flex:none}.hierarchy-icon svg{width:18px;height:18px}.flight-groups{padding:8px 20px 20px 34px}.group-draft{display:flex;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid var(--border);margin:0 0 14px}.group-draft>div:nth-child(2){min-width:0;flex:1}.group-draft strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.group-draft small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:5px}.flight-draft .row-buttons button,.group-draft .row-buttons button{font-size:11px!important;padding:5px!important;min-height:28px!important}.flight-draft .icon-button,.group-draft .icon-button{width:26px;height:26px;color:var(--muted)}.flight-draft .icon-button>svg,.group-draft .icon-button>svg{width:16px;height:16px}.studio-child-dialog{max-width:600px!important}.dialog-context{font-size:13px;color:var(--muted);margin:-10px 0 24px}.child-own-period.is-disabled{pointer-events:none;opacity:.5}.studio-child-dialog .field-label>input{height:48px!important}.studio-child-dialog .studio-hint{margin-top:22px}.creative-group-bar{display:flex;align-items:end;gap:20px;justify-content:space-between;margin:0 0 24px}.creative-group-bar>.field-label{flex:1;min-width:0;margin:0}.creative-group-bar>button{flex:none;height:48px}.creative-group-bar button>svg{width:18px;height:18px}.studio-ad-card{display:flex;gap:18px;align-items:center;border-top:1px solid var(--border);padding:22px 0}.studio-ad-card>div:nth-child(2){flex:1;min-width:0}.studio-ad-card h4{font-size:16px;margin:6px 0!important;overflow-wrap:anywhere}.studio-ad-card p{font-size:12px!important;margin:6px 0 10px!important;overflow-wrap:anywhere}.studio-ad-card .format-tag{display:inline-block;font-size:10px;color:var(--muted);border:1px solid var(--border);padding:3px 6px;border-radius:5px}.studio-ad-card .badge{font-size:10px}.studio-ad-preview{width:128px;height:80px;border-radius:10px;overflow:hidden;background:var(--p-light-grey);flex:none}.studio-ad-preview>img{width:100%;height:100%;object-fit:cover}.studio-ad-preview .smart-canvas{border-radius:0;height:100%;width:100%}.studio-ad-card .row-buttons{flex-direction:column;align-items:end;gap:6px}.studio-ad-card .row-buttons button{font-size:11px!important;min-height:30px!important;padding:5px 10px!important}.creative-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:24px}.creative-editor-layout>div{min-width:0}.creative-live-preview{align-self:start;position:sticky;top:20px;min-width:0;border-left:1px solid var(--border);padding-left:20px}.creative-live-preview>.eyebrow{font-size:10px!important;color:var(--muted)}.creative-live-preview>h4{font-size:16px!important;overflow-wrap:anywhere;margin-top:12px!important}.creative-live-preview>div>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.creative-live-preview .studio-empty{padding:20px 10px}.creative-live-preview .studio-empty>svg{width:28px;height:28px}.creative-live-preview .smart-canvas{min-height:100px!important}.creative-live-preview .studio-hint{padding:12px 10px;gap:8px}.creative-live-preview .studio-hint>p{font-size:11px!important;line-height:1.6}.creative-live-preview .studio-hint>svg{width:14px;height:14px}.creative-editor-layout .two-cols{grid-template-columns:1fr;gap:0}.creative-editor-layout .format-passport p{font-size:12px!important}.studio-media-picker{display:grid;gap:10px;margin:18px 0;max-height:330px;overflow:auto}.studio-media-picker>label{display:flex;gap:10px;align-items:center;border:1px solid var(--border);padding:12px;border-radius:10px;cursor:pointer;font-size:13px}.studio-media-picker input{flex:none;width:16px!important;height:16px!important}.media-kind-icon{display:grid;place-items:center;flex:none;color:var(--muted)}.media-kind-icon>svg{width:20px;height:20px}.studio-media-picker label>span:nth-of-type(2){flex:1;min-width:0}.studio-media-picker strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.studio-media-picker small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.studio-media-picker button{font-size:10px!important;min-height:24px!important;padding:0!important}.creative-upload{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0 28px}.creative-upload>button{font-size:12px!important;min-height:40px!important;padding:8px 12px!important}.creative-upload>button svg{width:16px;height:16px}.creative-upload>span{font-size:11px;color:var(--muted);line-height:1.5}.creative-editor-actions{display:flex;gap:12px;justify-content:end;margin:22px 0 0;border-top:1px solid var(--border);padding-top:22px}.creative-editor-actions>button{font-size:12px!important;min-height:40px!important;padding:10px 13px!important}.ad-readiness{margin:22px 0}.ad-readiness>h5{font-size:12px;font-weight:500;margin:0 0 12px}.ad-readiness>p{display:flex;gap:6px;font-size:11px!important;line-height:1.6;color:var(--muted);margin:8px 0!important}.ad-readiness svg{width:14px;height:14px;flex:none;margin-top:2px}.ad-readiness .ready{color:var(--accent)}.review-flight{padding:18px 0;border-top:1px solid var(--border);font-size:15px}.review-flight>div{margin:16px 0 0 24px}.review-flight>div>span{font-size:13px;display:flex;align-items:center;gap:8px}.review-flight svg{width:16px;height:16px;color:var(--muted);flex:none}.review-flight p{display:flex;align-items:center;gap:8px;font-size:12px!important;padding-left:24px;flex-wrap:wrap}.review-flight small{display:block;margin:8px 0 0 24px;font-size:12px}.readiness-list>div>span>svg{width:15px;height:15px}.lab-help{border:0!important;padding:0!important;min-height:0!important;width:18px;height:18px;display:grid;place-items:center;color:var(--muted);background:transparent}.lab-help svg{width:18px;height:18px}.prototype-mode #screens>.screen-tabs{display:none}.prototype-mode #screens{padding:0}.prototype-mode .product-shell{min-height:100vh}.prototype-mode .app-preview{min-height:100vh}.prototype-mode main{padding:0}.prototype-mode .preview-outer{border:0;border-radius:0}.prototype-mode .suite-nav{max-height:100vh}.prototype-mode .product-content{padding:36px 40px}.prototype-mode .product-topbar{padding-left:40px;padding-right:40px}.prototype-mode .screen-note{padding:16px 20px;font-size:12px}.prototype-mode .studio-body:has(.creative-editor-layout){grid-template-columns:minmax(0,1fr)}.prototype-mode .studio-body:has(.creative-editor-layout)>.studio-summary{display:none}.prototype-mode .creative-editor-layout{grid-template-columns:minmax(0,1fr) 300px;gap:36px}.prototype-mode .creative-editor-layout .two-cols{grid-template-columns:1fr 1fr;gap:18px}.prototype-mode .studio-heading{padding-top:0}
@container(max-width:1100px){.studio-body{grid-template-columns:minmax(0,1fr) 190px;gap:20px}.studio-card{padding:24px}.studio-summary{padding-left:18px}.studio-summary>h3{font-size:18px}.credit-line-card{flex-wrap:wrap;gap:12px}.credit-line-card>div:last-child{margin-left:0}.credit-line-card strong{font-size:21px}.geo-layout{grid-template-columns:1fr}.creative-editor-layout{grid-template-columns:1fr}.creative-live-preview{position:static;border-left:0;border-top:1px solid var(--border);padding:24px 0 0;max-width:360px}.logical-row{grid-template-columns:1fr 1fr}.logical-row>.icon-button{justify-self:end;margin-top:0}.postback-row{grid-template-columns:1fr}.postback-row>.text-button{margin-top:0;justify-self:start}.flight-draft>header{flex-wrap:wrap}.group-draft{flex-wrap:wrap}.studio-card .two-cols{gap:16px}}
@container(max-width:700px){.studio-body{grid-template-columns:1fr}.studio-summary{position:static;border:1px solid var(--border);border-radius:14px;padding:22px;background:var(--surface)}.studio-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.studio-help-note{display:none}.studio-card{padding:20px}.studio-card .two-cols{grid-template-columns:1fr;gap:0}.studio-card>h3{font-size:20px}.studio-heading h2{font-size:29px!important}.studio-heading>p{font-size:13px!important}.studio-heading{align-items:start;gap:12px}.studio-heading>.text-button{padding:4px!important;font-size:12px!important;min-height:28px!important}.studio-steps{margin-bottom:22px}.product-content .studio-steps>button{min-height:56px;padding:10px 12px!important;font-size:12px!important}.studio-actionbar{flex-wrap:wrap;padding:18px}.studio-actionbar>div{margin:0;flex-wrap:wrap;width:100%;gap:8px}.studio-actionbar button{flex:1;padding:10px 12px!important;font-size:12px!important}.studio-actionbar>span{font-size:11px}.creative-group-bar{flex-wrap:wrap;align-items:start;gap:14px}.creative-group-bar>.field-label{flex-basis:100%}.creative-group-bar>button{font-size:12px!important;height:40px;min-height:40px!important}.studio-ad-card{flex-wrap:wrap}.studio-ad-preview{width:90px;height:64px}.studio-ad-card .row-buttons{flex-direction:row;width:100%;margin-left:108px}.target-level-bar{flex-wrap:wrap;gap:12px}.target-level-bar>.field-label{flex-basis:100%}.geo-tree-row{padding-left:calc(10px + var(--geo-depth)*8px);font-size:11px}.flight-groups{padding:6px 16px 18px}.flight-draft>header{padding:18px}.flight-draft h4{font-size:15px}.group-draft .row-buttons{width:100%;margin-left:46px}.logical-row{grid-template-columns:1fr}.logical-row>.icon-button{margin-top:-8px}.credit-line-card{align-items:start}.credit-line-card>div:last-child{width:100%;padding-left:56px}.studio-summary-progress{margin-bottom:0}.studio-step-caption{font-size:11px}.studio-card .ctv-field{min-width:0}.studio-card .calendar-fields{display:block}}
@media(max-width:1200px){.prototype-mode .studio-body{grid-template-columns:minmax(0,1fr) 200px}.prototype-mode .studio-body:has(.creative-editor-layout){grid-template-columns:1fr}.prototype-mode .creative-editor-layout{grid-template-columns:minmax(0,1fr) 250px;gap:24px}.prototype-mode .creative-editor-layout .two-cols{grid-template-columns:1fr}.prototype-mode .studio-card{padding:24px}}
@media(max-width:800px){.prototype-mode .studio-body{grid-template-columns:1fr}.prototype-mode .studio-summary{position:static}.prototype-mode .creative-editor-layout{grid-template-columns:1fr}.prototype-mode .product-content{padding:24px 18px}.prototype-mode .product-topbar{padding:12px 18px}.prototype-mode .studio-card{padding:20px}.prototype-mode .studio-heading h2{font-size:28px!important}.prototype-mode .studio-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.prototype-mode .studio-summary{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:22px}}
@media(min-width:1400px){.prototype-mode .studio-steps{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:0;overflow:visible}.prototype-mode .studio-steps>button{white-space:normal;text-align:left;min-width:0;font-size:12px!important;padding:12px 8px!important;min-height:72px;align-items:center;line-height:1.5}.prototype-mode .studio-steps>button>span{flex:none;width:20px;height:20px;font-size:10px}}
.studio-ad-preview>video{display:block;width:100%;height:100%;object-fit:cover}.creative-live-preview video{display:block;width:100%;aspect-ratio:16/9;background:var(--p-black);border-radius:8px}
