:root{--cream:#f8f7f3;--paper:#fff;--ink:#203a4b;--navy:#183a51;--muted:#81909a;--line:#e7ebe9;--teal:#299c9a;--teal-dark:#177c7f;--teal-soft:#e5f5f2;--peach:#fff0e6;--sand:#f5eee3;--shadow:0 8px 28px rgba(21,48,62,.055);font-family:"Assistant","Heebo","Segoe UI",Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.47}a{color:var(--teal-dark)}.app-shell{display:flex;min-height:100vh}.sidebar{width:258px;flex:0 0 258px;background:#fff;border-left:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:29px 17px 22px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:3px 13px 25px}.brand-mark{height:52px;width:52px;color:#fff;background:var(--navy);border-radius:17px;display:grid;place-items:center;box-shadow:0 8px 18px #183a5126}.brand-mark svg{width:40px}.brand-text{display:flex;flex-direction:column;font-size:24px;line-height:1.15;color:var(--navy);letter-spacing:-.5px}.brand-text span{font-size:19px;font-weight:500;color:var(--teal)}.sidebar-caption{font-size:12px;color:#a0aaa9;font-weight:700;letter-spacing:.06em;margin:16px 15px 13px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-link{border:0;background:transparent;width:100%;text-align:right;color:#597080;font-size:14px;font-weight:650;border-radius:12px;padding:14px 14px;display:flex;align-items:center;gap:13px;transition:background .2s,color .2s}.nav-link:hover,.nav-link.active{background:#eaf5f3;color:var(--teal-dark)}.nav-link.active{font-weight:800}.nav-icon{font-size:21px;width:24px;text-align:center;line-height:1}.sidebar-spacer{flex:1}.sidebar-bottom{border-top:1px solid var(--line);padding-top:12px}.sidebar-note{background:#f5faf8;border:1px solid #e5f2ee;border-radius:12px;display:flex;gap:11px;align-items:flex-start;color:#667e82;font-size:13px;margin-top:14px;padding:13px}.sidebar-note small{font-size:11px;color:#94a2a2}.note-led{display:inline-block;background:#4cbea9;border-radius:50%;width:8px;height:8px;flex:0 0 8px;margin-top:5px;box-shadow:0 0 0 3px #4cbea921}.main-shell{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:94px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 43px;gap:20px}.topbar-right,.topbar-left{display:flex;align-items:center;gap:14px}.topbar-left{gap:13px}.topbar-kicker{font-size:12px;color:#9ba5a5;margin-bottom:4px}.topbar-heading{font-size:19px;font-weight:800;color:var(--navy)}.local-pill{color:#5c8783;font-size:12px;background:#f1f8f6;padding:11px 12px;border-radius:30px;display:flex;align-items:center;gap:8px;white-space:nowrap}.local-pill .note-led{margin:0}.content{width:min(1320px,100%);margin:0 auto;padding:36px 42px 65px;flex:1}.footer{padding:18px 42px;color:#a1aaa9;font-size:12px;display:flex;justify-content:space-between;gap:15px}.btn{border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 19px;font-weight:750;font-size:14px;white-space:nowrap;transition:transform .15s,box-shadow .15s,background .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:var(--teal);color:#fff;box-shadow:0 6px 15px #269b991e}.btn-primary:hover{background:var(--teal-dark)}.btn-navy{background:var(--navy);color:white}.btn-outline{background:#fff;border:1px solid #dbe6e5;color:var(--navy)}.btn-ghost{background:#f2f6f5;color:#54717c}.btn-danger{color:#b34848;background:#fff4f1}.btn-small{font-size:13px;padding:10px 14px}.btn-tiny{font-size:12px;padding:7px 10px;border-radius:9px}.btn-block{width:100%}.btn-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--navy);height:38px;width:38px;display:inline-grid;place-items:center;font-size:18px}.menu-toggle{display:none}.eyebrow{font-size:12px;color:var(--teal);font-weight:800;letter-spacing:.06em}.page-header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:27px}.page-header h1{font-size:29px;line-height:1.35;margin:5px 0 6px;color:var(--navy);letter-spacing:-.7px}.page-header p{font-size:14px;color:#82919a;margin:0;line-height:1.8}.hero{background:linear-gradient(116deg,#173d55 2%,#22566c 56%,#278a8a 100%);color:#fff;border-radius:20px;min-height:222px;padding:36px 44px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;gap:15px;box-shadow:var(--shadow);margin-bottom:25px}.hero:after{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff26;border-radius:50%;left:1%;top:-140px;box-shadow:0 0 0 45px #ffffff09,0 0 0 95px #ffffff06}.hero-text{position:relative;z-index:1;max-width:570px}.hero .eyebrow{color:#afe1d7}.hero h1{font-size:33px;letter-spacing:-.6px;margin:12px 0}.hero p{color:#d4e9e7;font-size:15px;line-height:1.9;margin:0 0 20px}.hero .btn{background:#fff;color:var(--navy)}.hero-art{font-size:76px;opacity:.85;transform:rotate(-10deg);z-index:1;margin-left:55px;text-shadow:0 10px 26px #0002}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.stat-card{padding:20px 22px;display:flex;gap:12px;align-items:center;justify-content:space-between}.stat-label{font-size:13px;color:#8a98a0}.stat-value{font-size:29px;font-weight:800;color:var(--navy);margin-top:9px}.stat-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:25px;background:#eef8f5;color:var(--teal)}.stat-icon.peach{background:var(--peach);color:#b97852}.stat-icon.blue{background:#eaf0f7;color:#5c86b1}.stat-icon.purple{background:#f1ebf9;color:#9075b5}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 15px}.section-head h2,.panel h2{font-size:18px;color:var(--navy);margin:0}.section-head p{color:var(--muted);font-size:13px;margin:5px 0 0}.section-link{border:0;background:none;color:var(--teal-dark);font-weight:750;font-size:13px}.dashboard-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin-bottom:23px}.panel{padding:23px}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-tile{background:#fafcfb;border:1px solid #edf0ee;border-radius:14px;padding:17px;text-align:right;display:flex;gap:12px;align-items:center;cursor:pointer}.account-tile:hover{border-color:#91cfca;background:#f6fbfa}.social-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:20px;flex-shrink:0}.social-icon.ig{background:linear-gradient(135deg,#f8e0d4,#ecd7ec);color:#bf7197}.social-icon.fb{background:#e4edf9;color:#3a67a3}.account-tile strong{display:block;font-size:14px;margin-bottom:4px;color:var(--navy)}.account-tile small{font-size:11px;color:#9ba6aa}.activity-list{display:flex;flex-direction:column;gap:12px}.activity-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eff2f1}.activity-item:last-child{border-bottom:0;padding-bottom:0}.mini-thumb{width:55px;height:55px;object-fit:cover;border-radius:10px;flex-shrink:0;background:#e4ecea}.activity-item .item-copy{flex:1;min-width:0}.item-copy strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-copy small{font-size:11px;color:#9ba4a9;display:block;margin-top:4px}.status{font-size:11px;white-space:nowrap;border-radius:25px;padding:5px 9px;display:inline-flex;align-items:center;gap:5px;background:#eff3f3;color:#768891;font-weight:750}.status.draft{background:#fff2e4;color:#af7b37}.status.planned{background:#e8f5f2;color:#2d9486}.status.published{background:#eaf0fb;color:#5e7cad}.hint{background:#ecf8f5;border:1px solid #d9efea;border-radius:13px;padding:15px 17px;color:#4b7e78;font-size:13px;line-height:1.9}.hint.warning{background:#fff9ec;border-color:#f6e7c9;color:#8c6b32}.hint.small{font-size:12px;padding:10px 14px}.empty{border:1px dashed #cadcd8;border-radius:16px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:38px 24px;background:#fcfdfc;color:#91a1a5}.empty-art{font-size:45px;opacity:.8;line-height:1;margin-bottom:13px}.empty h3{margin:0 0 7px;color:#43646d;font-size:17px}.empty p{max-width:380px;font-size:13px;line-height:1.8;margin:0 0 18px}.split-library{display:grid;grid-template-columns:300px minmax(0,1fr);gap:19px}.project-sidebar{padding:18px;align-self:start}.project-list{display:flex;flex-direction:column;gap:8px;margin-top:12px;max-height:65vh;overflow:auto}.project-btn{display:flex;align-items:center;gap:10px;text-align:right;background:#fff;border:1px solid #e9eded;border-radius:13px;width:100%;padding:12px;cursor:pointer;color:var(--navy)}.project-btn.selected{background:#eaf7f4;border-color:#bde2d9}.project-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#e8f4f1;font-size:20px}.project-name{display:block;font-weight:750;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-info{display:block;color:#95a5a6;font-size:11px;margin-top:5px}.project-btn .project-inner{min-width:0;flex:1}.library-main{min-width:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-bottom:16px}.toolbar h2{font-size:19px;margin:0;color:var(--navy)}.toolbar-sub{font-size:12px;color:#95a3a8;margin-top:6px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}.media-card{position:relative;background:#ebefee;border-radius:13px;aspect-ratio:1/1;overflow:hidden;border:2px solid transparent}.media-card img,.media-card video{width:100%;height:100%;object-fit:cover;display:block}.media-card .media-gradient{width:100%;height:100%;display:grid;place-items:center;font-size:30px}.media-card .media-tag{position:absolute;bottom:8px;right:8px;font-size:10px;padding:4px 7px;color:#fff;background:#0009;border-radius:7px}.media-card .media-delete{position:absolute;top:7px;left:7px;background:#fffdf4ed;color:#a34f4f;border:0;border-radius:8px;width:27px;height:27px;font-weight:800;display:none}.media-card:hover .media-delete{display:block}.media-card.selectable{cursor:pointer}.media-card.selected{border-color:#19a4a0}.media-card .selection-check{position:absolute;top:9px;right:9px;width:27px;height:27px;border-radius:8px;background:#fffefeee;color:#68908c;display:grid;place-items:center;font-size:18px;font-weight:800}.media-card.selected .selection-check{background:var(--teal);color:#fff}.dropzone{border:2px dashed #b7d9d5;background:#f9fdfc;border-radius:16px;padding:27px;text-align:center;margin-bottom:18px;color:#77918d}.dropzone.dragover{background:#e3f5f1;border-color:var(--teal)}.dropzone strong{display:block;color:#4e7577;margin-bottom:8px}.dropzone p{font-size:12px;margin:0 0 12px}.compose-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:21px;align-items:start}.compose-main,.compose-preview{min-width:0}.compose-main .panel,.compose-preview .panel{margin-bottom:17px}.step-heading{display:flex;gap:12px;align-items:center;margin-bottom:16px}.step-circle{width:29px;height:29px;border-radius:9px;background:#e8f7f4;color:var(--teal-dark);font-weight:900;display:grid;place-items:center;flex:none}.step-heading h2{font-size:17px;margin:0;color:var(--navy)}.step-heading small{color:#92a2a9;font-size:12px;display:block;margin-top:3px}.field-label{display:block;font-size:12px;font-weight:800;color:#69828d;margin-bottom:7px}.field,.textarea{background:#fcfdfd;border:1px solid #dfe9e7;border-radius:11px;color:var(--navy);width:100%;padding:11px 12px;outline:none;font-size:14px}.field:focus,.textarea:focus{border-color:#67b9b2;box-shadow:0 0 0 3px #2ba7a914}.textarea{min-height:166px;resize:vertical;line-height:1.85}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-wrap{margin-bottom:15px}.type-buttons,.tone-buttons{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #e0e9e7;border-radius:10px;background:#fff;color:#68818c;padding:9px 12px;font-size:13px;font-weight:700}.chip.active{border-color:#6fbfb8;background:#e6f6f2;color:#187e7d}.composer-medias{max-height:280px;overflow-y:auto}.selected-tray{display:flex;gap:8px;overflow-x:auto;padding:8px 0}.selected-thumb{border-radius:10px;width:76px;min-width:76px;position:relative;background:#f0f4f2;overflow:hidden}.selected-thumb img,.selected-thumb video{height:75px;width:100%;object-fit:cover;display:block}.selected-thumb .order-control{display:flex;justify-content:space-evenly;background:#fff}.order-control button{background:#fff;border:0;color:#52797b;font-weight:900;font-size:15px;padding:3px 5px}.account-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-choice{border:1px solid #e5eeec;background:#fff;border-radius:12px;padding:13px;display:flex;align-items:center;gap:10px;cursor:pointer}.account-choice.checked{background:#eff9f6;border-color:#55b9b0}.account-choice input{accent-color:#299c9a;height:17px;width:17px;cursor:pointer}.account-choice .social-icon{width:33px;height:33px;border-radius:10px;font-size:16px}.account-choice strong{font-size:12px;display:block}.account-choice small{font-size:10px;display:block;color:#9aaaaa;margin-top:3px}.suggestion{background:#f3f9f7;color:#537b7b;border-radius:10px;padding:10px 12px;margin:11px 0 0;font-size:12px}.platform-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.platform-heading h3{font-size:14px;color:var(--navy);margin:0}.platform-heading small{color:#a0aeb3}.compose-actions{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;position:sticky;bottom:10px;z-index:3;box-shadow:0 6px 28px #16384c0f}.compose-actions .saving-note{font-size:11px;color:#9babac;flex:1}.preview-phone{width:100%;max-width:327px;border:1px solid #e4e8e7;border-radius:19px;background:#fff;overflow:hidden;margin:0 auto;box-shadow:0 14px 29px #1a414612}.phone-top{display:flex;align-items:center;gap:9px;padding:13px;font-size:12px;font-weight:750}.phone-avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#75d0bd,#235b70);color:white;display:grid;place-items:center;font-size:15px}.phone-image{width:100%;aspect-ratio:1/1;object-fit:cover;background:#ecf0ed;display:block}.phone-media{aspect-ratio:1/1;overflow:hidden;background:#f0f3f0}.phone-media img,.phone-media video{width:100%;height:100%;object-fit:cover}.phone-placeholder{aspect-ratio:1/1;background:linear-gradient(135deg,#e2efeb,#e7ebe6);display:grid;place-items:center;color:#9bbab4;font-size:50px}.phone-body{padding:13px;font-size:12px;line-height:1.75;max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.preview-actions{padding:0 13px;font-size:19px;color:#577b85;letter-spacing:5px}.preview-count{font-size:11px;color:#849a9d;margin:0 13px 8px}.muted{color:#8b9ba3;font-size:13px}.calendar-controls{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 18px}.filter-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.filter-controls .field{width:auto;min-width:165px}.segmented{display:flex;gap:4px;background:#eff4f2;border-radius:11px;padding:4px}.segmented button{border:0;border-radius:8px;background:transparent;color:#68848e;padding:8px 12px;font-weight:700;font-size:12px}.segmented button.active{background:#fff;color:#177e80;box-shadow:0 2px 9px #0000000a}.month-title{font-size:19px;font-weight:800;color:var(--navy);min-width:150px;text-align:center}.month-nav{display:flex;gap:7px;align-items:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.calendar-weekday{font-size:12px;font-weight:800;background:#e9f4f1;color:#67818a;text-align:center;padding:12px 4px;border-left:1px solid #dbe8e5}.calendar-day{min-height:112px;border-left:1px solid #edf0ee;border-top:1px solid #edf0ee;padding:9px 8px;min-width:0}.calendar-day.outside{background:#f9faf9;color:#b2babb}.calendar-day.today{background:#f1faf8}.day-number{font-size:12px;font-weight:800;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%}.calendar-day.today .day-number{background:var(--teal);color:#fff}.cal-item{display:block;width:100%;text-align:right;border:0;background:#e8f5f2;color:#326f70;padding:5px 6px;margin-top:5px;font-size:10px;border-radius:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-item.events{background:#fff1e8;color:#aa714f}.cal-item.fb{background:#eaf0fb;color:#577ca3}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.week-day{min-height:230px;padding:12px 10px;border:1px solid #e5efea;background:#fff;border-radius:14px}.week-day h3{font-size:13px;text-align:center;margin:0 0 12px;color:var(--navy);border-bottom:1px solid #edf2f0;padding-bottom:10px}.week-item{margin:7px 0;padding:9px;border-radius:10px;background:#f1f7f6;font-size:12px;text-align:right;cursor:pointer;border:0;width:100%}.week-item small{display:block;color:#8a9da4;margin-top:5px}.post-list{display:flex;flex-direction:column;gap:11px}.post-row{background:white;border:1px solid var(--line);border-radius:13px;padding:13px;display:flex;align-items:center;gap:14px}.post-row-thumb{width:76px;height:76px;object-fit:cover;border-radius:10px;flex-shrink:0;background:#f0f2f1}.post-row-body{flex:1;min-width:0}.post-row-body strong{font-size:14px;display:block;color:var(--navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-row-body .meta{font-size:11px;color:#91a0a7;margin:7px 0}.post-row-actions{display:flex;gap:7px;flex-wrap:wrap}.feed-account-head{display:flex;gap:16px;align-items:center;padding:14px 0 22px}.feed-avatar{width:74px;height:74px;background:linear-gradient(135deg,#203f59,#4cb1a6);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:35px}.feed-name{font-size:21px;font-weight:800;color:var(--navy)}.feed-subtitle{font-size:13px;color:#91a0a4;margin-top:6px}.feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;max-width:825px;margin:0 auto}.feed-item{position:relative;aspect-ratio:1/1;background:#e8efec;overflow:hidden;cursor:pointer;border:0;padding:0}.feed-item img,.feed-item video{height:100%;width:100%;object-fit:cover}.feed-item .feed-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0007);color:#fff;padding:20px 10px 9px;font-size:11px;text-align:right;opacity:0;transition:opacity .2s}.feed-item:hover .feed-overlay{opacity:1}.feed-facebook{max-width:660px;display:flex;flex-direction:column;gap:15px;margin:auto}.fb-post{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.fb-post-head{padding:14px;display:flex;gap:11px;align-items:center}.fb-post-head strong{font-size:13px}.fb-post-head small{color:#a1afb2;display:block;font-size:11px}.fb-post-text{white-space:pre-wrap;line-height:1.8;font-size:13px;padding:0 16px 13px}.fb-post-media{width:100%;height:310px;object-fit:cover;background:#e9efec}.fb-post-foot{padding:13px;font-size:12px;color:#82949c}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-card h2{margin:0 0 10px}.settings-card p{font-size:13px;color:#7f9298;line-height:1.9}.setting-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.app-dialog{width:min(520px,calc(100vw - 26px));max-height:min(86vh,780px);border:1px solid #e8efed;border-radius:19px;box-shadow:0 22px 75px #183a5140;padding:0;color:var(--ink)}.app-dialog::backdrop{background:#172a37a1;backdrop-filter:blur(2px)}.dialog-inner{padding:25px}.dialog-inner h2{font-size:21px;color:var(--navy);margin:0 0 7px}.dialog-inner p{font-size:13px;line-height:1.8;color:#7c9197;margin:0 0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.dialog-close{float:left}.dialog-media{max-width:100%;max-height:330px;object-fit:contain;border-radius:12px;display:block;margin:10px auto 16px}.form-note{color:#a1aeae;font-size:11px;margin-top:5px}.text-limit{font-size:11px;color:#9faeb0;margin:6px 0}.mobile-overlay{position:fixed;inset:0;background:#1729346e;z-index:19}.mobile-overlay[hidden]{display:none}#toast{position:fixed;bottom:24px;left:24px;background:var(--navy);color:white;border-radius:12px;padding:13px 20px;box-shadow:0 9px 24px #001a3152;z-index:90;opacity:0;transform:translateY(20px);transition:.25s;pointer-events:none;font-size:13px;max-width:calc(100vw - 35px)}#toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1200px){.content{padding:31px 27px 55px}.topbar{padding:0 27px}.sidebar{width:230px;flex-basis:230px}.dashboard-columns{grid-template-columns:1fr}.hero{min-height:210px}.compose-layout{grid-template-columns:minmax(0,1.4fr) minmax(250px,.8fr)}.split-library{grid-template-columns:245px minmax(0,1fr)}}
@media(max-width:850px){.sidebar{position:fixed;right:-280px;top:0;bottom:0;width:266px;transition:right .25s;z-index:30}.sidebar.open{right:0}.menu-toggle{display:inline-grid}.topbar{height:76px;padding:0 18px}.topbar-kicker{display:none}.topbar-heading{font-size:16px}.local-pill{display:none}.content{padding:24px 17px 48px}.footer{padding:18px;flex-wrap:wrap}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-library{grid-template-columns:1fr}.project-sidebar{padding:15px}.project-list{max-height:none;flex-direction:row;overflow-x:auto;padding-bottom:4px}.project-btn{min-width:185px;width:185px}.compose-layout{grid-template-columns:1fr}.compose-preview{order:2}.compose-preview .panel{max-width:530px;margin:0 auto 15px}.week-days{overflow-x:auto;grid-template-columns:repeat(7,minmax(155px,1fr))}.week-day{min-height:180px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:580px){.topbar-left .btn-small{padding:10px 11px;font-size:12px}.topbar{gap:8px}.topbar-right{gap:9px}.page-header{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-header h1{font-size:24px}.hero{min-height:0;padding:30px 24px}.hero h1{font-size:27px}.hero-art{display:none}.stats-grid{gap:9px}.stat-card{padding:15px}.stat-value{font-size:25px}.stat-icon{width:37px;height:37px;font-size:20px}.panel{padding:17px}.account-grid{grid-template-columns:1fr 1fr;gap:9px}.account-tile{padding:10px;gap:7px}.account-tile .social-icon{height:29px;width:29px;font-size:15px}.account-tile strong{font-size:11px}.account-tile small{font-size:10px}.field-row{grid-template-columns:1fr}.account-select-grid{grid-template-columns:1fr 1fr}.account-choice{padding:9px;gap:7px}.account-choice .social-icon{width:28px;height:28px}.account-choice strong{font-size:11px}.account-choice small{font-size:9px}.compose-actions{position:static}.compose-actions .saving-note{flex-basis:100%}.calendar-day{min-height:75px;padding:5px 2px}.calendar-weekday{font-size:10px;padding:9px 2px}.cal-item{font-size:9px;padding:5px 3px}.month-title{font-size:15px;min-width:115px}.post-row{flex-wrap:wrap}.post-row-actions{width:100%}.post-row-thumb{width:65px;height:65px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* LinkedIn integration · v2 · independent of existing four profiles */
.social-icon.li{background:#e8f2fa;color:#0b6da8;font-size:16px;letter-spacing:-1px}
.social-icon.li-inline{display:inline-grid;width:25px;height:25px;min-width:25px;border-radius:6px;font-size:12px;vertical-align:middle;margin-left:5px}
.phone-avatar.li{background:#0a66c2;color:white;font-weight:900;font-size:12px}
.preview-target{margin:3px 0 15px;width:100%}
.linkedin-phone{border-radius:13px}
.linkedin-phone .phone-placeholder,.linkedin-phone .phone-media{aspect-ratio:1.55/1}
.linkedin-phone .preview-actions{font-size:12px;letter-spacing:0;color:#536a75;line-height:2.3}
.li-post-header .phone-avatar{border-radius:8px;flex-shrink:0}
.cal-item.li{background:#e7f1fc;color:#0a5d99}
.linkedin-feed{max-width:750px;margin:0 auto;display:flex;flex-direction:column;gap:18px}
.li-post{border:1px solid #e4e9eb;background:white;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px #001e2a08}
.li-post-header{display:flex;align-items:center;gap:12px;padding:16px 17px}
.li-post-header>div{flex:1}
.li-post-header strong{color:#24394e;font-size:14px;display:block}
.li-post-header small{color:#82929c;font-size:11px;display:block;margin-top:3px}
.li-post-caption{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;padding:5px 18px 17px;font-size:14px;color:#24384b}
.li-post-images{display:grid;grid-template-columns:1fr;background:#eef1f4;max-height:570px;position:relative}
.li-post-images.multi{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:170px;gap:3px}
.li-post-images>img,.li-post-images>video{width:100%;max-height:540px;object-fit:cover;min-height:0}
.li-more{position:absolute;left:12px;bottom:12px;background:#102d40d9;color:white;padding:9px 14px;border-radius:9px;font-size:12px}
.li-post-actions{padding:15px 19px;color:#6b8493;font-size:12px;border-top:1px solid #f0f2f3}
.approval-status{background:#eef7f5;color:#417877;font-size:12px;padding:11px 13px;margin-top:14px;border-radius:10px}
.account-grid>.account-tile:last-child:nth-child(odd){grid-column:span 2}
@media(max-width:580px){.li-post-images.multi{grid-auto-rows:130px}.li-post-header{flex-wrap:wrap}.li-post-header .btn{margin-right:auto}.account-grid>.account-tile:last-child:nth-child(odd){grid-column:span 2}}

.li-text-only{background:#eff6fd;color:#346b9d;padding:35px 12px;text-align:center;font-size:14px;font-weight:700}


/* גרסה 3 · פלטת פסטל חמה. עיצוב קיים, צבעים בלבד */
:root{
  --cream:#fbf6f1;--paper:#fffdfa;--ink:#594951;--navy:#6d505e;
  --muted:#97858b;--line:#eddfe1;--teal:#b77989;--teal-dark:#96616f;
  --teal-soft:#faedf0;--peach:#fff0e2;--sand:#f6e9df;
  --shadow:0 8px 28px rgba(116,72,82,.065);
}
body{background:var(--cream)}
.sidebar,.topbar,.panel,.stat-card,.account-tile,.fb-post,.post-row,.li-post{background:var(--paper)}
.brand-mark{box-shadow:0 8px 20px #a3778440}
.brand-text span{color:var(--teal)}
.nav-link{color:#786b75}
.nav-link:hover,.nav-link.active{background:#f8e8ea;color:var(--teal-dark)}
.sidebar-note,.local-pill{background:#faf0ed;border-color:#f0dddf;color:#926e77}
.note-led{background:#cb938f;box-shadow:0 0 0 3px #dfb4b22a}
.topbar{background:rgba(255,251,248,.96)}
.btn-primary{background:var(--teal);box-shadow:0 6px 15px #ba879029}
.btn-primary:hover{background:var(--teal-dark)}
.btn-outline{background:#fffcfa;border-color:#e8dadd;color:var(--navy)}
.btn-ghost{background:#f9eeed;color:var(--navy)}
.hero{background:linear-gradient(116deg,#80606b 0%,#ad7f88 55%,#cda490 100%)}
.hero .eyebrow{color:#fff2e8}.hero p{color:#fff1ed}.hero .btn{color:var(--navy);background:#fff8f1}
.stat-icon{background:#f9e8e8;color:#99677a}
.stat-icon.blue{background:#eee7f4;color:#86729b}
.stat-icon.peach{background:#fff0df;color:#b88260}
.stat-icon.purple{background:#f7e5f0;color:#9b728a}
.social-icon.ig{background:linear-gradient(130deg,#fae6dc,#f2deec);color:#ad7397}
.social-icon.fb{background:#e9e9f3;color:#777eaa}
.social-icon.li{background:#e6eef7;color:#276b9c}
.status{background:#f8efef;color:#9b7c83}
.status.draft{background:#fff0df;color:#a77d50}
.status.planned{background:#f6e7ea;color:#a86d83}
.status.published{background:#e9edf4;color:#647b9d}
.hint{background:#f9ecea;border-color:#ecdadd;color:#8d6773}
.hint.warning{background:#fff4e7;border-color:#f1e3d4;color:#9b7759}
.project-btn{background:#fffcfa;border-color:var(--line)}
.project-btn.selected{background:#f8e8ed;border-color:#e8c5ce}
.project-icon{background:#f9e7e3;color:#9f6a7c}
.dropzone{border-color:#e3bfc7;background:#fffaf7;color:var(--navy)}
.dropzone.dragging,.dropzone.dragover{background:#fbeceb}
.dropzone strong{color:#966875}
.media-card{background:#f3e9e7}.media-card.selected{outline-color:#bd8492}
.media-card .selection-check{color:#8e6f79}
.field,.textarea{background:#fffdfa;border-color:#e8d9dd;color:var(--ink)}
.field:focus,.textarea:focus{border-color:#bf8491;box-shadow:0 0 0 3px #be8d9724}
.field-label{color:#8d6f7d}
.account-choice{background:#fffdfa;border-color:#e9dce0}
.account-choice.checked{background:#f9ecef;border-color:#bd8795}
.account-choice input{accent-color:#b77989}
.account-choice small{color:#9f858d}
.calendar-day,.week-day{border-color:#eadde0}
.calendar-day.outside{background:#fcf8f5}
.calendar-day.today{background:#fff0e7}
.week-item{background:#fbeff0}
.cal-item.li{background:#e8eef9;color:#396b9f}
.approval-status{background:#f9eaed;color:#9a6678}
.li-text-only{background:#f6edf0;color:#926878}
.app-dialog{background:#fffcfa;border-color:#e8d3d8;box-shadow:0 22px 75px #674e5940}
.app-dialog::backdrop{background:#4a3c45a1}
.project-error{background:#fff0ee;border:1px solid #d69b9e;color:#922f49;border-radius:10px;padding:11px 13px;font-size:13px;line-height:1.6;margin:14px 0 0}
.project-error[hidden]{display:none}
#toast{background:#715260;z-index:2147483647}
#toast[data-kind="error"]{background:#973e59}
#toast[data-kind="success"]{background:#846170}


/* גרסה 4 | צבעי קשת פסטליים. שומרת על פריסת הגרסה הקודמת */
:root {
  --cream:#FBFAFC;--paper:#FFFFFF;--ink:#48445B;--navy:#5D536F;
  --muted:#827D91;--line:#EDE7F0;
  --teal:#796196;--teal-dark:#604979;--teal-soft:#F2EAF7;
  --peach:#FCE5D7;--sand:#FFF5E5;
  --shadow:0 9px 29px rgba(78,64,101,.065);
  --pastel-pink:#F8DDEB;--pastel-peach:#FFE2CF;
  --pastel-yellow:#FFF1C7;--pastel-mint:#DFF2E3;
  --pastel-blue:#D9EBFA;--pastel-lilac:#E9E0F8;
}
body {background:linear-gradient(145deg,#FDFBFC 0%,#FCF8FE 40%,#F9FCFF 100%)}
.sidebar {background:linear-gradient(180deg,#FDF9FF 0%,#FFFBFD 60%,#F9FCFF 100%);border-left-color:#EAE5F2}
.topbar {background:rgba(255,253,255,.96)}
.brand-mark {background:linear-gradient(135deg,#BE94C8,#9F9DD0,#8DBDD5);box-shadow:0 8px 20px #8B81B533}
.brand-text span {color:#8666A1}
.nav-link {color:#6D6580}
.nav-link:hover,.nav-link.active {background:#EFE5F7;color:#624D81}
.main-nav .nav-link:nth-child(2):hover,.main-nav .nav-link:nth-child(2).active {background:#FBE5ED;color:#965C82}
.main-nav .nav-link:nth-child(3):hover,.main-nav .nav-link:nth-child(3).active {background:#FFF1DF;color:#886447}
.main-nav .nav-link:nth-child(4):hover,.main-nav .nav-link:nth-child(4).active {background:#E1F2E6;color:#477A63}
.main-nav .nav-link:nth-child(5):hover,.main-nav .nav-link:nth-child(5).active {background:#E2EFFA;color:#486F95}
.main-nav .nav-link:nth-child(6):hover,.main-nav .nav-link:nth-child(6).active {background:#EAE5F8;color:#6C5591}
.sidebar-note,.local-pill {background:#F8F1FC;border-color:#EAE0F1;color:#78658B}
.note-led {background:#91CBB8;box-shadow:0 0 0 3px #C7E9DA}
.hero {background:linear-gradient(112deg,#F7D9E7 0%,#FFE4D1 23%,#FFF2CC 41%,#DFF3E4 61%,#DEECFA 80%,#EBE0FA 100%);border:1px solid #ECE7EE;box-shadow:0 15px 32px #7C708D12}
.hero::before {opacity:.16}
.hero h1,.hero .eyebrow,.hero p,.hero .hero-text {color:#4A455B}
.hero h1 {text-shadow:none}
.hero .eyebrow {color:#715683}
.hero p {color:#625B72}
.hero .btn {background:#FFFFFF;color:#604979;border:1px solid #E7DDEA;box-shadow:0 4px 12px #6C4E7520}
.stat-card:nth-child(1) .stat-icon{background:#F8E1ED;color:#96617D}
.stat-card:nth-child(2) .stat-icon{background:#E4EFFA;color:#5A7E9E}
.stat-card:nth-child(3) .stat-icon{background:#FFF0D8;color:#9B764E}
.stat-card:nth-child(4) .stat-icon{background:#EAE3F8;color:#816A9D}
.stat-icon{background:#F7E1EB}
.stat-icon.blue{background:#DBEDF9;color:#5C82A5}
.stat-icon.peach{background:#FFE9D3;color:#A27B51}
.stat-icon.purple{background:#E8E0FA;color:#806AA3}
.btn-primary{background:#77608E;color:#fff;box-shadow:0 6px 15px #8469982B}
.btn-primary:hover{background:#604A7B;color:#fff}
.btn-outline{background:#FFFEFF;border-color:#E8E0EE;color:#64537C}
.btn-ghost{background:#F4ECF8;color:#67577D}
.panel,.stat-card,.account-tile,.project-sidebar,.post-row,.fb-post,.li-post{background:#fff;border-color:#EEE8F1}
.panel{box-shadow:var(--shadow)}
.account-tile:nth-child(1){border-top:3px solid #E6B2D4}
.account-tile:nth-child(2){border-top:3px solid #C2B4E4}
.account-tile:nth-child(3){border-top:3px solid #B7DDC7}
.account-tile:nth-child(4){border-top:3px solid #F1D3A9}
.account-tile:nth-child(5){border-top:3px solid #B6D6EC}
.social-icon.ig{background:linear-gradient(135deg,#FCE1D9,#F5CFE9);color:#965B88}
.social-icon.fb{background:#E3ECFB;color:#5977A4}
.social-icon.li{background:#DDEDF8;color:#4D7398}
.project-btn.selected{background:#F3ECFB;border-color:#D6C2EA}
.project-icon{background:#F5E3F3;color:#9873AB}
.dropzone{background:linear-gradient(140deg,#FFF8F8,#FBF8FF);border-color:#D7C3E7}
.dropzone.dragging,.dropzone.dragover{background:#F1EBFA}
.dropzone strong{color:#74618A}
.media-card{background:#F5F0F8}.media-card.selected{outline-color:#AC90CA}
.field,.textarea{background:#FFFDFE;border-color:#E8E1EE;color:#4D485D}
.field:focus,.textarea:focus{border-color:#A78ABE;box-shadow:0 0 0 3px #E9DDF6}
.field-label{color:#746983}
.account-choice.checked{background:#F4EDFB;border-color:#B69DCA}
.account-choice input{accent-color:#8165A0}
.status.draft{background:#FFF1D7;color:#8B7045}
.status.planned{background:#E0F1E5;color:#4D8064}
.status.published{background:#E2EDFA;color:#53759C}
.hint {background:#F3ECF9;border-color:#E3D8EC;color:#6B567D}
.hint.warning{background:#FFF6DF;border-color:#F3E6C7;color:#796C4E}
.calendar-day.today{background:#FFF3D7}
.calendar-day.outside{background:#FAF9FC}
.cal-item.li{background:#E1EFF9;color:#476B91}
.week-item{background:#EEEAF9}
.approval-status{background:#E8F4EC;color:#557965}
.li-text-only{background:#F1EBF9;color:#705A89}
.app-dialog{background:#FFFDFF;border-color:#E3D6EC;box-shadow:0 22px 75px #53415E3B}
.app-dialog::backdrop{background:#453C5966}
#toast{background:#625176}
#toast[data-kind='error']{background:#964C70}
#toast[data-kind='success']{background:#567E6E}
.project-error{background:#FFF0F2;border-color:#E9B9C5;color:#953E65}
/* Gentle pastel rainbow strip on headers, without layout changes */
.topbar{border-top:4px solid transparent;border-image:linear-gradient(90deg,#F5C9E0,#FFE0BD,#FFF0BB,#CCEBD5,#C7E2F7,#E0D2F5) 1}
@media(max-width:580px){.hero{background:linear-gradient(132deg,#F9DDEB,#FFEDD5 33%,#DFF3E5 66%,#DCE9FC)}}

/* תיקון רוחב ספריית הפרויקטים במסכי טלפון */
@media(max-width:850px){
  .split-library{grid-template-columns:minmax(0,1fr);max-width:100%}
  .project-sidebar,.library-main{min-width:0;max-width:100%}
  .project-list{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}
  .toolbar,.dropzone{min-width:0;max-width:100%}
}

/* גרסה 5: קשת פסטלית חמה ונראית לעין, מבלי לשנות פריסה */
:root{--cream:#FFFCF9;--paper:#FFFEFC;--ink:#454353;--navy:#574E66;
 --muted:#7D788C;--line:#EAE4ED;--teal:#8665A1;--teal-dark:#6A4A87;
 --teal-soft:#F5EAFB;--pastel-pink:#F9D8E7;--pastel-peach:#FFE3CF;
 --pastel-yellow:#FFF1BB;--pastel-mint:#DCF2DC;--pastel-blue:#D5EBFC;--pastel-lilac:#E6D9FA;}
body{background:linear-gradient(155deg,#FFFBF7 0%,#FFF5F8 29%,#F8FBFF 64%,#FBF9FF 100%)}
.sidebar{background:linear-gradient(180deg,#FFF9FC 0%,#F9F6FF 45%,#F6FCFA 100%)}
.topbar{background:rgba(255,251,252,.96);border-bottom-color:#EDE5ED}
.hero{background:linear-gradient(115deg,#F8D5E4 0%,#FFE1CD 23%,#FFF1BB 43%,#DCF1DF 64%,#DAEBFC 82%,#E6D9FA 100%);color:#4B445A;border:1px solid #EEDCEA}
.hero .eyebrow,.hero p,.hero h1{color:#504459!important;text-shadow:none}
.hero .btn{background:#FFFFFF;color:#5C4778;box-shadow:0 3px 9px #856A9822}
.hero-art{color:#A67AAB;text-shadow:none}
.nav-link.active,.nav-link:hover{background:#E4F3E8;color:#5D5481}
.btn-primary{background:#8666A7;color:white;box-shadow:0 6px 17px #9073A52B}
.btn-primary:hover{background:#70518E}
.brand-mark{background:linear-gradient(135deg,#E8B1CE,#B7C8F2,#9FDCCF)}
.brand-text span{color:#8D629C}
.stat-card:nth-child(1){border-top:4px solid #E8B7D2}
.stat-card:nth-child(2){border-top:4px solid #B8D9F4}
.stat-card:nth-child(3){border-top:4px solid #FFE0AB}
.stat-card:nth-child(4){border-top:4px solid #BCE7CE}
.stat-icon{background:#FADDEB;color:#9C638A}
.stat-icon.blue{background:#DCEFFC;color:#477FA6}
.stat-icon.peach{background:#FFE3CA;color:#A36B4B}
.stat-icon.purple{background:#E3F2E4;color:#568A69}
.project-btn.selected{background:#E5F4EA;border-color:#B9DFC6}
.project-icon{background:#F9E0EB;color:#94618C}
.account-tile:nth-child(5n+1){background:#FFF1F6}
.account-tile:nth-child(5n+2){background:#F0F9FF}
.account-tile:nth-child(5n+3){background:#FFF8E8}
.account-tile:nth-child(5n+4){background:#EDF9F0}
.account-tile:nth-child(5n){background:#F5F0FF}
.account-tile:hover{border-color:#B5D8C6}
.hint{background:#F2F8F5;border-color:#D7E9E0;color:#536E65}
.field:focus,.textarea:focus{border-color:#AB8ED3;box-shadow:0 0 0 3px #BBA3DC36}
.field-label{color:#655974}
.dropzone{background:#F9FCFF;border-color:#C9DDEA}
.app-dialog{background:#FFFEFD;border-color:#E9E1EE}
.app-dialog::backdrop{background:#51456280}
.project-error{background:#FFF0F1;border-color:#D69CA6;color:#87384F}
#toast{background:#5E557D}
#toast[data-kind=success]{background:#547867}
#toast[data-kind=error]{background:#9E4F63}

/* Gallery controls for the selected media; original color palette unchanged. */
.fani-preview-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;color:var(--navy);font-size:12px;font-weight:700;background:#fff}
.fani-preview-controls button{background:var(--cream);color:var(--navy);border:1px solid var(--line);border-radius:9px;width:35px;height:32px;font-size:19px;cursor:pointer}
.fani-preview-thumbs{display:flex;gap:6px;padding:4px 10px 10px;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.fani-preview-thumbs button{border:2px solid transparent;border-radius:8px;padding:0;background:transparent;flex:0 0 42px;height:42px;overflow:hidden;cursor:pointer}
.fani-preview-thumbs button.active{border-color:var(--teal)}
.fani-preview-thumbs img,.fani-preview-thumbs video{width:100%;height:100%;object-fit:cover;display:block}
.fani-preview-thumbs .media-gradient{font-size:9px;display:grid;place-items:center;width:100%;height:100%}

/* v7: carousel position dots, deliberately scoped to composer preview. */
.fani-preview-dots{display:flex;align-items:center;justify-content:center;direction:ltr;gap:7px;min-height:26px;padding:7px 12px 5px;background:#fffdfa}
.fani-preview-dot{appearance:none;display:inline-block;flex:0 0 7px;width:7px;height:7px;min-width:7px;min-height:7px;border:0;border-radius:50%;padding:0;background:#d8d0db;opacity:.9;transition:background .15s ease,transform .15s ease;cursor:pointer}
.fani-preview-dot.active{background:#9981c0;opacity:1;transform:scale(1.35)}
.fani-preview-dot:focus-visible{outline:2px solid #6b568e;outline-offset:4px}
.fani-preview-ellipsis{color:#9b91a1;line-height:8px;font-size:13px;user-select:none}
@media(prefers-reduced-motion:reduce){.fani-preview-dot{transition:none}}

/* מיתוג תמונות · גרסה 8 · ללא שינוי בפלטת הקשת הפסטלית הקיימת */
.branding-page{max-width:1200px;margin:auto}
.branding-page>#brandProject{max-width:460px}
.brand-help-text{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:14px}
.brand-workspace{border:1px solid #ece0eb;border-radius:17px;background:linear-gradient(145deg,#fffafa,#fff9f4 65%,#f9fbff);padding:19px;margin:15px 0 0;color:var(--ink);min-width:0}
.brand-work-top{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}
.brand-work-top h3{font-size:18px;margin:0 0 6px;color:var(--navy)}
.brand-work-top p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}
.brand-count{font-size:11px;border:1px solid #e5d6e8;background:#f3e9fc;border-radius:99px;padding:7px 12px;color:#775a92;white-space:nowrap}
.brand-scope{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;margin:12px 0}
.brand-scope .field{max-width:320px}
.brand-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.brand-style{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8px;min-height:89px;background:#fff;border:1px solid #e9e0e9;border-radius:13px;padding:10px 6px;color:#74637d;text-align:center;font-size:11px;line-height:1.4;white-space:normal}
.brand-style:hover,.brand-style.active{background:#f4eafb;border-color:#b78ccf;color:#62497f}
.brand-style.active{box-shadow:0 0 0 2px #d4b3ed66}
.brand-style-icon{width:30px;height:30px;border:3px solid #f1cfdc;background:#fff;border-radius:4px;display:grid;place-items:center;color:#9c748c;box-shadow:0 2px 3px #7772}
.brand-style-icon.none{border:0;box-shadow:none;background:#f7eef5}
.brand-style-icon.shadow,.brand-style-icon.logo{box-shadow:4px 5px 5px #6f65704d}
.brand-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 19px;margin:15px 0}
.brand-control{display:block;min-width:0;font-size:12px;color:var(--navy);font-weight:650}
.brand-control>span{display:flex;justify-content:space-between;gap:8px;line-height:1.5}
.brand-control>span output{color:#9e739c;font-weight:700;white-space:nowrap}
.brand-control input[type=range]{width:100%;accent-color:#ab85b3;cursor:pointer;display:block;margin-top:9px}
.brand-color-control input[type=color]{width:100%;height:36px;border:1px solid #e0d5e4;border-radius:9px;background:#fff;padding:4px;margin-top:5px;cursor:pointer}
.brand-logo-controls{background:#fdf5fc;border:1px solid #eee0f0;border-radius:13px;padding:15px;margin-top:10px}
.brand-logo-controls #brandLogo{width:100%}
.brand-logo-actions{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0}
.brand-presets{display:grid;gap:12px;border-top:1px solid #eee3ea;border-bottom:1px solid #eee3ea;padding:17px 0;margin-top:14px}
.brand-presets>.btn-row{gap:7px}
.brand-presets #brandTemplate{width:100%}
.brand-preview-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);gap:14px;margin-top:20px}
.brand-preview-card{background:#fff;border:1px solid #e8dfe9;border-radius:14px;padding:12px;min-width:0;display:flex;flex-direction:column;align-items:center}
.brand-preview-title{font-size:12px;font-weight:700;color:#725b82;margin-bottom:11px}
.brand-preview-card .branding-canvas{display:block;max-width:100%;max-height:400px;object-fit:contain;border-radius:4px;box-shadow:0 4px 14px #4f445014}
.brand-preview-note{font-size:11px;color:#8e8290;text-align:center;margin:12px auto 3px;line-height:1.6}
.brand-export{border:1px solid #f0e7e0;background:#fffdf8;border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:12px;align-items:stretch}
.brand-export h4{margin:0;color:var(--navy);font-size:15px}
.brand-export p{margin:0;color:#8a8189;font-size:12px;line-height:1.7}
.brand-export .btn{white-space:normal;text-align:center}
.brand-photo-choices{display:flex;gap:7px;overflow:auto;padding:7px 0 10px;max-width:100%}
.brand-photo-choice{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px solid #f0e6ef;background:white;border-radius:10px;min-width:72px;max-width:72px;padding:4px}
.brand-photo-choice.active{border-color:#ab81be;background:#f4ebfb}
.brand-photo-choice button{border:none;padding:0;background:transparent;width:60px;height:57px;cursor:pointer;overflow:hidden;border-radius:7px}
.brand-photo-choice img,.brand-photo-choice video{width:100%;height:100%;object-fit:cover}
.brand-photo-choice label{font-size:11px;color:#786985;white-space:nowrap}
.brand-photo-choice input{accent-color:#ad86bd}
.brand-library-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:11px;margin:14px 0 22px}
.brand-library-tile{border:2px solid #eee5ee;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;gap:3px;padding:5px;background:#fff;position:relative;cursor:pointer;min-width:0}
.brand-library-tile.chosen{border-color:#ba95d3;background:#fcf5ff}
.brand-library-tile input{position:absolute;right:11px;top:11px;z-index:2;accent-color:#9d77b9;width:19px;height:19px}
.brand-library-tile img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px}
.brand-library-tile span{font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;direction:auto}
.brand-manage-row{display:flex;gap:10px;align-items:center;margin:7px 0;border-bottom:1px solid #f2e8ed;padding:8px 0;flex-wrap:wrap}
.brand-manage-row strong{flex:1;font-size:13px;min-width:80px;overflow-wrap:anywhere}
.brand-logo-thumb{height:49px;width:65px;display:grid;place-items:center;background:#fbf7f5;border-radius:7px;overflow:hidden}
.brand-logo-thumb img{max-width:100%;max-height:100%;object-fit:contain}
.phone-media .branding-canvas{width:100%;height:auto;max-height:500px;object-fit:contain;display:block;background:#faf8f8}
@media(max-width:1100px){.brand-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-preview-layout{grid-template-columns:1fr}.brand-controls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.brand-workspace{padding:11px}.brand-controls-grid{grid-template-columns:1fr;gap:15px}.brand-scope{grid-template-columns:1fr}.brand-preview-layout{grid-template-columns:1fr}.brand-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dialog-inner .selected-thumb .branding-canvas{width:110px;height:110px;object-fit:contain;background:#faf6f8}

/* Default logo library · version 9. Existing pastel visual language unchanged. */
.brand-library-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:11px 14px;background:#fff9f4;border:1px solid #efdfec;border-radius:12px;margin:12px 0;color:#755f7b;font-size:12px}
.brand-library-toolbar strong{color:#5d4572}
.brand-default-explainer{font-size:12px;line-height:1.7;color:#765f79;margin:8px 0 0}
.brand-default-label{background:#f3eaf7;color:#674f7c;border-radius:99px;padding:6px 10px;font-size:11px;white-space:nowrap}
@media(max-width:580px){.brand-library-toolbar{align-items:stretch;flex-direction:column}.brand-library-toolbar .btn-row{gap:5px}}

/* v13: preview remains in sight while editing, desktop and phone. */
.brand-editor-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.83fr);gap:18px;align-items:start;margin-top:12px;min-width:0}
.brand-editor-controls{min-width:0}
.brand-sticky-preview{position:sticky;top:16px;align-self:start;min-width:0;z-index:3}
.brand-sticky-preview .brand-preview-card{padding:13px;background:#fff;border:1px solid #e8dfe9;border-radius:14px;box-shadow:0 9px 24px #554a5914}
.brand-sticky-preview .branding-canvas{display:block;width:auto;max-width:100%;height:auto;max-height:min(57vh,540px);margin:auto;object-fit:contain}
.brand-template-hint{color:#837487;font-size:11px;line-height:1.6;margin:5px 0 0}
.brand-editor-controls .brand-export{margin-top:14px}
@media(max-width:1010px){
 .brand-editor-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);gap:12px}
 .brand-sticky-preview .branding-canvas{max-height:46vh}
}
@media(max-width:740px){
 .brand-editor-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .brand-sticky-preview{grid-row:1;top:4px;z-index:8;background:rgba(255,249,249,.97);padding:5px;border:1px solid #e9dfe7;border-radius:12px;box-shadow:0 6px 20px #554a591b}
 .brand-sticky-preview .brand-preview-card{padding:7px;box-shadow:none;border:none}
 .brand-sticky-preview .branding-canvas{max-height:min(27vh,220px);width:auto;max-width:100%}
 .brand-sticky-preview .brand-preview-title{font-size:11px;margin-bottom:4px}
 .brand-sticky-preview .brand-preview-note{margin:3px 0 0;font-size:10px}
 .brand-editor-controls{grid-row:2}
}

/* גרסה 14: הודעת שמירה עדינה ליד סביבת העבודה */
.workspace-savebar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;border:1px solid #dfd5e8;border-radius:15px;padding:12px 15px;margin:14px 0;background:#fbf8ff;color:#594965;font-size:13px}
.workspace-savebar [data-workspace-status]{font-weight:700}
.workspace-save-hint{color:#877e90;font-size:12px}
.workspace-savebar .btn{white-space:normal}
@media(max-width:700px){.workspace-savebar{gap:8px}.workspace-savebar .btn{width:100%}}

@media(max-width:580px){
  .topbar{height:auto;min-height:76px;padding-block:8px;flex-wrap:wrap}
  .topbar-right,.topbar-left{min-width:0;max-width:100%;flex-wrap:wrap}
  .topbar-left{flex-shrink:1}
  .topbar-heading{overflow-wrap:anywhere}
  .topbar .btn,.panel .btn,.toolbar .btn{max-width:100%;white-space:normal;text-align:center}
  .sidebar{overflow-y:auto;max-width:calc(100% - 32px)}
  .nav-link,.menu-toggle,.brand-export button{min-height:44px}
  .field,.brand-control input,.brand-control select{font-size:16px}
  .brand-control{font-size:13px}
}
#installBtn[hidden]{display:none}
