*{box-sizing:border-box}body{color:#172033;background:#f5f7fb;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}.app{grid-template-columns:245px 1fr;min-height:100vh;display:grid}aside{color:#fff;background:#111827;flex-direction:column;gap:12px;height:100vh;padding:22px 14px;display:flex;position:sticky;top:0}.brand,.bigbrand{align-items:center;gap:10px;font-size:21px;font-weight:800;display:flex}.role{letter-spacing:.12em;color:#9ca3af;padding:4px 10px 12px;font-size:11px}nav{gap:4px;display:grid}.nav,.logout{color:#cbd5e1;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.nav:hover,.nav.active{color:#fff;background:#2563eb}.logout{margin-top:auto}.logout:hover{color:#fff;background:#7f1d1d}main{min-width:0}header{z-index:5;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex;position:sticky;top:0}header div:first-child{gap:2px;display:grid}header small{color:#6b7280}.avatar{color:#1d4ed8;background:#dbeafe;border-radius:50%;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.content{max-width:1500px;margin:auto;padding:28px}.hero{color:#fff;background:linear-gradient(135deg,#172033,#243b64);border-radius:20px;justify-content:space-between;align-items:center;gap:20px;padding:28px;display:flex}.hero h1{margin:6px 0;font-size:34px}.hero p{color:#dbe4f3;margin:0}.eyebrow{letter-spacing:.14em;color:#93c5fd;font-size:11px;font-weight:800}.primary,.secondary{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-weight:700;display:inline-flex}.primary{color:#fff;background:#2563eb}.secondary{color:#1e40af;background:#eef2ff}.full{width:100%}.progress{align-items:center;gap:14px;margin:18px 2px;display:flex}.bar,.mini{background:#e5e7eb;border-radius:999px;flex:1;height:8px;overflow:hidden}.bar i,.mini i{background:#2563eb;border-radius:999px;height:100%;display:block}.stats{grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0;display:grid}.stats>div,.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 2px 12px #0f172a0a}.stats>div{gap:5px;padding:18px;display:grid}.stats b{font-size:20px}.stats small{color:#6b7280}.grid{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;display:grid}.card{padding:20px}.title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.title h1,.title h2,.card h1,.card h2{margin:0}.title p{color:#6b7280;margin:5px 0 0}.feed article{border-top:1px solid #eef2f7;grid-template-columns:34px 1fr;gap:12px;padding:18px 0;display:grid}.dot{color:#1d4ed8;background:#dbeafe;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.feedbody h3{margin:4px 0}.feedbody p{white-space:pre-wrap;color:#475569}.pill{background:#f1f5f9;border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:12px;display:inline-flex}.postmedia{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:12px 0;display:grid}.postmedia img,.postmedia video{object-fit:cover;background:#0f172a;border-radius:12px;width:100%;height:190px}.rightcol{align-content:start;gap:18px;display:grid}.stageRow{border-bottom:1px solid #eef2f7;justify-content:space-between;gap:15px;padding:12px 0;display:flex}.good{color:#047857;background:#ecfdf5;border-radius:10px;align-items:center;gap:8px;margin-top:14px;padding:12px;display:flex}.projectrow,.listrow{text-align:left;background:0 0;border:0;border-top:1px solid #eef2f7;align-items:center;gap:12px;width:100%;padding:13px 0;display:flex}.projectrow{cursor:pointer}.projectrow span,.listrow span{flex:1;gap:3px;display:grid}.projectrow small,.listrow small{color:#64748b}.cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;display:grid}.projectcard{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:14px;gap:14px;padding:18px;display:flex}.projectcard>div{flex:1}.projectcard h3{margin:0 0 5px}.projectcard p{color:#64748b;align-items:center;gap:5px;display:flex}.mini{height:6px;margin:12px 0}.search{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:8px;margin-bottom:18px;padding:0 12px;display:flex}.search input{background:0 0;border:0;outline:0;width:100%;padding:11px}.gallery{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;display:grid}.galleryitem{color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:13px;text-decoration:none;display:block;overflow:hidden}.galleryitem img,.galleryitem video,.mediafail{object-fit:cover;background:#0f172a;width:100%;height:180px}.galleryitem>span{padding:10px;font-weight:600;display:grid}.galleryitem small{color:#64748b;margin-top:3px;font-weight:400}.mediafail{color:#fff;place-items:center;display:grid}.shade{z-index:50;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;width:min(620px,100%);max-height:90vh;padding:20px;overflow:auto}.modalhead{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.modalhead h2{margin:0}.icon{cursor:pointer;background:#f1f5f9;border:0;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.form{gap:14px;display:grid}.form label{gap:6px;font-weight:600;display:grid}.form input,.form textarea,.form select{border:1px solid #dbe1ea;border-radius:9px;width:100%;padding:11px}.twocol{grid-template-columns:1fr 1fr;gap:12px;display:grid}.uploadbox{cursor:pointer;border:2px dashed #cbd5e1;border-radius:12px;align-items:center;gap:12px;padding:20px;display:flex!important}.uploadbox input{display:none}.uploadbox span{display:grid}.uploadbox small{color:#64748b;font-weight:400}.selectedfiles{gap:7px;display:grid}.selectedfiles>div{background:#f8fafc;border-radius:8px;align-items:center;gap:8px;padding:8px;display:flex}.selectedfiles span{flex:1}.selectedfiles button{background:0 0;border:0}.check{align-items:center;gap:8px;display:flex!important}.check input{width:auto}.empty{text-align:center;color:#64748b;padding:38px 20px}.empty h2{color:#172033}.loading,.login{place-items:center;min-height:100vh;display:grid}.login{background:#eef2f7}.loginbox{background:#fff;border-radius:18px;gap:15px;width:min(420px,100% - 30px);padding:30px;display:grid;box-shadow:0 20px 60px #0f172a1f}.loginbox label{gap:6px;font-weight:600;display:grid}.loginbox input{border:1px solid #dbe1ea;border-radius:9px;padding:12px}.error{color:#b91c1c;background:#fef2f2;border-radius:8px;padding:10px}.toast{color:#fff;z-index:100;background:#172033;border-radius:10px;max-width:420px;padding:13px 16px;position:fixed;bottom:20px;right:20px}.settingsgrid{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px;display:grid}.settingsgrid>div{background:#f8fafc;border-radius:10px;gap:4px;padding:14px;display:grid}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=900px){.app{grid-template-columns:1fr}aside{height:auto;position:static}.brand,.role{display:none}aside nav{display:flex;overflow:auto}.nav{white-space:nowrap}.logout{display:none}header{position:static}.content{padding:16px}.grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.hero{flex-direction:column;align-items:flex-start}}@media (width<=560px){.twocol{grid-template-columns:1fr}.content{padding:10px}.card{padding:15px}.hero{padding:20px}.hero h1{font-size:27px}.postmedia{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.galleryitem img,.galleryitem video,.mediafail{height:140px}}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filters{gap:8px;margin:12px 0 18px;display:flex}.filters button{cursor:pointer;background:#f1f5f9;border:0;border-radius:8px;padding:8px 12px}.filters button.chosen{color:#1d4ed8;background:#dbeafe;font-weight:700}.itemrow{border-top:1px solid #eef2f7;align-items:flex-start;gap:13px;padding:17px 0;display:flex}.itemicon{color:#2563eb;background:#eff6ff;border-radius:10px;padding:9px}.itemmain{flex:1;min-width:0}.itemmain p{color:#64748b;white-space:pre-wrap;margin:7px 0}.itemmeta{color:#64748b;flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;font-size:12px;display:flex}.status{color:#92400e;background:#fef3c7;border-radius:8px;padding:4px 8px}.status.done{color:#166534;background:#dcfce7}.danger{color:#b91c1c;cursor:pointer;background:#fef2f2;border:0;border-radius:9px;padding:11px}@media (width<=560px){.itemrow{flex-wrap:wrap}.itemrow>.actions{justify-content:flex-end;width:100%}.title{flex-wrap:wrap}}.bt-files{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.bt-file{align-items:center;gap:4px;display:inline-flex}.bt-file .secondary{overflow-wrap:anywhere;align-items:center;gap:5px;max-width:260px;display:inline-flex}.bt-file .danger{padding:7px}.bt-cal-head{justify-content:space-between;align-items:center;margin:20px 0;display:flex}.bt-cal-head h2{text-transform:capitalize;font-size:1.1rem}.bt-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.bt-dayname{text-align:center;padding:8px}.bt-day{border:1px solid #e2e8f0;border-radius:8px;min-height:100px;padding:7px;overflow:hidden}.bt-day strong{margin-bottom:6px;display:block}.bt-day button{color:#1e40af;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:#dbeafe;border:0;border-radius:5px;width:100%;margin:3px 0;padding:5px;display:block}.bt-out{background:#f8fafc}.bt-approval{border-bottom:1px solid #e2e8f0;padding:16px}.bt-approval .status{margin-left:12px}.bt-response{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.bt-response textarea{width:100%;min-height:60px}.bt-chat{background:#f8fafc;border-radius:10px;flex-direction:column;gap:10px;height:420px;padding:14px;display:flex;overflow:auto}.bt-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#e2e8f0;border-radius:12px;align-self:flex-start;max-width:80%;padding:10px 14px}.bt-bubble.mine{background:#dbeafe;align-self:flex-end}.bt-bubble p{margin:0}.bt-bubble small{margin-top:7px;display:block}.bt-chat-form{flex-direction:column;gap:10px;margin-top:12px;display:flex}.bt-chat-form textarea{min-height:75px}.bt-notifs{z-index:30;position:fixed;bottom:18px;right:18px}.bt-notif-panel{background:#fff;border:1px solid #cbd5e1;border-radius:12px;width:min(340px,90vw);max-height:340px;padding:8px;position:absolute;bottom:55px;right:0;overflow:auto;box-shadow:0 8px 25px #0002}.bt-notif-panel button{text-align:left;background:#fff;border:0;border-bottom:1px solid #eee;width:100%;padding:10px;display:block}.bt-notif-panel small{display:block}.bt-approval p{white-space:pre-wrap}@media (width<=700px){.bt-day{min-height:70px;padding:3px;font-size:11px}.bt-day button{padding:3px;font-size:10px}.bt-calendar{gap:2px}.bt-dayname{padding:4px;font-size:11px}}.bt-work-grid{background:#f6f8fc;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.bt-work-grid .check{align-items:center;gap:8px;font-weight:600;display:flex}.bt-work-grid input{width:auto!important}@media (width<=600px){.bt-work-grid{grid-template-columns:1fr}}.app .primary,.app .bar i,.app .mini i{background:var(--bt-primary,#2563eb)}.app .nav.active{border-left:3px solid var(--bt-primary,#2563eb)}.bt-brand-logo{object-fit:contain;border-radius:6px;max-width:50px;max-height:44px}.bt-brand-form{max-width:650px;margin-top:20px}.bt-brand-form input[type=color]{cursor:pointer;height:52px;padding:4px}.bt-brand-preview{border:2px solid;border-radius:12px;flex-wrap:wrap;align-items:center;gap:14px;padding:18px;display:flex}.bt-brand-preview img{object-fit:contain;width:64px;height:54px}.bt-brand-preview span{color:#fff;border-radius:8px;margin-left:auto;padding:10px 16px}.loginbox .secondary.full{justify-content:center;width:100%;margin-top:12px}.loginbox [role=status]{color:#047857;font-size:14px;line-height:1.5}.bt-header-refresh{color:#22334c;cursor:pointer;background:#fff;border:1px solid #dce3ee;border-radius:9px;align-items:center;gap:6px;margin-left:auto;padding:8px 11px;font-weight:600;display:inline-flex}.bt-header-refresh:hover{background:#edf3ff}.bt-crm-layout{grid-template-columns:minmax(220px,280px) 1fr;gap:20px;margin-top:18px;display:grid}.bt-crm-list{flex-direction:column;gap:8px;display:flex}.bt-crm-item{text-align:left;cursor:pointer;color:#1f2937;background:#fff;border:1px solid #dbe4f0;border-radius:12px;flex-direction:column;gap:5px;padding:13px;display:flex}.bt-crm-item small{color:#64748b}.bt-crm-selected{background:#eff6ff;border-color:#2563eb}.bt-crm-detail{min-width:0}.bt-crm-timeline{gap:8px;padding:16px 0;display:flex;overflow-x:auto}.bt-crm-stage{text-align:left;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;flex-direction:column;flex:0 0 145px;align-items:flex-start;gap:8px;padding:10px;display:flex}.bt-crm-stage span{color:#fff;background:#94a3b8;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.bt-crm-stage.done{background:#ecfdf5;border-color:#86efac}.bt-crm-stage.done span{background:#16a34a}.bt-crm-stage.current{background:#eff6ff;border-color:#60a5fa}.bt-crm-stage.current span{background:#2563eb}.bt-crm-stage.pending:not(:disabled){cursor:pointer;border-color:#2563eb}.bt-crm-stage small{color:#64748b}.bt-crm-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.bt-crm-summary>div{background:#f8fafc;border-radius:9px;flex-direction:column;gap:5px;padding:12px;display:flex}.bt-crm-comment{border-bottom:1px solid #e2e8f0;padding:12px 0}.bt-crm-comment small{color:#64748b}.bt-crm-form fieldset{border:1px solid #e2e8f0;border-radius:12px;margin:12px 0;padding:14px}.bt-crm-form legend{padding:0 8px;font-weight:700}@media (width<=850px){.bt-crm-layout,.bt-crm-summary{grid-template-columns:1fr}}
