.match-insight{background:linear-gradient(125deg,#eef6ee,#f8fbf7);border:1px solid #d7e5d5;border-radius:16px;padding:28px 30px;margin:22px 0 26px;display:grid;grid-template-columns:52px 1fr;gap:20px}.match-insight.warning{background:linear-gradient(120deg,#fff8e9,#fffdf8);border-color:#ecdfbf}.match-insight .insight-symbol{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#dcebdc;color:#306747;font-size:25px}.match-insight.warning .insight-symbol{background:#f8eac9;color:#8a6624}.match-insight h2{font-size:clamp(23px,2.2vw,32px);line-height:1.25;letter-spacing:-.7px;margin:4px 0 12px}.match-insight p{font-size:16px;line-height:1.65;color:#617062;max-width:850px;margin:0 0 20px}.match-insight .insight-eyebrow{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:#6f795f}.match-insight .primary{font-size:15px;padding:13px 19px}.match-insight details{grid-column:2;font-size:14px;color:#677464}.match-insight summary{cursor:pointer}.match-insight .method{display:flex;gap:25px;flex-wrap:wrap;padding-top:12px}.studio{--studio-line:#dfe6df;font-size:16px}.studio button{font-size:14px}.studio-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;flex-wrap:wrap}.studio-top h1{font-size:27px;margin:7px 0}.studio-top p{font-size:14px;color:#718075;margin:0}.studio-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.studio-status{font-size:12px;color:#788475;display:block;margin-top:8px}.studio-bar{background:white;border:1px solid var(--studio-line);border-radius:12px 12px 0 0;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.studio-toggle{display:flex;background:#eff3ee;border-radius:7px;padding:3px;gap:4px}.studio-toggle button{border:0;background:none;padding:9px 17px}.studio-toggle .on{background:white;box-shadow:0 2px 7px #203b2312;color:#245b3b;font-weight:600}.studio-size{display:flex;align-items:center;gap:12px;font-size:13px;color:#718075}.studio-size select{font-size:13px;min-width:130px;padding:8px}.studio-body{display:grid;grid-template-columns:295px minmax(0,1fr);background:#edf1ec;border:1px solid var(--studio-line);border-top:0;border-radius:0 0 12px 12px;min-height:670px}.studio-controls{background:white;border-right:1px solid var(--studio-line);border-radius:0 0 0 12px;min-width:0}.studio-control-tabs{display:flex;border-bottom:1px solid var(--studio-line);padding:13px 12px 0;gap:5px}.studio-control-tabs button{flex:1;border:0;border-radius:0;padding:12px 5px;color:#7b8578;background:none;border-bottom:2px solid transparent;font-size:13px}.studio-control-tabs button.active{border-bottom-color:#28734f;color:#245b3b;font-weight:bold}.studio-control-content{padding:21px 20px;max-height:710px;overflow:auto}.studio-field{margin-bottom:18px}.studio-field label{display:flex;justify-content:space-between;font-size:14px;font-weight:600;color:#506251;margin-bottom:8px}.studio-field input,.studio-field textarea,.studio-field select{width:100%;font-size:14px;padding:10px}.studio-field textarea{min-height:90px;line-height:1.6}.studio-field input[type=color]{padding:4px;width:48px;height:36px}.studio-field input[type=range]{padding:0;accent-color:#286b4d}.studio-color-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-color{display:flex;align-items:center;gap:8px;border:1px solid #e1e8df;border-radius:8px;padding:8px}.studio-color span{font-size:12px;color:#64775f}.studio-small{font-size:12px;color:#788675;line-height:1.6}.studio-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.studio-template{border:2px solid transparent;padding:5px;text-align:left;background:#f5f7f3;border-radius:8px;min-width:0}.studio-template.selected{border-color:#2d754f;background:#e8f1e5}.studio-template canvas{width:100%;height:auto;border-radius:4px;display:block}.studio-template span{display:block;font-size:11px;margin:8px 2px 3px;line-height:1.3}.studio-stage{padding:28px;min-width:0}.studio-art-wrap{display:flex;justify-content:center;align-items:center;min-height:560px}.studio-canvas{display:block;max-width:100%;width:auto;height:auto;max-height:670px;box-shadow:0 14px 35px #25412b1c;border-radius:3px;cursor:text}.studio-hint{text-align:center;color:#7a8874;font-size:12px;margin:17px 0 0}.studio-note{display:flex;gap:10px;border:1px solid #e0e6dc;background:#fafcf8;border-radius:8px;padding:14px;font-size:13px;color:#6a7862;line-height:1.6;margin-top:22px}.studio-previews{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.social-preview{border:1px solid #dce3db;background:white;border-radius:11px;overflow:hidden;min-width:0;box-shadow:0 4px 12px #28422606}.social-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:14px;font-weight:650}.platform-mark{display:inline-grid;place-items:center;width:28px;height:28px;background:#1877f2;color:white;border-radius:5px;font-size:20px;font-weight:700;margin-right:8px}.preview-user{display:flex;gap:10px;align-items:center;padding:16px 16px 8px;font-size:14px}.preview-avatar{background:#e7eee2;color:#3e6950;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:17px;font-weight:bold;flex-shrink:0}.preview-user small{display:block;font-size:11px;color:#8b9388;margin-top:3px}.preview-copy{font-size:13px;line-height:1.6;white-space:pre-wrap;padding:9px 16px 15px;overflow-wrap:anywhere;max-height:250px;overflow:auto}.social-preview canvas{width:100%;display:block;height:auto}.preview-interactions{padding:12px 16px;font-size:12px;color:#8a9387;border-top:1px solid #edf0eb;display:flex;justify-content:space-between}.whatsapp-preview{background:#eee8dc;padding:15px}.whatsapp-bubble{background:#e4f4d6;border-radius:7px;overflow:hidden;margin-left:22px;box-shadow:0 1px 3px #0001}.whatsapp-bubble .preview-copy{padding:12px}.whatsapp-bubble small{display:block;text-align:right;font-size:10px;color:#7b8c6b;padding:0 10px 8px}.studio-preview-column{min-width:0}.caption-platforms{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.caption-platforms button{font-size:11px;padding:7px 9px}.caption-platforms .selected{background:#e6f0e2}.studio-caption-count{font-size:11px;color:#74816d;margin-top:7px}.studio-upload{border:1px dashed #b6cbb0;background:#f7faf3;border-radius:8px;padding:13px}.studio-upload input{font-size:12px;padding:0;border:0}.studio-empty-photo{height:90px;display:grid;place-items:center;font-size:12px;color:#7d8b77;background:#f1f5ed}.studio-image-thumb{width:100%;height:100px;object-fit:cover;border-radius:6px;margin-bottom:10px}.studio-live-error{font-size:13px;color:#a14e35;padding:12px 0}.studio-preview-note{margin-bottom:20px;color:#72816b;font-size:13px;line-height:1.6}.studio-mobile-label{display:none}
@media(min-width:1500px){.studio-stage{padding:35px 45px}.studio-canvas{max-width:650px}}@media(max-width:1150px){.studio-body{grid-template-columns:260px minmax(0,1fr)}.studio-stage{padding:20px}.studio-previews{grid-template-columns:1fr}.studio-art-wrap{min-height:420px}.studio-control-content{padding:18px 15px}}@media(max-width:800px){.studio-body{grid-template-columns:1fr}.studio-controls{border-right:0;border-bottom:1px solid var(--studio-line);border-radius:0}.studio-control-content{max-height:420px}.studio-template-grid{grid-template-columns:repeat(4,1fr)}.studio-stage{padding:20px 12px}.studio-art-wrap{min-height:0}.studio-canvas{max-height:none;width:100%}.studio-previews{grid-template-columns:1fr}.studio-bar{flex-wrap:wrap}.studio-top{gap:15px}.match-insight{grid-template-columns:1fr;padding:23px}.match-insight .insight-symbol{display:none}.match-insight details{grid-column:1}.studio-size{width:100%;justify-content:space-between}.studio-actions{gap:7px}.studio-actions button{padding:9px 10px}.studio-top h1{font-size:23px}}@media(max-width:420px){.studio-template-grid{grid-template-columns:repeat(3,1fr)}}
.studio-share{display:flex;align-items:center;gap:30px;justify-content:space-between;background:#e8f0e6;border:1px solid #d8e4d5;border-radius:14px;padding:28px;margin-top:24px}.studio-share h2{font-size:28px;margin:6px 0 12px}.studio-share p{font-size:16px;line-height:1.65;max-width:650px;margin:0}.studio-share .actions{min-width:245px;flex-direction:column;align-items:stretch}.publishing{max-width:1250px;margin:auto}.publish-hero{background:#153e30;color:white;border-radius:15px;padding:30px;margin:20px 0 26px}.publish-hero h1{font-size:32px;color:white;margin:8px 0 12px}.publish-hero p{font-size:16px;max-width:740px;line-height:1.6;color:#dbe7d7}.publish-section{background:white;border:1px solid #dfe6dc;border-radius:14px;padding:26px;margin:22px 0}.publish-section h2{font-size:23px;margin:0 0 10px}.publish-section p{font-size:16px;line-height:1.65}.publish-accounts{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:22px}.publish-account{border:1px solid #dde5d9;border-radius:12px;padding:20px;background:#fafcf8}.publish-account strong{font-size:18px;display:block;margin:12px 0}.publish-account .network{font-size:24px;font-weight:bold}.publish-account .account-state{font-size:14px;display:block;margin:10px 0;color:#63765f}.publish-account button{width:100%}.publish-account.connected{border-color:#6e967a;background:#f2f8ef}.publish-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.publish-form label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.publish-form input,.publish-form select,.publish-form textarea{width:100%;font:inherit;padding:12px;border:1px solid #d9e1d6;border-radius:7px;box-sizing:border-box}.publish-form .wide{grid-column:1/-1}.publish-form .check{display:flex;gap:10px;align-items:center;font-weight:normal}.publish-form .check input{width:auto}.publish-checks{display:flex;gap:22px;flex-wrap:wrap;margin:20px 0}.publish-checks label{font-size:16px;display:flex;gap:9px;align-items:center}.schedule-summary{background:#eef4e9;padding:22px;border-radius:10px;margin:20px 0;font-size:16px;line-height:1.7}.schedule-summary strong{font-size:26px;display:block}.publish-error{background:#fff1e9;color:#904626;border:1px solid #e8c9b5;border-radius:8px;padding:15px;font-size:16px;margin:18px 0;line-height:1.6}.publish-muted{color:#687863;font-size:14px;line-height:1.6}.publish-status{display:inline-block;padding:6px 10px;border-radius:20px;background:#eef2e9;color:#31573c;font-size:14px}.publish-list{display:grid;gap:14px;margin-top:20px}.publish-plan{padding:20px;border:1px solid #dfe6dc;border-radius:10px;display:flex;gap:20px;align-items:center;justify-content:space-between}.publish-plan h3{font-size:18px;margin:0 0 10px}.publish-table{width:100%;border-collapse:collapse;font-size:14px}.publish-table th,.publish-table td{padding:12px;text-align:left;border-bottom:1px solid #e0e5dd}.publish-table-wrap{overflow:auto;max-height:480px}.publish-progress{padding:20px;background:#eef4e9;font-size:16px;border-radius:8px;line-height:1.7}.publish-top{display:flex;align-items:center;gap:12px;justify-content:space-between}.publish-setup summary{cursor:pointer;font-size:17px;font-weight:600}.publish-setup{margin:22px 0}.publishing button:disabled{cursor:not-allowed;opacity:.55}@media(max-width:900px){.publish-accounts{grid-template-columns:repeat(2,1fr)}.studio-share{display:block}.studio-share .actions{margin-top:20px;flex-direction:row}.publish-plan{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.publish-form{grid-template-columns:1fr}.publish-form .wide{grid-column:auto}.publish-accounts{grid-template-columns:1fr}.publish-section,.publish-hero{padding:20px}.publish-hero h1{font-size:27px}.publish-top{align-items:flex-start;flex-direction:column}.studio-share .actions{flex-direction:column}}
/* Brand Studio layout: intentionally scoped to the canvas workspace. */
.brand-workspace{--brand-navy:#173759;--brand-blue:#2862d9;--brand-border:#d9e3ef;grid-template-columns:235px minmax(0,1fr);background:#edf3fa;border-color:var(--brand-border);border-radius:0 0 14px 14px;align-items:start;color:var(--brand-navy)}
.brand-workspace .studio-controls{background:#f7faff;border-color:var(--brand-border);border-radius:0 0 0 14px;min-width:0;align-self:stretch}.brand-panel-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 15px 12px;gap:8px;font-size:14px}.brand-panel-heading button{width:29px;height:29px;padding:0;font-size:23px;background:white;border-color:var(--brand-border);color:var(--brand-navy)}.brand-workspace .studio-control-tabs{padding:0 10px;border-color:var(--brand-border);display:grid;grid-template-columns:1fr 1fr}.brand-workspace .studio-control-tabs button{font-size:14px;padding:12px 4px;color:#58708b}.brand-workspace .studio-control-tabs .active{color:#204b8a;border-color:#2862d9}.brand-workspace .studio-control-content{padding:18px 15px;max-height:1070px}.brand-workspace .studio-field label{color:#304e6a;font-size:14px}.brand-workspace .studio-field input:not([type=color]):not([type=range]):not([type=checkbox]),.brand-workspace .studio-field textarea{background:#fff;border-color:#d5dfec;font-size:14px}.brand-workspace .studio-stage{padding:22px 26px 24px;min-width:0;background:linear-gradient(135deg,#f2f6fc,#eaf1fa);border-radius:0 0 14px 0}.brand-template-heading,.brand-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.brand-template-heading b,.brand-preview-heading b{font-size:16px;display:block}.brand-template-heading span,.brand-preview-heading span{font-size:12px;color:#71839b}.brand-template-heading div span{display:block;margin-top:5px}.brand-carousel-row{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:10px;align-items:center;margin-bottom:20px}.brand-carousel-nav{border:1px solid var(--brand-border);background:#fff;width:30px;height:30px;border-radius:50%;padding:0;font-size:24px!important;line-height:1;color:var(--brand-navy);box-shadow:0 2px 4px #183b5b09}.brand-carousel-nav:disabled{opacity:.35;cursor:default}.brand-template-carousel{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 1px}.brand-template-carousel::-webkit-scrollbar{display:none}.brand-template{flex:0 0 calc((100% - 30px)/4);min-width:110px;scroll-snap-align:start;overflow:hidden;padding:0!important;border:2px solid transparent;border-radius:8px;background:white;color:#54708b;box-sizing:border-box}.brand-template canvas{display:block;width:100%;height:auto;aspect-ratio:16/9}.brand-template span{display:block;font-size:12px;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:5px 7px}.brand-template.selected{border-color:var(--brand-blue);box-shadow:0 0 0 2px #2862d918;color:#174795}.brand-template:focus-visible,.brand-carousel-nav:focus-visible{outline:3px solid #82acf0;outline-offset:2px}.brand-canvas-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 20px;border:1px solid var(--brand-border);background:#ffffffdc;border-radius:25px;padding:8px 16px;width:fit-content;max-width:100%;flex-wrap:wrap;box-sizing:border-box}.brand-canvas-toolbar button{font-size:13px;border:0;background:transparent;color:#315379;padding:3px 5px}.brand-tool-title{font-weight:600;font-size:13px;color:#304f72}.brand-tool-divider{height:18px;width:1px;background:var(--brand-border)}.brand-color-tool{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;color:#526a85}.brand-color-tool input{width:23px;height:23px;border:0;border-radius:50%;padding:0;background:transparent;cursor:pointer;overflow:hidden}.brand-color-tool input::-webkit-color-swatch-wrapper{padding:0}.brand-color-tool input::-webkit-color-swatch{border:1px solid #cad5e4;border-radius:50%}.brand-workspace .studio-art-wrap{display:flex;justify-content:center;align-items:center;min-height:0;padding:4px 0 0}.brand-workspace .studio-canvas{display:block;width:auto;height:auto;max-width:100%;max-height:650px;border-radius:10px;box-shadow:0 12px 30px #26446d1a}.brand-workspace .studio-hint{text-align:center;font-size:12px;color:#71839a;margin:15px 0 25px}.brand-preview-heading{margin-top:20px}.brand-previews-scroll{overflow-x:auto;padding:2px 0 8px}.brand-workspace .brand-preview-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px;min-width:0;align-items:start}.brand-preview-grid .studio-preview-column{min-width:0}.brand-preview-grid .social-label{font-size:12px;margin-bottom:9px;gap:2px}.brand-preview-grid .social-label>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.brand-preview-grid .social-label button{font-size:0!important;padding:3px!important;border:0;background:none;color:#66809e}.brand-preview-grid .social-label button::after{content:'Copy';font-size:10px}.brand-preview-grid .platform-mark{width:18px;height:18px;border-radius:4px;font-size:12px}.brand-preview-grid .social-preview{border-radius:8px;border-color:#d9e3ef;overflow:hidden;background:#fff}.brand-preview-grid .preview-user{padding:9px 7px;gap:5px}.brand-preview-grid .preview-avatar{width:21px;height:21px;font-size:8px;flex-shrink:0}.brand-preview-grid .preview-user b{font-size:9px;max-width:70px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-preview-grid .preview-user small{font-size:7px;white-space:nowrap}.brand-preview-grid .preview-copy{font-size:9px;line-height:1.4;padding:0 7px 7px;max-height:39px;min-height:26px;overflow:hidden;scrollbar-width:none;white-space:pre-line}.brand-preview-grid .social-preview canvas{display:block;width:100%;height:auto}.brand-preview-grid .preview-interactions{font-size:7px;padding:8px 5px;gap:4px;justify-content:space-around}.brand-preview-grid .whatsapp-preview{padding:8px;background:#e6f0e8}.brand-preview-grid .whatsapp-bubble{margin:0;padding:4px;border-radius:5px}.brand-preview-grid .whatsapp-bubble .preview-copy{padding:6px 2px 2px;max-height:38px}.brand-preview-grid .whatsapp-bubble small{font-size:7px}.brand-workspace.controls-collapsed{grid-template-columns:48px minmax(0,1fr)}.brand-workspace.controls-collapsed .brand-panel-heading{padding:14px 8px}.brand-workspace.controls-collapsed .brand-panel-heading b,.brand-workspace.controls-collapsed .studio-control-tabs,.brand-workspace.controls-collapsed .studio-control-content{display:none}
@media(min-width:1550px){.brand-template{flex-basis:calc((100% - 40px)/5)}.brand-workspace .studio-canvas{max-height:720px}}
@media(max-width:1100px){.brand-workspace{grid-template-columns:210px minmax(0,1fr)}.brand-workspace .studio-stage{padding:20px 16px}.brand-template{flex-basis:calc((100% - 20px)/3)}.brand-preview-grid .social-label button{display:none}.brand-preview-heading>span{max-width:170px;text-align:right}.brand-color-tool>span{display:none}.brand-tool-title{display:none}}
@media(max-width:800px){.brand-workspace{grid-template-columns:1fr}.brand-workspace .studio-controls{border-right:0;border-bottom:1px solid var(--brand-border);border-radius:0}.brand-workspace .studio-control-content{max-height:300px}.brand-panel-heading{padding:12px 16px}.brand-workspace.controls-collapsed{grid-template-columns:1fr}.brand-workspace.controls-collapsed .brand-panel-heading{padding:12px 16px}.brand-workspace.controls-collapsed .brand-panel-heading b{display:block}.brand-workspace .studio-stage{border-radius:0 0 14px 14px}.brand-workspace .studio-canvas{max-height:600px}.brand-workspace .brand-preview-grid{min-width:520px}.brand-template-heading>span{display:none}.brand-template{min-width:105px}.brand-canvas-toolbar{gap:8px;padding:8px 12px}.brand-preview-heading span{font-size:11px}}
/* Single-page editor controls. */
.brand-workspace{grid-template-columns:150px minmax(0,1fr);border-radius:14px}.brand-workspace .studio-controls{border-radius:14px 0 0 14px}.brand-workspace .studio-stage{border-radius:0 14px 14px 0}.brand-panel-heading{padding:16px 10px 10px;gap:4px;align-items:flex-start}.brand-panel-heading b{max-width:90px;line-height:1.4}.brand-panel-heading button{flex-shrink:0;width:24px;height:26px}.brand-format-control{padding:4px 10px 15px;border-bottom:1px solid #d9e3ef}.brand-format-control .studio-size{display:block;font-size:13px;color:#455f7c}.brand-format-control .studio-size>span{display:block;margin-bottom:8px}.brand-format-control select{width:100%;min-width:0;font-size:12px;padding:9px 5px;box-sizing:border-box}.brand-workspace .studio-control-tabs{grid-template-columns:1fr;padding:0 8px}.brand-workspace .studio-control-tabs button{padding:10px 3px;text-align:left}.brand-workspace .studio-control-content{padding:16px 10px}.brand-workspace .studio-field label{font-size:13px;line-height:1.5}.brand-workspace .studio-field input:not([type=color]):not([type=range]):not([type=checkbox]),.brand-workspace .studio-field textarea{padding:9px 6px;font-size:13px;max-width:100%;box-sizing:border-box}.brand-workspace .studio-color-row{flex-wrap:wrap}.brand-workspace .studio-upload{padding:6px}.brand-workspace .studio-upload input{font-size:11px;max-width:100%}.brand-workspace.controls-collapsed .brand-format-control{display:none}.brand-template-family{font-size:11px!important;color:#6f8198;padding-top:0!important;display:block}.brand-workspace .studio-small{font-size:12px;overflow-wrap:anywhere}@media(max-width:800px){.brand-workspace{grid-template-columns:1fr}.brand-panel-heading b{max-width:none}.brand-format-control{padding:5px 16px 14px}.brand-format-control select{max-width:250px}.brand-workspace .studio-control-tabs{grid-template-columns:1fr 1fr}.brand-workspace .studio-controls{border-radius:14px 14px 0 0}.brand-workspace .studio-stage{border-radius:0 0 14px 14px}}
@media(min-width:801px){.brand-workspace{grid-template-columns:var(--studio-panel-width,150px) minmax(0,1fr)}.brand-workspace.controls-collapsed{grid-template-columns:48px minmax(0,1fr)}}
.brand-workspace .studio-controls{position:relative}.studio-panel-resizer{position:absolute;right:-7px;top:0;bottom:0;width:14px;z-index:4;cursor:col-resize;touch-action:none;display:flex;align-items:flex-start;justify-content:center;padding-top:125px;box-sizing:border-box;outline:none}.studio-panel-resizer::before{content:'';position:absolute;top:0;bottom:0;left:6px;width:2px;background:transparent;transition:background .15s}.studio-panel-resizer span{width:7px;height:45px;border:1px solid #b6c8df;border-radius:7px;background:#f6f9ff;position:relative;box-shadow:0 1px 4px #17375914}.studio-panel-resizer span::after{content:'';position:absolute;left:2px;top:13px;height:17px;width:1px;background:#6689b3}.studio-panel-resizer:hover::before,.studio-panel-resizer:focus-visible::before,.panel-resizing .studio-panel-resizer::before{background:#2862d9}.studio-panel-resizer:focus-visible span{outline:2px solid #2862d9;outline-offset:3px}.panel-resizing,.panel-resizing *{cursor:col-resize!important;user-select:none!important}.studio-panel-width{padding:12px 10px;border-bottom:1px solid #d9e3ef}.studio-panel-width label{font-size:12px;display:flex;justify-content:space-between;gap:5px;color:#455f7c}.studio-panel-width output{font-variant-numeric:tabular-nums}.studio-panel-width input{display:block;width:100%;padding:0;margin:10px 0 0;accent-color:#2862d9;cursor:ew-resize}.brand-workspace.controls-collapsed .studio-panel-resizer,.brand-workspace.controls-collapsed .studio-panel-width{display:none}@media(max-width:800px){.studio-panel-resizer,.studio-panel-width{display:none}}
/* Spacious editor, canvas, and account-aware social rail. */
@media(min-width:801px){.brand-workspace{grid-template-columns:var(--studio-panel-width,300px) minmax(0,1fr) 260px}.brand-workspace.controls-collapsed{grid-template-columns:48px minmax(0,1fr) 260px}}
.brand-workspace .studio-stage{padding:26px 22px;border-radius:0;background:#eef3fa}.brand-workspace .studio-controls{border-radius:14px 0 0 14px}.brand-workspace .brand-panel-heading b{max-width:none;font-size:16px}.brand-workspace .brand-panel-heading{padding:22px 18px 14px}.brand-workspace .brand-format-control{padding:8px 18px 20px}.brand-workspace .brand-format-control select{font-size:14px;padding:11px}.brand-workspace .studio-panel-width{padding:17px 18px}.brand-workspace .studio-panel-width label{font-size:14px}.brand-workspace .studio-control-tabs{grid-template-columns:1fr 1fr;padding:0 14px}.brand-workspace .studio-control-tabs button{font-size:14px;text-align:center;padding:15px 5px}.brand-workspace .studio-control-content{padding:24px 18px;max-height:1150px}.brand-workspace .studio-field{margin-bottom:22px}.brand-workspace .studio-field label{font-size:14px;margin-bottom:9px}.brand-workspace .studio-field input:not([type=color]):not([type=range]):not([type=checkbox]),.brand-workspace .studio-field textarea{font-size:14px;padding:12px 10px}.brand-workspace .studio-small{font-size:13px;line-height:1.7}.brand-workspace .brand-template-heading{align-items:flex-start;margin-bottom:17px}.brand-workspace .brand-template-heading b{font-size:17px}.brand-workspace #brandTemplateName{max-width:120px;text-align:right;font-size:12px}.brand-workspace .brand-template{flex-basis:calc((100% - 10px)/2);min-width:105px}.brand-workspace .brand-carousel-row{gap:8px;margin-bottom:24px;grid-template-columns:28px minmax(0,1fr) 28px}.brand-workspace .brand-canvas-toolbar{gap:10px;margin-bottom:24px;padding:11px 12px;border-radius:10px}.brand-workspace .brand-tool-title{display:none}.brand-workspace .brand-color-tool>span{display:none}.brand-workspace .studio-art-wrap{padding:10px 0 0}.brand-workspace .studio-canvas{max-height:720px}.brand-workspace .studio-hint{line-height:1.7;margin-top:20px;font-size:13px}
.studio-social-rail{background:#fff;border-left:1px solid #d9e3ef;border-radius:0 14px 14px 0;padding:24px 16px;align-self:stretch;min-width:0}.studio-social-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.studio-social-heading h2{font-size:20px;line-height:1.3;margin:6px 0 0;color:#203f5e}.studio-rail-eyebrow{font-size:10px;font-weight:700;color:#7b8ca0;letter-spacing:1px}.studio-social-heading button{font-size:12px!important;padding:6px 0}.studio-rail-note{font-size:13px;line-height:1.7;color:#708197;margin:0 0 24px}.studio-social-cards{display:flex;flex-direction:column;gap:22px}.studio-network-card{border:1px solid #e0e7f0;border-radius:12px;padding:16px;background:#fbfcfe}.studio-network-title{display:flex;align-items:center;gap:9px;margin-bottom:17px}.studio-network-title h3{font-size:16px;margin:0;color:#29445d}.studio-network-title .platform-mark{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:6px;font-weight:700;font-size:16px;color:white}.studio-disconnected b{display:block;font-size:14px;color:#344e65;margin:0 0 9px}.studio-disconnected p{font-size:13px;line-height:1.7;color:#768597;margin:0 0 16px}.studio-connect-button{width:100%;padding:10px 8px!important;font-size:13px!important;background:#fff;color:#315b8a;border-color:#bfcfe2}.studio-network-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:18px;margin-top:17px;border-top:1px solid #e1e7ef}.studio-network-actions button{padding:10px 5px;font-size:12px!important;min-width:0;background:white;white-space:normal;line-height:1.4}.studio-network-actions .studio-share-network{background:#245c94;color:white;border-color:#245c94}.studio-share-note{display:block;font-size:10px;line-height:1.6;color:#7c8b9b;margin-top:10px}.studio-connected-account{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#708197;margin-bottom:17px}.studio-connection-badge{align-self:flex-start;font-size:11px;color:#277249;background:#eaf5ed;padding:4px 8px;border-radius:14px}.studio-social-rail .studio-preview-column{min-width:0}.studio-social-rail .social-label{display:none}.studio-social-rail .social-preview{border-radius:8px;border-color:#dce5ed;overflow:hidden;background:white}.studio-social-rail .preview-user{padding:11px 9px;gap:7px}.studio-social-rail .preview-avatar{width:25px;height:25px;font-size:10px;flex-shrink:0}.studio-social-rail .preview-user b{font-size:11px;display:block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-social-rail .preview-user small{font-size:9px}.studio-social-rail .preview-copy{font-size:11px;line-height:1.6;padding:0 10px 10px;max-height:90px;overflow:auto}.studio-social-rail .social-preview canvas{display:block;width:100%;height:auto}.studio-social-rail .preview-interactions{padding:10px 6px;font-size:9px;gap:5px;justify-content:space-between}.studio-rail-help{margin-top:26px;background:#f1f5f9;border-radius:10px;padding:16px}.studio-rail-help b{font-size:13px;color:#3f5c77}.studio-rail-help p{font-size:12px;line-height:1.75;color:#718397;margin:8px 0 0}.studio-rail-alert{font-size:13px;padding:13px;background:#fff4e8;color:#7c5838;line-height:1.7;border-radius:8px;margin:0 0 20px}.studio-connect-link{display:inline-block;color:#fff;background:#286550;padding:12px 18px;border-radius:8px;text-decoration:none;margin:12px 0}
@media(min-width:1550px){.brand-workspace{grid-template-columns:var(--studio-panel-width,300px) minmax(0,1fr) 300px}.brand-workspace.controls-collapsed{grid-template-columns:48px minmax(0,1fr) 300px}.brand-workspace .brand-template{flex-basis:calc((100% - 20px)/3)}.studio-social-rail{padding:26px 22px}.brand-workspace .studio-stage{padding:28px 30px}}
@media(max-width:1100px) and (min-width:801px){.brand-workspace{grid-template-columns:var(--studio-panel-width,300px) minmax(0,1fr)}.brand-workspace.controls-collapsed{grid-template-columns:48px minmax(0,1fr)}.studio-social-rail{grid-column:2;border-left:0;border-top:1px solid #d9e3ef;border-radius:0 0 14px 0}.studio-social-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.studio-social-rail .studio-rail-help{max-width:650px}.studio-controls{grid-row:1/3}}
@media(max-width:800px){.brand-workspace,.brand-workspace.controls-collapsed{grid-template-columns:1fr}.studio-social-rail{border-left:0;border-top:1px solid #d9e3ef;border-radius:0 0 14px 14px;padding:24px 20px}.studio-social-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.brand-workspace .studio-stage{padding:24px 20px}.brand-workspace .studio-control-content{max-height:420px}.brand-workspace .studio-controls{border-radius:14px 14px 0 0}.studio-network-card{padding:16px}.brand-workspace .brand-template{flex-basis:calc((100% - 20px)/3)}.brand-workspace #brandTemplateName{display:none}}@media(max-width:500px){.studio-social-cards{grid-template-columns:1fr}.studio-social-rail{padding:22px 18px}.brand-workspace .brand-template{flex-basis:calc((100% - 10px)/2)}}
/* Direct Facebook connection and queue */
.fb-page{max-width:1200px;margin:auto;color:#203d32}.fb-heading,.fb-section-head{display:flex;justify-content:space-between;align-items:center;gap:24px}.fb-heading{margin:12px 0 28px}.fb-heading h1{font-size:34px;letter-spacing:-1px;margin:10px 0}.fb-page p{font-size:16px;line-height:1.65;color:#5b6c64}.fb-page label{font-size:15px;font-weight:600;display:block}.fb-page small{display:block;font-size:13px;font-weight:400;line-height:1.5;color:#62746b;margin:7px 0}.fb-tabs{display:flex;gap:24px;flex-wrap:wrap;align-items:center;margin-bottom:28px;color:#69786f;font-size:14px}.fb-selected{background:#e7effc;color:#145aab;padding:12px 20px;border-radius:9px;font-weight:700}.fb-section{background:white;border:1px solid #dce5de;border-radius:16px;padding:30px;margin:24px 0}.fb-section h2{font-size:24px;letter-spacing:-.5px;margin:12px 0}.fb-section h3{font-size:18px;margin:18px 0 10px}.fb-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0}.fb-wide{grid-column:1/-1}.fb-page input,.fb-page select,.fb-page textarea{display:block;width:100%;box-sizing:border-box;font-size:16px;border:1px solid #cfdad2;border-radius:8px;padding:13px;margin-top:9px;background:white;color:#203d32}.fb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0}.fb-url{display:grid;grid-template-columns:1fr auto;gap:10px;background:#f3f7f5;border:1px solid #e2eae5;padding:16px;margin:12px 0;border-radius:9px}.fb-url label{grid-column:1/-1;font-size:14px}.fb-url code{font-size:14px;overflow-wrap:anywhere;min-width:0;align-self:center}.fb-page-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:24px 0}.fb-page-cards article{display:flex;gap:18px;align-items:start;background:#f3f7fc;border:1px solid #dce6f6;border-radius:12px;padding:22px}.fb-page-cards h3{margin:0}.fb-page-cards p{margin:8px 0;font-size:14px}.fb-preview,.fb-plan-detail{background:#f4f8f5;border-radius:12px;padding:24px;margin-top:24px}.fb-preview ol{max-height:240px;overflow:auto;line-height:2;font-size:16px}.fb-plan-list article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e2e9e4}.fb-plan-list h3{margin:0}.fb-plan-list p{margin-bottom:0}.fb-table-wrap{overflow-x:auto}.fb-page td{font-size:14px;line-height:1.6}.fb-page [hidden]{display:none!important}.fb-page .notice[role=alert]{border-left:4px solid #b45b3a}.fb-page button{min-height:40px;font-size:14px}.fb-page button:disabled{opacity:.55;cursor:wait}@media(max-width:750px){.fb-form-grid{grid-template-columns:1fr}.fb-section{padding:20px}.fb-heading,.fb-section-head{align-items:start;flex-direction:column}.fb-url{grid-template-columns:1fr}.fb-url button{justify-self:start}.fb-heading h1{font-size:28px}}
