:root{
  --nav:#171c2d;--nav2:#21283d;--ink:#171b28;--muted:#7e8496;--line:#e8eaf1;
  --bg:#f6f7fb;--white:#fff;--purple:#7b3ee7;--purple2:#a53ddb;--pink:#e93aa9;
  --green:#2cc994;--yellow:#f5c544;--blue:#53b7f2;--lav:#b88af5;--danger:#e84c64;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
*{box-sizing:border-box}html,body{margin:0;width:100%;max-width:100%;overflow-x:hidden;background:var(--bg);color:var(--ink)}button,input,textarea,select{font:inherit}
button{cursor:pointer}.app{min-height:100vh}.hidden{display:none!important}
.login{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(180deg,#fff 0%,#fff 58%,#fdebf5 100%)}
.login-card{width:min(380px,100%);text-align:center}.fb-logo{width:96px;height:96px;border-radius:28px;margin:0 auto 18px;display:grid;place-items:center;background:linear-gradient(135deg,#ef9bd0,#7b59eb);color:#fff;font:700 50px Georgia;box-shadow:0 20px 45px rgba(123,89,235,.22)}
.login-card h1{margin:0;font-size:29px}.login-card p{margin:7px 0 26px;color:#8c8fa0}.login-card input{width:100%;height:48px;border:1px solid #ece7f2;border-radius:9px;padding:0 14px;background:#fff;margin:0 0 12px;outline:0}
.login-card input:focus{border-color:#9d76ed;box-shadow:0 0 0 3px #efe8ff}.primary{border:0;background:linear-gradient(135deg,#8b54ef,#692fda);color:#fff;font-weight:750;border-radius:9px;padding:11px 16px}
.login-card .primary{width:100%;height:48px}.login-demo{display:flex;gap:8px;margin-top:10px}.login-demo button{flex:1;border:1px solid #e7e0f5;background:#fff;color:#6e55a9;border-radius:9px;padding:9px}
.login-card small{display:block;margin-top:14px;color:#9966bd}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:238px;background:linear-gradient(180deg,#141929,#22293c);color:#fff;padding:17px 14px;z-index:40;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:11px;padding:3px 7px 20px}.brand .logo{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#ef94cc,#8058e8);font:700 23px Georgia}.brand strong{font-size:15px}.brand small{display:block;color:#aeb4c5;font-size:10px;margin-top:2px}
.nav-list{display:grid;gap:4px;overflow:auto;padding-right:2px}.nav-btn{border:0;background:transparent;color:#d8dce8;border-radius:9px;text-align:left;padding:11px 12px;display:flex;align-items:center;gap:10px;transition:.15s}
.nav-btn:hover{background:#ffffff0d}.nav-btn.active{background:linear-gradient(90deg,#6f38de,#c62bbb);color:#fff;box-shadow:0 7px 20px #6f38de2d}.nav-icon{width:20px;text-align:center}
.profile-card{margin-top:auto;padding:15px 8px 2px;border-top:1px solid #ffffff12;display:flex;gap:10px;align-items:center}.profile-edit-btn{width:100%;background:transparent;color:#fff;text-align:left;border-left:0;border-right:0;border-bottom:0;cursor:pointer}.profile-edit-btn:hover{background:#ffffff08}.avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#ddd;flex:0 0 auto}.profile-card b{display:block;font-size:11px}.profile-card small{color:#aeb4c5;font-size:9px}
.main{margin-left:238px;min-width:0}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;padding:0 20px;position:sticky;top:0;z-index:30}
.mobile-menu,.mobile-title{display:none}.searchbox{width:min(430px,48vw);height:40px;border:1px solid var(--line);border-radius:10px;background:#fafbfe;display:flex;align-items:center;gap:8px;padding:0 12px}.searchbox input{border:0;background:transparent;outline:0;width:100%}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px}.badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e83457;color:#fff;font-size:10px;display:grid;place-items:center;position:absolute;right:-5px;top:-5px}.bell{position:relative}
.page{padding:22px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:15px}.page-head h1{margin:0;font-size:27px}.page-head p{margin:5px 0 0;color:var(--muted);font-size:12px}
.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.ghost{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;color:#596074}.segmented{display:flex;border:1px solid var(--line);border-radius:9px;background:#fff;padding:3px}.segmented button{border:0;background:transparent;color:#767d8d;border-radius:7px;padding:7px 13px}.segmented button.active{background:linear-gradient(135deg,#7d4ade,#aa3ed6);color:#fff}
.stats{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin-bottom:13px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:11px 13px;display:flex;gap:9px;align-items:center}.stat-dot{width:9px;height:9px;border-radius:50%}.stat b{font-size:15px}.stat small{color:var(--muted)}
.calendar{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.weekday,.calgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calgrid>.day{min-width:0}.weekday div{text-align:center;font-size:10px;font-weight:800;color:#60677a;padding:10px;border-bottom:1px solid var(--line)}
.day{min-height:150px;padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;position:relative}.day:nth-child(7n){border-right:0}.day.out{background:#fafbfc;color:#babec8}.day:hover{background:#fcfbff}.daytop{display:flex;justify-content:space-between;font-size:10px;align-items:center}.daycount{font-size:8px;background:#f0eaff;color:#7042d9;padding:2px 6px;border-radius:999px}
.dayitems{max-height:116px;overflow:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:#bbaef0 #f3efff}.task-pill{display:block;width:100%;border:0;border-left:4px solid;text-align:left;border-radius:7px;padding:6px 7px;margin:5px 0}.task-pill b{font-size:9px;display:block;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.25}.task-pill small{font-size:8px;color:#646c7d}
.board{display:flex;gap:12px;overflow-x:auto;padding-bottom:12px}.column{min-width:270px;width:270px;border:1px solid var(--line);border-radius:12px;padding:9px;background:#f1f3f7}.column-head{display:flex;align-items:center;gap:7px;padding:4px 3px 10px}.column-head .count{margin-left:auto;background:#fff;border-radius:999px;padding:3px 8px;font-size:9px}.task-card{width:100%;background:#fff;border:1px solid var(--line);border-radius:9px;padding:11px;text-align:left;margin-bottom:8px}.task-card b{display:block;font-size:11px}.task-card .tag{display:inline-block;margin-top:6px;font-size:8px;border-radius:999px;padding:3px 7px;background:#eef8f6;color:#2d917e}.card-meta{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:8px;color:#7e8496}.avatar-stack{display:flex}.avatar-stack img{width:25px;height:25px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin-left:-6px}.avatar-stack img:first-child{margin-left:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px}.panel-head{padding:15px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-head h2{margin:0;font-size:16px}.panel-body{padding:16px}.grid-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.module-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:15px}.module-card h3{margin:0 0 5px;font-size:14px}.module-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.module-card .actions{margin-top:12px;display:flex;gap:7px;flex-wrap:wrap}
.status-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700}.ok{background:#e7faf3;color:#1b8a67}.warn{background:#fff3df;color:#a56a0f}.off{background:#f1f2f5;color:#7d8492}
.table{width:100%;border-collapse:collapse}.table th,.table td{padding:11px 10px;border-bottom:1px solid #eef0f4;text-align:left;font-size:10px}.table th{color:#7d8495;font-size:9px;text-transform:uppercase}.table tr:last-child td{border-bottom:0}.row-user{display:flex;align-items:center;gap:8px}.row-user img{width:32px;height:32px;border-radius:50%;object-fit:cover}.role-chip{padding:4px 8px;border-radius:999px;font-size:9px;background:#f0eaff;color:#6e42c8}.role-chip.user{background:#eef2f7;color:#616a79}
.drawer-back{position:fixed;inset:0;background:#10172666;z-index:70}.drawer{position:absolute;right:0;top:0;bottom:0;width:min(650px,100%);background:#fff;overflow:auto}.task-cover{padding:14px 16px 0}.task-cover img{width:100%;height:180px;object-fit:cover;border-radius:12px;display:block}.drawer-head{display:flex;align-items:center;gap:12px;padding:15px 16px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.drawer-head h2{margin:0;font-size:17px;flex:1}.close{border:1px solid var(--line);background:#fff;width:36px;height:36px;border-radius:9px}.drawer-tabs{display:flex;gap:20px;padding:0 16px;border-bottom:1px solid var(--line);position:sticky;top:67px;background:#fff;z-index:2}.drawer-tabs button{border:0;background:none;padding:12px 0;color:#777e90}.drawer-tabs button.active{color:var(--purple);font-weight:800;border-bottom:2px solid var(--purple)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{display:block;font-size:10px;font-weight:800;color:#596173;margin-bottom:10px}.field input,.field textarea,.field select{width:100%;margin-top:6px;border:1px solid #dfe2e9;border-radius:9px;padding:10px;background:#fff;outline:0}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#9272e8;box-shadow:0 0 0 3px #eee8ff}
.assignee-box{position:relative}.selected-users{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.user-chip{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 8px 4px 4px}.user-chip img{width:25px;height:25px;border-radius:50%;object-fit:cover}.user-chip button{border:0;background:none;color:#8a8f9d;padding:0}.suggestions{position:absolute;left:0;right:0;top:72px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 16px 40px #171b2818;z-index:5;overflow:hidden}.suggestion{width:100%;border:0;background:#fff;padding:9px 10px;display:flex;align-items:center;gap:8px;text-align:left}.suggestion:hover{background:#faf8ff}.suggestion img{width:30px;height:30px;border-radius:50%;object-fit:cover}
.modal-back{position:fixed;inset:0;background:#10172666;z-index:75;display:grid;place-items:center;padding:18px}.modal{width:min(560px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:15px}.profile-modal{width:min(500px,100%)}.profile-editor-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.profile-editor-head b{display:block}.profile-editor-head small{display:block;color:var(--muted);margin-top:2px}.profile-preview{width:70px;height:70px;border-radius:50%;object-fit:cover;border:3px solid #eee7ff;background:#eee}.autosave-note{font-size:10px;color:#1d8a68;background:#e9f9f3;border:1px solid #d5f1e6;border-radius:8px;padding:8px 10px;margin:8px 0 12px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid var(--line)}.modal-body{padding:17px}.actions{display:flex;gap:8px}.actions.right{justify-content:flex-end}.danger{border:0;background:#fee9ed;color:#bd334c;border-radius:8px;padding:9px 12px}.disabled{opacity:.48;cursor:not-allowed}
.bottom-nav,.fab,.mobile-search-btn{display:none}.mobile-agenda{display:none}.toast{position:fixed;right:18px;bottom:18px;background:#171c2d;color:#fff;padding:10px 14px;border-radius:9px;z-index:100;font-size:11px}
.project-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:16px;background:linear-gradient(135deg,#fff,#faf5ff);border:1px solid #ece6f6;border-radius:14px;padding:18px}.project-hero h2{margin:0 0 6px;font-size:22px}.project-hero p{margin:0;color:var(--muted);font-size:12px}.project-metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px}.project-metric b{font-size:22px;display:block}.project-metric small{color:var(--muted)}
.vault-secret{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.8px}.mini-actions{display:flex;gap:6px}.mini-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 8px;font-size:9px}
.empty{padding:28px;text-align:center;color:var(--muted)}.notice{border:1px solid #e8def9;background:#faf7ff;border-radius:10px;padding:12px;font-size:10px;color:#6f5b92}
@media(max-width:1100px){.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){
  body{background:#fff}.sidebar{display:none}.main{margin-left:0;padding-bottom:72px;width:100%;max-width:100%;overflow-x:hidden}.topbar{height:58px;padding:0 12px;justify-content:space-between;width:100%;max-width:100%;min-width:0}.mobile-menu{display:block;border:0;background:none;font-size:20px;width:36px;height:36px}.mobile-title{display:block;position:absolute;left:50%;transform:translateX(-50%);font-size:15px}.searchbox{display:none}.top-actions{margin-left:0;position:absolute;right:12px;top:9px}.top-actions .primary{display:none}.mobile-search-btn{display:inline-grid;place-items:center}.page{padding:0 13px 86px;width:100%;max-width:100%;overflow-x:hidden}.page-head,.stats{display:none}.desktop-calendar,.calendar-toolbar{display:none}.mobile-agenda{display:block}.mobile-month{display:flex;align-items:center;justify-content:space-between;padding:12px 0 6px}.mobile-month button{border:0;background:none;font-size:23px}.mobile-month b{text-transform:capitalize;font-size:14px}.mini-week{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid var(--line);padding-bottom:10px}.mini-week div{text-align:center;font-size:9px;color:#8a8f9c}.mini-week b{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;margin:5px auto 0;color:#303443}.mini-week b.today{background:var(--purple);color:#fff}.agenda-group{margin:14px 0}.agenda-title{font-size:10px;color:#858b9b;margin:0 0 5px}.agenda-card{width:100%;border:0;border-left:4px solid var(--accent);background:#fff;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;text-align:left;border-radius:8px;box-shadow:0 1px 0 #eceef3}.agenda-card+.agenda-card{margin-top:5px}.agenda-card b{display:block;font-size:11px}.agenda-card small{font-size:9px;color:#858c9d}.agenda-card img{width:28px;height:28px;border-radius:50%;object-fit:cover}.bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;height:68px;background:#fff;border-top:1px solid var(--line);z-index:45;justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav button{border:0;background:none;color:#7e8496;font-size:9px;min-width:0;flex:1}.bottom-nav button.active{color:var(--purple);font-weight:800}.fab{display:grid;place-items:center;position:fixed;right:18px;bottom:80px;width:50px;height:50px;border:0;border-radius:50%;background:var(--purple);color:#fff;font-size:22px;z-index:44}.board{padding-top:12px;scroll-snap-type:x mandatory}.column{min-width:calc(100vw - 26px);width:calc(100vw - 26px);scroll-snap-align:start}.grid-cards{grid-template-columns:1fr}.project-hero{grid-template-columns:1fr}.table-wrap{overflow-x:auto}.form-grid{grid-template-columns:1fr}.drawer{width:100%}.drawer-back{background:#fff}.drawer-head{height:58px}.drawer-tabs{top:58px;justify-content:space-around;gap:0}.drawer-tabs button{font-size:10px}.modal-back{align-items:end;padding:0}.modal{border-radius:16px 16px 0 0;width:100%}.panel{border-radius:10px}.page.mobile-pad{padding-top:12px}
}


/* Monthly Instagram-style preview: exactly three SQUARE columns */
.brand-circle{width:44px;height:44px;border-radius:50%;object-fit:cover;padding:0!important;background:transparent!important}
.login-circle{object-fit:cover;border-radius:50%!important;background:transparent!important}
.monthly-layout{max-width:1060px;margin:0 auto;background:#fff;border:1px solid #e9e9ef;border-radius:16px;overflow:hidden}
.monthly-profile{padding:26px 34px 0;background:white}
.monthly-username{font-size:21px;font-weight:800;margin:0 0 22px 26%;display:flex;align-items:center;gap:8px}
.verified{color:white;background:#229bea;border-radius:50%;width:18px;height:18px;display:inline-grid;place-items:center;font-size:11px}
.preview-label{font-size:10px;border:1px solid #e9e9ef;border-radius:20px;padding:5px 9px;color:#9298a4;font-weight:600;margin-left:auto}
.monthly-profile-main{display:grid;grid-template-columns:25% 1fr;gap:16px;align-items:start}
.instagram-avatar{width:min(205px,100%);aspect-ratio:1;border-radius:50%;padding:5px;background:linear-gradient(45deg,#ffd64f,#fc256e,#ab2fe7)}
.instagram-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:5px solid #fff}
.monthly-numbers{display:flex;justify-content:space-between;margin-bottom:17px;max-width:520px;gap:10px}.monthly-numbers div{display:flex;flex-direction:column;gap:2px}.monthly-numbers strong{font-size:20px}.monthly-numbers span{font-size:12px;color:#596073}
.monthly-profile-data>b{font-size:15px}.monthly-bio{font-size:13px;line-height:1.65;margin-top:7px}.monthly-link{font-size:12px;color:#376ab3;font-weight:650}
.editoria-highlights{display:flex;gap:24px;overflow-x:auto;padding:28px 0 22px;margin:0}.highlight{text-align:center;flex:0 0 84px}.highlight-ring{width:75px;height:75px;border-radius:50%;padding:3px;background:#656b77;margin:0 auto 7px}.highlight-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid white}.highlight span{font-size:11px}
.instagram-tabs{display:flex;justify-content:space-around;border-top:1px solid #e9e9ef;height:49px;align-items:center;color:#8c91a0;font-size:23px}.instagram-tabs b{color:#7b3ee7;border-top:2px solid #7b3ee7;align-self:stretch;display:flex;align-items:center}
.monthly-controls{max-width:1060px;margin:0 auto 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.monthly-controls>span,.monthly-posts-head span{color:#818798;font-size:11px}
.monthly-current{display:flex;align-items:center;gap:8px}.monthly-current b{text-transform:capitalize;font-size:14px}.monthly-current button{font-size:14px}
.monthly-posts-head{display:flex;justify-content:space-between;gap:10px;padding:16px 15px 11px;align-items:center}.monthly-posts-head strong{font-size:14px}
.monthly-feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0 5px 5px}
.monthly-slot{min-width:0;background:#fff;position:relative;border:1px solid #eeeef4;border-radius:5px;overflow:hidden}
.monthly-image-button{width:100%;aspect-ratio:1/1;display:block;position:relative;border:0;padding:0;overflow:hidden;background:linear-gradient(135deg,#ffe1ea,#ead5f4)}
.monthly-image-button img{width:100%;height:100%;object-fit:cover;display:block}
.monthly-overlay{position:absolute;bottom:0;left:0;right:0;padding:26px 10px 10px;background:linear-gradient(transparent,#17121b99);color:#fff;font-size:12px;text-align:left}.monthly-overlay b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.monthly-date{position:absolute;top:8px;left:8px;background:#ffffffea;border-radius:7px;padding:5px 7px;font-weight:800;font-size:11px;color:#262637;z-index:1}
.monthly-meta{min-height:36px;display:flex;gap:5px;align-items:center;padding:5px 7px;justify-content:space-between}.monthly-editoria{font-size:10px;padding:4px 7px;border-radius:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}.monthly-meta small{font-size:9px;color:#757c8d}.monthly-meta button{border:0;background:none;color:#7642dd;font-size:15px;padding:0 3px}
.monthly-placeholder{position:absolute;inset:0;background:#faf6fbcc;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:28px;color:#a390ad}.monthly-placeholder small{font-size:11px}
.monthly-footer-note{font-size:11px;color:#80899a;padding:14px 12px}.monthly-slot[draggable=true]{cursor:grab}.monthly-slot[draggable=true]:active{cursor:grabbing}
.mini-week .mini-day{width:32px;height:32px;border:0;border-radius:50%;display:grid;place-items:center;margin:5px auto 0;color:#303443;background:transparent;font-size:11px}.mini-week .mini-day.today{background:var(--purple);color:#fff}
.agenda-hint{color:#9599a6;font-size:10px;margin:8px 0 18px}
@media(max-width:860px){
 .monthly-layout{border:0;border-radius:0;margin:0 -13px;max-width:none}
 .monthly-controls{padding:12px 0 6px;justify-content:center}.monthly-controls>span{width:100%;text-align:center}
 .monthly-profile{padding:15px 15px 0}.monthly-username{font-size:14px;margin:0 0 13px}
 .monthly-profile-main{grid-template-columns:95px 1fr;gap:13px}.instagram-avatar{width:90px}
 .monthly-numbers{margin-bottom:9px;gap:5px}.monthly-numbers strong{font-size:12px}.monthly-numbers span{font-size:9px}
 .monthly-profile-data>b{font-size:11px}.monthly-bio{font-size:10px;line-height:1.45}.monthly-link{font-size:10px}
 .editoria-highlights{gap:10px;padding:16px 0}.highlight{flex-basis:62px}.highlight-ring{width:56px;height:56px}.highlight span{font-size:9px}
 .monthly-posts-head{padding:11px 9px}.monthly-posts-head strong{font-size:11px}.monthly-posts-head span{font-size:9px}
 .monthly-feed-grid{gap:2px;padding:0 2px 2px}.monthly-meta{padding:3px 3px;min-height:29px}.monthly-meta small{display:none}.monthly-editoria{font-size:8px;max-width:85%}.monthly-date{font-size:9px;top:3px;left:3px;padding:3px}
 .monthly-overlay{font-size:9px;padding:15px 4px 4px}.monthly-footer-note{padding-bottom:90px}
}

.monthly-profile-data{min-width:0}
.monthly-current{min-width:0}
@media(max-width:860px){
.monthly-controls>span{max-width:100%;overflow-wrap:anywhere}
.monthly-profile{overflow:hidden}
.monthly-profile-main{grid-template-columns:90px minmax(0,1fr);width:100%}
.monthly-numbers{width:100%;min-width:0;gap:1px}
.monthly-numbers div{min-width:0;flex:1;align-items:center;text-align:center}
.monthly-numbers strong{font-size:11px;white-space:nowrap}
.monthly-numbers span{font-size:8px}
.monthly-profile-data{min-width:0;width:100%}
.monthly-posts-head{min-width:0}.monthly-posts-head span{max-width:50%;text-align:right;overflow-wrap:anywhere}
.monthly-meta button{font-size:12px}
.agenda-hint{display:flex;justify-content:space-between;align-items:center;gap:4px}
.agenda-hint button{border:0;background:#f8f4ff;color:#6f39d1;font-size:9px;border-radius:8px;padding:6px 8px}
.agenda-hint span{font-size:9px}
}

.calgrid.week-layout{grid-template-columns:repeat(7,minmax(0,1fr))}
.calgrid.week-layout .day{min-height:420px}
.calgrid.week-layout .dayitems{max-height:380px}
.calgrid.day-layout{grid-template-columns:1fr}
.calgrid.day-layout .day{min-height:460px}
.calgrid.day-layout .dayitems{max-height:600px}
.calgrid.day-layout .task-pill{padding:15px;font-size:14px}
.calgrid.day-layout .task-pill b{font-size:13px}
.calgrid.day-layout .task-pill small{font-size:11px}

/* Suporte flutuante */
#support-root.hidden{display:none!important}
.sup-fab{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(20px,calc(env(safe-area-inset-bottom) + 12px));width:44px;height:44px;border-radius:50%;border:0;background:linear-gradient(135deg,#8b54ef,#692fda);color:#fff;font-size:20px;font-weight:700;opacity:.55;transition:opacity .15s;z-index:60;box-shadow:0 6px 18px #692fda40}
.sup-fab:hover,.sup-fab:focus-visible,.sup-fab:active,.sup-fab[aria-expanded=true]{opacity:1;outline:0}.sup-fab:focus-visible{box-shadow:0 0 0 3px #efe8ff,0 0 0 5px #7b3ee7}
.sup-menu{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(72px,calc(env(safe-area-inset-bottom) + 64px));background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;display:grid;min-width:200px;z-index:61;box-shadow:0 12px 30px #171c2d26}
.sup-menu>*{border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:8px;color:var(--ink);font-size:13px;text-decoration:none}.sup-menu>*:hover,.sup-menu>*:focus-visible{background:#f1ebfd;outline:0}
.sup-back{position:fixed;inset:0;background:#10172666;z-index:80;display:grid;place-items:center;padding:18px}.sup-back.hidden{display:none}
.sup-res{z-index:95}.sup-acts{display:flex;gap:8px;flex-wrap:wrap}.sup-acts button{flex:1 1 auto}.sup-no textarea{width:100%}
.sup-modal{width:min(480px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:15px}
.sup-seg{margin-bottom:12px;width:max-content}.sup-modal .field textarea{width:100%;margin-top:6px;border:1px solid #dfe2e9;border-radius:9px;padding:10px;outline:0}.sup-modal .field textarea:focus{border-color:#9d76ed;box-shadow:0 0 0 3px #efe8ff}
.sup-hint{display:block;margin-top:4px;color:var(--muted);font-weight:400}.sup-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.sup-th{position:relative}.sup-th img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.sup-th button{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;border:0;background:var(--danger);color:#fff;font-size:12px;line-height:1;padding:0}.sup-err{color:var(--danger);font-size:12px;margin:0 0 8px}
@media(max-width:860px){.sup-fab{bottom:calc(env(safe-area-inset-bottom) + 142px)}.sup-menu{bottom:calc(env(safe-area-inset-bottom) + 194px)}}.editorias-settings{margin-top:14px}.editorias-new{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:15px 0}.editorias-new .field{flex:1;min-width:130px}.editorias-new input[type=color],.editorias-row input[type=color]{width:56px;height:38px;padding:3px}.editorias-list{display:grid;gap:8px}.editorias-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.editorias-row b{flex:1;min-width:90px}.editorias-dot{width:18px;height:18px;border-radius:50%;flex:0 0 18px}
.fp-edit{margin-left:auto;font-size:12px;padding:6px 12px}.fp-avatar-row,.fp-hl{display:flex;align-items:center;gap:10px;margin:8px 0}.fp-thumb{width:56px;height:56px;flex:0 0 56px;overflow:hidden;background:#eee}.fp-thumb.round{border-radius:50%}.fp-thumb img{width:100%;height:100%;object-fit:cover}.fp-file{cursor:pointer;font-size:12px;padding:8px 12px}.fp-hl-name{flex:1;min-width:0}.fp-highlights{margin-bottom:10px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.fb-logo.logo-wide{width:min(240px,70%);height:auto;border-radius:0;background:none;box-shadow:none;display:block;margin:0 auto 14px}.brand .logo.logo-wide{width:min(184px,100%);height:auto;border-radius:0;background:none;display:block;object-fit:contain}.sidebar .brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 10px 25px;text-align:center;flex-shrink:0}.sidebar .brand>div{width:100%}.sidebar .brand small{font-size:11px;line-height:1.4;color:#bfc1dd;margin:0;letter-spacing:.12px}.login .fb-logo.logo-wide{width:min(244px,80%);max-height:120px;object-fit:contain;margin-bottom:12px}.login-card>p{margin:4px 0 27px;color:#8990a4}.login-card .primary{background:linear-gradient(100deg,#8f4eef,#6d2fe0)}
button:active:not(:disabled){transform:scale(.97);filter:brightness(.94)}button:disabled{opacity:.65;cursor:wait}
button.is-busy::after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:btnspin .7s linear infinite}@keyframes btnspin{to{transform:rotate(360deg)}}
.check-row{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:14px;font-weight:600}.check-row input{width:18px;height:18px;flex:0 0 18px}
@media(max-width:860px){.app.menu-open .sidebar{display:flex;width:min(290px,84vw);z-index:90;overflow-y:auto;box-shadow:0 0 40px rgba(0,0,0,.35)}.menu-back{position:fixed;inset:0;background:rgba(16,23,38,.45);z-index:80}.mobile-menu{display:block!important}}
.pass-wrap{position:relative;width:100%}.pass-wrap input{width:100%;padding-right:46px}.pass-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:none;font-size:18px;line-height:1;padding:8px;cursor:pointer}.pass-eye:active:not(:disabled){transform:translateY(-50%) scale(.92)}
.logout-side{display:none}.logout-top{margin-left:8px}@media(max-width:860px){.logout-top{display:none}.app.menu-open .logout-side{display:block;margin:0 14px 10px;color:#fff;border-color:rgba(255,255,255,.35);background:transparent}}
.ia-plus-menu[hidden]{display:none!important}.ia-plus-menu{position:fixed;right:20px;bottom:calc(env(safe-area-inset-bottom) + 142px);z-index:10020;display:flex;flex-direction:column;gap:6px;min-width:186px;background:#fff;border:1px solid #e5e7ef;border-radius:14px;padding:8px;box-shadow:0 12px 34px #16152a38}.ia-plus-menu button{padding:12px 14px;border:0;background:transparent;border-radius:9px;text-align:left;color:#241c39;font-weight:650;cursor:pointer}.ia-plus-menu button:hover{background:#f3edff}@media(min-width:861px){.ia-plus-menu{top:72px;bottom:auto;right:24px}}

/* IA preview: layout consistente em desktop e mobile */
.ia-modal{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:min(92dvh,900px);display:flex;flex-direction:column;overflow:hidden}
.ia-modal .modal-body{overflow-y:auto;min-height:0;padding:22px}
.ia-modal .ia-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;min-width:0}
.ia-modal .ia-preview>label{display:flex;flex-direction:column;min-width:0;width:100%;gap:7px;font-size:13px;font-weight:650;color:#555e70;line-height:1.35}
.ia-modal .ia-preview>label:nth-child(1),.ia-modal .ia-preview>label:nth-child(2),.ia-modal .ia-preview>label:has(#aiImage),.ia-modal .ia-preview>label:has(#aiFeed){grid-column:1/-1}
.ia-modal .ia-preview input:not([type=checkbox]),.ia-modal .ia-preview select,.ia-modal .ia-preview textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:11px 12px;border:1px solid #dfe2e9;border-radius:9px;font-size:15px;background:#fff;color:#1e2430;line-height:1.5}
.ia-modal .ia-preview textarea{resize:vertical;min-height:100px}
.ia-modal .ia-preview select[multiple]{min-height:108px}
.ia-modal .ia-preview input[type=file]{font-size:13px;overflow:hidden}
.ia-modal .ia-preview .check-row{flex-direction:row;align-items:center;font-size:14px}
.ia-modal .actions.right{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}
@media(max-width:600px){.ia-modal{position:relative;width:100%;max-width:100%;height:auto;max-height:calc(100dvh - env(safe-area-inset-top) - 16px);border-radius:20px 20px 0 0;margin-top:auto}.ia-modal .modal-body{padding:18px 18px calc(env(safe-area-inset-bottom) + 20px)}.ia-modal .ia-preview{grid-template-columns:minmax(0,1fr);gap:14px}.ia-modal .ia-preview>label{grid-column:1/-1}.ia-modal .actions.right>button{flex:1 1 auto;min-height:46px}}

/* Seletor de perfis no mesmo topo, imediatamente antes das notificações. */
.content-profile-control{position:relative;flex:none;z-index:45}
.content-profile-btn{display:flex;gap:8px;align-items:center;background:#f6f5fb;border:1px solid #e6e3f0;border-radius:12px;padding:6px 10px;cursor:pointer;max-width:230px;color:#29233a;font-weight:700}
.content-profile-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.content-avatar{width:27px;height:27px;min-width:27px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:white;font-weight:700;overflow:hidden}
.content-avatar img{width:100%;height:100%;object-fit:cover}
.content-profile-popover{position:absolute;top:calc(100% + 7px);right:0;width:235px;max-width:calc(100vw - 24px);border-radius:13px;border:1px solid #e4dfed;background:white;box-shadow:0 12px 30px #14112d25;padding:7px;z-index:90}
.content-profile-popover[hidden]{display:none!important}
.content-profile-popover button{width:100%;border:0;background:transparent;padding:9px;display:flex;align-items:center;gap:10px;border-radius:8px;text-align:left;color:#25233a;cursor:pointer}
.content-profile-popover button:hover{background:#f5efff}
.profile-create-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:12px 0}
.profile-create-row label{display:flex;flex:1;min-width:130px;flex-direction:column;gap:5px;font-size:12px}
.profile-create-row input{max-width:100%}
.content-profile-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px;border-bottom:1px solid #eee}
.content-profile-row small{color:#7442b4}
@media(max-width:860px){.content-profile-btn{padding:4px 6px;gap:4px;max-width:156px}.content-profile-name{max-width:94px;font-size:10px}.content-avatar{width:22px;height:22px;min-width:22px}.content-profile-control{margin-left:auto}.content-profile-popover{right:-40px}}

.content-profile-settings{margin-top:18px}
.content-profile-settings .panel-body{padding:22px}
.content-profile-settings .profile-create-row{display:grid;grid-template-columns:170px minmax(180px,1fr) 160px auto auto;align-items:end;gap:18px;padding:18px;background:#faf9fd;border:1px solid #ece7f4;border-radius:16px}
.profile-upload label{display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;font-size:12px;text-align:center;color:#5e537c}
.profile-upload .content-avatar{width:68px;height:68px;font-size:30px}
.profile-upload input[type=file]{max-width:155px;font-size:11px}
.profile-upload small{font-size:10px;color:#867b9a}
.content-profile-settings .profile-create-row>label{font-size:12px;font-weight:700}
.content-profile-settings .content-profile-row{padding:14px 4px}
.content-profile-settings .content-profile-row .actions{margin-left:auto}
.content-profile-settings .content-avatar{width:39px;height:39px;min-width:39px}
.content-profile-settings .content-avatar img{width:100%;height:100%;object-fit:cover}
.notif-company{font-weight:700;color:#7738b8}
.monthly-blank-avatar{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:100%;background:#eeeaf4;color:#978caa;font-size:32px}
@media(max-width:1050px){.content-profile-settings .profile-create-row{grid-template-columns:1fr 1fr}.content-profile-settings .profile-create-row .profile-upload{grid-column:1/-1}}
@media(max-width:600px){.content-profile-settings .profile-create-row{grid-template-columns:1fr}.content-profile-settings .profile-create-row .profile-upload{grid-column:auto}.content-profile-settings .content-profile-row{gap:8px}.content-profile-settings .content-profile-row .actions{width:100%;justify-content:flex-end}}

/* Perfis de Conteúdo — tabela fiel à referência */
.content-profile-settings .panel-body{padding:20px}
.content-profile-section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.content-profile-section-title h3{margin:0 0 6px;font-size:19px;color:#1b1932}
.content-profile-section-title p{margin:0;font-size:12px}
.profile-table-wrap{overflow-x:auto;border:1px solid #ebe7f2;border-radius:12px}
.profile-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.profile-table th{background:#f7f5fa;color:#4b455b;font-weight:600;padding:11px 13px;white-space:nowrap;border-bottom:1px solid #e9e5ef}
.profile-table td{padding:11px 13px;border-bottom:1px solid #eeeaf2;vertical-align:middle}
.profile-table tr:last-child td{border-bottom:0}
.profile-table .content-avatar{width:43px;height:43px;min-width:43px;font-size:14px}
.profile-table .content-avatar img{object-fit:cover}
.profile-color-dot{display:inline-block;width:20px;height:20px;border-radius:50%;box-shadow:0 1px 3px #0002}
.profile-status{display:inline-block;border-radius:20px;background:#ddf6e9;color:#218359;font-weight:600;padding:5px 12px}
.profile-status.inactive{background:#f3e6e6;color:#9c4d4d}
.profile-radio{width:22px;height:22px;border-radius:50%;border:1.5px solid #b8b4c8;background:white;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:white}
.profile-radio.selected{background:#7c20e2;border-color:#7c20e2;cursor:default}
.profile-action-icons{display:flex;gap:9px;align-items:center}
.profile-action-icons .ghost,.profile-action-icons .danger{border:0;background:transparent;font-size:20px;line-height:1;cursor:pointer;padding:5px}
.profile-action-icons .danger{color:#dc5270}
.profile-editor{margin-top:14px;border:1px solid #ebe7f2;border-radius:12px}
.profile-editor summary{padding:13px 16px;cursor:pointer;color:#7923d4;font-weight:700;font-size:13px}
.profile-editor .profile-create-row{margin:0;border:0;border-top:1px solid #eee;border-radius:0}
@media(max-width:700px){.profile-table-wrap{overflow:visible;border:0}.profile-table thead{display:none}.profile-table,.profile-table tbody,.profile-table tr,.profile-table td{display:block;width:100%}.profile-table tr{display:grid;grid-template-columns:65px 1fr 1fr;gap:6px;margin-bottom:11px;border:1px solid #eee8f3;border-radius:12px;padding:12px;background:white}.profile-table td{padding:3px;border:0;min-width:0}.profile-table td::before{content:attr(data-label);display:block;color:#8c8299;font-size:10px;margin-bottom:2px}.profile-table td:nth-child(1){grid-row:span 2}.profile-table td:nth-child(2){grid-column:2/4}.profile-table td:nth-child(3){grid-column:2/4}.profile-table td:nth-child(7){grid-column:2/4}.profile-action-icons{justify-content:flex-end}.profile-table .content-avatar{width:46px;height:46px;min-width:46px}}

.ai-responsibles{border:1px solid #e3deed;border-radius:12px;padding:12px;display:flex;flex-wrap:wrap;gap:8px 14px;max-height:180px;overflow:auto}
.ai-responsibles legend{font-weight:650;font-size:13px;padding:0 5px}
.ai-responsible{display:flex!important;align-items:center;gap:8px;padding:7px 10px;border-radius:9px;background:#f7f5fc;cursor:pointer;width:auto!important;min-width:135px}
.ai-responsible input{width:17px!important;height:17px!important;margin:0;accent-color:#7935dd}
.ai-responsible span{font-size:13px}

.ai-responsibles{display:flex;flex-direction:column;flex-wrap:nowrap;gap:2px;padding:8px;max-height:240px;overflow-y:auto}
.ai-responsible{display:flex!important;flex-direction:row!important;align-items:center;gap:11px;width:100%!important;min-width:0!important;padding:8px 10px;background:transparent;border-radius:9px}
.ai-responsible:hover,.ai-responsible:has(input:checked){background:#f2edfb}
.ai-responsible-photo{display:inline-flex;width:34px;height:34px;min-width:34px;border-radius:50%;overflow:hidden;align-items:center;justify-content:center;background:#ece6f4}
.ai-responsible-photo img{width:34px;height:34px;object-fit:cover;border-radius:50%;display:block}
.ai-responsible-name{flex:1;font-size:13px;font-weight:550}
.ai-responsible input{order:3;margin-left:auto!important;flex-shrink:0}

.ai-batch-list{display:grid;gap:12px;max-height:50vh;overflow-y:auto;margin:12px 0;padding:2px 5px}
.ai-batch-item{padding:14px;border:1px solid #e9e3f2;border-radius:12px;display:grid;gap:9px;background:#faf9fd}
.ai-batch-item>strong{color:#6e31c8}
.ai-batch-item label{display:grid;gap:5px;font-size:12px;font-weight:600}
.ai-batch-item input,.ai-batch-item textarea{width:100%;min-width:0;font-size:13px}
.ai-batch-item textarea{min-height:58px}
.ia-preview>.assignee-box,.ia-modal .assignee-box{margin:12px 0}

/* Alinhamento preciso da moldura circular do perfil mensal */
.instagram-avatar{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;width:min(205px,100%);height:auto;min-width:0;flex:none;border-radius:50%;padding:5px;overflow:hidden;background:conic-gradient(from 210deg,#ffbd52,#ff604f,#ee2795,#ad32dc,#ffbd52);isolation:isolate}
.instagram-avatar img{display:block;width:100%;height:100%;min-width:0;aspect-ratio:1/1;object-fit:cover;object-position:center;border:4px solid #fff;border-radius:50%;margin:0;box-sizing:border-box;flex:none}
@media(max-width:860px){.instagram-avatar{width:90px;max-width:90px;height:90px;padding:3px}.instagram-avatar img{border-width:3px}}

/* Campos da revisão em lote: padrão visual Persi Flow */
.ia-batch-list .ai-batch-item input,.ia-batch-list .ai-batch-item textarea,.ai-batch-item input,.ai-batch-item textarea{appearance:none;-webkit-appearance:none;box-sizing:border-box;border:1px solid #dfe2e9!important;border-radius:9px!important;background:#fff;color:var(--ink);padding:10px 12px;outline:0;font:inherit;line-height:1.45;box-shadow:none;max-width:100%}
.ai-batch-item input:focus,.ai-batch-item textarea:focus{border-color:#9272e8!important;box-shadow:0 0 0 3px #eee8ff!important}
.ai-batch-item textarea{resize:vertical;min-height:65px}
.ai-batch-item label{color:#596173}
/* Persi Solutions attribution: integrated brand lockup */
.login-powered{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:0;background:#332943;border-radius:25px;padding:6px 10px;color:#fff;z-index:3;white-space:nowrap;font-size:10px;font-weight:650;line-height:1}
.login-powered img{display:block;width:51px;height:auto;object-fit:contain;filter:brightness(1.55);margin-left:1px}
.sidebar-powered{display:flex;align-items:center;justify-content:center;gap:0;margin:13px 7px 15px;padding:4px 7px;color:#d2cede;font-size:10px;font-weight:600;white-space:nowrap;min-height:38px}
.sidebar-powered img{display:block;width:56px;height:auto;object-fit:contain;filter:brightness(1.55);margin-left:1px}
a.login-powered,a.sidebar-powered{text-decoration:none;cursor:pointer}
a.login-powered:hover,a.sidebar-powered:hover{filter:brightness(1.15)}
a.login-powered:focus-visible,a.sidebar-powered:focus-visible{outline:2px solid #b88af5;outline-offset:3px}
@media(max-width:860px){.login-powered{bottom:max(14px,env(safe-area-inset-bottom))}.sidebar-powered{margin-bottom:14px}}
/* feed mensal: quadro do dia (tela dividida quando há 2+ posts) */
.monthly-frame{position:relative;aspect-ratio:1/1;overflow:hidden;background:linear-gradient(135deg,#ffe1ea,#ead5f4)}
.monthly-frame>.monthly-image-button{height:100%;aspect-ratio:auto}
.monthly-split{display:grid;width:100%;height:100%;gap:2px}
.monthly-split.n2{grid-template-columns:1fr 1fr}.monthly-split.n3{grid-template-columns:repeat(3,minmax(0,1fr))}.monthly-split.n4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.monthly-split .monthly-part{aspect-ratio:auto;width:100%;height:100%;min-width:0}
.monthly-split .monthly-overlay{padding:16px 5px 5px;font-size:10px}
.monthly-part[draggable=true]{cursor:grab}.monthly-part[draggable=true]:active{cursor:grabbing}
/* até 6 posts no mesmo quadro: 5 = 3 em cima + 2 embaixo; 6 = grade 3x2; acima de 6 mostra "+N" */
.monthly-split.n4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.monthly-split.n5,.monthly-split.n6{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr}
.monthly-split.n5>:nth-child(-n+3),.monthly-split.n6>*{grid-column:span 2}
.monthly-split.n5>:nth-child(n+4){grid-column:span 3}
.monthly-split.n3 .monthly-overlay,.monthly-split.n4 .monthly-overlay,.monthly-split.n5 .monthly-overlay,.monthly-split.n6 .monthly-overlay{padding:10px 4px 4px;font-size:9px}
.monthly-split.n5 .monthly-overlay b,.monthly-split.n6 .monthly-overlay b{-webkit-line-clamp:1}
.monthly-more{position:absolute;right:6px;bottom:6px;background:#17121bcc;color:#fff;border-radius:10px;padding:3px 8px;font-size:11px;font-weight:800;z-index:2}
.task-pill small{overflow-wrap:anywhere}
.day.blank,.day.blank:hover{background:#fafbfc;cursor:default}
/* áudios da tarefa */
.audio-box{display:grid;gap:8px;margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#faf9fe}
.audio-head{display:flex;justify-content:space-between;align-items:center;font-size:13px}.audio-head span{color:#7b3fe4;font-weight:800}
.audio-item{display:grid;grid-template-columns:1fr auto;gap:6px 8px;align-items:center;border:1px solid #ece9f6;border-radius:10px;padding:8px;background:#fff}
.audio-meta{min-width:0}.audio-meta b{display:block;font-size:13px;overflow-wrap:anywhere}.audio-meta small{color:#8a859b;font-size:11px}
.audio-item audio{grid-column:1/-1;width:100%;height:34px}
.audio-del{border:0;background:transparent;color:#b0506a;font-size:15px;cursor:pointer;padding:4px 6px}
.audio-actions{display:flex;gap:8px;flex-wrap:wrap}.audio-actions>*{flex:1 1 140px;text-align:center;cursor:pointer}
.audio-file{display:inline-block;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-weight:700;font-size:13px;background:#fff}
.audio-rec{display:flex;align-items:center;gap:10px;background:#f4f3fa;border-radius:30px;padding:8px 10px 8px 16px}
.rec-dot{width:10px;height:10px;border-radius:50%;background:#e5334b;animation:recblink 1s infinite}
@keyframes recblink{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.rec-dot{animation:none}}
.rec-stop{margin-left:auto;width:36px;height:36px;border-radius:50%;border:0;background:#e5334b;color:#fff;cursor:pointer}
.audio-review{display:grid;gap:8px}.audio-review audio{width:100%}.audio-review input{width:100%}
.audio-badge{font-weight:800}

/* notificação clicável e faixa de nova versão */
.notif-click{cursor:pointer}.notif-click:hover{box-shadow:0 0 0 2px #7b3fe433}
#updateBar{position:fixed;left:0;right:0;top:0;z-index:9999;background:#7b3fe4;color:#fff;text-align:center;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top,0px));font-size:14px}#updateBar button{margin-left:8px;border:0;border-radius:8px;padding:6px 12px;font-weight:800;background:#fff;color:#7b3fe4;cursor:pointer}

/* botão Excluir da tarefa no fim da página, separado dos campos */
.drawer-danger{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}

/* Notificações (layout do relato da Yasmim) */
.bell{position:relative}
.nt-banner{display:flex;align-items:center;gap:14px;background:#efe9ff;border:1px solid #e3d9ff;border-radius:14px;padding:14px 16px;margin:0 0 14px;color:#2a2447;font-size:14px;line-height:1.35}
.nt-bell{font-size:26px;line-height:1}
.nt-list{display:flex;flex-direction:column;gap:10px}
.nt-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8e6f1;border-radius:14px;padding:12px 14px;position:relative}
.nt-item.notif-click{cursor:pointer}.nt-item.notif-click:hover{box-shadow:0 0 0 2px #7b3fe433}
.nt-dot{width:8px;height:8px;border-radius:50%;background:#6d3fe0;flex:0 0 8px}.nt-dot-off{background:transparent}
.nt-av{width:46px;height:46px;border-radius:50%;background:#fde1ea;color:#c2306b;display:grid;place-items:center;font-weight:700;font-size:15px;flex:0 0 46px}
.nt-av.nt-ic{background:#e9e2ff;color:#6d3fe0;font-size:20px}
.nt-txt{flex:1;min-width:0}.nt-msg{font-size:14px;line-height:1.35;color:#1f1b3a}.nt-msg b{font-weight:700}
.nt-time{margin-top:4px;font-size:12px;color:#6b6783}
.nt-go{flex:0 0 auto;border:0;border-radius:10px;background:#7a3fe4;color:#fff;font-weight:600;font-size:14px;padding:10px 16px;cursor:pointer;white-space:nowrap}
.nt-read{opacity:.7}
.nt-pop{position:absolute;right:0;top:48px;width:min(440px,92vw);max-height:80vh;overflow:auto;background:#fff;border:1px solid #e8e6f1;border-radius:18px;box-shadow:0 18px 50px #2a24471f;padding:16px;z-index:80}
.nt-pop-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:20px;color:#1f1b3a}
.nt-link{border:0;background:none;color:#6d3fe0;font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.nt-all{display:block;width:100%;margin-top:12px;border:0;border-top:1px solid #eeeaf7;background:none;padding:12px 0 2px;color:#6d3fe0;font-weight:600;cursor:pointer}
@media(max-width:640px){.nt-item{padding:12px}.nt-av{width:44px;height:44px;flex-basis:44px}.nt-go{padding:10px 12px;font-size:13px}}

/* Editar tarefa (layout do relato da Yasmim) */
.save-pill{background:#e6f6ec;color:#1f7a45;border:1px solid #cdebd8;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;white-space:nowrap}
.save-pill[hidden]{display:none}
#editTask .field,#newTaskForm .field{font-size:13px;font-weight:700;color:#2a2447;margin-bottom:14px}
#editTask .field input:not([type=file]),#editTask .field select,#editTask .field textarea,#newTaskForm .field input:not([type=file]),#newTaskForm .field select,#newTaskForm .field textarea{width:100%;margin-top:7px;border:1px solid #ddd7ee;border-radius:12px;padding:12px 14px;background:#fff;font-size:15px;font-weight:500;color:#1f1b3a;outline:0}
#editTask .field textarea,#newTaskForm .field textarea{min-height:110px}
#editTask .field input:focus,#editTask .field select:focus,#editTask .field textarea:focus,#newTaskForm .field input:focus,#newTaskForm .field select:focus,#newTaskForm .field textarea:focus{border-color:#8a5cf0;box-shadow:0 0 0 3px #efe8ff}
.et-row3{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:8px}
.et-row3 .field input{padding:12px 8px}
#editTask .check-row,#newTaskForm .check-row{display:flex;align-items:center;gap:10px;font-weight:600;color:#2a2447;margin:4px 0 14px}
#editTask .check-row input,#newTaskForm .check-row input{width:22px;height:22px;accent-color:#6d3fe0}
#editTask .assignee-box,#newTaskForm .assignee-box{margin:0 0 14px}
#editTask .assignee-box>span,#newTaskForm .assignee-box>span{font-size:13px;font-weight:700;color:#2a2447}
.as-search{position:relative}
.as-search .as-ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:14px;opacity:.55;pointer-events:none}
.as-search input{width:100%;border:1px solid #ddd7ee;border-radius:12px;padding:12px 14px 12px 38px;background:#fff;font-size:15px;outline:0}
.as-search input:focus{border-color:#8a5cf0;box-shadow:0 0 0 3px #efe8ff}
.as-search .suggestions{position:absolute;left:0;right:0;top:calc(100% + 4px);max-height:260px;overflow:auto;background:#fff;border:1px solid #e3ddf3;border-radius:12px;box-shadow:0 16px 40px #2a244722;z-index:20}
.selected-users{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.user-chip{background:#efe9ff;border-color:#e3d9ff;color:#2a2447;font-weight:600}
.et-img{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.et-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin-top:7px;min-height:92px;border:1.5px dashed #bba5f5;border-radius:12px;background:#faf8ff;color:#6d3fe0;text-align:center;cursor:pointer;font-weight:500}
.et-drop b{font-size:13px}.et-drop small{color:#6b6783;font-weight:400}.et-drop-ico{font-size:20px}
.et-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
#editTask .autosave-note,#newTaskForm .autosave-note{background:#e9f7ee;border:1px solid #cdebd8;color:#1f7a45;border-radius:10px;padding:10px 12px;font-size:13px;margin:6px 0 14px}
.et-actions{display:flex;gap:12px;padding:6px 0 24px}
.et-actions button{flex:1;border-radius:12px;padding:14px 12px;font-size:15px;font-weight:700;cursor:pointer}
.et-del{background:#fff;color:#d6334d;border:1.5px solid #f0a8b4}
.et-save{background:#7a3fe4;color:#fff;border:0}
#editTask .field .as-search input:not([type=file]),#newTaskForm .field .as-search input:not([type=file]){padding-left:38px;margin-top:0}
.et-row3>*{min-width:0}.et-row3 .field input{font-size:14px;padding:12px 6px;min-width:0}
.et-img>*{min-width:0}

#newTaskForm .et-cancel{color:#59506f;border-color:#ddd7ee}
.modal-body #newTaskForm{padding-bottom:4px}

#newTaskForm .autosave-note{display:block}

/* Quadro: Lista e Tabela */
.board-list{display:flex;flex-direction:column;gap:8px}
.task-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid #e8e6f1;border-left:5px solid #75839a;border-radius:12px;padding:12px 14px;cursor:pointer}
.task-row:hover{box-shadow:0 0 0 2px #7b3fe433}
.task-row .tr-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.task-row .tr-main b{font-size:14px;color:#1f1b3a;overflow-wrap:anywhere}
.task-row .tr-main small{color:#6b6783;font-size:12px}
.board-table{overflow-x:auto;background:#fff;border:1px solid #e8e6f1;border-radius:12px}
.board-table .table th,.board-table .table td{font-size:13px;padding:12px 12px;white-space:nowrap}
.board-table .table td:first-child{white-space:normal;min-width:180px}
.board-table tr.taskOpen{cursor:pointer}.board-table tr.taskOpen:hover td{background:#f7f3ff}

/* círculo com iniciais quando o usuário não tem foto (ou ela não carrega) */
.av-ini{display:inline-grid;place-items:center;border-radius:50%;background:#efe9ff;color:#6d3fe0;font-weight:700;font-size:10px;line-height:1;flex:0 0 auto;border:2px solid #fff;box-sizing:border-box;width:30px;height:30px}
.avatar.av-ini{width:34px;height:34px;font-size:12px}
.avatar-stack .av-ini{width:25px;height:25px;margin-left:-6px}.avatar-stack .av-ini:first-child{margin-left:0}
.row-user .av-ini{width:32px;height:32px;font-size:12px}
.user-chip .av-ini{width:25px;height:25px;border:0}
.suggestion .av-ini{width:30px;height:30px}
.agenda-card .av-ini{width:28px;height:28px}

.task-card .avatar-stack small{font-size:12px;font-weight:500;color:#8a8f9d}

/* Descrição com formatação */
.rt{margin-top:7px;border:1px solid #ddd7ee;border-radius:12px;background:#fff;overflow:hidden}
.rt:focus-within{border-color:#8a5cf0;box-shadow:0 0 0 3px #efe8ff}
.rt-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 10px;background:#f3eefe;border-bottom:1px solid #e5dcf9}
.rt-bar button,.rt-color{width:34px;height:34px;border:0;border-radius:8px;background:transparent;font-size:16px;cursor:pointer;color:#1f1b3a;display:inline-grid;place-items:center;padding:0}
.rt-bar button:hover,.rt-bar button:active{background:#e6dcfb}
.rt-sep{width:1px;height:22px;background:#d9cff3}
.rt-color{position:relative;font-weight:800;color:#7a3fe4;border-bottom:3px solid #7a3fe4;border-radius:6px 6px 0 0}
#editTask .rt-bar select,#newTaskForm .rt-bar select{width:auto;margin:0;border:0;border-radius:8px;background:transparent;padding:0 4px;height:34px;font-size:14px;font-weight:600;color:#1f1b3a;box-shadow:none}
#editTask .rt-color input,#newTaskForm .rt-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;border:0;cursor:pointer}
.rt-area{min-height:110px;padding:12px 14px;font-size:15px;line-height:1.5;color:#1f1b3a;outline:0;overflow-wrap:anywhere;white-space:pre-wrap}
.rt-area:empty:before{content:attr(data-placeholder);color:#8f8aa6}
.rt-area ul,.rt-area ol{margin:4px 0;padding-left:22px}
.rt-area a{color:#6d3fe0;text-decoration:underline}

#editTask .rt-area,#newTaskForm .rt-area{font-weight:400;font-size:15px}

/* Filtro por responsável na busca */
.searchbox{position:relative}
.sf-pop{position:absolute;left:0;right:0;top:calc(100% + 6px);max-height:300px;overflow:auto;background:#fff;border:1px solid #e3ddf3;border-radius:12px;box-shadow:0 16px 40px #2a244722;z-index:60;padding:6px}
.sf-title{font-size:11px;font-weight:700;color:#6b6783;text-transform:uppercase;letter-spacing:.04em;padding:6px 8px}
.sf-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:#fff;border-radius:8px;padding:8px;font-size:14px;color:#1f1b3a;cursor:pointer}
.sf-item:hover{background:#f3eefe}
.sf-item .avatar,.sf-item img,.sf-item .av-ini{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 28px}
.sf-empty{padding:10px;color:#6b6783;font-size:13px}
.sf-chip{display:inline-flex;align-items:center;gap:4px;background:#efe9ff;color:#2a2447;border-radius:999px;padding:3px 4px 3px 10px;font-size:12px;font-weight:600;white-space:nowrap;margin-right:6px}
.sf-chip button{border:0;background:none;color:#6d3fe0;font-size:14px;cursor:pointer;padding:0 6px}

/* Editar tarefa como janela central (igual à Nova tarefa) */
.drawer-back{display:grid;place-items:center;padding:18px}
.drawer-back .drawer{position:relative;right:auto;top:auto;bottom:auto;width:min(620px,100%);max-height:92vh;border-radius:15px;box-shadow:0 20px 60px #10172655}
.drawer-head .close{flex:0 0 36px}
/* lixeira do áudio sempre ao lado direito do player */
.audio-item .audio-meta{grid-column:1/-1}
.audio-item audio{grid-column:1;width:100%;min-width:0}
.audio-item .audio-del{grid-column:2;align-self:center}
.rt-view{font-size:14px;line-height:1.5;color:#1f1b3a;overflow-wrap:anywhere;white-space:pre-wrap}
.rt-view ul,.rt-view ol{margin:4px 0;padding-left:22px}.rt-view a{color:#6d3fe0;text-decoration:underline}
#commentForm .rt-area{font-weight:400}

/* barra de formatação em qualquer formulário (inclusive Comentários) */
.field .rt-bar select{width:auto;margin:0;border:0;border-radius:8px;background:transparent;padding:0 4px;height:34px;font-size:14px;font-weight:600;color:#1f1b3a;box-shadow:none}
.field .rt-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;border:0;cursor:pointer}
.field .rt-bar button,.field .rt-color{margin:0}
#commentForm .field{font-size:13px;font-weight:700;color:#2a2447;margin-bottom:14px}
#commentForm .rt-area{font-size:15px;font-weight:400;min-height:110px}
#commentForm .primary{width:auto;padding:12px 18px;border-radius:12px;font-weight:700}

/* Menu lateral com ícones de linha e seções */
.nav-section{display:flex;align-items:center;gap:10px;margin:16px 4px 6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8e94ac}
.nav-section:first-child{margin-top:4px}
.nav-section::after{content:"";flex:1;height:1px;background:#ffffff1f}
.nav-icon{position:relative;display:inline-grid;place-items:center;width:22px;height:22px;flex:0 0 22px}
.nav-icon svg{display:block}
.nav-badge{position:absolute;top:-7px;right:-9px;min-width:17px;height:17px;border-radius:9px;background:#e03a6e;color:#fff;font-style:normal;font-size:10px;font-weight:700;display:grid;place-items:center;padding:0 4px}
.nav-btn{font-size:15px}
