:root{--stp-blue:#2855d9;--stp-blue-2:#416ff0;--stp-navy:#171b25;--stp-bg:#f4f6fa;--stp-line:#e6e9ef;--stp-text:#202531;--stp-muted:#737b8c;--stp-yellow:#f5c84c;--stp-green:#2b9b69;--stp-red:#d95f59;--stp-card:#fff;--stp-shadow:0 10px 30px rgba(24,33,55,.07)}
body.sttackpro-app-active{overflow:hidden!important}
.stp-app-shell,.stp-app-shell *{box-sizing:border-box}
.stp-app-shell{position:fixed;inset:0;z-index:2147482000;background:var(--stp-bg);color:var(--stp-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:grid;grid-template-columns:244px minmax(0,1fr);line-height:1.45}
.stp-app-sidebar{background:#171b25;color:#fff;padding:22px 16px;display:flex;flex-direction:column;min-height:100vh;box-shadow:10px 0 30px rgba(15,19,27,.08)}
.stp-app-brand{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 8px 20px}.stp-coutto-logo{max-width:115px;max-height:38px;object-fit:contain}.stp-site-name{font-size:14px;max-width:112px}.stp-brand-divider{width:1px;height:34px;background:rgba(255,255,255,.18)}.stp-sttack-logo{width:44px;height:44px;object-fit:contain;border-radius:10px;background:#fff}.stp-login-shell .stp-app-brand{justify-content:center}.stp-login-shell .stp-brand-divider{background:#d9dee8}
.stp-app-nav{display:flex;flex-direction:column;gap:6px;margin-top:10px}.stp-app-nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;color:#b9c0ce;text-decoration:none;font-weight:650;font-size:14px;transition:.18s ease}.stp-app-nav a:hover{background:rgba(255,255,255,.06);color:#fff}.stp-app-nav a.active{background:linear-gradient(135deg,var(--stp-blue),var(--stp-blue-2));color:#fff;box-shadow:0 8px 20px rgba(40,85,217,.25)}.stp-app-nav .dashicons{font-size:19px;width:19px;height:19px}.stp-sidebar-foot{margin-top:auto;padding:16px 9px 0;border-top:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;color:#7f899b;font-size:11px}.stp-sidebar-foot span{color:#a9b1bf;margin-top:2px}
.stp-app-main{min-width:0;height:100vh;overflow:hidden;display:grid;grid-template-rows:68px 1fr}.stp-app-topbar{background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--stp-line);display:flex;align-items:center;justify-content:space-between;padding:0 28px}.stp-top-kicker{font-size:13px;font-weight:750;color:#596173}.stp-userbox{display:flex;align-items:center;gap:15px}.stp-userbox>div{display:flex;flex-direction:column;text-align:right}.stp-userbox strong{font-size:13px}.stp-userbox small{font-size:11px;color:var(--stp-muted)}.stp-userbox>a{font-size:12px;font-weight:800;text-decoration:none;color:#687083;border:1px solid var(--stp-line);padding:7px 10px;border-radius:9px}.stp-mobile-menu{display:none;border:0;background:transparent;font-size:22px}.stp-app-content{padding:26px 28px 34px;overflow:auto;min-width:0}
.stp-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.stp-page-head span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--stp-blue);font-weight:900}.stp-page-head h1{font-size:28px;line-height:1.1;margin:5px 0 0;color:#1d2230}.stp-page-head small{color:var(--stp-muted)}.stp-primary,.stp-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border-radius:10px;text-decoration:none!important;font-size:13px;font-weight:800}.stp-primary{background:var(--stp-blue);color:#fff!important;box-shadow:0 8px 18px rgba(40,85,217,.2)}.stp-secondary{background:#fff;color:#364054!important;border:1px solid var(--stp-line)}
.stp-app-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stp-app-metric{background:#fff;border:1px solid var(--stp-line);border-radius:14px;padding:18px;box-shadow:var(--stp-shadow);position:relative;overflow:hidden}.stp-app-metric:after{content:"";position:absolute;right:-18px;top:-18px;width:62px;height:62px;border-radius:50%;background:#edf1ff}.stp-app-metric.warning:after{background:#fff3c8}.stp-app-metric.ok:after{background:#e3f6ed}.stp-app-metric small{display:block;color:#798193;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.stp-app-metric strong{font-size:28px;display:block;margin:7px 0 2px}.stp-app-metric span{font-size:12px;color:#778092}
.stp-app-panel{background:#fff;border:1px solid var(--stp-line);border-radius:15px;box-shadow:var(--stp-shadow);overflow:hidden}.stp-panel-head{padding:16px 18px;border-bottom:1px solid var(--stp-line);display:flex;align-items:center;justify-content:space-between}.stp-panel-head h2{font-size:15px;margin:0}.stp-panel-head a{font-size:12px;text-decoration:none;color:var(--stp-blue);font-weight:750}.stp-table-wrap{overflow:auto}.stp-app-table{width:100%;border-collapse:collapse;font-size:12px}.stp-app-table th{text-align:left;padding:11px 15px;background:#fafbfc;color:#7b8392;text-transform:uppercase;letter-spacing:.05em;font-size:10px;border-bottom:1px solid var(--stp-line)}.stp-app-table td{padding:13px 15px;border-bottom:1px solid #eff1f5;vertical-align:middle}.stp-app-table td:first-child{min-width:210px}.stp-app-table b{display:block;font-size:13px}.stp-app-table small{display:block;color:#8890a0;margin-top:3px}.stp-priority{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;background:#edf1ff;color:var(--stp-blue);border-radius:8px;font-weight:900}
.stp-badge{display:inline-block;font-size:10px;font-weight:800;border-radius:999px;padding:5px 8px;background:#eef0f4;white-space:nowrap}.stp-badge.warning{background:#fff2bd;color:#8b6600}.stp-badge.info{background:#e6efff;color:#2958a8}.stp-badge.ok,.stp-badge.success{background:#e2f7ec;color:#207650}.stp-badge.danger{background:#ffe8e7;color:#a8443f}.stp-owner{display:inline-flex;align-items:center;padding:4px 7px;border-radius:7px;font-size:9px;font-weight:900;letter-spacing:.06em}.stp-owner.coutto{background:#e8eeff;color:#3159c9}.stp-owner.gs{background:#eee9ff;color:#654cc0}
.stp-front-board{display:grid;grid-template-columns:repeat(9,285px);gap:12px;overflow-x:auto;padding-bottom:20px;min-height:calc(100vh - 160px);scrollbar-width:thin}.stp-front-column{background:#eef1f6;border-radius:13px;border:1px solid #e4e7ed;align-self:start;min-height:130px;transition:.15s}.stp-front-column.drag-over{background:#e8edff;border-color:#aabcf3}.stp-front-column>header{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:12px}.stp-front-column>header>span{width:24px;height:24px;border-radius:7px;background:#dce3f7;color:#3e5caa;display:grid;place-items:center;font-weight:900;font-size:10px}.stp-front-column>header strong{font-size:12px}.stp-front-column>header em{font-style:normal;background:#fff;border-radius:7px;padding:3px 7px;font-size:10px;color:#717a8d}.stp-front-drop{min-height:74px;padding:0 8px 9px}.stp-front-card{background:#fff;border:1px solid #e1e5ec;border-radius:11px;padding:12px;margin-bottom:8px;box-shadow:0 5px 14px rgba(25,36,60,.05);cursor:grab}.stp-front-card.dragging{opacity:.45}.stp-card-title{font-weight:850;font-size:13px}.stp-front-card>small{color:#80889a;font-size:10px;display:block;margin:2px 0 9px}.stp-card-chips{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.stp-card-action{margin-top:9px;padding-top:8px;border-top:1px solid #eff1f4;color:#646e7f;font-size:10px}
.stp-task-board{display:flex;flex-direction:column;gap:8px}.stp-task-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto 100px;align-items:center;gap:12px;background:#fff;border:1px solid var(--stp-line);border-radius:12px;padding:12px 14px}.stp-task-row button{width:28px;height:28px;border-radius:9px;border:1px solid #dce1e9;background:#fff;color:#aeb5c1;font-weight:900}.stp-task-row .stp-partner-task-toggle{cursor:pointer;color:#4b65b3}.stp-task-row strong{display:block;font-size:12px}.stp-task-row span{font-size:10px;color:#818999}.stp-task-row em{font-style:normal;font-size:9px;font-weight:900;padding:4px 7px;border-radius:7px}.stp-task-row em.coutto{background:#e8eeff;color:#3159c9}.stp-task-row em.gs{background:#eee9ff;color:#654cc0}.stp-task-row time{font-size:10px;color:#778092;text-align:right}.stp-empty{padding:28px;background:#fff;border:1px dashed #cfd5df;border-radius:14px;color:#768092;text-align:center}
.stp-partner-app-grid,.stp-portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:15px}.stp-partner-card{border:1px solid #e3e6ec;border-radius:15px;padding:17px;background:#fff;box-shadow:var(--stp-shadow)}.stp-partner-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.stp-partner-card h3{margin:0 0 3px;font-size:15px}.stp-partner-card small{color:#70798b;font-size:10px}.stp-partner-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.stp-partner-fields label{font-size:10px;font-weight:800;display:flex;flex-direction:column;gap:5px;color:#60697a}.stp-partner-fields .span-2{grid-column:span 2}.stp-partner-fields select,.stp-partner-fields textarea{width:100%;padding:9px;border:1px solid #dfe3ea;border-radius:9px;background:#fff;color:#242a35}.stp-partner-fields textarea{min-height:74px;resize:vertical}.stp-partner-money{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.stp-partner-money span{background:#f4f6fa;padding:8px 10px;border-radius:9px;font-size:10px}.stp-partner-money b{display:block;margin-top:2px;font-size:12px}.stp-partner-tasks{border-top:1px solid #eceff3;padding-top:11px}.stp-partner-tasks h4{margin:0 0 7px;font-size:12px}.stp-inline-task{display:grid;grid-template-columns:28px 1fr auto;gap:7px;align-items:center;margin:6px 0}.stp-inline-task button{width:25px;height:25px;border:1px solid #d9dfeb;border-radius:8px;background:#fff;color:#3c5db5;cursor:pointer}.stp-partner-save{margin-top:13px;background:var(--stp-blue);color:#fff;border:0;border-radius:9px;padding:9px 13px;font-weight:850;cursor:pointer}.stp-save-state{margin-left:9px;font-size:10px;color:#2c7a52}
.stp-login-shell{grid-template-columns:1fr;display:grid;place-items:center;background:radial-gradient(circle at 20% 15%,rgba(63,103,230,.18),transparent 34%),linear-gradient(145deg,#eef2fb,#f7f8fb 48%,#edf0f6)}.stp-login-card{width:min(430px,calc(100vw - 30px));background:#fff;border:1px solid #e1e5ed;border-radius:20px;padding:28px;box-shadow:0 24px 60px rgba(28,37,61,.13)}.stp-login-card .stp-app-brand{padding:0 0 20px;justify-content:flex-start}.stp-login-copy span{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--stp-blue);font-weight:900}.stp-login-copy h1{font-size:25px;margin:5px 0}.stp-login-copy p{font-size:12px;color:#7c8494;margin:0 0 18px}.stp-login-card label{font-size:11px;font-weight:800;color:#596274}.stp-login-card input[type=text],.stp-login-card input[type=password]{width:100%;border:1px solid #dfe4ec;border-radius:10px;padding:11px;margin:5px 0 12px}.stp-login-card input[type=submit]{width:100%;background:var(--stp-blue);color:#fff;border:0;border-radius:10px;padding:11px;font-weight:900;cursor:pointer}.stp-login-card .login-remember{font-size:11px;color:#697183}.stp-forgot{display:block;text-align:center;margin-top:12px;font-size:11px;color:#6070a8;text-decoration:none}.stp-access-denied{margin:auto;background:#fff;padding:30px;border-radius:16px}
@media(max-width:980px){.stp-app-shell{grid-template-columns:210px minmax(0,1fr)}.stp-app-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stp-app-content{padding:20px}.stp-app-topbar{padding:0 20px}}
@media(max-width:720px){.stp-app-shell{grid-template-columns:1fr}.stp-app-sidebar{position:absolute;z-index:4;width:235px;transform:translateX(-102%);transition:.2s}.stp-app-shell.sidebar-open .stp-app-sidebar{transform:none}.stp-mobile-menu{display:inline-block}.stp-app-metrics{grid-template-columns:1fr 1fr}.stp-page-head{align-items:flex-start;flex-direction:column}.stp-partner-fields{grid-template-columns:1fr}.stp-partner-fields .span-2{grid-column:auto}.stp-task-row{grid-template-columns:30px 1fr auto}.stp-task-row time{display:none}.stp-userbox>div{display:none}}
@media(max-width:480px){.stp-app-metrics{grid-template-columns:1fr}.stp-app-content{padding:16px}.stp-app-topbar{padding:0 15px}.stp-partner-app-grid,.stp-portal-grid{grid-template-columns:1fr}}

/* SttackPro v0.3 — standalone app, electric boot and secure login */
html:has(body.sttackpro-standalone),body.sttackpro-standalone{margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:#05070c!important}
body.sttackpro-standalone #wpadminbar,body.sttackpro-standalone header,body.sttackpro-standalone footer{display:none!important}
body.sttackpro-standalone .stp-app-shell header.stp-app-topbar{display:flex!important}
body.sttackpro-standalone .stp-front-column>header,body.sttackpro-standalone .stp-partner-card>header{display:grid!important}
body.sttackpro-standalone .stp-partner-card>header{display:flex!important}
.stp-head-status{font-size:11px!important;color:#7b8496!important;padding:8px 11px;border:1px solid var(--stp-line);background:#fff;border-radius:10px}

.stp-preloader{position:fixed;inset:0;z-index:2147483647;background:#03050a;display:grid;place-items:center;overflow:hidden;opacity:1;visibility:visible;transition:opacity .55s ease,visibility .55s ease}
.stp-preloader.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.stp-preloader:before{content:"";position:absolute;inset:-25%;background:radial-gradient(circle at 50% 48%,rgba(35,92,255,.18),transparent 24%),radial-gradient(circle at 68% 28%,rgba(0,122,255,.09),transparent 22%);filter:blur(10px);animation:stpAura 3.2s ease-in-out infinite alternate}
.stp-preloader-grid{position:absolute;inset:0;opacity:.16;background-image:linear-gradient(rgba(60,101,190,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(60,101,190,.15) 1px,transparent 1px);background-size:54px 54px;mask-image:radial-gradient(circle at center,#000 0,transparent 72%)}
.stp-preloader-core{position:relative;z-index:4;display:flex;flex-direction:column;align-items:center;text-align:center;filter:drop-shadow(0 0 28px rgba(33,91,255,.18))}
.stp-preloader-mark{width:104px;height:104px;border-radius:25px;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.015));border:1px solid rgba(94,136,255,.26);box-shadow:inset 0 0 38px rgba(46,91,230,.10),0 0 55px rgba(31,82,241,.10)}
.stp-preloader-mark:before{content:"";position:absolute;inset:-2px;border-radius:26px;background:linear-gradient(110deg,transparent 30%,rgba(76,130,255,.9) 48%,transparent 61%);filter:blur(6px);opacity:.42;animation:stpMarkSweep 1.7s linear infinite;z-index:-1}
.stp-preloader-mark img{width:82px;height:82px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(47,96,255,.4))}
.stp-preloader-core strong{margin-top:19px;color:#f5f7ff;font:800 22px/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.24em}.stp-preloader-core strong span{color:#3e6eff}.stp-preloader-core small{margin-top:8px;color:#69748d;font:700 9px/1.2 Inter,ui-sans-serif,sans-serif;letter-spacing:.38em}
.stp-energy-track{width:220px;height:2px;margin-top:24px;background:rgba(78,102,159,.22);position:relative;overflow:hidden;border-radius:999px}.stp-energy-track i{position:absolute;top:0;bottom:0;width:72px;background:linear-gradient(90deg,transparent,#2f68ff 44%,#b8d4ff 51%,#2f68ff 58%,transparent);box-shadow:0 0 14px #2d64ff;animation:stpTrack 1.1s ease-in-out infinite}
.stp-preloader-lightning{position:absolute;width:50vw;height:2px;z-index:2;background:linear-gradient(90deg,transparent,rgba(42,90,255,.04) 12%,#2762ff 46%,#c9dcff 50%,#2762ff 54%,rgba(42,90,255,.04) 88%,transparent);box-shadow:0 0 6px #2e65ff,0 0 24px rgba(34,93,255,.75);opacity:.8;transform:rotate(-17deg)}
.stp-preloader-lightning:before,.stp-preloader-lightning:after{content:"";position:absolute;height:2px;background:inherit;box-shadow:inherit;transform-origin:left center}.stp-preloader-lightning:before{width:28%;left:39%;top:-25px;transform:rotate(31deg)}.stp-preloader-lightning:after{width:20%;left:58%;top:22px;transform:rotate(-29deg)}
.stp-lightning-one{left:-55vw;top:46%;animation:stpBolt 2.1s cubic-bezier(.22,.9,.32,1) infinite}.stp-lightning-two{right:-58vw;top:57%;transform:rotate(164deg);animation:stpBolt2 2.8s cubic-bezier(.22,.9,.32,1) .55s infinite;opacity:.36}
@keyframes stpTrack{0%{left:-38%}100%{left:108%}}@keyframes stpBolt{0%,54%{left:-60vw;opacity:0}57%{opacity:1}73%{left:115vw;opacity:.95}76%,100%{left:115vw;opacity:0}}@keyframes stpBolt2{0%,64%{right:-65vw;opacity:0}67%{opacity:.45}80%{right:115vw;opacity:.2}83%,100%{right:115vw;opacity:0}}@keyframes stpAura{from{transform:scale(.95);opacity:.68}to{transform:scale(1.05);opacity:1}}@keyframes stpMarkSweep{0%{transform:translateX(-58%) rotate(0deg)}100%{transform:translateX(58%) rotate(360deg)}}

.stp-login-shell{grid-template-columns:1fr!important;display:grid!important;place-items:center!important;background:radial-gradient(circle at 18% 12%,rgba(40,85,217,.22),transparent 30%),radial-gradient(circle at 82% 86%,rgba(25,74,210,.12),transparent 33%),linear-gradient(145deg,#03050a 0,#080b13 45%,#05070c 100%)!important;color:#eef3ff!important}
.stp-login-shell:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(66,107,207,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(66,107,207,.055) 1px,transparent 1px);background-size:62px 62px;mask-image:linear-gradient(to bottom,#000,transparent 82%);pointer-events:none}
.stp-login-card{position:relative;width:min(460px,calc(100vw - 34px))!important;background:linear-gradient(160deg,rgba(18,23,36,.95),rgba(8,11,18,.96))!important;border:1px solid rgba(86,119,210,.23)!important;border-radius:24px!important;padding:34px!important;box-shadow:0 34px 90px rgba(0,0,0,.52),0 0 70px rgba(36,81,216,.08)!important;backdrop-filter:blur(18px);overflow:hidden}
.stp-login-card:before{content:"";position:absolute;left:-30%;right:-30%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#2f66ff,#cae0ff,#2f66ff,transparent);box-shadow:0 0 18px rgba(47,102,255,.7);animation:stpLoginLine 3s ease-in-out infinite}
@keyframes stpLoginLine{0%,100%{transform:translateX(-20%);opacity:.4}50%{transform:translateX(20%);opacity:1}}
.stp-login-card .stp-app-brand{position:relative;z-index:2;padding:0 0 25px!important;justify-content:flex-start!important}.stp-login-card .stp-brand-divider{background:rgba(255,255,255,.14)!important}.stp-login-card .stp-coutto-logo{max-width:130px;max-height:42px;filter:drop-shadow(0 0 12px rgba(255,255,255,.08))}.stp-login-card .stp-sttack-logo{width:48px;height:48px;background:rgba(255,255,255,.94)!important;box-shadow:0 0 20px rgba(45,93,226,.18)}
.stp-login-copy{position:relative;z-index:2}.stp-login-copy span{color:#6b8cff!important;font-size:9px!important;letter-spacing:.2em!important}.stp-login-copy h1{font-size:28px!important;color:#f6f8ff!important;margin:7px 0!important;letter-spacing:-.03em}.stp-login-copy p{font-size:12px!important;color:#7f8aa2!important;margin:0 0 22px!important}
.stp-login-card form{position:relative;z-index:2}.stp-login-card label{font-size:10px!important;color:#9ea9bd!important;letter-spacing:.04em}.stp-login-card input[type=text],.stp-login-card input[type=password]{width:100%!important;background:#0d111b!important;color:#eef3ff!important;border:1px solid rgba(103,126,177,.25)!important;border-radius:11px!important;padding:12px 13px!important;margin:6px 0 13px!important;outline:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}.stp-login-card input[type=text]:focus,.stp-login-card input[type=password]:focus{border-color:#376cff!important;box-shadow:0 0 0 3px rgba(55,108,255,.11)!important}.stp-login-card input[type=submit]{width:100%!important;background:linear-gradient(135deg,#2758e5,#3471ff)!important;color:#fff!important;border:0!important;border-radius:11px!important;padding:12px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 10px 28px rgba(36,83,221,.25)!important;transition:.2s}.stp-login-card input[type=submit]:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(36,83,221,.35)!important}.stp-login-card .login-remember{font-size:10px!important;color:#7d879b!important}.stp-forgot{position:relative;z-index:2;color:#728ee5!important;font-size:10px!important}.stp-login-card .stp-site-name{color:#fff}

/* Premium workspace polish */
.stp-app-sidebar{background:linear-gradient(180deg,#090c13,#101521 62%,#080b11)!important;border-right:1px solid rgba(78,105,171,.13)!important;box-shadow:14px 0 44px rgba(4,7,12,.13)!important}.stp-app-sidebar:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(180deg,transparent,#2b65ff 23%,transparent 72%);opacity:.65}.stp-app-topbar{background:rgba(250,251,254,.90)!important;box-shadow:0 8px 24px rgba(31,43,70,.035)}.stp-app-content{background:radial-gradient(circle at 88% 0,rgba(54,93,214,.045),transparent 24%),#f4f6fa}.stp-app-nav a.active{position:relative}.stp-app-nav a.active:before{content:"";position:absolute;left:-16px;width:3px;height:58%;border-radius:0 4px 4px 0;background:#6c94ff;box-shadow:0 0 13px #3e74ff}.stp-front-column{background:#edf0f6!important}.stp-front-card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.stp-front-card:hover{transform:translateY(-2px);border-color:#cfd9f5;box-shadow:0 10px 24px rgba(29,48,95,.09)}

@media(max-width:640px){.stp-preloader-mark{width:88px;height:88px}.stp-preloader-mark img{width:68px;height:68px}.stp-preloader-core strong{font-size:18px}.stp-login-card{padding:26px!important}.stp-login-copy h1{font-size:24px!important}}

/* v0.4 — frozen base + operational actions */
.stp-top-actions,.stp-page-actions{display:flex;align-items:center;gap:10px}.stp-quick-btn{border:0;border-radius:11px;background:#2468ff;color:#fff;padding:10px 14px;font-weight:750;display:inline-flex;gap:7px;align-items:center;cursor:pointer}.stp-quick-btn.ghost{background:#111722;color:#dce7ff;border:1px solid #283248}.stp-primary.wide{width:100%;justify-content:center}.stp-modal{position:fixed;inset:0;background:rgba(1,4,10,.72);backdrop-filter:blur(10px);z-index:999999;display:none;align-items:center;justify-content:center;padding:24px}.stp-modal.open{display:flex}.stp-modal-card{position:relative;width:min(680px,96vw);max-height:88vh;overflow:auto;background:#0d121c;border:1px solid #202b40;border-radius:20px;padding:28px;color:#eef4ff;box-shadow:0 30px 100px rgba(0,0,0,.55)}.stp-modal-card h2{margin:4px 0 22px;font-size:28px}.stp-modal-kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#6291ff}.stp-modal-close{position:absolute;right:16px;top:13px;border:0;background:transparent;color:#8fa0bd;font-size:30px;cursor:pointer}.stp-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.stp-modal-grid label,.stp-team-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#aebbd0}.stp-modal-grid .span-2{grid-column:1/-1}.stp-modal input,.stp-modal select,.stp-team-form input{background:#111927!important;border:1px solid #2b3850!important;color:#f4f7ff!important;border-radius:10px!important;padding:11px 12px!important;min-height:42px}.stp-modal-open{overflow:hidden}.stp-report-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.stp-stage-report{display:flex;flex-direction:column;gap:8px}.stp-stage-report>div{display:grid;grid-template-columns:34px 1fr 44px;align-items:center;padding:10px 12px;border:1px solid #e7ebf2;border-radius:10px}.stp-stage-report span{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#2468ff;color:#fff;font-weight:800}.stp-stage-report em{text-align:right;font-style:normal;font-weight:800}.stp-big-value{padding:18px}.stp-big-value small{display:block;color:#77849a}.stp-big-value strong{display:block;font-size:34px;margin:8px 0 10px}.stp-team-form{display:grid;gap:12px}.stp-people-list{display:grid;gap:8px}.stp-people-list>div{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f5}.stp-people-list>div:last-child{border-bottom:0}.stp-people-list .dashicons{color:#2468ff}.stp-people-list b,.stp-people-list small{display:block}.stp-people-list small,.stp-muted{color:#7e899d}.stp-internal-task-toggle{width:27px;height:27px;border-radius:50%;border:1px solid #b9c5d8;background:#fff;color:#2468ff;cursor:pointer;font-weight:900}
@media(max-width:900px){.stp-top-actions .stp-quick-btn{display:none}.stp-report-grid{grid-template-columns:1fr}.stp-modal-grid{grid-template-columns:1fr}.stp-modal-grid .span-2{grid-column:auto}.stp-page-actions{flex-wrap:wrap}}


/* v0.4.1 — Flow usability patch: clickable cards + horizontal navigation */
.stp-flow-wrap{position:relative;min-width:0}
.stp-front-board{scroll-behavior:smooth;overscroll-behavior-x:contain;padding-left:46px!important;padding-right:46px!important}
.stp-flow-nav{position:absolute;z-index:30;top:44%;width:40px;height:62px;border:1px solid rgba(85,112,180,.22);border-radius:12px;background:rgba(12,18,29,.92);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 28px rgba(9,18,41,.24);backdrop-filter:blur(10px);transition:.18s ease}
.stp-flow-nav:hover{background:#2468ff;transform:translateY(-1px);box-shadow:0 12px 28px rgba(36,104,255,.28)}
.stp-flow-nav.prev{left:4px}.stp-flow-nav.next{right:4px}
.stp-flow-nav.is-disabled{opacity:.22;pointer-events:none}
.stp-flow-nav .dashicons{width:20px;height:20px;font-size:20px}
.stp-front-card{cursor:pointer}
.stp-front-card:focus{outline:2px solid #6f92ff;outline-offset:2px}
.stp-front-card.dragging{cursor:grabbing}

/* Fullscreen company card */
.stp-back-link{display:inline-block;margin-bottom:10px;color:#64738f;text-decoration:none;font-size:12px;font-weight:800}
.stp-back-link:hover{color:#2468ff}
.stp-company-head{align-items:flex-start}
.stp-company-head>div:first-child>small{display:block;margin-top:7px;color:#7b8495}
.stp-company-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.stp-company-metrics>div{background:#fff;border:1px solid var(--stp-line);border-radius:13px;padding:16px;box-shadow:var(--stp-shadow)}
.stp-company-metrics small{display:block;color:#7e899b;font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:800}
.stp-company-metrics strong{display:block;margin-top:6px;font-size:15px;color:#202633}
.stp-company-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}
.stp-company-grid .stp-company-timeline{grid-column:1/-1}
.stp-company-block{padding:18px}.stp-company-block>strong{font-size:16px}.stp-company-block>p{color:#7a8496;font-size:12px}
.stp-shared-note{margin-top:15px;padding:13px;border-radius:11px;background:#f6f8fc;border:1px solid #e9edf5}
.stp-shared-note small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#72819d;font-weight:900}
.stp-shared-note p{margin:5px 0 0;font-size:12px;color:#4e596c}
.stp-company-list{padding:8px 16px 16px}
.stp-company-task{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #eef1f5}
.stp-company-task:last-child{border-bottom:0}.stp-company-task strong,.stp-company-task small{display:block}.stp-company-task small{font-size:10px;color:#8a93a4;margin-top:2px}
.stp-timeline-item{display:flex;gap:12px;padding:10px 0}.stp-timeline-item>i{width:8px;height:8px;border-radius:50%;background:#2468ff;box-shadow:0 0 0 4px #e9efff;margin-top:5px;flex:0 0 auto}
.stp-timeline-item strong,.stp-timeline-item small{display:block}.stp-timeline-item strong{font-size:12px}.stp-timeline-item small{font-size:9px;color:#8b94a4;margin-top:2px}
.stp-empty.compact{padding:16px}
@media(max-width:900px){.stp-flow-nav{width:36px;height:54px}.stp-company-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stp-company-grid{grid-template-columns:1fr}.stp-company-grid .stp-company-timeline{grid-column:auto}}


/* v0.5.0 — GS Ready: standalone authentication + operational company workspace */
.stp-login-form{display:grid;gap:14px;margin-top:24px}.stp-login-form>label{display:grid;gap:7px;color:#aeb9ce;font-size:11px;font-weight:800;letter-spacing:.02em}.stp-login-form input[type=text],.stp-login-form input[type=password]{width:100%;box-sizing:border-box;border:1px solid rgba(137,163,221,.18);background:#0b101a;color:#fff;border-radius:12px;padding:14px 15px;outline:none;transition:.2s}.stp-login-form input:focus{border-color:#2c70ff;box-shadow:0 0 0 3px rgba(44,112,255,.12)}.stp-login-row{display:flex;justify-content:space-between;gap:18px;align-items:center;font-size:11px}.stp-login-row a{color:#7fa5ff;text-decoration:none}.stp-remember{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:7px!important;color:#aeb9ce!important}.stp-login-submit{border:0;border-radius:12px;padding:14px 16px;background:linear-gradient(100deg,#1558e8,#367cff);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:space-between;cursor:pointer;box-shadow:0 12px 32px rgba(28,101,255,.24)}.stp-login-submit:hover{filter:brightness(1.08)}.stp-login-alert{padding:11px 13px;border:1px solid rgba(255,94,94,.25);background:rgba(255,58,58,.08);color:#ffaaaa;border-radius:10px;font-size:11px;margin-top:14px}.stp-login-security{display:flex;justify-content:center;align-items:center;gap:8px;color:#667188;font-size:9px;text-transform:uppercase;letter-spacing:.08em;margin-top:18px}.stp-login-security span{width:6px;height:6px;border-radius:50%;background:#2c70ff;box-shadow:0 0 12px #2c70ff}
.stp-company-actions-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin:0 0 14px}.stp-detail-form{padding:16px}.stp-detail-form textarea{min-height:84px}.stp-detail-form>label{display:grid;gap:7px;font-size:11px;font-weight:800;color:#657188}.stp-company-row{cursor:pointer}.stp-company-row:hover td{background:#f7f9fd}.stp-company-row td:first-child b{color:#1e55cc}.stp-app-panel .stp-primary,.stp-app-panel .stp-secondary{margin-top:12px}.stp-page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:980px){.stp-company-actions-grid{grid-template-columns:1fr}.stp-login-card{max-width:430px;width:calc(100% - 32px)}}


/* v0.5.1 — boot control + task master */
html.stp-skip-preloader .stp-preloader{display:none!important}
.stp-page-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.stp-view-switch{display:inline-flex;padding:3px;border:1px solid var(--stp-line);background:#fff;border-radius:10px;box-shadow:0 4px 14px rgba(24,33,55,.04)}
.stp-view-switch button{border:0;background:transparent;color:#747d8d;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:850;display:flex;gap:6px;align-items:center;cursor:pointer}
.stp-view-switch button.active{background:#e9efff;color:#2855d9}
.stp-view-switch .dashicons{font-size:15px;width:15px;height:15px}
.stp-task-view{display:none}.stp-task-view.active{display:block}
.stp-task-row{grid-template-columns:30px minmax(0,1fr) auto 100px auto}
.stp-task-edit{border:1px solid #dce2ec!important;background:#fff!important;color:#42506a!important;width:auto!important;height:auto!important;padding:7px 9px!important;border-radius:8px!important;font-size:10px;font-weight:850;cursor:pointer}
.stp-task-edit.compact{padding:4px 7px!important;font-size:9px}
.stp-task-kanban{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:12px;overflow-x:auto;padding-bottom:10px}
.stp-task-column{background:#eef1f6;border:1px solid #e3e7ee;border-radius:13px;min-height:180px;overflow:hidden}
.stp-task-column>header{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;border-bottom:1px solid #e1e5ec}
.stp-task-column>header strong{font-size:12px}.stp-task-column>header span{font-size:10px;background:#fff;border-radius:7px;padding:3px 7px;color:#697387}
.stp-task-column.late>header{box-shadow:inset 3px 0 #d95f59}.stp-task-column.today>header{box-shadow:inset 3px 0 #f5c84c}.stp-task-column.next>header{box-shadow:inset 3px 0 #2855d9}.stp-task-column.none>header{box-shadow:inset 3px 0 #8b94a4}
.stp-task-column>div{padding:8px}
.stp-task-card{background:#fff;border:1px solid #e1e5ec;border-radius:10px;padding:11px;margin-bottom:8px;box-shadow:0 5px 14px rgba(25,36,60,.05)}
.stp-task-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.stp-task-card>strong{display:block;font-size:12px;line-height:1.3}.stp-task-card>small{display:block;color:#858e9e;font-size:9px;margin-top:3px}
.stp-task-card footer{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid #eef1f4;color:#737d8f;font-size:9px}
.stp-task-none{display:block;text-align:center;color:#9aa2b0;padding:25px 8px;font-size:10px}
.stp-modal-grid textarea{width:100%;min-height:90px;border:1px solid #dfe4ec;border-radius:9px;padding:9px;resize:vertical}
@media(max-width:900px){.stp-task-kanban{grid-template-columns:repeat(4,250px)}.stp-task-row{grid-template-columns:30px minmax(0,1fr) auto}.stp-task-row time{display:none}}


/* v0.5.2 — Flow Kanban / Lista */
.stp-flow-view{display:none}
.stp-flow-view.active{display:block}
.stp-flow-list-table tbody tr{cursor:pointer;transition:.15s ease}
.stp-flow-list-table tbody tr:hover{background:#f7f9fd}
.stp-flow-list-table th,.stp-flow-list-table td{white-space:nowrap}
.stp-flow-list-table td:first-child{min-width:250px}
.stp-flow-list-table td:nth-child(8){min-width:220px;white-space:normal}
.stp-stage-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:8px;background:#edf1ff;color:#3557b7;font-size:10px;font-weight:850}
@media(max-width:900px){
  .stp-flow-list-table{min-width:1180px}
}


/* v0.5.3 — Visual hierarchy / contrast / alignment refinement
   Base funcional congelada. Ajuste somente de acabamento visual. */

/* Palette refinement */
:root{
  --stp-blue:#3159d8;
  --stp-blue-2:#466de8;
  --stp-navy:#161b27;
  --stp-bg:#f3f5f9;
  --stp-line:#dfe4ec;
  --stp-text:#202634;
  --stp-muted:#687386;
  --stp-muted-2:#8892a3;
  --stp-head:#465267;
  --stp-yellow:#f4c84d;
  --stp-green:#2c9369;
  --stp-red:#cb5a56;
  --stp-card:#fff;
}

/* Typography: less compressed, less heavy */
.stp-app-shell{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:0;
}
.stp-page-head h1{
  font-weight:500;
  letter-spacing:-.018em;
  color:#1d2533;
}
.stp-page-head>div>span{
  color:#3159d8;
  font-weight:700;
  letter-spacing:.12em;
}
.stp-page-head small{
  color:#6f7b8e;
  font-weight:400;
}

/* Flow switch: premium but quieter */
.stp-view-switch{
  border-color:#dce2eb;
  background:#fff;
  box-shadow:0 3px 12px rgba(28,37,60,.035);
}
.stp-view-switch button{
  color:#59667a;
  font-weight:600;
  letter-spacing:0;
  padding:7px 11px;
}
.stp-view-switch button.active{
  background:#edf1ff;
  color:#3159d8;
  font-weight:650;
}
.stp-view-switch .dashicons{
  color:currentColor;
}

/* Table header: darker + easier to scan */
.stp-flow-list-table thead th,
.stp-app-table th{
  color:#4e5a6f;
  font-weight:600;
  letter-spacing:.045em;
  font-size:10px;
  background:#f9fafc;
  border-bottom:1px solid #dfe4ec;
  padding-top:12px;
  padding-bottom:12px;
}

/* Body: softer hierarchy */
.stp-flow-list-table td,
.stp-app-table td{
  color:#313a49;
  font-weight:400;
  line-height:1.45;
}
.stp-flow-list-table td:first-child b,
.stp-app-table td:first-child b{
  color:#244fc3;
  font-weight:600;
  letter-spacing:-.01em;
  line-height:1.3;
}
.stp-flow-list-table td:first-child small,
.stp-app-table td:first-child small{
  color:#768296;
  font-weight:400;
  line-height:1.45;
  margin-top:4px;
}

/* Segment, next action and due date: neutral and readable */
.stp-flow-list-table td:nth-child(3),
.stp-flow-list-table td:nth-child(8),
.stp-flow-list-table td:nth-child(9){
  color:#364052;
  font-weight:400;
}

/* Status chips: reduce visual shouting */
.stp-stage-pill{
  background:#edf1ff;
  color:#3156ba;
  font-size:10px;
  font-weight:600;
  letter-spacing:0;
  border:1px solid #e1e7fa;
}
.stp-priority{
  background:#eef2ff;
  color:#3157c2;
  font-weight:650;
}
.stp-badge{
  font-weight:600;
  letter-spacing:0;
}
.stp-badge.warning{
  background:#fff2bc;
  color:#755b00;
}
.stp-badge.info{
  background:#e8efff;
  color:#31589e;
}
.stp-badge.ok,.stp-badge.success{
  background:#e5f5ed;
  color:#257250;
}
.stp-badge.danger{
  background:#fee9e7;
  color:#9b4742;
}
.stp-owner{
  font-weight:650;
  letter-spacing:.035em;
  padding:4px 8px;
}
.stp-owner.coutto{
  background:#e9efff;
  color:#3159c9;
}
.stp-owner.gs{
  background:#eeeafd;
  color:#6652aa;
}

/* Column alignment / visual rhythm */
.stp-flow-list-table th,
.stp-flow-list-table td{
  vertical-align:middle;
}
.stp-flow-list-table th:nth-child(4),
.stp-flow-list-table td:nth-child(4){
  text-align:center;
}
.stp-flow-list-table th:nth-child(7),
.stp-flow-list-table td:nth-child(7){
  text-align:left;
}
.stp-flow-list-table th:nth-child(9),
.stp-flow-list-table td:nth-child(9){
  text-align:left;
}
.stp-flow-list-table tbody tr{
  background:#fff;
}
.stp-flow-list-table tbody tr:nth-child(even){
  background:#fbfcfe;
}
.stp-flow-list-table tbody tr:hover{
  background:#f4f7fd;
}

/* Density: more information without looking squeezed */
.stp-flow-list-table td{
  padding-top:12px;
  padding-bottom:12px;
}
.stp-flow-list-table td:first-child{
  padding-left:16px;
}

/* Kanban headings and cards follow the same hierarchy */
.stp-front-column>header strong{
  color:#293244;
  font-weight:600;
}
.stp-front-column>header>span{
  font-weight:650;
}
.stp-card-title{
  color:#263145;
  font-weight:600;
  letter-spacing:-.01em;
}
.stp-front-card>small{
  color:#788397;
  font-weight:400;
}
.stp-card-action{
  color:#5e697a;
  font-weight:400;
}

/* Tasks: same cross-surface hierarchy */
.stp-task-row strong,
.stp-task-card>strong{
  color:#293244;
  font-weight:600;
}
.stp-task-row span,
.stp-task-card>small,
.stp-task-row time{
  color:#788397;
  font-weight:400;
}

/* Buttons overall: medium weight instead of bold-heavy */
.stp-primary,
.stp-secondary,
.stp-quick-btn,
.stp-task-edit{
  font-weight:600!important;
  letter-spacing:0;
}

/* Keep contrast high enough in navigation */
.stp-app-nav a{
  font-weight:550;
  color:#c0c6d1;
}
.stp-app-nav a.active{
  font-weight:600;
  color:#fff;
}


/* v0.5.4 — Interaction surfaces / Crossmodal refinement
   No functional changes. Modal hierarchy, contrast, rhythm and input ergonomics only. */

.stp-modal{
  background:rgba(12,17,27,.72);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  padding:28px;
}
.stp-modal-card{
  width:min(760px,calc(100vw - 40px));
  max-height:calc(100vh - 56px);
  overflow:auto;
  background:#0d1420;
  border:1px solid #243249;
  border-radius:22px;
  padding:34px 36px 32px;
  box-shadow:0 28px 80px rgba(2,7,16,.46),0 0 0 1px rgba(85,119,181,.05) inset;
  color:#e8edf5;
}
.stp-modal-card::-webkit-scrollbar{width:7px}
.stp-modal-card::-webkit-scrollbar-thumb{background:#34445d;border-radius:10px}

.stp-modal-kicker{
  display:block;
  margin:0 0 10px;
  color:#6f9cff;
  font-size:10px;
  line-height:1;
  font-weight:650;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.stp-modal-card h2{
  margin:0 0 28px;
  color:#f2f5fa;
  font-size:28px;
  line-height:1.12;
  font-weight:500;
  letter-spacing:-.025em;
}
.stp-modal-close{
  top:20px;
  right:22px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#9caac0;
  font-size:28px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
  transition:.16s ease;
}
.stp-modal-close:hover{
  background:#162132;
  color:#fff;
}

/* form rhythm */
.stp-modal-card form{
  display:block;
}
.stp-modal-grid{
  gap:18px;
}
.stp-modal-card label{
  display:block;
  color:#b8c3d4;
  font-size:11px;
  line-height:1.25;
  font-weight:500;
  letter-spacing:.005em;
}
.stp-modal-card input,
.stp-modal-card select,
.stp-modal-card textarea{
  width:100%;
  min-height:48px;
  margin-top:8px;
  padding:0 15px;
  border:1px solid #2c3b52;
  border-radius:11px;
  outline:0;
  background:#111b2a;
  color:#edf1f7;
  font:inherit;
  font-size:12px;
  font-weight:450;
  box-shadow:none;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.stp-modal-card textarea{
  min-height:96px;
  padding-top:13px;
  padding-bottom:13px;
  line-height:1.5;
}
.stp-modal-card input::placeholder,
.stp-modal-card textarea::placeholder{
  color:#65738a;
}
.stp-modal-card input:hover,
.stp-modal-card select:hover,
.stp-modal-card textarea:hover{
  border-color:#3a4c68;
}
.stp-modal-card input:focus,
.stp-modal-card select:focus,
.stp-modal-card textarea:focus{
  border-color:#527ff1;
  background:#121e2f;
  box-shadow:0 0 0 3px rgba(70,109,232,.11);
}
.stp-modal-card select{
  appearance:auto;
}
.stp-modal-card input[type="date"]{
  color-scheme:dark;
}

/* CTA no modal: visually strong, typographically calm */
.stp-modal-card .stp-primary.wide,
.stp-modal-card form>.stp-primary{
  width:100%;
  min-height:46px;
  margin-top:24px;
  border:1px solid #4d73dc;
  border-radius:10px;
  background:#365fd5;
  color:#fff;
  font-size:12px;
  font-weight:600!important;
  letter-spacing:0;
  box-shadow:0 8px 20px rgba(32,74,183,.18);
  transition:.16s ease;
}
.stp-modal-card .stp-primary.wide:hover,
.stp-modal-card form>.stp-primary:hover{
  background:#416ae0;
  border-color:#6387e7;
  transform:translateY(-1px);
}

/* Fix old/global styles leaking into modal titles and controls */
.stp-modal-card h1,
.stp-modal-card h2,
.stp-modal-card h3,
.stp-modal-card h4{
  opacity:1!important;
  text-shadow:none!important;
}
.stp-modal-card button,
.stp-modal-card input,
.stp-modal-card select,
.stp-modal-card textarea{
  letter-spacing:0;
}

/* Separation between semantic responsibility and named assignee */
.stp-modal-grid label:nth-child(3),
.stp-modal-grid label:nth-child(4){
  min-width:0;
}

/* Modal on smaller screens */
@media(max-width:700px){
  .stp-modal{padding:14px}
  .stp-modal-card{
    width:100%;
    max-height:calc(100vh - 28px);
    padding:27px 20px 22px;
    border-radius:17px;
  }
  .stp-modal-card h2{
    font-size:24px;
    margin-bottom:23px;
  }
  .stp-modal-grid{
    grid-template-columns:1fr!important;
    gap:14px;
  }
  .stp-modal-grid .span-2{
    grid-column:auto!important;
  }
}


/* v0.6.1 — Spaces hotfix + preserved v0.5.4 visual language */
.stp-space-switcher{display:grid;gap:5px;margin:18px 12px 16px;padding:8px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055);border-radius:13px}
.stp-space-switcher a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:9px;color:#8f9bad;text-decoration:none;font-size:11px;font-weight:500;transition:.16s ease}
.stp-space-switcher a:hover{background:rgba(255,255,255,.045);color:#dce4ef}
.stp-space-switcher a.active{background:#18253a;color:#fff;box-shadow:inset 3px 0 #416ee8}
.stp-space-switcher .dashicons{font-size:15px;width:15px;height:15px;color:#7189c5}
.stp-space-switcher a.active .dashicons{color:#7197ff}
.stp-space-intro{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--stp-line);border-radius:14px;padding:18px 20px;box-shadow:var(--stp-shadow);margin-top:15px}
.stp-space-intro>.dashicons{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#edf1ff;color:#3159d8;font-size:18px}
.stp-space-intro strong{font-weight:600;color:#263145}
.stp-space-intro p{margin:4px 0 0;color:#718096;font-size:11px;line-height:1.5}
.stp-client-space-empty{max-width:760px;margin:42px auto;background:#fff;border:1px solid var(--stp-line);border-radius:18px;padding:42px;text-align:center;box-shadow:var(--stp-shadow)}
.stp-client-space-icon{width:58px;height:58px;margin:0 auto 16px;border-radius:16px;display:grid;place-items:center;background:#edf1ff;color:#3159d8}
.stp-client-space-icon .dashicons{font-size:24px;width:24px;height:24px}
.stp-client-space-empty h2{margin:0;color:#263145;font-size:21px;font-weight:500}
.stp-client-space-empty p{max-width:560px;margin:10px auto;color:#718096;font-size:12px;line-height:1.6}
.stp-client-space-empty>small{display:block;margin-top:18px;color:#8c96a6;font-size:10px}
.stp-client-space-flow{display:flex;align-items:center;justify-content:center;gap:10px;margin:24px 0 4px}
.stp-client-space-flow span{padding:7px 10px;border-radius:8px;background:#f3f6fb;color:#56647a;font-size:10px;font-weight:600}
.stp-client-space-flow i{font-style:normal;color:#9ba5b4}
@media(max-width:700px){
  .stp-space-intro{grid-template-columns:40px 1fr}
  .stp-space-intro .stp-primary{grid-column:1/-1;text-align:center}
  .stp-client-space-empty{margin:20px 0;padding:28px 18px}
  .stp-client-space-flow{gap:5px;flex-wrap:wrap}
}


/* v0.6.2 — Native SttackPro Mobile Dock */
.stp-mobile-dock,.stp-dock-sheet,.stp-dock-backdrop{display:none}

@media(max-width:720px){
  .stp-app-content{padding-bottom:96px!important}
  .stp-app-sidebar{display:none!important}
  .stp-app-shell{grid-template-columns:1fr}
  .stp-mobile-menu{display:none!important}

  .stp-mobile-dock{
    position:fixed;
    z-index:2147482500;
    left:12px;
    right:12px;
    bottom:calc(10px + env(safe-area-inset-bottom));
    min-height:64px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    align-items:center;
    padding:6px 8px;
    border:1px solid rgba(111,139,190,.19);
    border-radius:20px;
    background:rgba(10,16,27,.91);
    backdrop-filter:blur(18px) saturate(145%);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
    box-shadow:0 18px 40px rgba(4,8,17,.34),inset 0 1px rgba(255,255,255,.03);
  }

  .stp-mobile-dock>a,
  .stp-mobile-dock>button{
    min-width:0;
    height:52px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    border:0;
    background:transparent;
    color:#7f8ca3;
    text-decoration:none;
    font-family:inherit;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    transition:transform .12s ease,color .14s ease;
  }
  .stp-mobile-dock>a:active,
  .stp-mobile-dock>button:active{transform:scale(.93)}
  .stp-mobile-dock .dashicons{font-size:19px;width:19px;height:19px}
  .stp-mobile-dock small{font-size:8.5px;line-height:1;font-weight:550;letter-spacing:0}
  .stp-mobile-dock>a.active{color:#6e94ff}
  .stp-mobile-dock>a.active:after{
    content:"";
    width:16px;height:2px;border-radius:3px;
    background:#4d78f3;
    box-shadow:0 0 10px rgba(77,120,243,.55)
  }

  .stp-mobile-dock .stp-dock-create,
  .stp-mobile-dock .stp-dock-spaces{
    width:54px;
    height:54px;
    justify-self:center;
    margin-top:-24px;
    border-radius:18px;
    color:#fff;
    background:linear-gradient(145deg,#3159d8,#4774ed);
    border:1px solid #5b81ed;
    box-shadow:0 12px 26px rgba(45,86,208,.36),0 0 0 5px rgba(13,20,33,.92);
  }
  .stp-mobile-dock .stp-dock-create .dashicons,
  .stp-mobile-dock .stp-dock-spaces .dashicons{font-size:23px;width:23px;height:23px}

  .stp-dock-backdrop{
    position:fixed;inset:0;z-index:2147482600;
    background:rgba(5,9,16,.58);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
    opacity:0;pointer-events:none;
    display:block;
    transition:opacity .18s ease;
  }
  .stp-dock-backdrop.open{opacity:1;pointer-events:auto}

  .stp-dock-sheet{
    position:fixed;
    z-index:2147482700;
    left:10px;right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom));
    display:block;
    padding:10px 12px 18px;
    border:1px solid #25334a;
    border-radius:22px;
    background:#0d1522;
    color:#eef2f8;
    box-shadow:0 24px 60px rgba(3,8,17,.48);
    transform:translateY(calc(100% + 30px));
    opacity:0;
    pointer-events:none;
    transition:transform .24s cubic-bezier(.2,.75,.2,1),opacity .18s ease;
  }
  .stp-dock-sheet.open{transform:translateY(0);opacity:1;pointer-events:auto}
  .stp-dock-sheet-handle{width:38px;height:4px;border-radius:4px;background:#344156;margin:2px auto 14px}
  .stp-dock-sheet>strong{display:block;padding:0 8px 10px;color:#91a0b7;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.12em}
  .stp-dock-sheet>a,
  .stp-dock-sheet>button{
    width:100%;
    min-height:58px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    align-items:center;
    gap:10px;
    padding:9px 10px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#e9edf4;
    text-decoration:none;
    text-align:left;
    cursor:pointer;
  }
  .stp-dock-sheet>a:hover,.stp-dock-sheet>button:hover,
  .stp-dock-sheet>a.active{background:#152135}
  .stp-dock-sheet .dashicons{
    width:36px;height:36px;border-radius:10px;
    display:grid;place-items:center;
    background:#16233a;color:#7597f0;
    font-size:18px;
  }
  .stp-dock-sheet b{display:block;color:#eef2f7;font-size:12px;font-weight:600}
  .stp-dock-sheet small{display:block;margin-top:2px;color:#78869a;font-size:9.5px;font-weight:400}
  body.stp-sheet-open{overflow:hidden!important}
}


/* v0.6.3 — Task Master / ClickUp-like task fields */
.stp-task-master-table{min-width:1780px}
.stp-task-master-table th,.stp-task-master-table td{white-space:nowrap;vertical-align:middle}
.stp-task-master-table td:first-child{min-width:230px}
.stp-task-master-table .stp-task-long{min-width:220px;max-width:320px;white-space:normal;line-height:1.45;color:#5b6678}
.stp-task-status,.stp-task-priority{display:inline-flex;align-items:center;padding:5px 8px;border-radius:8px;font-size:9px;font-weight:600}
.stp-task-status.open{background:#e9efff;color:#3159c9}.stp-task-status.done{background:#e3f5ec;color:#267450}
.stp-task-priority.low{background:#f1f3f6;color:#687386}.stp-task-priority.normal{background:#eaf0ff;color:#4061b6}.stp-task-priority.high{background:#fff0cc;color:#8a6500}.stp-task-priority.urgent{background:#fee7e5;color:#a5423d}
.stp-modal-card-wide{width:min(900px,calc(100vw - 40px))}
.stp-assignee-grid{margin-top:8px;padding:10px;border:1px solid #2c3b52;border-radius:11px;background:#111b2a;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:190px;overflow:auto}
.stp-check-person{display:flex!important;align-items:center;gap:8px!important;min-height:34px;padding:6px 8px;border-radius:8px;color:#d7deea!important;font-size:11px!important;font-weight:450!important;cursor:pointer}
.stp-check-person:hover{background:#172538}
.stp-check-person input{width:15px!important;min-height:15px!important;height:15px!important;margin:0!important;accent-color:#416ee8}
.stp-task-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px;color:#6d788b;font-size:9px}
.stp-task-kanban-five{grid-template-columns:repeat(5,minmax(230px,1fr))}
.stp-task-column.done>header{box-shadow:inset 3px 0 #2c9369}
@media(max-width:700px){
  .stp-assignee-grid{grid-template-columns:1fr}
  .stp-task-kanban-five{grid-template-columns:repeat(5,250px)}
}


/* v0.7.0 — Advanced architecture */
.stp-person{display:inline-flex;align-items:center;gap:7px;vertical-align:middle}
.stp-avatar{border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(90,112,150,.18)}
.stp-profile-card{padding:24px;border:1px solid #25334a;border-radius:18px;background:#0f1826;max-width:980px}
.stp-profile-hero{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.stp-profile-avatar{border-radius:24px;object-fit:cover;box-shadow:0 12px 32px rgba(0,0,0,.22)}
.stp-profile-hero h2{margin:0;color:#eef3fb;font-size:24px}.stp-profile-hero p{margin:5px 0 0;color:#7f8da3}
.stp-profile-photo-note{font-size:10px;color:#7f8da3;margin:12px 0 16px}
.stp-field-key{display:block;color:#7c899c;font-size:9px;margin-top:3px}
.stp-inline-actions{display:flex;gap:6px}.stp-inline-actions form{margin:0}.stp-inline-actions button{border:1px solid #30405a;background:#152135;color:#dce4ef;border-radius:8px;padding:6px 9px;font-size:9px;cursor:pointer}.stp-inline-actions button.danger{color:#ef9a95;border-color:#57383d}


/* v0.7.1.2 — Identity + trace preservation */
.stp-user-profile-link{display:flex!important;align-items:center;gap:9px;text-decoration:none!important;color:inherit!important;border:0!important;padding:0!important}
.stp-user-profile-link>div{display:flex;flex-direction:column;text-align:right}
.stp-top-avatar,.stp-avatar{border-radius:50%;object-fit:cover;flex:0 0 auto}
.stp-top-avatar{width:34px;height:34px;box-shadow:0 0 0 2px #eef2f8}
.stp-person{display:inline-flex;align-items:center;gap:6px;margin-right:6px;white-space:nowrap}
.stp-person .stp-avatar{width:24px;height:24px}
.stp-muted-person{color:#7f8998;font-size:10px}
.stp-profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}
.stp-profile-card{background:#fff;border:1px solid var(--stp-line);border-radius:18px;box-shadow:var(--stp-shadow)}
.stp-profile-side{padding:26px;text-align:center;position:sticky;top:0}
.stp-profile-photo{display:flex;justify-content:center;margin-bottom:15px}
.stp-profile-avatar{width:128px;height:128px;border-radius:32px;object-fit:cover;box-shadow:0 14px 32px rgba(27,43,73,.15)}
.stp-profile-side h2{margin:0;color:#263145;font-size:21px;font-weight:550}.stp-profile-side>p{margin:5px 0;color:#68758a;font-size:11px}.stp-profile-side>span{display:block;color:#8390a2;font-size:10px}
.stp-profile-contact{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f4;text-align:left}.stp-profile-contact small,.stp-profile-contact strong{display:block}.stp-profile-contact small{margin-top:10px;color:#8994a5;font-size:9px;text-transform:uppercase;letter-spacing:.07em}.stp-profile-contact strong{margin-top:2px;color:#364154;font-size:11px;font-weight:550}
.stp-profile-main{padding:26px}.stp-profile-section{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid #edf0f4}.stp-profile-section:last-of-type{margin-bottom:18px}.stp-profile-section>div:first-child>span{color:#3159d8;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.12em}.stp-profile-section h3{margin:4px 0 17px;color:#263145;font-size:17px;font-weight:520}
.stp-profile-main label{color:#596679;font-size:10px;font-weight:550}.stp-profile-main input,.stp-profile-main textarea{width:100%;margin-top:6px;padding:10px 11px;border:1px solid #dfe4ec;border-radius:9px;background:#fff;color:#263145}.stp-profile-main textarea{min-height:110px;resize:vertical}
.stp-profile-check{display:flex!important;align-items:center;gap:8px}.stp-profile-check input{width:auto!important;margin:0!important}
.stp-profile-actions{display:flex;gap:9px;align-items:center}.stp-form-help{display:block;margin-top:8px;color:#8893a3;font-size:9px}
.stp-task-actions{display:flex;gap:6px;align-items:center}.stp-task-actions form{margin:0}.stp-task-archive{border:1px solid #dce2ec;background:#fff;color:#6b7587;padding:7px 9px;border-radius:8px;font-size:10px;font-weight:600;cursor:pointer}.stp-task-archive:hover{border-color:#c8d1df;background:#f8fafc;color:#465267}
@media(max-width:800px){.stp-profile-layout{grid-template-columns:1fr}.stp-profile-side{position:static}.stp-profile-main{padding:20px}}


/* v0.7.1.2.3 — Login GS split-screen approved layout */
body.sttackpro-login-page{
  margin:0!important;
  min-height:100vh;
  background:
    radial-gradient(circle at 18% 15%,rgba(28,74,177,.13),transparent 28%),
    linear-gradient(145deg,#020711 0%,#050b16 55%,#030812 100%);
  overflow-x:hidden;
}
body.sttackpro-login-page .stp-app-shell,
body.sttackpro-login-page .stp-login-shell{
  display:block!important;
  min-height:0!important;
  background:transparent!important;
}
.stp-login-v123{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(330px,35%) minmax(0,1fr);
  gap:clamp(24px,3vw,58px);
  align-items:center;
  padding:clamp(24px,3.2vw,56px);
  box-sizing:border-box;
  position:relative;
}
.stp-login-v123:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.17;
  background-image:
    linear-gradient(rgba(56,85,145,.09) 1px,transparent 1px),
    linear-gradient(90deg,rgba(56,85,145,.09) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to right,#000,transparent 48%);
}
.stp-login-panel{
  width:100%;
  max-width:430px;
  justify-self:end;
  position:relative;
  z-index:2;
}
.stp-login-brandline{
  margin:0 0 20px 8px;
}
.stp-login-sitebrand .stp-app-brand{
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
}
.stp-login-sitebrand .stp-app-brand img{
  max-height:48px!important;
}
.stp-login-card{
  width:100%;
  box-sizing:border-box;
  padding:34px 34px 28px;
  border:1px solid rgba(82,113,172,.28);
  border-radius:24px;
  background:linear-gradient(155deg,rgba(13,22,37,.97),rgba(7,13,24,.98));
  box-shadow:
    0 28px 70px rgba(0,0,0,.34),
    inset 0 1px rgba(255,255,255,.025);
}
.stp-login-copy{margin-bottom:25px}
.stp-login-copy>span{
  display:block;
  margin-bottom:12px;
  color:#4d7cff;
  font-size:9px;
  line-height:1;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.stp-login-copy h1{
  margin:0;
  color:#f4f7fb;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  line-height:1.05;
  font-weight:400;
  letter-spacing:-.025em;
}
.stp-login-copy h1 b{
  color:#3974ff;
  font-weight:400;
}
.stp-login-copy p{
  max-width:330px;
  margin:13px 0 0;
  color:#8a96a9;
  font-size:11px;
  line-height:1.6;
}
.stp-login-form>label{
  display:block;
  margin-top:18px;
  color:#c3ccda;
  font-size:10px;
  font-weight:600;
}
.stp-login-input{
  margin-top:8px;
  min-height:54px;
  display:grid;
  grid-template-columns:22px 1fr;
  align-items:center;
  gap:9px;
  padding:0 14px;
  border:1px solid #2b3a52;
  border-radius:11px;
  background:#0d1726;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.stp-login-input:focus-within{
  border-color:#4a77ec;
  background:#101c2e;
  box-shadow:0 0 0 3px rgba(60,104,225,.10);
}
.stp-login-input .dashicons{
  color:#8ba1c5;
  font-size:17px;
  width:17px;
  height:17px;
}
.stp-login-input input{
  width:100%;
  min-height:52px;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f0f4fa!important;
  font-size:11px!important;
  font-weight:450!important;
}
.stp-login-input input::placeholder{color:#5f6d82}
.stp-login-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:17px;
  font-size:9px;
}
.stp-login-row a{color:#6d94ff;text-decoration:none}
.stp-remember{
  display:flex!important;
  align-items:center;
  gap:7px;
  margin:0!important;
  color:#aeb8c8!important;
  font-size:9px!important;
  font-weight:500!important;
}
.stp-remember input{width:13px!important;height:13px!important;margin:0!important;accent-color:#3974ff}
.stp-login-submit{
  width:100%;
  min-height:48px;
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border:1px solid #4b80ff;
  border-radius:10px;
  background:linear-gradient(100deg,#1761ee,#347cff);
  color:#fff;
  font-size:11px;
  font-weight:650;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(30,93,230,.25);
}
.stp-login-submit:hover{filter:brightness(1.05);transform:translateY(-1px)}
.stp-login-submit i{font-style:normal;font-size:17px;font-weight:300}
.stp-login-security{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:16px;
  color:#59677c;
  font-size:8px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.stp-login-security span{
  width:5px;height:5px;border-radius:50%;background:#347cff;box-shadow:0 0 9px #347cff
}
.stp-login-alert{
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid rgba(219,90,84,.32);
  border-radius:9px;
  background:rgba(121,38,39,.12);
  color:#e6aaa7;
  font-size:10px;
}
.stp-login-hero{
  position:relative;
  align-self:stretch;
  min-height:min(860px,calc(100vh - clamp(48px,6.4vw,112px)));
  border-radius:30px;
  overflow:hidden;
  background-image:
    linear-gradient(90deg,rgba(4,12,26,.22),rgba(3,9,18,.03) 45%,rgba(3,9,18,.12)),
    var(--stp-login-hero);
  background-size:cover;
  background-position:center;
  box-shadow:
    0 26px 80px rgba(0,0,0,.38),
    0 0 0 1px rgba(92,137,222,.24);
}
.stp-login-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:30px;
  box-shadow:inset 0 0 0 1px rgba(102,150,255,.13);
}
.stp-login-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top,rgba(2,7,15,.42),transparent 38%),
    radial-gradient(circle at 22% 18%,rgba(35,90,211,.10),transparent 34%);
  mix-blend-mode:normal;
}
.stp-login-hero-caption{
  position:absolute;
  z-index:2;
  left:28px;
  bottom:26px;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:11px;
  background:rgba(4,10,19,.56);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.stp-login-hero-caption span{
  color:#d5a75a;
  font-size:9px;
  font-weight:650;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.stp-login-hero-caption strong{
  color:#f1f4f8;
  font-size:11px;
  font-weight:500;
}

/* Mobile: imagem em cima, login abaixo */
@media(max-width:820px){
  body.sttackpro-login-page{overflow:auto}
  .stp-login-v123{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:14px 14px calc(26px + env(safe-area-inset-bottom));
  }
  .stp-login-hero{
    order:1;
    width:100%;
    min-height:38vh;
    max-height:430px;
    flex:0 0 38vh;
    border-radius:22px;
    background-position:center center;
  }
  .stp-login-hero:after{border-radius:22px}
  .stp-login-hero-caption{
    left:16px;
    right:16px;
    bottom:14px;
  }
  .stp-login-panel{
    order:2;
    width:100%;
    max-width:none;
    justify-self:auto;
  }
  .stp-login-brandline{
    margin:2px 4px 12px;
  }
  .stp-login-sitebrand .stp-app-brand img{max-height:40px!important}
  .stp-login-card{
    padding:26px 20px 22px;
    border-radius:20px;
  }
  .stp-login-copy h1{font-size:27px}
  .stp-login-input{min-height:50px}
  .stp-login-input input{min-height:48px}
  .stp-login-submit{min-height:47px}
}
@media(max-width:460px){
  .stp-login-hero{min-height:31vh;flex-basis:31vh}
  .stp-login-hero-caption{display:none}
  .stp-login-copy p{font-size:10.5px}
  .stp-login-row{align-items:flex-start}
}


/* v0.7.1.2.5 — Access Manager premium team UI */
.stp-team-create-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:20px;
}
.stp-team-create-card{
  background:#fff;
  border:1px solid #dfe5ef;
  border-radius:18px;
  padding:0;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(31,43,68,.06);
}
.stp-team-card-head{
  display:flex;
  align-items:center;
  gap:11px;
  padding:18px 20px;
  border-bottom:1px solid #edf1f6;
  background:linear-gradient(180deg,#fff,#fbfcfe);
}
.stp-team-card-head>.dashicons{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#edf2ff;
  color:#3564da;
  font-size:18px;
}
.stp-team-card-head small{
  display:block;
  color:#758197;
  font-size:9px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.10em;
}
.stp-team-card-head h2{
  margin:3px 0 0;
  color:#202a3a;
  font-size:16px;
  font-weight:560;
}
.stp-team-form{
  padding:20px;
}
.stp-team-form label{
  display:block;
  margin-bottom:14px;
  color:#58657a;
  font-size:10px;
  font-weight:550;
}
.stp-team-form input{
  width:100%;
  box-sizing:border-box;
  margin-top:7px;
  min-height:46px;
  padding:0 13px;
  border:1px solid #d8e0eb;
  border-radius:10px;
  background:#fff;
  color:#222c3c;
  font-size:11px;
  font-weight:450;
  outline:0;
  transition:.16s ease;
}
.stp-team-form input:focus{
  border-color:#5d82ea;
  box-shadow:0 0 0 3px rgba(64,103,214,.08);
}
.stp-team-submit{
  width:100%;
  min-height:46px;
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #3565d8;
  border-radius:11px;
  background:linear-gradient(135deg,#315fd2,#416fe5);
  color:#fff;
  font-size:11px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(49,95,210,.18);
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.stp-team-submit.partner{
  background:linear-gradient(135deg,#14223a,#1b3156);
  border-color:#284675;
  box-shadow:0 8px 18px rgba(17,36,69,.17);
}
.stp-team-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 10px 22px rgba(49,95,210,.22);
}
.stp-team-submit .dashicons{font-size:15px;width:15px;height:15px}
.stp-login-open{
  display:inline-flex!important;
  align-items:center;
  gap:7px;
}
.stp-team-directory{margin-top:16px}
.stp-person-row{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:13px 16px!important;
  border-bottom:1px solid #edf1f5;
}
.stp-person-row:last-child{border-bottom:0}
.stp-person-meta small,.stp-person-meta span{
  display:block;
  color:#7a8698;
  font-size:9.5px;
}
.stp-person-meta span{margin-top:2px}
.stp-person-edit-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:0 11px;
  border:1px solid #dce3ed;
  border-radius:9px;
  background:#fff;
  color:#4b5a72;
  font-size:9.5px;
  font-weight:600;
  cursor:pointer;
  transition:.15s ease;
}
.stp-person-edit-btn:hover{
  border-color:#bfcce1;
  background:#f7f9fc;
  color:#315fcf;
}
.stp-person-edit-btn .dashicons{font-size:14px;width:14px;height:14px}
.stp-user-edit-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin:-4px 0 18px;
  padding:12px;
  border:1px solid #27364d;
  border-radius:11px;
  background:#111b2a;
}
.stp-user-edit-header>small{
  color:#8794a8;
  font-size:10px;
}
@media(max-width:850px){
  .stp-team-create-grid{grid-template-columns:1fr}
}


/* v0.7.1.2.6 — Unified Access + strict role isolation */
.stp-access-create-card{
  max-width:1020px;
  margin:0 auto 22px;
  overflow:hidden;
  border:1px solid #dfe5ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 34px rgba(31,43,68,.065);
}
.stp-access-create-head{
  padding:20px 22px;
  border-bottom:1px solid #edf1f6;
  background:linear-gradient(180deg,#fff,#fbfcff);
}
.stp-access-create-head>div{display:flex;gap:13px;align-items:flex-start}
.stp-access-create-head>.x{}
.stp-access-create-head .dashicons{
  width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;
  border-radius:12px;background:#edf2ff;color:#3564da;font-size:19px
}
.stp-access-create-head small{display:block;color:#3564da;font-size:9px;font-weight:700;letter-spacing:.12em}
.stp-access-create-head h2{margin:4px 0 2px;color:#202a3a;font-size:18px;font-weight:560}
.stp-access-create-head p{margin:0;color:#778398;font-size:10px;line-height:1.5}
.stp-access-form{padding:22px}
.stp-access-type-wrap{
  display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:end;
  margin-bottom:17px;padding-bottom:17px;border-bottom:1px solid #edf1f5
}
.stp-access-form label{display:block;color:#58657a;font-size:10px;font-weight:550}
.stp-access-form input,.stp-access-form select{
  width:100%;box-sizing:border-box;min-height:45px;margin-top:7px;padding:0 12px;
  border:1px solid #d8e0eb;border-radius:10px;background:#fff;color:#222c3c;
  font-size:11px;font-weight:450;outline:0
}
.stp-access-form input:focus,.stp-access-form select:focus{border-color:#5d82ea;box-shadow:0 0 0 3px rgba(64,103,214,.08)}
.stp-access-role-preview{
  min-height:54px;display:flex;align-items:center;gap:10px;padding:9px 12px;
  border:1px solid #dfe5ef;border-radius:11px;background:#f8faff
}
.stp-access-role-preview>.dashicons{color:#315fd2}
.stp-access-role-preview small,.stp-access-role-preview strong,.stp-access-role-preview em{display:block}
.stp-access-role-preview small{color:#8792a3;font-size:8px;letter-spacing:.11em}
.stp-access-role-preview strong{color:#263145;font-size:11px;font-weight:650}
.stp-access-role-preview em{color:#758196;font-size:9px;font-style:normal;margin-top:1px}
.stp-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.stp-access-security{
  display:flex;align-items:flex-start;gap:9px;margin:18px 0 14px;padding:11px 13px;
  border:1px solid #e2e7ef;border-radius:10px;background:#f8faff
}
.stp-access-security.compact{margin:14px 0}
.stp-access-security .dashicons{color:#3f68d2;font-size:16px}
.stp-access-security p{margin:0;color:#68758a;font-size:9px;line-height:1.5}
.stp-access-security strong{color:#43516a;font-weight:650}
.stp-access-submit{max-width:340px;margin-left:auto}
.stp-access-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:8.5px;font-weight:650}
.stp-access-status.active{background:#e7f5ed;color:#26724f}
.stp-access-status.blocked{background:#fee8e6;color:#a44742}
.stp-client-home{max-width:920px}
.stp-client-welcome{display:flex;gap:15px;align-items:flex-start;padding:22px;border:1px solid #dfe5ef;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(31,43,68,.05)}
.stp-client-welcome>.dashicons{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#edf2ff;color:#3564da}
.stp-client-welcome small{color:#3564da;font-size:8px;font-weight:700;letter-spacing:.12em}
.stp-client-welcome h2{margin:4px 0;color:#263145;font-size:18px;font-weight:550}
.stp-client-welcome p{margin:0;color:#748196;font-size:10px}
.stp-client-safe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}
.stp-client-safe-grid>div{padding:15px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}
.stp-client-safe-grid small,.stp-client-safe-grid strong{display:block}
.stp-client-safe-grid small{color:#8893a4;font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.stp-client-safe-grid strong{margin-top:4px;color:#334056;font-size:11px;font-weight:600}
@media(max-width:820px){
  .stp-access-type-wrap{grid-template-columns:1fr}
  .stp-access-grid{grid-template-columns:1fr}
  .stp-access-submit{max-width:none}
  .stp-client-safe-grid{grid-template-columns:1fr}
}


/* v0.8.0 — Client Portal Core */
.stp-client-portal{max-width:1050px}
.stp-client-metrics,.stp-client-admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.stp-client-metrics>div,.stp-client-admin-metrics>div{padding:16px 18px;border:1px solid #e2e7ef;border-radius:13px;background:#fff;box-shadow:0 8px 22px rgba(31,43,68,.04)}
.stp-client-metrics small,.stp-client-admin-metrics small{display:block;color:#8792a3;font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.stp-client-metrics strong,.stp-client-admin-metrics strong{display:block;margin:4px 0 2px;color:#273246;font-size:23px;font-weight:520}
.stp-client-metrics span{color:#7d899b;font-size:9px}
.stp-client-requests{margin-top:14px}
.stp-client-request-list{display:grid}
.stp-client-request{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:15px 17px;border-top:1px solid #edf1f5;text-decoration:none!important;color:inherit!important;transition:.15s ease}
.stp-client-request:first-child{border-top:0}
.stp-client-request:hover,.stp-client-request.active{background:#f8faff}
.stp-client-request.active{box-shadow:inset 3px 0 #3e6ee5}
.stp-client-request strong,.stp-client-request small{display:block}.stp-client-request strong{margin:4px 0;color:#2b3649;font-size:12px;font-weight:600}.stp-client-request small{color:#788497;font-size:9.5px;max-width:620px}
.stp-request-type{display:inline-flex;padding:4px 7px;border-radius:7px;background:#eef2ff;color:#3d62bd;font-size:8px;font-weight:650;text-transform:uppercase;letter-spacing:.05em}
.stp-request-side{text-align:right}.stp-request-side time{display:block;margin-top:6px;color:#8792a3;font-size:8.5px}
.stp-request-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8.5px;font-weight:650}
.stp-request-status.requested{background:#fff1c9;color:#826100}.stp-request-status.received{background:#e8efff;color:#315ebd}.stp-request-status.validated{background:#e4f5ec;color:#287451}.stp-request-status.archived{background:#eef0f3;color:#6f7785}
.stp-client-request-detail{margin-top:14px}
.stp-client-detail-copy{padding:15px 17px;border-bottom:1px solid #edf1f5}.stp-client-detail-copy p{margin:0;color:#566276;font-size:10.5px;line-height:1.6}.stp-client-detail-copy small{display:block;margin-top:8px;color:#8994a4;font-size:9px}
.stp-client-flow{display:flex;align-items:center;justify-content:center;gap:9px;padding:16px}.stp-client-flow span{padding:7px 10px;border-radius:9px;background:#f1f3f6;color:#8b95a4;font-size:9px;font-weight:600}.stp-client-flow span.done{background:#e9efff;color:#3159c9}.stp-client-flow i{font-style:normal;color:#a1aab7}
.stp-client-upload-box{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;padding:18px;border-top:1px solid #edf1f5;background:#fbfcfe}.stp-client-upload-box small{color:#3564da;font-size:8px;font-weight:700;letter-spacing:.1em}.stp-client-upload-box h3{margin:4px 0;color:#2c3749;font-size:15px;font-weight:550}.stp-client-upload-box p{margin:0;color:#7d899a;font-size:9.5px}.stp-client-upload-box label{display:block;margin-bottom:10px;color:#59667a;font-size:9.5px;font-weight:550}.stp-client-upload-box input,.stp-client-upload-box textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:9px 10px;border:1px solid #dbe2ec;border-radius:9px;background:#fff}.stp-client-upload-box textarea{min-height:66px;resize:vertical}
.stp-client-files{padding:16px 18px;border-top:1px solid #edf1f5}.stp-panel-head.mini{padding:0 0 10px;border:0}.stp-panel-head.mini h3{margin:0;font-size:13px;font-weight:550}
.stp-client-file-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid #edf1f5}.stp-client-file-row>.dashicons{color:#5274c9}.stp-client-file-row strong,.stp-client-file-row small{display:block}.stp-client-file-row strong{color:#354156;font-size:10.5px;font-weight:600}.stp-client-file-row small{margin-top:2px;color:#8590a1;font-size:8.5px}.stp-client-file-row p{margin:4px 0 0;color:#718096;font-size:9px}.stp-client-file-row>a{padding:6px 9px;border:1px solid #dce3ed;border-radius:8px;color:#315fcf;text-decoration:none;font-size:9px;font-weight:600}
.stp-client-timeline{margin-top:14px}
.stp-client-admin-table{min-width:980px}.stp-client-admin-actions{white-space:nowrap}
.stp-master-files{margin-top:14px;border:1px solid #26364e;border-radius:12px;background:#101a29}
.stp-master-files .stp-client-file-row{border-color:#26364e}.stp-master-files .stp-client-file-row strong{color:#e7edf6}.stp-master-files .stp-client-file-row small{color:#8695aa}
.stp-archive-request-form{margin-top:15px;text-align:right}
@media(max-width:760px){
  .stp-client-metrics,.stp-client-admin-metrics{grid-template-columns:1fr}
  .stp-client-request{grid-template-columns:1fr}.stp-request-side{text-align:left;display:flex;gap:9px;align-items:center}.stp-request-side time{margin:0}
  .stp-client-upload-box{grid-template-columns:1fr}
  .stp-client-file-row{grid-template-columns:26px minmax(0,1fr)}.stp-client-file-row>a{grid-column:2}
}


/* v0.8.1 — PWA full-screen mobile */
html.stp-pwa-installable .stp-pwa-install-action{display:inline-flex}
.stp-pwa-install-action{display:none}

@media(max-width:820px){
  html,body.sttackpro-standalone{
    width:100%;
    min-width:100%;
    min-height:100%;
    margin:0!important;
    padding:0!important;
    background:#050a12;
    overscroll-behavior-y:none;
  }

  body.sttackpro-standalone{
    min-height:100vh;
    min-height:100dvh;
  }

  body.sttackpro-standalone .stp-app-shell{
    width:100vw!important;
    min-width:100vw!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
    overflow-x:hidden!important;
    background:#f4f6fa;
  }

  body.sttackpro-standalone .stp-app-main{
    width:100%!important;
    min-width:0!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:0!important;
  }

  body.sttackpro-standalone .stp-app-topbar{
    position:sticky;
    top:0;
    z-index:900;
    width:100%;
    box-sizing:border-box;
    padding-top:max(10px,env(safe-area-inset-top));
  }

  body.sttackpro-standalone .stp-app-content{
    width:100%;
    box-sizing:border-box;
    margin:0!important;
    padding-left:14px!important;
    padding-right:14px!important;
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }

  body.sttackpro-standalone .stp-mobile-dock{
    left:8px!important;
    right:8px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
  }

  body.sttackpro-login-page .stp-login-v123{
    width:100vw!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
}

/* Quando instalado como PWA */
@media(display-mode:standalone){
  html,body{
    width:100%;
    min-height:100%;
    background:#050a12;
  }
  body.sttackpro-standalone{
    min-height:100vh;
    min-height:100dvh;
    padding-top:env(safe-area-inset-top);
    padding-left:env(safe-area-inset-left);
    padding-right:env(safe-area-inset-right);
    padding-bottom:env(safe-area-inset-bottom);
    box-sizing:border-box;
  }
  body.sttackpro-standalone .stp-app-shell,
  body.sttackpro-standalone .stp-app-main{
    min-height:100dvh!important;
  }
}


/* v0.8.1.3 — Desktop typography 150%; mobile keeps native scale */
@media (min-width:821px){
.stp-site-name{font-size:21px!important;}
.stp-app-nav a{font-size:21px!important;}
.stp-app-nav .dashicons{font-size:28.5px!important;}
.stp-top-kicker{font-size:19.5px!important;}
.stp-userbox small{font-size:16.5px!important;}
.stp-userbox>a{font-size:18px!important;}
.stp-page-head span{font-size:16.5px!important;}
.stp-page-head h1{font-size:42px!important;}
.stp-primary,.stp-secondary{font-size:19.5px!important;}
.stp-app-metric small{font-size:16.5px!important;}
.stp-app-metric strong{font-size:42px!important;}
.stp-app-metric span{font-size:18px!important;}
.stp-panel-head h2{font-size:22.5px!important;}
.stp-panel-head a{font-size:18px!important;}
.stp-app-table th{font-size:15px!important;}
.stp-badge{font-size:15px!important;}
.stp-owner{font-size:13.5px!important;}
.stp-front-column>header em{font-size:15px!important;}
.stp-front-card>small{font-size:15px!important;}
.stp-task-row span{font-size:15px!important;}
.stp-task-row em{font-size:13.5px!important;}
.stp-task-row time{font-size:15px!important;}
.stp-partner-fields label{font-size:15px!important;}
.stp-save-state{font-size:15px!important;}
.stp-login-copy span{font-size:13.5px!important;}
.stp-login-copy h1{font-size:46.5px!important;}
.stp-login-copy p{font-size:16.5px!important;}
.stp-login-card label{font-size:15px!important;}
.stp-login-card .login-remember{font-size:15px!important;}
.stp-forgot{font-size:16.5px!important;}
.stp-head-status{font-size:16.5px!important;}
.stp-modal-kicker{font-size:15px!important;}
.stp-modal-close{font-size:42px!important;}
.stp-modal-grid label,.stp-team-form label{font-size:18px!important;}
.stp-big-value strong{font-size:51px!important;}
.stp-back-link{font-size:18px!important;}
.stp-company-metrics small{font-size:15px!important;}
.stp-company-metrics strong{font-size:22.5px!important;}
.stp-shared-note small{font-size:13.5px!important;}
.stp-shared-note p{font-size:18px!important;}
.stp-company-task small{font-size:15px!important;}
.stp-timeline-item small{font-size:13.5px!important;}
.stp-login-form>label{font-size:15px!important;}
.stp-login-alert{font-size:15px!important;}
.stp-login-security{font-size:12px!important;}
.stp-detail-form>label{font-size:16.5px!important;}
.stp-view-switch button{font-size:16.5px!important;}
.stp-view-switch .dashicons{font-size:22.5px!important;}
.stp-task-edit{font-size:15px!important;}
.stp-task-column>header span{font-size:15px!important;}
.stp-task-card>strong{font-size:18px!important;}
.stp-task-card>small{font-size:13.5px!important;}
.stp-stage-pill{font-size:15px!important;}
.stp-flow-list-table thead th,
.stp-app-table th{font-size:15px!important;}
.stp-modal-card h2{font-size:42px!important;}
.stp-modal-card label{font-size:16.5px!important;}
.stp-modal-card input,
.stp-modal-card select,
.stp-modal-card textarea{font-size:18px!important;}
.stp-modal-card .stp-primary.wide,
.stp-modal-card form>.stp-primary{font-size:18px!important;}
.stp-space-switcher a{font-size:16.5px!important;}
.stp-space-switcher .dashicons{font-size:22.5px!important;}
.stp-space-intro p{font-size:16.5px!important;}
.stp-client-space-icon .dashicons{font-size:36px!important;}
.stp-client-space-empty h2{font-size:31.5px!important;}
.stp-client-space-empty p{font-size:18px!important;}
.stp-client-space-flow span{font-size:15px!important;}
.stp-task-status,.stp-task-priority{font-size:13.5px!important;}
.stp-check-person{font-size:16.5px!important;}
.stp-profile-photo-note{font-size:15px!important;}
.stp-field-key{font-size:13.5px!important;}
.stp-inline-actions button{font-size:13.5px!important;}
.stp-profile-side h2{font-size:31.5px!important;}
.stp-profile-contact small{font-size:13.5px!important;}
.stp-profile-contact strong{font-size:16.5px!important;}
.stp-profile-section>div:first-child>span{font-size:13.5px!important;}
.stp-profile-section h3{font-size:25.5px!important;}
.stp-profile-main label{font-size:15px!important;}
.stp-task-archive{font-size:15px!important;}
.stp-login-copy>span{font-size:13.5px!important;}
.stp-login-input .dashicons{font-size:25.5px!important;}
.stp-login-input input{font-size:16.5px!important;}
.stp-login-row{font-size:13.5px!important;}
.stp-remember{font-size:13.5px!important;}
.stp-login-submit{font-size:16.5px!important;}
.stp-login-submit i{font-size:25.5px!important;}
.stp-login-hero-caption span{font-size:13.5px!important;}
.stp-login-hero-caption strong{font-size:16.5px!important;}
.stp-team-card-head>.dashicons{font-size:27px!important;}
.stp-team-card-head small{font-size:13.5px!important;}
.stp-team-card-head h2{font-size:24px!important;}
.stp-team-form label{font-size:15px!important;}
.stp-team-form input{font-size:16.5px!important;}
.stp-team-submit{font-size:16.5px!important;}
.stp-team-submit .dashicons{font-size:22.5px!important;}
.stp-person-meta small,.stp-person-meta span{font-size:14.25px!important;}
.stp-person-edit-btn{font-size:14.25px!important;}
.stp-person-edit-btn .dashicons{font-size:21px!important;}
.stp-user-edit-header>small{font-size:15px!important;}
.stp-access-create-head small{font-size:13.5px!important;}
.stp-access-create-head h2{font-size:27px!important;}
.stp-access-create-head p{font-size:15px!important;}
.stp-access-form label{font-size:15px!important;}
.stp-access-form input,.stp-access-form select{font-size:16.5px!important;}
.stp-access-role-preview small{font-size:12px!important;}
.stp-access-role-preview strong{font-size:16.5px!important;}
.stp-access-role-preview em{font-size:13.5px!important;}
.stp-access-security p{font-size:13.5px!important;}
.stp-access-status{font-size:12.75px!important;}
.stp-client-welcome small{font-size:12px!important;}
.stp-client-welcome h2{font-size:27px!important;}
.stp-client-safe-grid small{font-size:12px!important;}
.stp-client-safe-grid strong{font-size:16.5px!important;}
.stp-client-metrics small,.stp-client-admin-metrics small{font-size:12px!important;}
.stp-client-metrics strong,.stp-client-admin-metrics strong{font-size:34.5px!important;}
.stp-client-request strong{font-size:18px!important;}
.stp-client-request small{font-size:14.25px!important;}
.stp-request-type{font-size:12px!important;}
.stp-request-status{font-size:12.75px!important;}
.stp-client-detail-copy p{font-size:15.75px!important;}
.stp-client-flow span{font-size:13.5px!important;}
.stp-client-upload-box small{font-size:12px!important;}
.stp-client-upload-box h3{font-size:22.5px!important;}
.stp-client-upload-box label{font-size:14.25px!important;}
.stp-panel-head.mini h3{font-size:19.5px!important;}
.stp-client-file-row strong{font-size:15.75px!important;}
.stp-client-file-row>a{font-size:13.5px!important;}
}


/* Mobile typography is intentionally independent from desktop. */
@media (max-width:820px){
  body.sttackpro-standalone,
  body.sttackpro-login-page{
    font-size:16px!important;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }
}


/* =========================================================
   v0.8.1.4 — Coutto Gold Premium UI
   Visual-only layer: no routes, roles, DB or permissions.
   ========================================================= */

:root{
  --stp-gold:#C9A45C;
  --stp-gold-hi:#E9D29A;
  --stp-gold-deep:#8E6A2B;
  --stp-gold-line:rgba(201,164,92,.72);
  --stp-navy-button:#0B1423;
}

/* 1. Sombras removidas da interface.
   Mantemos bordas existentes dos forms/cards. */
body.sttackpro-standalone *,
body.sttackpro-login-page *{
  box-shadow:none!important;
}

/* Cards, painéis e formulários continuam delineados pelas próprias bordas. */
.stp-app-panel,
.stp-profile-card,
.stp-team-create-card,
.stp-access-create-card,
.stp-client-welcome,
.stp-client-metrics>div,
.stp-client-admin-metrics>div,
.stp-client-safe-grid>div,
.stp-login-card,
.stp-modal-card{
  box-shadow:none!important;
}

/* 2. Família de botões: borda Gold Premium + acabamento espelhado.
   O brilho é gradiente interno, não sombra externa. */
.stp-primary,
.stp-secondary,
.stp-quick-btn,
.stp-team-submit,
.stp-access-submit,
.stp-person-edit-btn,
.stp-task-edit,
.stp-task-archive,
.stp-login-submit,
.stp-client-file-row>a,
.stp-inline-actions button,
.stp-page-actions button,
.stp-page-actions a,
button[class*="stp-"],
a[class*="stp-"][role="button"]{
  position:relative;
  overflow:hidden;
  border:1px solid var(--stp-gold-line)!important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.13) 0%,
      rgba(255,255,255,.045) 36%,
      rgba(255,255,255,0) 37%,
      rgba(0,0,0,.08) 100%),
    linear-gradient(135deg,#15243B 0%,#0B1423 52%,#111D31 100%)!important;
  color:#F7F2E8!important;
  text-shadow:none!important;
  box-shadow:none!important;
  transition:
    border-color .16s ease,
    background .16s ease,
    color .16s ease,
    transform .16s ease,
    filter .16s ease!important;
}

/* Linha superior clara: efeito "espelho" sem glow/sombra. */
.stp-primary::before,
.stp-secondary::before,
.stp-quick-btn::before,
.stp-team-submit::before,
.stp-access-submit::before,
.stp-person-edit-btn::before,
.stp-task-edit::before,
.stp-task-archive::before,
.stp-login-submit::before,
.stp-client-file-row>a::before,
.stp-inline-actions button::before,
.stp-page-actions button::before,
.stp-page-actions a::before{
  content:"";
  position:absolute;
  left:7%;
  right:7%;
  top:1px;
  height:42%;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0));
  opacity:.58;
}

/* Conteúdo sempre acima do reflexo. */
.stp-primary>*,
.stp-secondary>*,
.stp-quick-btn>*,
.stp-team-submit>*,
.stp-access-submit>*,
.stp-person-edit-btn>*,
.stp-task-edit>*,
.stp-task-archive>*,
.stp-login-submit>*,
.stp-inline-actions button>*{
  position:relative;
  z-index:1;
}

/* Botão principal: Gold como acabamento/borda, navy como corpo.
   Evita dourado "chapado" e mantém identidade Coutto. */
.stp-primary,
.stp-team-submit,
.stp-access-submit,
.stp-login-submit,
.stp-quick-btn{
  border-color:var(--stp-gold)!important;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.16) 0%,
      rgba(255,255,255,.055) 34%,
      rgba(255,255,255,0) 35%,
      rgba(0,0,0,.10) 100%),
    linear-gradient(135deg,#17315A 0%,#0B1B34 48%,#0A1322 100%)!important;
}

/* Secundários claros: espelho perolado + contorno gold. */
.stp-secondary,
.stp-person-edit-btn,
.stp-task-archive,
.stp-client-file-row>a{
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.83) 46%,
      rgba(246,244,239,.92) 47%,
      rgba(239,236,228,.96) 100%)!important;
  color:#354055!important;
  border-color:rgba(201,164,92,.62)!important;
}

/* Hover: mais contraste no metal, sem sombra. */
.stp-primary:hover,
.stp-secondary:hover,
.stp-quick-btn:hover,
.stp-team-submit:hover,
.stp-access-submit:hover,
.stp-person-edit-btn:hover,
.stp-task-edit:hover,
.stp-task-archive:hover,
.stp-login-submit:hover,
.stp-client-file-row>a:hover,
.stp-inline-actions button:hover,
.stp-page-actions button:hover,
.stp-page-actions a:hover{
  border-color:var(--stp-gold-hi)!important;
  color:var(--stp-gold-hi)!important;
  transform:translateY(-1px);
  box-shadow:none!important;
  filter:none!important;
}

/* Active: clique "mecânico", sem glow. */
.stp-primary:active,
.stp-secondary:active,
.stp-quick-btn:active,
.stp-team-submit:active,
.stp-access-submit:active,
.stp-person-edit-btn:active,
.stp-task-edit:active,
.stp-task-archive:active,
.stp-login-submit:active{
  transform:translateY(0);
}

/* 3. Inputs/forms: preserva borda que já estava aprovada.
   Remove apenas qualquer sombra de foco/estado. */
body.sttackpro-standalone input,
body.sttackpro-standalone select,
body.sttackpro-standalone textarea,
body.sttackpro-login-page input,
body.sttackpro-login-page select,
body.sttackpro-login-page textarea{
  box-shadow:none!important;
}

body.sttackpro-standalone input:focus,
body.sttackpro-standalone select:focus,
body.sttackpro-standalone textarea:focus,
body.sttackpro-login-page input:focus,
body.sttackpro-login-page select:focus,
body.sttackpro-login-page textarea:focus{
  box-shadow:none!important;
  outline:none;
}

/* 4. Pequenos detalhes premium: apenas linha, nunca sombra. */
.stp-profile-avatar,
.stp-top-avatar,
.stp-avatar{
  box-shadow:none!important;
}


/* =========================================================
   v0.8.1.5 — Surgical UI correction
   ========================================================= */

/* Kanban / Lista: zero sombra externa. */
.stp-view-switch{
  box-shadow:none!important;
  filter:none!important;
}

/* Os botões do seletor mantêm acabamento premium,
   mas sem qualquer halo/sombra por trás. */
.stp-view-switch button,
.stp-view-switch button:hover,
.stp-view-switch button:focus,
.stp-view-switch button:active{
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
}

/* Retira reflexo pseudo-elemento que podia parecer sombra no toggle. */
.stp-view-switch button::before,
.stp-view-switch button::after{
  display:none!important;
  content:none!important;
}

/* Setas do Kanban voltam ao centro vertical do quadro.
   Elas ficam fora do tratamento Gold dos botões. */
.stp-flow-wrap{
  position:relative!important;
}

.stp-flow-nav,
.stp-page-actions .stp-flow-nav,
button.stp-flow-nav{
  position:absolute!important;
  z-index:30!important;
  top:50%!important;
  width:40px!important;
  height:62px!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  border:1px solid rgba(85,112,180,.22)!important;
  border-radius:12px!important;
  background:rgba(12,18,29,.92)!important;
  color:#fff!important;
  box-shadow:none!important;
  filter:none!important;
  overflow:visible!important;
}

.stp-flow-nav::before,
.stp-flow-nav::after{
  display:none!important;
  content:none!important;
}

.stp-flow-nav.prev{left:4px!important}
.stp-flow-nav.next{right:4px!important}

.stp-flow-nav:hover{
  top:50%!important;
  transform:translateY(-50%)!important;
  background:#15243b!important;
  border-color:rgba(85,112,180,.38)!important;
  color:#fff!important;
  box-shadow:none!important;
  filter:none!important;
}

.stp-flow-nav.is-disabled{
  opacity:.22!important;
  pointer-events:none!important;
}

@media(max-width:900px){
  .stp-flow-nav,
  .stp-page-actions .stp-flow-nav,
  button.stp-flow-nav{
    top:50%!important;
    width:36px!important;
    height:54px!important;
    transform:translateY(-50%)!important;
  }
}


/* =========================================================
   v0.8.1.6 — Premium Forms
   Visual-only: controls lose the heavy blue fill.
   ========================================================= */

:root{
  --stp-form-bg:#F1F1F1;
  --stp-form-text:#5F6672;
  --stp-form-placeholder:#9AA1AC;
  --stp-form-border:#D8DCE3;
  --stp-form-focus:#C9A45C;
}

/* Inputs, selects and textareas across the SttackPro app */
body.sttackpro-standalone input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.sttackpro-standalone select,
body.sttackpro-standalone textarea,
body.sttackpro-login-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.sttackpro-login-page select,
body.sttackpro-login-page textarea{
  background:#F1F1F1!important;
  color:#5F6672!important;
  border:1px solid #D8DCE3!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:500!important;
}

/* Desktop: +50% no texto interno dos campos */
@media (min-width:821px){
  body.sttackpro-standalone input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body.sttackpro-standalone select,
  body.sttackpro-standalone textarea,
  body.sttackpro-login-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body.sttackpro-login-page select,
  body.sttackpro-login-page textarea{
    font-size:150%!important;
    line-height:1.35!important;
  }
}

/* Mobile: preserva legibilidade sem estourar os forms */
@media (max-width:820px){
  body.sttackpro-standalone input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body.sttackpro-standalone select,
  body.sttackpro-standalone textarea,
  body.sttackpro-login-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body.sttackpro-login-page select,
  body.sttackpro-login-page textarea{
    font-size:16px!important;
    line-height:1.35!important;
  }
}

/* Placeholder em cinza suave */
body.sttackpro-standalone input::placeholder,
body.sttackpro-standalone textarea::placeholder,
body.sttackpro-login-page input::placeholder,
body.sttackpro-login-page textarea::placeholder{
  color:#9AA1AC!important;
  opacity:1!important;
}

/* Selects: mesma linguagem visual premium */
body.sttackpro-standalone select,
body.sttackpro-login-page select{
  background-color:#F1F1F1!important;
  color:#5F6672!important;
}

/* Foco: apenas delineamento Gold, sem glow */
body.sttackpro-standalone input:focus,
body.sttackpro-standalone select:focus,
body.sttackpro-standalone textarea:focus,
body.sttackpro-login-page input:focus,
body.sttackpro-login-page select:focus,
body.sttackpro-login-page textarea:focus{
  border-color:#C9A45C!important;
  outline:none!important;
  box-shadow:none!important;
  background:#F6F6F6!important;
  color:#4E5560!important;
}

/* Date controls */
body.sttackpro-standalone input[type="date"],
body.sttackpro-login-page input[type="date"]{
  color-scheme:light;
}

/* Fields stay clean, without blue browser autofill */
body.sttackpro-standalone input:-webkit-autofill,
body.sttackpro-login-page input:-webkit-autofill{
  -webkit-text-fill-color:#5F6672!important;
  -webkit-box-shadow:0 0 0 1000px #F1F1F1 inset!important;
  box-shadow:0 0 0 1000px #F1F1F1 inset!important;
  transition:background-color 9999s ease-out 0s;
}


/* v0.8.1.7 — Radius global dos campos */
body.sttackpro-standalone input:not([type="checkbox"]):not([type="radio"]),
body.sttackpro-standalone select,
body.sttackpro-standalone textarea,
body.sttackpro-login-page input:not([type="checkbox"]):not([type="radio"]),
body.sttackpro-login-page select,
body.sttackpro-login-page textarea{
  border-radius:30px!important;
}

/* Textarea precisa de respiro interno para o radius maior */
body.sttackpro-standalone textarea,
body.sttackpro-login-page textarea{
  padding-left:18px!important;
  padding-right:18px!important;
}

/* Campos file também entram no padrão visual */
body.sttackpro-standalone input[type="file"],
body.sttackpro-login-page input[type="file"]{
  border-radius:30px!important;
}


/* v0.8.1.9 — Mobile Dock: one active state only */
@media(max-width:820px){
  .stp-mobile-dock>a,
  .stp-mobile-dock>button{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    filter:none!important;
    color:#7f8ca3!important;
    transform:none!important;
  }

  .stp-mobile-dock>a::before,
  .stp-mobile-dock>a::after,
  .stp-mobile-dock>button::before,
  .stp-mobile-dock>button::after{
    content:none!important;
    display:none!important;
  }

  .stp-mobile-dock>a.active{
    color:#6e94ff!important;
  }

  .stp-mobile-dock>a.active::after{
    content:""!important;
    display:block!important;
    width:16px!important;
    height:2px!important;
    border-radius:3px!important;
    background:#4d78f3!important;
    box-shadow:none!important;
  }

  .stp-mobile-dock>button.is-open{
    color:#c9a45c!important;
  }

  /* Center action keeps its intended app-style shape, but never counts as route active. */
  .stp-mobile-dock .stp-dock-create,
  .stp-mobile-dock .stp-dock-spaces{
    width:54px!important;
    height:54px!important;
    justify-self:center!important;
    margin-top:-24px!important;
    border-radius:18px!important;
    color:#fff!important;
    background:linear-gradient(145deg,#3159d8,#4774ed)!important;
    border:1px solid #5b81ed!important;
    box-shadow:none!important;
  }

  .stp-mobile-dock-client{
    grid-template-columns:repeat(3,1fr)!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }

  .stp-mobile-dock-client>button{
    margin-top:0!important;
  }
}


/* =========================================================
   v0.8.1.10 — Premium Glass Mobile Dock
   Active state: GS Premium Gold
   ========================================================= */
@media (max-width:820px){

  .stp-mobile-dock{
    left:10px!important;
    right:10px!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    min-height:66px!important;
    padding:7px 9px!important;
    border:1px solid rgba(103,145,230,.34)!important;
    border-radius:22px!important;
    background:
      linear-gradient(180deg,rgba(22,31,49,.76),rgba(7,13,23,.89))!important;
    backdrop-filter:blur(22px) saturate(155%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(155%)!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.065),
      inset 0 0 0 1px rgba(88,130,222,.04)!important;
  }

  .stp-mobile-dock>a,
  .stp-mobile-dock>button{
    position:relative!important;
    min-width:0!important;
    height:52px!important;
    border:1px solid transparent!important;
    border-radius:16px!important;
    background:transparent!important;
    color:#7E8CA6!important;
    box-shadow:none!important;
    overflow:hidden!important;
    -webkit-tap-highlight-color:transparent!important;
    transition:
      transform .14s ease,
      color .16s ease,
      border-color .16s ease,
      background .16s ease!important;
  }

  /* delicado reflexo de vidro em cada item */
  .stp-mobile-dock>a::before,
  .stp-mobile-dock>button::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:12%!important;
    right:12%!important;
    top:2px!important;
    height:42%!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0))!important;
    opacity:.45!important;
    pointer-events:none!important;
  }

  /* ACTIVE = dourado premium GS */
  .stp-mobile-dock>a.active{
    color:#E4C47C!important;
    border-color:rgba(201,164,92,.52)!important;
    background:
      linear-gradient(180deg,rgba(201,164,92,.16),rgba(201,164,92,.055))!important;
  }

  .stp-mobile-dock>a.active .dashicons{
    color:#E4C47C!important;
  }

  .stp-mobile-dock>a.active small{
    color:#E4C47C!important;
    font-weight:650!important;
  }

  .stp-mobile-dock>a.active::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:50%!important;
    bottom:4px!important;
    width:18px!important;
    height:2px!important;
    border-radius:99px!important;
    transform:translateX(-50%)!important;
    background:linear-gradient(90deg,#8E6A2B,#E4C47C,#8E6A2B)!important;
    box-shadow:none!important;
  }

  /* feedback de toque */
  .stp-mobile-dock>a:active,
  .stp-mobile-dock>button:active{
    transform:scale(.93)!important;
    background:rgba(112,146,220,.10)!important;
  }

  .stp-mobile-dock>button.is-open{
    color:#E4C47C!important;
    border-color:rgba(201,164,92,.38)!important;
    background:rgba(201,164,92,.08)!important;
  }

  /* botão central mantém destaque app-like */
  .stp-mobile-dock .stp-dock-create,
  .stp-mobile-dock .stp-dock-spaces{
    width:54px!important;
    height:54px!important;
    justify-self:center!important;
    margin-top:-24px!important;
    border-radius:18px!important;
    color:#F7F8FB!important;
    border:1px solid rgba(104,149,238,.55)!important;
    background:
      linear-gradient(180deg,rgba(66,105,199,.95),rgba(28,55,116,.96))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.14)!important;
  }

  .stp-mobile-dock .stp-dock-create::after,
  .stp-mobile-dock .stp-dock-spaces::after{
    content:none!important;
    display:none!important;
  }

  .stp-mobile-dock .stp-dock-create:active,
  .stp-mobile-dock .stp-dock-spaces:active{
    transform:scale(.91)!important;
  }

  /* dock cliente: mesmo acabamento premium */
  .stp-mobile-dock-client{
    grid-template-columns:repeat(3,1fr)!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }

  /* sheets combinando com o vidro */
  .stp-dock-sheet{
    border:1px solid rgba(101,143,227,.28)!important;
    border-radius:24px!important;
    background:
      linear-gradient(180deg,rgba(17,26,43,.96),rgba(8,14,24,.985))!important;
    backdrop-filter:blur(22px) saturate(150%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(150%)!important;
    box-shadow:none!important;
  }

  .stp-dock-sheet>a,
  .stp-dock-sheet>button{
    border:1px solid transparent!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .stp-dock-sheet>a:active,
  .stp-dock-sheet>button:active{
    transform:scale(.985)!important;
    border-color:rgba(201,164,92,.24)!important;
    background:rgba(201,164,92,.06)!important;
  }
}


/* v0.8.1.11 — Business active state hardening */
@media(max-width:820px){
  .stp-mobile-dock .stp-dock-business.active{
    color:#E4C47C!important;
    border-color:rgba(201,164,92,.58)!important;
    background:linear-gradient(180deg,rgba(201,164,92,.18),rgba(201,164,92,.06))!important;
  }

  .stp-mobile-dock .stp-dock-business.active .dashicons,
  .stp-mobile-dock .stp-dock-business.active small{
    color:#E4C47C!important;
  }

  .stp-mobile-dock .stp-dock-business.active::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:50%!important;
    bottom:4px!important;
    width:18px!important;
    height:2px!important;
    border-radius:99px!important;
    transform:translateX(-50%)!important;
    background:linear-gradient(90deg,#8E6A2B,#E4C47C,#8E6A2B)!important;
    box-shadow:none!important;
  }
}


/* v0.8.2.0 — Task Document Versioning */
.stp-task-docs{margin-top:22px;padding-top:20px;border-top:1px solid #e0e3e9}
.stp-task-docs-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.stp-task-docs-head small{color:#8e6a2b;letter-spacing:.12em;font-weight:700}
.stp-task-docs-head h3{margin:3px 0 0;color:#293244}
.stp-task-docs-head>span{border:1px solid rgba(201,164,92,.45);border-radius:30px;padding:5px 11px;color:#8e6a2b}
.stp-task-doc-upload{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border:1px solid #dfe3e9;border-radius:22px;background:#f8f8f8}
.stp-task-doc-upload .span-2{grid-column:1/-1}
.stp-task-doc-history{display:grid;gap:10px;margin-top:14px}
.stp-task-doc-version{display:grid;grid-template-columns:90px 1fr auto;gap:14px;align-items:center;padding:13px 15px;border:1px solid #dfe3e9;border-radius:18px;background:#f7f7f7}
.stp-task-doc-version.validated{border-color:rgba(201,164,92,.55)}
.stp-task-doc-v{display:flex;flex-direction:column}.stp-task-doc-v b{color:#8e6a2b}.stp-task-doc-v span{font-size:12px;color:#7c8491}
.stp-task-doc-main{display:flex;flex-direction:column;gap:4px}.stp-task-doc-main a{color:#36445c;font-weight:650}.stp-task-doc-main small{color:#7d8490}.stp-task-doc-main p{margin:2px 0;color:#59616e}
.stp-doc-valid{color:#8e6a2b!important;font-weight:700}
.stp-doc-check label{display:flex;align-items:center;gap:7px;white-space:nowrap}
.stp-task-doc-chip{margin-top:9px;padding:6px 9px;border:1px solid rgba(201,164,92,.34);border-radius:30px;color:#8e6a2b;background:rgba(201,164,92,.06);font-size:12px;width:max-content}
@media(max-width:820px){
 .stp-task-doc-upload{grid-template-columns:1fr}
 .stp-task-doc-upload .span-2{grid-column:auto}
 .stp-task-doc-version{grid-template-columns:1fr}
}


/* v0.8.2.1 — Task document requirement */
.stp-task-doc-requirement{display:grid;gap:10px;margin-bottom:14px;padding:14px;border:1px solid rgba(201,164,92,.28);border-radius:22px;background:#f7f7f7}
.stp-task-doc-requirement form:first-child{display:grid;gap:12px}
.stp-task-doc-req-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.stp-task-doc-req-grid .span-2{grid-column:1/-1}
.stp-doc-required{display:flex!important;align-items:center;gap:8px}
.stp-doc-required input{width:auto!important}
.stp-task-doc-demand{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px;padding:14px 16px;border:1px solid rgba(201,164,92,.42);border-radius:18px;background:linear-gradient(180deg,#f8f6f1,#f2f1ee)}
.stp-task-doc-demand small,.stp-task-doc-demand strong,.stp-task-doc-demand p{display:block}.stp-task-doc-demand small{color:#8e6a2b;font-size:11px;font-weight:700;letter-spacing:.1em}.stp-task-doc-demand strong{margin-top:3px;color:#303744}.stp-task-doc-demand p{margin:5px 0 0;color:#69707b}
.stp-task-doc-demand>div:last-child{display:flex;flex-direction:column;gap:5px;align-items:flex-end}.stp-task-doc-demand>div:last-child span{padding:5px 8px;border:1px solid rgba(201,164,92,.28);border-radius:30px;color:#7a622f;background:#fff;font-size:11px}
@media(max-width:820px){
  .stp-task-doc-req-grid{grid-template-columns:1fr}
  .stp-task-doc-req-grid .span-2{grid-column:auto}
  .stp-task-doc-demand{flex-direction:column}
  .stp-task-doc-demand>div:last-child{align-items:flex-start}
}


/* =========================================================
   v0.8.2.2 — Interactive Task Cards + ClickUp-style Drawer
   ========================================================= */
.stp-task-interactive-card{
  cursor:pointer;
  position:relative;
  transition:border-color .16s ease,background .16s ease,transform .14s ease;
}
.stp-task-interactive-card:hover{
  border-color:rgba(201,164,92,.52)!important;
  background:#fbfaf7!important;
  transform:translateY(-1px);
}
.stp-task-card-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.stp-card-kebab{width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border:1px solid #dde1e7!important;border-radius:50%!important;background:#f7f7f7!important;color:#69717f!important;font-size:15px!important}
.stp-company-task-doc{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 11px;border:1px solid #e1e4e9;border-radius:14px;background:#f7f7f7}
.stp-company-task-doc span{color:#485163;font-weight:600}.stp-company-task-doc b{font-size:11px;font-weight:650}
.stp-company-task-doc b.pending{color:#8b6d2d}.stp-company-task-doc b.waiting{color:#315ebd}.stp-company-task-doc b.validated{color:#2d7652}
.stp-company-task-doc.muted{opacity:.72}
.stp-company-task-foot,.stp-card-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;color:#7d8593;font-size:11px}
.stp-card-quick-actions{opacity:0;transition:opacity .16s ease}
.stp-task-interactive-card:hover .stp-card-quick-actions{opacity:1}
.stp-card-quick-actions span{padding:4px 7px;border:1px solid #e0e3e8;border-radius:30px;background:#fff}
.stp-task-list-row{cursor:pointer}
.stp-task-list-row:hover{background:#faf9f6!important}

/* Drawer */
.stp-task-drawer{position:fixed;inset:0;z-index:2147483000;pointer-events:none}
.stp-task-drawer.open{pointer-events:auto}
.stp-task-drawer-backdrop{position:absolute;inset:0;background:rgba(5,9,16,.46);opacity:0;transition:opacity .2s ease}
.stp-task-drawer.open .stp-task-drawer-backdrop{opacity:1}
.stp-task-drawer-panel{position:absolute;top:0;right:0;width:min(980px,92vw);height:100vh;height:100dvh;background:#f4f5f8;border-left:1px solid rgba(201,164,92,.28);transform:translateX(102%);transition:transform .28s cubic-bezier(.2,.78,.2,1);overflow:auto}
.stp-task-drawer.open .stp-task-drawer-panel{transform:translateX(0)}
.stp-task-drawer-head{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;gap:18px;padding:22px 26px;border-bottom:1px solid #e0e3e8;background:rgba(248,248,249,.94);backdrop-filter:blur(18px)}
.stp-task-drawer-head small{display:block;margin-top:7px;color:#8e6a2b;letter-spacing:.1em;font-weight:700}
.stp-task-drawer-head h2{margin:4px 0 2px;color:#202a3a;font-size:28px;font-weight:540}
.stp-task-drawer-head p{margin:0;color:#7d8592}
.stp-task-drawer-close{width:38px!important;height:38px!important;padding:0!important;border:1px solid #d9dde4!important;border-radius:50%!important;background:#fff!important;color:#5d6674!important;font-size:24px!important}
.stp-task-drawer-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;padding:22px 24px 36px}
.stp-task-drawer-main{display:grid;gap:16px}
.stp-task-drawer-side{display:grid;align-content:start;gap:10px;position:sticky;top:105px}
.stp-drawer-section,.stp-drawer-field{border:1px solid #e0e3e8;border-radius:20px;background:#fff;padding:17px}
.stp-drawer-section>small,.stp-drawer-field>small{display:block;color:#8c95a4;font-size:11px;letter-spacing:.08em;font-weight:650}
.stp-drawer-section>p{color:#586171;line-height:1.55}
.stp-drawer-field strong{display:block;margin-top:5px;color:#303a4b}
.stp-drawer-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.stp-drawer-section-head h3{margin:4px 0 0;color:#293344;font-size:18px}
.stp-drawer-doc-state{padding:6px 9px;border-radius:30px;font-size:11px;font-weight:650;white-space:nowrap}
.stp-drawer-doc-state.pending{background:#fff2ce;color:#816318}.stp-drawer-doc-state.waiting{background:#e9efff;color:#315ebd}.stp-drawer-doc-state.validated{background:#e5f4eb;color:#2c7651}
.stp-drawer-demand-meta{display:flex;gap:8px;flex-wrap:wrap;margin:11px 0}
.stp-drawer-demand-meta span{padding:5px 8px;border:1px solid rgba(201,164,92,.30);border-radius:30px;color:#7a622f;background:#fbfaf7;font-size:11px}
.stp-drawer-document .stp-task-docs{border-top:0;margin-top:16px;padding-top:0}
.stp-drawer-document .stp-task-docs-head{display:none}
body.stp-task-drawer-open{overflow:hidden!important}

@media(max-width:820px){
  .stp-card-quick-actions{opacity:1}
  .stp-task-drawer-panel{width:100vw}
  .stp-task-drawer-body{grid-template-columns:1fr;padding:14px 12px 110px}
  .stp-task-drawer-side{position:static;grid-template-columns:1fr 1fr}
  .stp-task-drawer-head{padding:16px 14px}
  .stp-task-drawer-head h2{font-size:22px}
}


/* =========================================================
   v0.8.8 POWER — Task Workspace
   ClickUp-inspired interaction, Coutto/GS visual language
   ========================================================= */
.stp-power-task{max-width:none;margin:-24px -24px -60px;background:#f7f8fb;min-height:calc(100vh - 70px)}
.stp-power-breadcrumb{display:flex;gap:8px;align-items:center;padding:14px 22px;border-bottom:1px solid #e6e8ed;background:#fff;font-size:12px}
.stp-power-breadcrumb a{color:#596579;text-decoration:none}.stp-power-breadcrumb span{color:#adb3bd}
.stp-power-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:calc(100vh - 120px)}
.stp-power-main{padding:30px 44px 80px;min-width:0}
.stp-power-titlebar{display:flex;align-items:center;gap:12px;margin-bottom:28px}.stp-power-titlebar h1{margin:0;color:#182033;font-size:30px;font-weight:620}
.stp-power-properties{display:grid;grid-template-columns:1fr 1fr;gap:3px 34px;max-width:820px;margin-bottom:26px}
.stp-power-property{position:relative;display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;min-height:44px;border-radius:9px;padding:3px 6px}
.stp-power-property:hover{background:#eef0f4}.stp-power-property>span{color:#7c8594;font-size:12px}
.stp-power-property form{margin:0}.stp-power-property select,.stp-power-property input[type=date],.stp-people-picker-trigger{width:100%!important;min-height:34px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#30394a!important;font-size:13px!important;padding:5px 8px!important;text-align:left!important}
.stp-power-property.static b{font-size:13px;color:#354052;font-weight:560}
.stp-people-picker-trigger{display:flex!important;align-items:center!important;gap:8px!important}.stp-avatar-stack{display:flex}.stp-avatar-stack img{margin-left:-6px;border:2px solid #fff}.stp-avatar-stack img:first-child{margin-left:0}.stp-avatar-stack i{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#202b3c;color:#fff;font-size:10px}
.stp-people-picker{display:none;position:absolute;z-index:300;top:43px;left:140px;width:340px;padding:10px;border:1px solid #d8dce4;border-radius:14px;background:#fff}.stp-power-property.picker-open .stp-people-picker{display:block}
.stp-picker-search{display:flex;align-items:center;border:1px solid #cfd4dd;border-radius:10px;padding:0 9px}.stp-picker-search input{border:0!important;background:transparent!important;font-size:13px!important;padding:9px!important}.stp-people-picker>small{display:block;padding:11px 5px 6px;color:#929aa8;font-size:10px;font-weight:700;letter-spacing:.09em}
.stp-picker-people{max-height:260px;overflow:auto}.stp-picker-people label{display:grid;grid-template-columns:18px 34px 1fr;gap:8px;align-items:center;padding:7px;border-radius:9px;cursor:pointer}.stp-picker-people label:hover{background:#f0f2f5}.stp-picker-people label span b,.stp-picker-people label span small{display:block}.stp-picker-people label span b{font-size:12px;color:#30394a}.stp-picker-people label span small{font-size:10px;color:#8a93a1}
.stp-power-avatar{border-radius:50%;object-fit:cover}
.stp-power-description{max-width:900px;border-top:1px solid #e3e6eb;padding-top:16px}.stp-power-description textarea{width:100%;min-height:120px;border:0!important;background:transparent!important;border-radius:0!important;padding:8px 0!important;color:#4c5565!important;font-size:14px!important;resize:vertical}.stp-power-description button{border:0;background:transparent;color:#8e6a2b;cursor:pointer}
.stp-power-module{margin-top:28px;border-top:1px solid #e4e6ea;padding-top:18px}.stp-power-module>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.stp-power-module>header span{font-size:10px;color:#8e6a2b;font-weight:700;letter-spacing:.1em}.stp-power-module>header h2{margin:3px 0 0;font-size:17px;color:#2d3646}.stp-power-module>header strong{font-size:12px;color:#7a8492}
.stp-power-subtasks{border:1px solid #e2e5ea;border-radius:12px;overflow:hidden;background:#fff}.stp-power-subtask{display:grid;grid-template-columns:34px minmax(0,1fr) 190px 90px;align-items:center;min-height:45px;border-top:1px solid #eceef1;padding:0 10px}.stp-power-subtask:first-child{border-top:0}.stp-power-subtask.done{opacity:.55}.stp-power-subtask.done a b{text-decoration:line-through}.stp-subtask-check{width:28px!important;height:28px!important;border:0!important;background:transparent!important;color:#7e8796!important;font-size:18px!important}.stp-power-subtask a{text-decoration:none;color:#30394a}.stp-subtask-person{display:flex;align-items:center;gap:7px;color:#667182;font-size:11px}.stp-power-subtask time{font-size:11px;color:#7b8492}
.stp-power-add-subtask{display:grid;grid-template-columns:minmax(0,1fr) 170px 140px 110px 70px;gap:6px;margin-top:8px}.stp-power-add-subtask input,.stp-power-add-subtask select{min-height:36px!important;border:1px solid #e1e4e9!important;border-radius:8px!important;background:#fff!important;font-size:12px!important}.stp-power-add-subtask button{border:1px solid #d7dbe2;border-radius:8px;background:#fff;color:#354052}
.stp-power-actions{display:grid;gap:5px;margin-top:34px;max-width:560px}.stp-power-actions button{width:max-content;border:0!important;background:transparent!important;color:#30394a!important;text-align:left!important;padding:7px 2px!important;font-size:13px!important}.stp-power-actions button:hover{color:#8e6a2b!important}
.stp-power-expand{display:none;margin-top:12px}.stp-power-expand.open{display:block}.stp-power-placeholder{padding:16px;border:1px dashed #d7dbe2;border-radius:12px;background:#fff}.stp-power-placeholder p{color:#7b8492}
.stp-power-activity{display:flex;flex-direction:column;border-left:1px solid #e1e4e9;background:#fff;min-width:0;position:sticky;top:0;height:calc(100vh - 70px)}.stp-power-activity>header{display:flex;justify-content:space-between;align-items:center;padding:17px;border-bottom:1px solid #e6e8ed}.stp-power-activity>header h2{margin:0;font-size:14px}.stp-power-feed{flex:1;overflow:auto;padding:15px}.stp-power-feed article{display:grid;grid-template-columns:32px 1fr;gap:9px;margin-bottom:16px}.stp-power-feed p{margin:0;color:#4b5565;font-size:12px;line-height:1.45}.stp-power-feed time{font-size:10px;color:#9aa1ac}.stp-power-feed blockquote{margin:5px 0;padding:8px;border-left:2px solid #c9a45c;background:#f7f6f2;color:#545d6b;font-size:12px}
.stp-power-comment{display:grid;grid-template-columns:32px 1fr auto;gap:8px;padding:12px;border-top:1px solid #e5e7ec}.stp-power-comment textarea{min-height:46px!important;max-height:110px;border:1px solid #dfe3e9!important;border-radius:12px!important;background:#f7f8fa!important;font-size:12px!important}.stp-power-comment button{border:0;border-radius:10px;background:#111827;color:#fff;padding:0 12px}
@media(max-width:1000px){.stp-power-layout{grid-template-columns:1fr}.stp-power-activity{position:relative;height:auto;border-left:0;border-top:1px solid #e1e4e9}.stp-power-main{padding:24px 20px 80px}}
@media(max-width:820px){.stp-power-task{margin:-14px -14px -100px}.stp-power-main{padding:20px 14px 100px}.stp-power-properties{grid-template-columns:1fr}.stp-power-property{grid-template-columns:120px 1fr}.stp-people-picker{position:fixed;left:10px;right:10px;top:auto;bottom:90px;width:auto}.stp-power-subtask{grid-template-columns:30px 1fr}.stp-subtask-person,.stp-power-subtask time{grid-column:2}.stp-power-add-subtask{grid-template-columns:1fr}.stp-power-titlebar h1{font-size:23px}}


/* =========================================================
   v0.8.9.0 — POWER DYNAMIC UI
   Dense workspace language; 9-stage Flow preserved.
   ========================================================= */
.stp-power-pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.stp-power-pagehead>div:first-child>span{display:block;color:#9a7a38;font-size:10px;font-weight:750;letter-spacing:.12em}
.stp-power-pagehead h1{margin:2px 0 2px;color:#20283a;font-size:29px;font-weight:580}
.stp-power-pagehead p{margin:0;color:#818a99;font-size:11px}
.stp-power-head-actions{display:flex;gap:8px}
.stp-power-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:12px;border:1px solid #e1e4e9;border-radius:13px;overflow:hidden;background:#e1e4e9}
.stp-power-stats>div{padding:12px 15px;background:#fff}
.stp-power-stats small,.stp-power-stats span{display:block;color:#9199a6;font-size:10px}.stp-power-stats strong{display:block;margin:2px 0;color:#273043;font-size:20px;font-weight:560}

.stp-power-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:10px;padding:6px;border:1px solid #e0e3e8;border-radius:12px;background:#fff}
.stp-power-search{display:flex;align-items:center;min-width:280px;flex:1;border:1px solid #e0e3e8;border-radius:9px;padding:0 8px;background:#f8f9fb}
.stp-power-search .dashicons{color:#9aa2ae}.stp-power-search input{width:100%!important;min-height:34px!important;border:0!important;background:transparent!important;border-radius:0!important;font-size:12px!important;padding:5px 7px!important}
.stp-power-toolbar>select{min-height:34px!important;border:1px solid #e0e3e8!important;border-radius:9px!important;background:#f8f9fb!important;color:#586274!important;font-size:11px!important;padding:4px 28px 4px 9px!important}
.stp-power-check{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#697384;font-size:11px;padding:0 5px}.stp-power-check input{width:auto!important}

.stp-stage-rail{display:grid;grid-template-columns:repeat(9,minmax(110px,1fr));gap:4px;margin-bottom:9px;overflow-x:auto;padding-bottom:2px}
.stp-stage-rail button{display:grid;grid-template-columns:24px 1fr auto;gap:5px;align-items:center;min-width:110px;padding:7px 8px!important;border:1px solid #e1e4e9!important;border-radius:9px!important;background:#fff!important;color:#657082!important;text-align:left!important}
.stp-stage-rail button b{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f0f2f5;color:#5d6879;font-size:10px}.stp-stage-rail button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.stp-stage-rail button em{font-style:normal;font-size:9px;color:#9a7a38}
.stp-stage-rail button.active,.stp-stage-rail button:hover{border-color:rgba(201,164,92,.55)!important;background:#fbfaf7!important}.stp-stage-rail button.active b{background:#c9a45c;color:#fff}

.stp-power-flow-wrap{border:1px solid #e2e5e9;border-radius:13px;background:#f3f4f6;padding:7px}
.stp-power-flow-board{gap:7px!important}
.stp-power-flow-column{min-width:285px!important;border:0!important;border-radius:10px!important;background:transparent!important}
.stp-power-flow-column>header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:36px!important;padding:5px 7px!important;border:0!important;background:transparent!important}
.stp-power-flow-column>header>div{display:flex;align-items:center;gap:7px}.stp-power-flow-column>header span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#e2e5ea;color:#647083;font-size:10px}.stp-power-flow-column>header strong{font-size:11px!important;font-weight:650!important;color:#4d586a!important}.stp-power-flow-column>header em{font-style:normal;font-size:10px;color:#8c95a3}
.stp-power-flow-column .stp-front-drop{display:grid;align-content:start;gap:6px;min-height:360px;padding:0!important}
.stp-power-flow-card{position:relative;padding:12px!important;border:1px solid #dfe3e8!important;border-radius:10px!important;background:#fff!important;cursor:pointer;box-shadow:none!important;transition:border-color .14s ease,transform .14s ease!important}
.stp-power-flow-card:hover{border-color:rgba(201,164,92,.58)!important;transform:translateY(-1px)}
.stp-flow-card-top{display:flex;justify-content:space-between;align-items:center}.stp-flow-priority{padding:3px 6px;border-radius:5px;background:#f2f3f6;color:#687385;font-size:9px;font-weight:700}
.stp-flow-quick-trigger{width:26px!important;height:24px!important;padding:0!important;border:0!important;background:transparent!important;color:#9098a5!important;font-size:14px!important}
.stp-power-flow-card h3{margin:7px 0 2px;color:#2a3344;font-size:13px;font-weight:630}.stp-power-flow-card>p{margin:0;color:#929aa6;font-size:9.5px}
.stp-flow-card-owner{display:flex;align-items:center;gap:7px;margin-top:10px}.stp-flow-card-owner>span:last-child small,.stp-flow-card-owner>span:last-child b{display:block}.stp-flow-card-owner small{font-size:8px;color:#9aa2ad}.stp-flow-card-owner b{font-size:10px;color:#5d6778;font-weight:550}.stp-avatar-fallback{display:grid!important;place-items:center;width:26px;height:26px;border-radius:50%;background:#111b2c;color:#fff;font-size:10px!important}
.stp-flow-card-next{display:grid;grid-template-columns:1fr auto;gap:2px 8px;margin-top:10px;padding-top:9px;border-top:1px solid #edf0f3}.stp-flow-card-next small{grid-column:1/-1;color:#9b7a36;font-size:8px;font-weight:700;letter-spacing:.08em}.stp-flow-card-next strong{color:#4a5566;font-size:10.5px;font-weight:560}.stp-flow-card-next time{color:#8992a0;font-size:9px}.stp-flow-card-next.overdue time{color:#aa4d4d;font-weight:650}
.stp-flow-card-foot{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:10px}.stp-flow-card-foot span:last-child{font-size:9px;color:#8d95a1}
.stp-flow-empty{padding:18px 8px;text-align:center;color:#a3aab4;font-size:9px;border:1px dashed #d8dce2;border-radius:9px}
.stp-flow-quick-panel{display:none;position:absolute;z-index:40;top:34px;right:8px;width:255px;padding:10px;border:1px solid #d8dce3;border-radius:11px;background:#fff}.stp-power-flow-card.quick-open .stp-flow-quick-panel{display:grid;gap:7px}
.stp-flow-quick-panel label{display:grid;gap:3px;color:#7f8895;font-size:9px}.stp-flow-quick-panel input,.stp-flow-quick-panel select{min-height:31px!important;border:1px solid #e0e3e8!important;border-radius:7px!important;background:#f7f8fa!important;font-size:10px!important;padding:5px 7px!important}.stp-flow-quick-panel>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.stp-flow-quick-panel button{min-height:30px!important;border:1px solid #c9a45c!important;border-radius:8px!important;background:#111b2c!important;color:#fff!important;font-size:10px!important}
.stp-flow-quick-panel>[data-flow-save-state]{text-align:center;color:#7c8490}
.stp-flow-list-grid{grid-template-columns:minmax(190px,1.25fr) minmax(130px,.8fr) minmax(150px,.9fr) minmax(200px,1.3fr) 95px 120px!important}

.stp-power-list{border:1px solid #e1e4e9;border-radius:12px;overflow:hidden;background:#fff}
.stp-power-list-head,.stp-power-list-row{display:grid;align-items:center;gap:12px;padding:0 12px}
.stp-power-list-head{min-height:35px;background:#f6f7f9;border-bottom:1px solid #e2e5e9;color:#8a93a1;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.stp-power-list-row{min-height:48px;border-top:1px solid #eceef1;color:#566172;font-size:10.5px;cursor:pointer}.stp-power-list-row:first-of-type{border-top:0}.stp-power-list-row:hover{background:#faf9f6}.stp-power-list-row b{font-weight:570;color:#364153}.stp-power-list-row small{display:block;color:#929aa6;font-size:9px}.stp-overdue{color:#ad4e4e!important;font-weight:650}

/* TASKS */
.stp-task-list-grid{grid-template-columns:32px minmax(220px,1.5fr) minmax(160px,.9fr) 95px 90px minmax(150px,.9fr) 145px 60px!important}
.stp-task-check-cell{display:grid;place-items:center}.stp-power-task-toggle{width:25px!important;height:25px!important;padding:0!important;border:1px solid #cfd4dd!important;border-radius:50%!important;background:#fff!important;color:#7c8593!important;font-size:15px!important}.stp-power-task-toggle.done{border-color:#c9a45c!important;background:#c9a45c!important;color:#fff!important}.stp-power-task-toggle.passive{display:grid;place-items:center}
.stp-task-title-cell{position:relative}.stp-task-title-cell b{font-size:11px}.stp-task-mini-doc{display:inline-block;margin-left:6px;padding:2px 5px;border-radius:5px;background:#f3f1eb;color:#8c6d31;font-size:8px}
.stp-task-assignees-cell .stp-avatar-name{margin-right:4px}.stp-task-row-actions{display:flex;justify-content:flex-end;gap:3px}.stp-task-row-actions a,.stp-task-row-actions button{display:grid!important;place-items:center;width:27px!important;height:27px!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#7d8795!important;text-decoration:none!important}.stp-task-row-actions a:hover,.stp-task-row-actions button:hover{background:#eef0f3!important;color:#8e6a2b!important}
.stp-mini-progress{width:100%;height:4px;border-radius:99px;background:#e8eaf0;overflow:hidden}.stp-mini-progress i{display:block;height:100%;background:#c9a45c}.stp-task-progress-cell small{margin-top:3px}
.stp-power-task-board{display:grid;grid-template-columns:repeat(5,minmax(235px,1fr));gap:8px;overflow-x:auto;padding-bottom:5px}
.stp-power-task-column{min-width:235px;padding:7px;border:1px solid #e2e5e9;border-radius:12px;background:#f4f5f7}.stp-power-task-column>header{padding:4px 4px 8px}.stp-power-task-column>header>div{display:flex;justify-content:space-between;align-items:center}.stp-power-task-column>header strong{color:#566173;font-size:11px}.stp-power-task-column>header span{font-size:9px;color:#959daa}
.stp-power-task-card{margin-top:6px;padding:11px;border:1px solid #dee2e7;border-radius:9px;background:#fff;cursor:pointer}.stp-power-task-card:hover{border-color:rgba(201,164,92,.55)}.stp-power-task-card-top{display:flex;justify-content:space-between;align-items:center}.stp-power-task-card h3{margin:8px 0 2px;font-size:12px;color:#303a4b}.stp-power-task-card>p{margin:0;color:#929aa7;font-size:9.5px}.stp-power-task-card-people{margin-top:9px}.stp-power-task-card .stp-mini-progress{margin-top:9px}.stp-power-task-card>small{display:block;margin-top:4px;color:#8f98a5;font-size:9px}.stp-power-task-card footer{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid #edf0f3;color:#87909e;font-size:9px}.stp-task-column-empty{padding:25px 5px;text-align:center;color:#a0a7b2;font-size:9px}
.stp-power-list-row.is-complete{opacity:.58}.stp-power-list-row.is-complete .stp-task-title-cell b{text-decoration:line-through}

/* Avatar consistency */
.stp-avatar-name{display:inline-flex!important;align-items:center;gap:6px}.stp-avatar-name img,.stp-power-avatar{border-radius:50%!important;object-fit:cover!important}

/* Keep UI dense even with the global desktop type scale layer */
@media(min-width:821px){
  .stp-power-pagehead p,.stp-power-toolbar,.stp-stage-rail,.stp-power-flow-card,.stp-power-list,.stp-power-task-board{font-size:initial!important}
}

@media(max-width:1050px){
  .stp-flow-list-grid{grid-template-columns:minmax(190px,1fr) 130px 150px minmax(180px,1fr) 90px!important}
  .stp-flow-list-grid>*:nth-child(6){display:none}
  .stp-task-list-grid{grid-template-columns:32px minmax(210px,1.4fr) minmax(150px,.9fr) 90px 90px minmax(140px,.8fr)!important}
  .stp-task-list-grid>*:nth-child(7),.stp-task-list-grid>*:nth-child(8){display:none}
}
@media(max-width:820px){
  .stp-power-pagehead{align-items:flex-start}.stp-power-pagehead h1{font-size:24px}.stp-power-pagehead p{font-size:11px}
  .stp-power-stats{grid-template-columns:1fr 1fr}
  .stp-power-toolbar{overflow-x:auto}.stp-power-search{min-width:220px}.stp-power-toolbar>select{min-width:125px}
  .stp-stage-rail{grid-template-columns:repeat(9,125px)}
  .stp-power-flow-column{min-width:268px!important}
  .stp-flow-quick-panel{position:fixed;left:10px;right:10px;bottom:88px;top:auto;width:auto}
  .stp-power-list{overflow-x:auto}.stp-power-list-head,.stp-power-list-row{min-width:760px}
  .stp-power-task-board{grid-template-columns:repeat(5,250px)}
}


/* =========================================================
   v0.8.9.1 — FLOW POLISH
   Hierarquia, enquadramento e estética refinados.
   ========================================================= */

/* Topo mais compacto */
.stp-power-pagehead{
  margin-bottom:10px!important;
  min-height:auto!important;
}
.stp-power-pagehead h1{
  font-size:27px!important;
  line-height:1.05!important;
}
.stp-power-pagehead p{
  margin-top:4px!important;
}

/* Métricas mais densas, 25-30% menores */
.stp-power-stats{
  margin-bottom:10px!important;
  border-radius:11px!important;
}
.stp-power-stats>div{
  padding:9px 13px!important;
}
.stp-power-stats strong{
  font-size:18px!important;
  line-height:1.05!important;
}
.stp-power-stats small,
.stp-power-stats span{
  font-size:9px!important;
}

/* Toolbar compacta e equilibrada */
.stp-flow-toolbar{
  gap:6px!important;
  padding:5px!important;
}
.stp-flow-toolbar .stp-power-search{
  flex:0 1 420px!important;
  min-width:260px!important;
}
.stp-flow-toolbar>select{
  min-width:auto!important;
  width:auto!important;
  max-width:180px!important;
  min-height:32px!important;
  padding-top:3px!important;
  padding-bottom:3px!important;
}
.stp-flow-toolbar .stp-view-switch{
  margin-left:auto!important;
  flex:0 0 auto!important;
}
.stp-flow-add-business{
  flex:0 0 auto!important;
  min-height:32px!important;
  padding:6px 12px!important;
  border-radius:10px!important;
  font-size:11px!important;
}

/* Régua das 9 etapas mais legível */
.stp-stage-rail{
  grid-template-columns:repeat(9,minmax(138px,1fr))!important;
  gap:5px!important;
  margin-bottom:8px!important;
}
.stp-stage-rail button{
  min-width:138px!important;
  min-height:34px!important;
  padding:6px 8px!important;
}
.stp-stage-rail button b{
  width:21px!important;
  height:21px!important;
  font-size:9px!important;
}
.stp-stage-rail button span{
  font-size:10px!important;
  font-weight:560!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.stp-stage-rail button em{
  font-size:9px!important;
}

/* Kanban passa a parecer um conjunto de colunas reais */
.stp-power-flow-wrap{
  position:relative!important;
  padding:8px!important;
  border-radius:14px!important;
  background:#f2f3f6!important;
  overflow:hidden!important;
}
.stp-power-flow-board{
  gap:9px!important;
  scroll-snap-type:x proximity!important;
  scroll-padding-left:8px!important;
}
.stp-power-flow-column{
  min-width:318px!important;
  width:318px!important;
  flex:0 0 318px!important;
  border:1px solid #e1e4e9!important;
  border-radius:12px!important;
  background:#f7f8fa!important;
  scroll-snap-align:start!important;
  overflow:visible!important;
}
.stp-power-flow-column>header{
  min-height:42px!important;
  padding:8px 10px!important;
  border-bottom:1px solid #e4e7eb!important;
  border-radius:12px 12px 0 0!important;
  background:#fff!important;
}
.stp-power-flow-column>header>div{
  min-width:0!important;
  gap:8px!important;
}
.stp-power-flow-column>header strong{
  display:block!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:11px!important;
  line-height:1.1!important;
}
.stp-power-flow-column>header em{
  flex:0 0 auto!important;
  min-width:22px!important;
  text-align:right!important;
}
.stp-power-flow-column .stp-front-drop{
  min-height:410px!important;
  padding:7px!important;
  gap:7px!important;
}

/* Cards mais integrados à coluna */
.stp-power-flow-card{
  padding:12px!important;
  border-radius:10px!important;
  background:#fff!important;
}
.stp-power-flow-card::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:2px;
  border-radius:0 2px 2px 0;
  background:rgba(201,164,92,.68);
}
.stp-flow-card-top{
  padding-left:3px!important;
}
.stp-flow-priority{
  font-size:9px!important;
  letter-spacing:.02em!important;
}
.stp-power-flow-card h3{
  margin:8px 0 2px!important;
  font-size:13px!important;
  line-height:1.2!important;
  white-space:normal!important;
}
.stp-power-flow-card>p{
  line-height:1.3!important;
}
.stp-flow-card-owner{
  margin-top:9px!important;
}
.stp-flow-card-owner .stp-power-avatar,
.stp-flow-card-owner .stp-avatar-fallback{
  width:28px!important;
  height:28px!important;
}
.stp-flow-card-next{
  margin-top:9px!important;
  padding-top:8px!important;
}
.stp-flow-card-next strong{
  line-height:1.25!important;
}
.stp-flow-card-foot{
  margin-top:9px!important;
}
.stp-flow-card-foot .stp-badge{
  font-size:9px!important;
  padding:4px 7px!important;
  border-radius:999px!important;
}
.stp-flow-card-foot span:last-child{
  white-space:nowrap!important;
}

/* Drop vazio mais integrado */
.stp-flow-empty{
  min-height:52px!important;
  display:grid!important;
  place-items:center!important;
  padding:10px!important;
  margin:0!important;
}

/* Setas no centro real do quadro */
.stp-power-flow-wrap .stp-flow-nav{
  top:50%!important;
  transform:translateY(-50%)!important;
  width:34px!important;
  height:56px!important;
  border-radius:12px!important;
  background:rgba(11,20,35,.90)!important;
  border:1px solid rgba(201,164,92,.28)!important;
  box-shadow:none!important;
}
.stp-power-flow-wrap .stp-flow-nav.prev{
  left:5px!important;
}
.stp-power-flow-wrap .stp-flow-nav.next{
  right:5px!important;
}

/* Fade lateral para deixar claro que há overflow horizontal */
.stp-power-flow-wrap::before,
.stp-power-flow-wrap::after{
  content:"";
  position:absolute;
  z-index:12;
  top:0;
  bottom:0;
  width:24px;
  pointer-events:none;
}
.stp-power-flow-wrap::before{
  left:0;
  background:linear-gradient(90deg,rgba(242,243,246,.96),rgba(242,243,246,0));
}
.stp-power-flow-wrap::after{
  right:0;
  background:linear-gradient(270deg,rgba(242,243,246,.96),rgba(242,243,246,0));
}

/* lista do Flow também mais alinhada */
.stp-flow-list-grid{
  grid-template-columns:minmax(210px,1.25fr) minmax(145px,.85fr) minmax(170px,.95fr) minmax(220px,1.35fr) 100px 120px!important;
}
.stp-power-list-head{
  min-height:38px!important;
}
.stp-power-list-row{
  min-height:50px!important;
}

/* mobile separado, sem estourar */
@media(max-width:820px){
  .stp-power-stats{
    grid-template-columns:repeat(2,1fr)!important;
  }
  .stp-flow-toolbar{
    flex-wrap:nowrap!important;
  }
  .stp-flow-toolbar .stp-power-search{
    min-width:220px!important;
    flex:0 0 220px!important;
  }
  .stp-flow-add-business{
    position:sticky!important;
    right:0!important;
    z-index:5!important;
  }
  .stp-stage-rail{
    grid-template-columns:repeat(9,145px)!important;
  }
  .stp-stage-rail button{
    min-width:145px!important;
  }
  .stp-power-flow-column{
    min-width:286px!important;
    width:286px!important;
    flex-basis:286px!important;
  }
  .stp-power-flow-column>header strong{
    font-size:10.5px!important;
  }
  .stp-power-flow-column .stp-front-drop{
    min-height:360px!important;
  }
}


/* =========================================================
   v0.8.9.2 — FLOW FRAME FIX
   Corrige grid real, tipografia herdada e toolbar.
   ========================================================= */

/* O grid original ainda tinha tracks de 285px. Isso fazia as colunas
   de 318px se sobreporem e cortava os nomes dos headers. */
body.sttackpro-standalone .stp-front-board.stp-power-flow-board{
  display:grid!important;
  grid-template-columns:repeat(9,318px)!important;
  grid-auto-columns:318px!important;
  gap:9px!important;
  padding-left:38px!important;
  padding-right:38px!important;
  box-sizing:border-box!important;
}
body.sttackpro-standalone .stp-power-flow-column{
  width:318px!important;
  min-width:318px!important;
  max-width:318px!important;
  box-sizing:border-box!important;
}
body.sttackpro-standalone .stp-power-flow-column>header{
  display:flex!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.sttackpro-standalone .stp-power-flow-column>header>div{
  flex:1 1 auto!important;
  min-width:0!important;
}
body.sttackpro-standalone .stp-power-flow-column>header strong{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:12px!important;
  font-weight:620!important;
  line-height:1.2!important;
}
body.sttackpro-standalone .stp-power-flow-column>header em{
  flex:0 0 24px!important;
  width:24px!important;
  text-align:right!important;
  font-size:11px!important;
}

/* Toolbar: não herda o +50% global dos forms. */
body.sttackpro-standalone .stp-flow-toolbar{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) 150px 160px 150px auto auto auto!important;
  align-items:center!important;
  gap:6px!important;
  overflow:visible!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-power-search{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:none!important;
  height:36px!important;
  box-sizing:border-box!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-power-search input{
  width:100%!important;
  min-width:0!important;
  min-height:34px!important;
  height:34px!important;
  padding:5px 7px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:450!important;
  color:#596579!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-power-search input::placeholder{
  color:#9aa3b0!important;
  font-size:14px!important;
}
body.sttackpro-standalone .stp-flow-toolbar>select{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  padding:5px 30px 5px 11px!important;
  border:1px solid #dfe3e9!important;
  border-radius:10px!important;
  background-color:#f7f8fa!important;
  color:#5c6677!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:500!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-power-check{
  height:36px!important;
  padding:0 7px!important;
  font-size:11px!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-view-switch{
  height:36px!important;
  padding:2px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-view-switch button{
  height:30px!important;
  min-height:30px!important;
  padding:4px 10px!important;
  border-radius:8px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:600!important;
}
body.sttackpro-standalone .stp-flow-toolbar .stp-flow-add-business{
  height:36px!important;
  min-height:36px!important;
  padding:5px 11px!important;
  border-radius:10px!important;
  white-space:nowrap!important;
  font-size:11px!important;
  line-height:1!important;
}

/* Régua de etapas: texto nunca comprimido pelo boost tipográfico global. */
body.sttackpro-standalone .stp-stage-rail{
  grid-template-columns:repeat(9,minmax(132px,1fr))!important;
}
body.sttackpro-standalone .stp-stage-rail button{
  min-width:132px!important;
  height:36px!important;
  min-height:36px!important;
}
body.sttackpro-standalone .stp-stage-rail button b{
  font-size:9px!important;
}
body.sttackpro-standalone .stp-stage-rail button span{
  font-size:10px!important;
  line-height:1!important;
  font-weight:600!important;
}
body.sttackpro-standalone .stp-stage-rail button em{
  font-size:9px!important;
}

/* Cards: preserva a densidade mesmo com escala global desktop. */
body.sttackpro-standalone .stp-power-flow-card h3{font-size:13px!important;line-height:1.2!important}
body.sttackpro-standalone .stp-power-flow-card>p{font-size:9.5px!important;line-height:1.3!important}
body.sttackpro-standalone .stp-flow-card-owner small{font-size:8px!important}
body.sttackpro-standalone .stp-flow-card-owner b{font-size:10px!important}
body.sttackpro-standalone .stp-flow-card-next small{font-size:8px!important}
body.sttackpro-standalone .stp-flow-card-next strong{font-size:10.5px!important}
body.sttackpro-standalone .stp-flow-card-next time{font-size:9px!important}
body.sttackpro-standalone .stp-flow-card-foot .stp-badge{font-size:9px!important}
body.sttackpro-standalone .stp-flow-card-foot span:last-child{font-size:9px!important}

/* Desktop intermediário: toolbar em duas faixas, nunca corta +Business. */
@media(min-width:821px) and (max-width:1280px){
  body.sttackpro-standalone .stp-flow-toolbar{
    grid-template-columns:minmax(240px,1fr) 140px 150px 140px auto!important;
  }
  body.sttackpro-standalone .stp-flow-toolbar .stp-view-switch{
    grid-column:4/5!important;
  }
  body.sttackpro-standalone .stp-flow-toolbar .stp-flow-add-business{
    grid-column:5/6!important;
  }
}

@media(max-width:820px){
  body.sttackpro-standalone .stp-flow-toolbar{
    display:flex!important;
    width:max-content!important;
    min-width:100%!important;
    overflow:visible!important;
  }
  body.sttackpro-standalone .stp-flow-toolbar .stp-power-search{width:220px!important;flex:0 0 220px!important}
  body.sttackpro-standalone .stp-flow-toolbar>select{width:130px!important;flex:0 0 130px!important}
  body.sttackpro-standalone .stp-front-board.stp-power-flow-board{
    grid-template-columns:repeat(9,286px)!important;
    grid-auto-columns:286px!important;
    padding-left:32px!important;
    padding-right:32px!important;
  }
  body.sttackpro-standalone .stp-power-flow-column{
    width:286px!important;
    min-width:286px!important;
    max-width:286px!important;
  }
  body.sttackpro-standalone .stp-power-flow-column>header strong{font-size:11px!important}
}


/* =========================================================
   v0.8.9.3 — FLOW TYPOGRAPHY + CONTRAST
   Base v0.8.9.2 congelada. Somente tipografia e contraste.
   ========================================================= */

:root{
  --stp-flow-text-75: rgba(0,0,0,.75);
  --stp-flow-text-60: rgba(0,0,0,.60);
  --stp-flow-text-48: rgba(0,0,0,.48);
}

/* +10% na leitura do Flow sem alterar dimensões estruturais */
.stp-power-pagehead h1{
  font-size:29.7px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-power-pagehead>div:first-child>span{
  font-size:11px!important;
}
.stp-power-pagehead p{
  font-size:12.1px!important;
  color:var(--stp-flow-text-60)!important;
}

/* Métricas */
.stp-power-stats small,
.stp-power-stats span{
  font-size:9.9px!important;
  color:var(--stp-flow-text-48)!important;
}
.stp-power-stats strong{
  font-size:19.8px!important;
  color:var(--stp-flow-text-75)!important;
}

/* Toolbar */
.stp-flow-toolbar .stp-power-search input{
  font-size:13.2px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-flow-toolbar>select{
  font-size:12.1px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-power-check{
  font-size:12.1px!important;
  color:var(--stp-flow-text-60)!important;
}
.stp-flow-add-business{
  font-size:12.1px!important;
}

/* Régua das 9 etapas */
.stp-stage-rail button b{
  font-size:9.9px!important;
}
.stp-stage-rail button span{
  font-size:11px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-stage-rail button em{
  font-size:9.9px!important;
  color:rgba(142,106,43,.92)!important;
}

/* Cabeçalhos das colunas */
.stp-power-flow-column>header strong{
  font-size:12.1px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-power-flow-column>header em{
  font-size:11px!important;
  color:var(--stp-flow-text-48)!important;
}
.stp-power-flow-column>header span{
  font-size:11px!important;
  color:var(--stp-flow-text-60)!important;
}

/* Cards */
.stp-flow-priority{
  font-size:9.9px!important;
  color:var(--stp-flow-text-60)!important;
}
.stp-power-flow-card h3{
  font-size:14.3px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-power-flow-card>p{
  font-size:10.45px!important;
  color:var(--stp-flow-text-48)!important;
}
.stp-flow-card-owner small{
  font-size:8.8px!important;
  color:var(--stp-flow-text-48)!important;
}
.stp-flow-card-owner b{
  font-size:11px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-flow-card-next small{
  font-size:8.8px!important;
}
.stp-flow-card-next strong{
  font-size:11.55px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-flow-card-next time{
  font-size:9.9px!important;
  color:var(--stp-flow-text-48)!important;
}
.stp-flow-card-foot .stp-badge{
  font-size:9.9px!important;
}
.stp-flow-card-foot span:last-child{
  font-size:9.9px!important;
  color:var(--stp-flow-text-48)!important;
}
.stp-flow-empty{
  font-size:9.9px!important;
  color:var(--stp-flow-text-48)!important;
}

/* Lista Flow */
.stp-power-list-head{
  color:var(--stp-flow-text-48)!important;
}
.stp-power-list-row{
  font-size:11.55px!important;
  color:var(--stp-flow-text-60)!important;
}
.stp-power-list-row b{
  color:var(--stp-flow-text-75)!important;
}
.stp-power-list-row small{
  font-size:9.9px!important;
  color:var(--stp-flow-text-48)!important;
}

/* Quick edit */
.stp-flow-quick-panel label{
  font-size:9.9px!important;
  color:var(--stp-flow-text-60)!important;
}
.stp-flow-quick-panel input,
.stp-flow-quick-panel select{
  font-size:11px!important;
  color:var(--stp-flow-text-75)!important;
}
.stp-flow-quick-panel button{
  font-size:11px!important;
}

/* Mobile segue separado e sem explosão */
@media(max-width:820px){
  .stp-power-pagehead h1{
    font-size:26.4px!important;
  }
  .stp-power-pagehead p{
    font-size:12.1px!important;
  }
  .stp-stage-rail button span{
    font-size:11px!important;
  }
  .stp-power-flow-column>header strong{
    font-size:11.55px!important;
  }
  .stp-power-flow-card h3{
    font-size:14.3px!important;
  }
}
