.studio-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:22px}
.studio-tabs button{background:transparent;border-color:transparent;padding:10px 16px;font-size:15px}.studio-tabs .selected{background:var(--soft);color:var(--teal);border-color:var(--line)}
.studio-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.studio-toolbar .search-wrap{flex:1;min-width:240px;max-width:520px}.studio-toolbar select{width:auto;min-width:160px;margin:0}.studio-toolbar>p,.studio-toolbar>h2{margin:0 auto 0 0}
.studio-campaigns{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.studio-campaign{border-top:3px solid var(--campaign-color,var(--teal))}.studio-campaign h2{font-size:22px}.studio-brief{white-space:pre-wrap;line-height:1.7;max-height:150px;overflow:auto}.studio-counters{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0}.studio-counters span{display:flex;align-items:baseline;gap:7px;color:var(--muted)}.studio-counters strong{font-size:23px;color:var(--ink)}
.campaign-tone-0{--campaign-color:#ef5705}.campaign-tone-1{--campaign-color:#7753b5}.campaign-tone-2{--campaign-color:#176caa}.campaign-tone-3{--campaign-color:#247553}.campaign-tone-4{--campaign-color:#ac3c70}.campaign-tone-5{--campaign-color:#4c5868}
.studio-tag{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:6px;background:var(--soft);color:var(--ink);padding:4px 8px;font-size:13px;line-height:1.4}.studio-tag .ph{font-size:16px;color:var(--campaign-color,var(--teal))}.review-approved{border-color:#5d9b7b}.review-changes{border-color:#ba895b}.post-card-top{flex-wrap:wrap}.post-card-top .studio-tag{font-size:12px}
.idea-board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:16px;align-items:start;overflow-x:auto;padding-bottom:15px}.idea-column{border-radius:12px;padding:14px;background:var(--surface-raised);min-height:300px}.idea-column h3{display:flex;align-items:center;justify-content:space-between;font-size:16px;padding:4px 3px}.idea-card{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:16px;margin-bottom:12px;cursor:grab}.idea-card h4{margin:0 0 10px;font-size:16px}.idea-card p{white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}.idea-card .card-actions{gap:8px;flex-wrap:wrap}.idea-card button{padding:7px 9px;font-size:13px}
.resource-card h3{margin:14px 0;font-size:18px}.resource-card .caption-preview{max-height:210px;overflow:auto;overflow-wrap:anywhere}.resource-picker{width:min(650px,94vw)}.resource-picker-list{display:grid;gap:10px;margin-top:18px;max-height:55vh;overflow:auto}.resource-picker-list button{display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:6px;background:var(--surface-raised)}.resource-picker-list span{font-weight:400;white-space:pre-wrap;line-height:1.5}
.review-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.review-columns h2{font-size:18px}.review-card{padding:16px 0;border-top:1px solid var(--line)}.review-card p{white-space:pre-wrap;line-height:1.5}.review-card small{display:block;margin-bottom:12px}.editorial-media{display:block;max-width:100%;max-height:300px;object-fit:contain;margin:16px auto}.editorial-detail .caption-preview{max-height:300px;overflow:auto}.editorial-comments{max-height:300px;overflow:auto}.editorial-comments article{padding:12px 0;border-top:1px solid var(--line)}.editorial-comments small{margin-left:12px}.editorial-comments p{white-space:pre-wrap;margin:8px 0;line-height:1.6}
.calendar-note{display:block;width:100%;text-align:left;justify-content:flex-start;padding:6px 8px;margin:4px 0;background:var(--soft);border:1px dashed var(--line);font-size:13px;overflow:hidden}.calendar-note .ph{font-size:15px}.day-note-add{padding:3px;min-width:25px;min-height:25px;border:0;background:transparent;margin-left:auto}.day-note-add .ph{font-size:16px}.calendar-filters>select{width:auto;min-width:150px;max-width:240px;margin:0}
.post-layout-feed{display:flex;flex-direction:column;max-width:720px;margin-inline:auto}.post-layout-feed .post-card{width:100%}.post-layout-feed .post-card>img{height:auto;max-height:600px;object-fit:contain}.post-layout-feed .post-caption{max-height:none;display:block;overflow:visible}.post-layout-list{display:flex;flex-direction:column}.post-layout-list .post-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:16px}.post-layout-list .post-card-top{grid-column:1/-1}.post-layout-list .post-card>img,.post-layout-list .post-card>video{max-height:150px;width:150px;object-fit:contain}.post-layout-list .post-card>.body{grid-column:2;padding:0}.post-layout-list .link-card img,.post-layout-list .auto-link-card img{max-height:150px}.post-layout-list .post-card:has(>.body):not(:has(>img)):not(:has(>video))>.body{grid-column:1/-1}.post-layout-list .post-caption{max-height:90px}.content-tools{flex-wrap:wrap}.content-tools select{max-width:200px}
.composer-text-tools{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 8px}.composer-text-tools button{font-size:14px;padding:7px 10px}.composer-comment{margin:15px 0;padding:12px;border:1px solid var(--line);border-radius:8px}.composer-comment summary{cursor:pointer;font-size:14px}.composer-comment label{margin-top:12px}.composer-comment textarea{min-height:65px}.composer .caption-override .text-button{font-size:13px;padding:5px 0}.variant-fields{padding-top:8px}.variant-fields textarea{min-height:85px}.variant-fields button{font-size:12px;padding:6px 8px}.preview-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px}.preview-toolbar select{margin:0;min-width:0;flex:1}.preview-toolbar .segmented button{padding:7px}.preview-toolbar [aria-pressed=true]{color:var(--teal);background:var(--soft)}
.composer-preview .social-preview{display:flex;flex-direction:column;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.composer-preview .preview-mobile{max-width:360px;margin-inline:auto}.composer-preview .social-preview-header{order:0;display:flex;align-items:center;gap:10px;padding:16px}.preview-profile{position:relative;display:grid;place-items:center;width:40px;height:40px;flex-shrink:0}.preview-profile img{position:absolute;inset:0;width:40px;height:40px;object-fit:cover;border-radius:50%}.social-preview-header small{display:block;margin-top:3px;font-size:12px}.preview-brand-icon{margin-left:auto}.composer-preview .caption-preview{order:1;white-space:pre-wrap;overflow-wrap:anywhere;padding:0 16px;line-height:1.7;max-height:430px;overflow:auto}.composer-preview img.preview,.composer-preview video.preview{order:2;max-width:100%;max-height:480px;object-fit:contain;border-radius:0}.composer-preview .link-card{order:3;padding:14px;background:var(--surface-raised)}.composer-preview .first-comment-preview{order:4;margin:12px;padding:12px}.preview-network-footer{order:5;border-top:1px solid var(--line);padding:12px 16px;font-size:13px;color:var(--muted);white-space:pre-wrap}.preview-instagram img.preview,.preview-instagram video.preview{order:1}.preview-instagram .caption-preview{order:2;margin-top:15px}.delivery-auto{padding:12px 0}.delivery-auto p{line-height:1.6;color:var(--muted);font-size:14px}.slots-editor{width:min(600px,94vw)}.slot-list{max-height:45vh;overflow:auto}.slot-row{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;gap:10px;align-items:center}.slot-row label{min-width:0}.slot-row button{padding:8px}.slots-error{color:#c34a42}
@media(max-width:1100px){.review-columns{grid-template-columns:1fr}.studio-campaigns{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}
@media(max-width:700px){.studio-toolbar{gap:9px}.studio-toolbar .search-wrap{max-width:none;min-width:180px}.studio-tabs{gap:3px}.studio-tabs button{padding:9px 10px;font-size:14px}.studio-tabs .ph{font-size:17px}.studio-counters{gap:15px}.idea-board{grid-template-columns:repeat(4,260px)}.post-layout-list .post-card{grid-template-columns:90px minmax(0,1fr);gap:10px}.post-layout-list .post-card>img,.post-layout-list .post-card>video{width:90px}.composer-actions button{font-size:13px;padding:9px}.preview-toolbar{flex-wrap:wrap}.slot-row{grid-template-columns:minmax(0,1fr) 110px auto}.calendar-filters>select{max-width:100%;min-width:140px}}

.editorial-impact,.review-stop-confirm{display:block;font-size:14px;line-height:1.6;padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:8px}.review-stop-confirm input{width:auto;margin-right:8px}
.global-search-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.flow-entry{transition:box-shadow .15s,border-color .15s}.flow-entry.dragging{opacity:.45}.flow-entry.drag-target{outline:2px solid var(--teal);outline-offset:3px}.flow-entry>summary{cursor:grab}.flow-entry>summary:active{cursor:grabbing}
.day{display:flex;flex-direction:column}.day-create-actions{display:flex;align-items:center;gap:5px;order:10;margin-top:auto;padding-top:9px}.day-create-actions .day-add{display:flex;opacity:1;visibility:visible;flex:1;justify-content:center;gap:5px;min-height:31px;padding:5px;background:var(--soft);border:1px dashed var(--line);border-radius:7px;font-size:12px;color:var(--ink)}.day-create-actions .day-add .ph{font-size:17px}.day-create-actions .day-note-add{opacity:0;visibility:hidden;margin:0}.day:hover .day-note-add,.day:focus-within .day-note-add{opacity:1;visibility:visible}.day-header{min-height:28px}.day .calendar-note{order:1}.day .event{order:2}
.calendar-toolbar .segmented{flex-wrap:wrap}.calendar-toolbar .segmented button{padding:9px 12px;min-width:0}.calendar-gallery{padding:22px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.calendar-gallery-feed{display:flex;flex-direction:column;max-width:760px;margin:auto}.calendar-gallery-card{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;min-width:0}.calendar-gallery-card header{display:flex;align-items:center;gap:10px;padding:15px}.calendar-gallery-card header>span:nth-child(2){min-width:0;flex:1}.calendar-gallery-card header strong{display:block;overflow-wrap:anywhere}.calendar-gallery-card header small{display:block;color:var(--muted);margin-top:4px}.calendar-gallery-card .gallery-media,.calendar-gallery-card>video{width:100%;max-height:560px;object-fit:contain;background:var(--surface-raised)}.calendar-gallery-grid .gallery-media{height:220px;object-fit:cover}.gallery-caption{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:0 16px}.calendar-gallery-grid .gallery-caption{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.calendar-gallery-card footer{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}.calendar-gallery-card footer button{font-size:13px;padding:7px 10px}
.composer{width:min(1440px,96vw)}.composer .composer-grid{display:grid;grid-template-columns:235px minmax(300px,1fr) minmax(280px,.85fr);gap:25px;align-items:start}.composer-sync-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 22px;padding:12px 16px;border:1px solid var(--line);background:var(--surface-raised);border-radius:10px}.sync-toggle{display:flex;align-items:center;gap:9px;margin:0;cursor:pointer;font-size:14px}.sync-toggle input{appearance:none;width:36px;height:21px;min-height:0;border-radius:20px;padding:3px;background:var(--muted);position:relative;margin:0;cursor:pointer;border:0}.sync-toggle input:before{content:'';position:absolute;background:white;width:15px;height:15px;border-radius:50%;left:3px;top:3px;transition:transform .15s}.sync-toggle input:checked{background:var(--teal)}.sync-toggle input:checked:before{transform:translateX(15px)}.sync-explanation{color:var(--muted);font-size:13px}.sync-confirm{padding:12px 16px;border:1px solid var(--line);border-radius:8px;margin-bottom:15px;background:var(--soft)}.sync-confirm p{font-size:14px;margin-top:0}.sync-confirm button{font-size:13px;margin-right:6px}.composer .destination-picker{padding:0;border:0;margin:0}.composer .destination-picker>p{display:none}.composer .destination-picker legend{font-size:14px;margin-bottom:12px}.composer .destination-grid{display:flex;flex-direction:column;gap:9px}.composer .destination-option{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 25px;gap:0;padding:11px 8px 9px;border-radius:10px;border:1px solid var(--line);margin:0}.composer .destination-option.account-active{outline:2px solid var(--teal);outline-offset:1px}.composer .destination-option .check{display:flex;align-items:center;gap:8px;margin:0;min-width:0;padding:0}.composer .destination-option input{width:16px;height:16px;min-height:0;margin:0;flex-shrink:0}.composer .destination-avatar{width:34px;height:34px;min-width:34px}.composer .destination-avatar img{width:34px;height:34px}.composer .destination-name strong{font-size:14px;font-weight:600;line-height:1.3}.composer .destination-name small{font-size:12px;margin-top:3px}.composer .destination-option .account-report{grid-column:1/-1;margin-top:7px}.composer .account-count{font-size:12px}.composer .account-report .error-text{font-size:12px;line-height:1.4;margin:6px 0 0}.composer .composer-text-tools{margin:0 0 12px}.composer .composer-fields>label:first-of-type textarea{min-height:190px;max-height:45vh}.composer-extras{border-top:1px solid var(--line);padding-top:12px;margin-top:15px}.composer-extras summary{font-size:14px;cursor:pointer}.composer-extras label{margin-top:12px}.composer-extras button{font-size:13px}.composer .composer-preview{position:sticky;top:0}.composer-comment textarea{height:70px;min-height:70px;resize:vertical}
@media(max-width:1120px){.composer .composer-grid{grid-template-columns:205px minmax(0,1fr)}.composer .composer-preview{grid-column:2;position:static}.composer .composer-destinations{grid-row:1/3;position:sticky;top:0}}
@media(max-width:760px){.app-header .global-search-trigger{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;max-width:36px;padding:7px;overflow:hidden;flex-shrink:0}.app-header .global-search-trigger .global-search-label,.app-header .global-search-trigger kbd{display:none!important}.app-header .global-search-trigger .ph{flex-shrink:0;font-size:22px}.day-create-actions{padding-top:5px}.day-create-actions .day-add{min-height:28px;font-size:0;padding:4px}.day-create-actions .day-note-add{opacity:1;visibility:visible;min-width:20px}.day-create-actions .day-note-add .ph{font-size:14px}.calendar-toolbar .segmented button{padding:8px;font-size:13px}.calendar-gallery{padding:10px;grid-template-columns:minmax(0,1fr)}.composer .composer-grid{display:flex;flex-direction:column;gap:16px}.composer .composer-destinations,.composer .composer-fields,.composer .composer-preview{width:100%;position:static}.composer .destination-grid{display:flex;flex-direction:row;overflow-x:auto;padding:3px 3px 8px;gap:8px}.composer .destination-option{min-width:185px;flex:0 0 185px}.composer .destination-picker legend{margin-bottom:6px}.composer-sync-bar{margin-bottom:14px;padding:10px;gap:8px}.composer .composer-fields>label:first-of-type textarea{min-height:150px}.composer .composer-preview{border-top:1px solid var(--line);padding-top:12px}}
@media(prefers-reduced-motion:reduce){.flow-entry,.sync-toggle input:before{transition:none}}
.calendar-gallery-card header{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px 12px}.calendar-gallery-card header>.badge{grid-column:2;justify-self:start}.calendar-gallery-card header>span:nth-child(2){overflow:hidden}.calendar-gallery-card header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-gallery-card header .destination-avatar{width:40px;height:40px;align-self:start}.calendar-gallery-card header .destination-avatar img{width:40px;height:40px}.calendar-gallery-card header .network-mark{position:absolute;bottom:-3px;right:-3px}.composer .caption-fit-action{font-size:12px;padding:5px 0}
@media(max-width:760px){.composer .destination-option{flex-basis:220px;min-width:220px}.composer .destination-name{overflow:hidden}.composer .destination-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer .account-count{white-space:normal}}
.composer-drop-zone{display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;border:1px dashed var(--line);border-radius:8px;font-size:13px;color:var(--muted);cursor:pointer;margin:-4px 0 16px;padding:10px;background:var(--surface-raised)}.composer-drop-zone:hover,.composer-drop-zone.drag-target,.composer-drop-zone:focus-visible{background:var(--soft);border-color:var(--teal);color:var(--ink)}
.composer-fields,.composer-destinations,.composer-preview{min-width:0}.composer .destination-picker{min-inline-size:0}.composer .destination-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.composer .composer-grid{grid-template-columns:minmax(0,1fr)}.composer .delivery-options .segmented{display:flex;flex-wrap:wrap}.composer .delivery-options .segmented button{flex:1;padding:9px 6px;min-width:0;font-size:13px}.composer .preview-toolbar select{width:100%}.composer .delivery-datetime{grid-template-columns:minmax(0,1fr)}.composer-actions button{white-space:normal}.composer .destination-option{min-width:0}.composer .destination-name strong{overflow-wrap:anywhere}}
