
:root{--navy:#102b55;--blue:#2459a6;--blue2:#e9f0fb;--ink:#182435;--muted:#66758b;--bg:#f4f6f9;--surface:#fff;--line:#e3e8ef;--teal:#16877c;--teal-soft:#e4f4f1;--amber:#ac6c17;--amber-soft:#fff4df;--red:#b44848;--red-soft:#fcecec;--shadow:0 14px 35px rgba(28,48,77,.08);--r:18px;--smallr:12px;--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;color:var(--ink);font:15px/1.45 var(--font);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--navy);color:#edf4ff;padding:22px 16px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:4px 8px 26px}.brand img{width:42px;height:42px;object-fit:cover;border-radius:13px;border:1px solid rgba(255,255,255,.24);background:#fff}.brand .brandmark{width:42px;height:42px;border-radius:13px;background:#f8fbff;color:var(--navy);display:grid;place-items:center;font-weight:850;font-size:25px;box-shadow:inset 0 0 0 2px #cad7e7}.brand .brand-logo{object-fit:cover;border:1px solid rgba(255,255,255,.24)}.brand-name{font-size:14px;font-weight:750;line-height:1.2}.brand-caption{font-size:11px;color:#adbfdb;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}.workspace-label{font-size:10px;color:#9eb3d1;text-transform:uppercase;letter-spacing:.14em;padding:0 11px 9px}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;color:#cad6e8;text-align:left;border-radius:11px;padding:11px 12px;display:flex;align-items:center;gap:12px;font-weight:600;font-size:13px;transition:.18s}.nav button:hover,.nav button.active{background:rgba(255,255,255,.11);color:#fff}.nav .ni{width:20px;text-align:center;font-size:17px}.nav .count{margin-left:auto;background:#f7fafc;color:#1d3659;border-radius:20px;padding:1px 7px;font-size:11px}.side-bottom{margin-top:auto}.side-note{border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:13px;background:rgba(255,255,255,.05);font-size:12px;color:#d9e5f5}.side-note strong{display:block;color:#fff;margin-bottom:4px}.side-foot{font-size:10px;color:#98abc5;padding:13px 4px 0}.main{margin-left:250px;min-height:100vh}.topbar{height:66px;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:4}.crumb{color:var(--muted);font-size:13px}.top-actions{display:flex;align-items:center;gap:10px}.demo-pill{background:#fff7e7;color:#865714;border:1px solid #f0dbac;border-radius:99px;padding:6px 10px;font-size:11px;font-weight:700}.user-menu{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:99px;padding:5px 12px 5px 5px;color:var(--ink);font-size:12px;font-weight:650}.avatar{width:29px;height:29px;border-radius:50%;background:#dce8fa;color:var(--navy);display:grid;place-items:center;font-weight:800}.content{max-width:1420px;margin:0 auto;padding:31px 34px 60px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:23px}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--blue);font-weight:800}.page-head h1{font-size:29px;letter-spacing:-.04em;line-height:1.12;margin:5px 0 6px;color:#172942}.page-head p{margin:0;color:var(--muted);font-size:14px}.btn{border:1px solid var(--line);border-radius:11px;padding:10px 14px;background:#fff;color:var(--ink);font-weight:700;font-size:13px;transition:.17s;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{transform:translateY(-1px);box-shadow:0 7px 17px rgba(25,50,82,.1)}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:#1b4d95}.btn.soft{background:var(--blue2);border-color:transparent;color:var(--blue)}.btn.danger{color:var(--red);background:#fff;border-color:#f1cccc}.btn.sm{padding:7px 10px;border-radius:9px;font-size:12px}.btn.icon{padding:8px;min-width:35px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:17px 18px;box-shadow:0 2px 8px rgba(20,40,70,.025);min-height:111px;position:relative;overflow:hidden}.stat:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-20px;top:-24px;background:var(--blue2);opacity:.8}.stat .label{font-size:12px;color:var(--muted);font-weight:650;position:relative;z-index:1}.stat .number{font-size:29px;letter-spacing:-.04em;font-weight:800;color:var(--navy);margin-top:7px;position:relative;z-index:1}.stat .hint{font-size:11px;color:var(--muted);margin-top:1px;position:relative;z-index:1}.stat.attn:after{background:var(--amber-soft)}.stat.attn .number{color:var(--amber)}.stat.ok:after{background:var(--teal-soft)}.stat.ok .number{color:var(--teal)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:17px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 2px 8px rgba(20,40,70,.025)}.panel-head{padding:17px 19px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:16px;letter-spacing:-.02em;margin:0}.panel-head p{color:var(--muted);font-size:12px;margin:3px 0 0}.panel-body{padding:0 19px 18px}.mini-link{border:0;background:none;color:var(--blue);font-weight:750;font-size:12px;padding:6px}.process-row{padding:14px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(160px,1.25fr) minmax(110px,.8fr) minmax(120px,.9fr) minmax(85px,.6fr) auto;gap:12px;align-items:center}.process-row:first-child{border-top:0}.pname{font-weight:750;font-size:13px}.pname small{display:block;color:var(--muted);font-weight:500;font-size:11px;margin-top:3px}.row-meta{font-size:12px;color:#3f4e63}.row-meta small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:99px;font-weight:700;font-size:10px;white-space:nowrap;background:#edf1f6;color:#526179}.tag.blue{background:#e7effb;color:#265693}.tag.green{background:var(--teal-soft);color:#167366}.tag.amber{background:var(--amber-soft);color:#885916}.tag.red{background:var(--red-soft);color:#a13c3c}.tag.gray{background:#edf0f4;color:#657286}.progress-line{display:flex;align-items:center;gap:7px;min-width:92px}.progress-track{height:6px;border-radius:99px;background:#edf0f4;overflow:hidden;flex:1}.progress-fill{height:100%;border-radius:99px;background:var(--teal);transition:width .25s}.progress-label{font-size:10px;color:var(--muted);font-weight:700;min-width:27px}.task-card{padding:12px 0;border-top:1px solid var(--line);display:flex;gap:10px;align-items:flex-start}.task-card:first-child{border-top:0}.task-dot{width:8px;height:8px;background:var(--amber);border-radius:50%;margin-top:5px;box-shadow:0 0 0 4px var(--amber-soft);flex:none}.task-text{font-size:12px;font-weight:700;line-height:1.4}.task-text small{display:block;color:var(--muted);font-size:10px;font-weight:500;margin-top:3px}.callout{margin-top:17px;border-radius:var(--r);padding:18px 20px;background:linear-gradient(105deg,#102b55,#174879);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.callout:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;border:1px solid rgba(255,255,255,.16);right:21%;top:-125px;box-shadow:0 0 0 24px rgba(255,255,255,.035),0 0 0 50px rgba(255,255,255,.025)}.callout h3{margin:0;font-size:16px}.callout p{margin:4px 0 0;color:#c7d5e8;font-size:12px;max-width:620px}.callout .btn{position:relative;z-index:1;background:#fff;color:var(--navy);white-space:nowrap}.section-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px}.search{position:relative;flex:1;min-width:210px}.search input{width:100%;padding:11px 13px 11px 37px;border:1px solid var(--line);background:#fff;border-radius:11px;outline:0;color:var(--ink)}.search input:focus,input:focus,select:focus,textarea:focus{border-color:#85a9df;box-shadow:0 0 0 3px #e5eefc}.search .glass{position:absolute;left:13px;top:10px;color:#8795a8;font-size:16px}.select{border:1px solid var(--line);border-radius:10px;padding:10px 30px 10px 11px;background-color:#fff;color:#46546a;font-size:12px;font-weight:650;outline:0}.process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.process-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:17px;transition:.18s;cursor:pointer}.process-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cad7e8}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.card-id{font-size:10px;color:#748298;font-weight:800;letter-spacing:.09em}.process-card h3{font-size:16px;margin:5px 0 3px;letter-spacing:-.02em}.card-client{font-size:12px;color:var(--muted)}.card-facts{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:17px 0 15px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.fact-label{font-size:10px;color:#8290a3;text-transform:uppercase;font-weight:750;letter-spacing:.07em}.fact-val{font-size:12px;color:#33435a;font-weight:650;margin-top:3px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.empty{padding:35px 18px;text-align:center;color:var(--muted)}.empty .empty-icon{font-size:25px;margin-bottom:8px}.empty strong{display:block;color:#3d4d63;margin-bottom:4px}.detail-top{display:flex;align-items:center;gap:12px;margin-bottom:20px}.detail-top .back{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 11px;color:var(--navy);font-weight:700}.detail-heading{flex:1}.detail-heading h1{margin:4px 0;font-size:25px;letter-spacing:-.04em}.detail-heading p{margin:0;color:var(--muted);font-size:12px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);gap:15px;align-items:start}.detail-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 19px 17px;padding-bottom:16px;border-bottom:1px solid var(--line)}.detail-info .fact-val{font-size:13px}.check-item{padding:14px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) 152px;gap:13px;align-items:center}.check-item:first-child{border-top:0}.check-name{display:flex;gap:10px;align-items:flex-start}.check-ico{width:30px;height:30px;border-radius:9px;background:#f0f3f7;color:#59708d;display:grid;place-items:center;flex:none}.check-title{font-size:12px;font-weight:750}.check-sub{font-size:10px;color:var(--muted);margin-top:3px;display:flex;gap:7px;flex-wrap:wrap}.check-sub a{color:var(--blue);text-decoration:none}.check-control select{width:100%;font-size:11px;padding:8px;border-radius:9px;border:1px solid var(--line);background:#fff;color:#3f4e63}.check-extra{margin-top:9px;display:flex;gap:7px}.check-extra input{min-width:0;flex:1;font-size:10px;padding:7px 8px;border-radius:8px;border:1px solid var(--line)}.side-stack{display:grid;gap:13px}.side-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:17px}.side-card h3{font-size:14px;margin:0 0 12px}.owner-line{display:flex;gap:10px;align-items:center;padding:8px 0}.owner-name{font-size:12px;font-weight:700}.owner-name small{display:block;color:var(--muted);font-size:10px;font-weight:500}.detail-progress{font-size:27px;font-weight:800;color:var(--navy);letter-spacing:-.04em}.detail-progress small{font-size:11px;color:var(--muted);font-weight:600;letter-spacing:0}.progress-large{height:8px;background:#eef1f5;border-radius:9px;margin:9px 0 6px;overflow:hidden}.progress-large i{height:100%;display:block;background:var(--teal);border-radius:9px}.audit{font-size:10px;color:var(--muted);margin-top:8px}.notice{background:#fff8e9;border:1px solid #f1dfb9;color:#78571f;font-size:11px;padding:10px 12px;border-radius:11px;margin:0 19px 14px}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:15px}.field{display:grid;gap:6px;margin-bottom:12px}.field label{font-size:11px;color:#526179;font-weight:750}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:10px 11px;outline:0;width:100%;font-size:12px}.field textarea{min-height:82px;resize:vertical}.hint{font-size:10px;color:#8491a4;line-height:1.45}.setting-row{padding:15px 0;border-top:1px solid var(--line)}.setting-row:first-child{border-top:0}.setting-title{font-weight:750;font-size:12px}.setting-copy{font-size:10px;color:var(--muted);margin:3px 0 9px}.template-card{border:1px solid var(--line);border-radius:12px;padding:13px;margin-top:9px;background:#fff}.template-title{font-size:12px;font-weight:750}.template-meta{color:var(--muted);font-size:10px;margin:3px 0 7px}.template-items{font-size:10px;color:#5f6f84;line-height:1.6}.team-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 90px;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}.team-row:first-child{border-top:0}.team-ident{display:flex;align-items:center;gap:9px}.team-ident strong{font-size:12px}.team-ident small{display:block;color:var(--muted);font-size:10px}.role-label{background:#eff3f8;border-radius:8px;padding:5px 7px;font-size:10px;text-align:center;font-weight:700;color:#51637b}.modal-wrap{position:fixed;inset:0;background:rgba(12,26,45,.48);backdrop-filter:blur(4px);z-index:20;display:none;align-items:center;justify-content:center;padding:16px}.modal-wrap.open{display:flex}.modal{width:min(640px,100%);max-height:min(90vh,850px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(7,23,46,.28);animation:pop .18s ease}.modal-head{position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid var(--line);padding:17px 20px;display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:17px;margin:0}.modal-body{padding:19px 20px}.modal-foot{display:flex;justify-content:flex-end;gap:9px;padding:13px 20px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.span2{grid-column:1/-1}.toast-stack{position:fixed;right:22px;bottom:22px;display:grid;gap:8px;z-index:40}.toast{padding:11px 15px;background:#142c4e;color:#fff;border-radius:11px;font-size:12px;box-shadow:var(--shadow);animation:pop .18s ease}.toast.error{background:#8e3838}.mobile-head,.mobile-nav{display:none}.soft-rule{font-size:10px;color:#8a6a32;background:#fff7e7;border-radius:8px;padding:5px 8px}.text-btn{border:0;background:none;color:var(--blue);font-weight:700;font-size:11px;padding:5px}.hidden{display:none!important}.field-photo-panel{margin-top:15px;padding:12px;display:flex;align-items:center;gap:16px}.field-photo{width:190px;height:118px;object-fit:cover;border-radius:12px}.field-photo-panel strong{display:block;margin-top:4px;font-size:14px;color:var(--navy)}.field-photo-panel p{font-size:11px;color:var(--muted);margin:4px 0 0}.section-title{font-size:13px;font-weight:800;color:#364960;margin:15px 0 8px}.setting-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.file-preview{display:flex;align-items:center;gap:9px;background:#f6f8fb;padding:11px;border-radius:11px;font-size:11px;color:#53647b}.file-preview b{color:var(--blue)}
@keyframes pop{from{opacity:0;transform:translateY(5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1050px){.sidebar{width:218px}.main{margin-left:218px}.content{padding:26px 23px 50px}.topbar{padding:0 23px}.dashboard-grid,.detail-layout,.settings-grid{grid-template-columns:1fr}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.process-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 100px auto;gap:8px}.process-row .pname{grid-column:1;grid-row:1/3}.process-row .row-meta:nth-child(2){grid-column:2;grid-row:1}.process-row .row-meta:nth-child(3){grid-column:2;grid-row:2}.process-row .progress-line{grid-column:3;grid-row:1/3;min-width:0}.process-row .btn{grid-column:4;grid-row:1/3;align-self:center}}
@media(max-width:700px){.sidebar{display:none}.main{margin-left:0;padding-bottom:72px}.topbar{height:58px;padding:0 15px}.crumb{font-size:12px}.demo-pill{font-size:9px;padding:5px 7px}.user-menu{padding:4px 8px 4px 4px;font-size:0}.user-menu .avatar{font-size:11px}.content{padding:22px 14px 35px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:25px}.page-head .btn{align-self:stretch}.summary{gap:9px}.stat{min-height:94px;padding:13px}.stat .number{font-size:25px}.stat .label{font-size:10px}.stat .hint{font-size:9px}.dashboard-grid{gap:12px}.panel-head{padding:15px 14px 10px}.panel-body{padding:0 14px 14px}.process-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:12px 0}.process-row .row-meta:nth-child(2),.process-row .row-meta:nth-child(3){display:none}.process-row .progress-line{grid-column:1;grid-row:2;max-width:150px}.process-row .tag{grid-column:2;grid-row:1}.process-row .btn{grid-column:2;grid-row:2}.callout{align-items:flex-start;flex-direction:column;padding:16px}.callout .btn{width:100%}.process-grid{grid-template-columns:1fr}.detail-top{align-items:flex-start}.detail-heading h1{font-size:20px}.detail-info{grid-template-columns:1fr 1fr;margin:0 14px 14px}.check-item{grid-template-columns:1fr;gap:8px}.check-control{padding-left:40px}.side-stack{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.setting-columns{grid-template-columns:1fr}.field-photo-panel{align-items:flex-start;flex-direction:column}.field-photo{width:100%;height:150px}.team-row{grid-template-columns:minmax(0,1fr) 80px auto;gap:6px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;height:66px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line);z-index:10;justify-content:space-around}.mobile-nav button{border:0;background:transparent;color:#7b899b;font-size:9px;font-weight:700;display:grid;justify-items:center;align-content:center;gap:3px;min-width:55px}.mobile-nav button span:first-child{font-size:18px}.mobile-nav button.active{color:var(--blue)}.modal-wrap{padding:8px;align-items:flex-end}.modal{border-radius:20px 20px 11px 11px;max-height:92vh}.modal-head,.modal-body{padding-left:16px;padding-right:16px}.modal-foot{padding-left:16px;padding-right:16px}.toast-stack{right:12px;left:12px;bottom:77px}.toast{text-align:center}}


/* Extensões da prévia permanente */
.prototype-notice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff9ea;border:1px solid #ecd8ad;border-radius:12px;padding:10px 13px;margin:0 0 18px;color:#624c27;font-size:11px;line-height:1.4}.prototype-notice strong{font-size:10px;letter-spacing:.08em;color:#8e5c15;white-space:nowrap}.prototype-notice span{flex:1;min-width:220px}.prototype-notice .text-btn{white-space:nowrap}
.empty-welcome{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:28px;background:linear-gradient(115deg,#102b55 0%,#174879 63%,#1c6c78 100%);border-radius:22px;padding:clamp(22px,4vw,42px);color:white;margin-bottom:18px;min-height:260px}.welcome-copy{max-width:700px;position:relative;z-index:1}.empty-welcome .tag{background:rgba(255,255,255,.14);color:#e8f3ff}.empty-welcome h2{font-size:clamp(24px,3.5vw,35px);line-height:1.12;letter-spacing:-.04em;margin:14px 0 9px}.empty-welcome p{color:#d1deed;font-size:13px;max-width:620px;margin:0}.welcome-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:19px}.empty-welcome .btn.primary{background:#fff;color:#15395e;border-color:#fff}.empty-welcome .btn.soft{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.22)}.empty-welcome .text-btn{color:#e4efff}.welcome-orbit{width:190px;height:190px;min-width:190px;border:1px solid rgba(255,255,255,.26);border-radius:50%;display:grid;place-items:center;position:relative;margin-right:2vw;box-shadow:0 0 0 20px rgba(255,255,255,.035),0 0 0 42px rgba(255,255,255,.025)}.orbit-center{width:84px;height:84px;border-radius:25px;background:#f5f8fc;color:#102b55;font-size:47px;font-weight:850;display:grid;place-items:center;box-shadow:0 14px 32px #071a344c}.orbit-dot{position:absolute;top:19px;right:28px;width:14px;height:14px;background:#63c3ae;border-radius:50%;box-shadow:0 0 0 7px #63c3ae2b}.orbit-caption{position:absolute;bottom:-24px;right:4px;color:#bdd8e1;font-size:10px;letter-spacing:.08em;text-transform:uppercase;text-align:right}
.view-toggle{display:inline-flex;border:1px solid var(--line);padding:3px;border-radius:11px;background:#fff}.view-toggle button{border:0;background:transparent;border-radius:8px;padding:7px 10px;color:var(--muted);font-size:11px;font-weight:750}.view-toggle button.active{background:var(--blue2);color:var(--blue)}.kanban-board{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:3px 1px 14px;scroll-snap-type:x proximity}.kanban-column{flex:0 0 272px;min-width:272px;background:#edf1f6;border:1px solid #e1e7ef;border-radius:15px;padding:10px;scroll-snap-align:start}.kanban-column-head{display:flex;align-items:center;gap:8px;padding:4px 4px 11px}.kanban-column-head strong{font-size:12px;flex:1}.kanban-count{font-size:10px;font-weight:800;background:#fff;border-radius:20px;padding:3px 7px;color:#627187}.kanban-step{width:9px;height:9px;border-radius:50%;background:#3869ad;box-shadow:0 0 0 4px #3869ad20}.kanban-column:nth-child(3n) .kanban-step{background:#148879;box-shadow:0 0 0 4px #14887920}.kanban-column:nth-child(4n) .kanban-step{background:#c0832c;box-shadow:0 0 0 4px #c0832c20}.kanban-column:nth-child(5n) .kanban-step{background:#765cb2;box-shadow:0 0 0 4px #765cb220}.kanban-lane{min-height:110px;display:grid;align-content:start;gap:9px;border-radius:10px;transition:background .15s,box-shadow .15s;padding:2px}.kanban-lane.drag-over{background:#dce9fb;box-shadow:inset 0 0 0 2px #7aa4db}.kanban-card{background:#fff;border:1px solid #e0e6ee;border-radius:12px;padding:12px;box-shadow:0 3px 9px #19314d09;cursor:grab;transition:transform .16s,box-shadow .16s}.kanban-card:hover{transform:translateY(-2px);box-shadow:0 9px 20px #19314d17}.kanban-card:active{cursor:grabbing}.kanban-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.kanban-card h3{font-size:13px;margin:10px 0 3px}.kanban-card p{font-size:10px;color:var(--muted);margin:0;line-height:1.5}.kanban-meta{display:flex;justify-content:space-between;gap:5px;color:#66758b;font-size:9px;margin-top:12px}.kanban-progress{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:9px;color:#63748a;font-weight:750}.kanban-progress .progress-track{height:5px}.kanban-card-foot{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:9px;border-top:1px solid #eef1f5}.kanban-card-foot .avatar{width:23px;height:23px;font-size:9px}.kanban-card-foot small{flex:1;font-size:9px;color:#64738a}.kanban-card-foot select{max-width:110px;min-width:0;border:1px solid var(--line);border-radius:7px;background:#fff;padding:5px;font-size:9px;color:#3e4f66}.kanban-empty{border:1px dashed #cbd5e2;border-radius:10px;padding:16px 8px;text-align:center;color:#8895a7;font-size:10px}
.module-teaser{margin-top:16px}.module-chips{display:flex;gap:8px;flex-wrap:wrap;padding:0 19px 18px}.module-chips span{border:1px solid var(--line);background:#f7f9fc;border-radius:99px;padding:7px 11px;font-size:10px;font-weight:700;color:#526179}.modules-intro{max-width:760px;margin:0 0 18px;color:var(--muted);font-size:13px}.modules-intro p{margin:7px 0}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.module-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;min-height:225px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 2px 8px #14284606}.module-icon{width:42px;height:42px;display:grid;place-items:center;background:#e8f0fb;color:#265693;border-radius:13px;font-size:21px;margin-bottom:14px}.module-card:nth-child(2) .module-icon{background:#e4f4f1;color:#16877c}.module-card:nth-child(3) .module-icon{background:#fff4df;color:#ac6c17}.module-card:nth-child(4) .module-icon{background:#f1eafa;color:#765cb2}.module-card:nth-child(5) .module-icon{background:#edf1f6;color:#53647b}.module-tag{font-size:9px;font-weight:800;letter-spacing:.1em;color:#8390a3}.module-card h2{font-size:16px;margin:5px 0}.module-card p{font-size:11px;color:var(--muted);line-height:1.55;margin:0 0 14px}.module-card button{margin-top:auto}.module-status{position:absolute;top:17px;right:14px;font-size:8px;letter-spacing:.06em;color:#9a6b27;background:#fff5e2;padding:4px 6px;border-radius:99px}.module-notice{margin:18px 0 0}.module-dialog p{font-size:13px;line-height:1.6;color:#59697f}.module-dialog .setting-row p{margin:5px 0 0}
.company-settings,.local-data-tools,.concept-panel{margin-bottom:15px}.concept-panel .btn[disabled]{opacity:.65;cursor:not-allowed}.setup-screen{display:none;position:fixed;inset:0;z-index:60;background:radial-gradient(ellipse at 10% 10%,#dcebf8 0,transparent 37%),linear-gradient(135deg,#f4f6f9,#edf3f7);overflow:auto;padding:clamp(16px,4vw,48px)}.setup-screen.open{display:grid;place-items:center}.setup-shell{width:min(880px,100%);margin:auto}.setup-brand{display:flex;gap:11px;align-items:center;margin:0 0 17px 4px;color:#173456}.setup-mark{width:42px;height:42px;border-radius:13px;background:#102b55;color:white;display:grid;place-items:center;font-size:23px;font-weight:850;box-shadow:0 6px 18px #102b5530}.setup-brand strong{display:block;font-size:14px}.setup-brand small{display:block;color:#708199;font-size:10px;margin-top:3px}.setup-card{background:#fff;border:1px solid #e0e7ef;border-radius:24px;padding:clamp(20px,4vw,38px);box-shadow:0 24px 70px #19365517}.setup-step{display:flex;justify-content:space-between;color:#6f8197;font-size:9px;letter-spacing:.15em;font-weight:850;margin-bottom:22px}.setup-step span{letter-spacing:.06em}.setup-card h1{font-size:clamp(29px,5vw,43px);letter-spacing:-.055em;color:#172942;margin:6px 0 8px}.setup-lead{max-width:670px;color:#64748b;font-size:13px;margin:0 0 20px}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.setup-wide{grid-column:1/-1}.setup-grid textarea{min-height:86px}.setup-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 21px}.setup-steps div{border:1px solid #e7ecf2;border-radius:12px;padding:11px;display:grid;grid-template-columns:26px 1fr;column-gap:8px;align-items:center}.setup-steps div span{grid-row:span 2;width:25px;height:25px;border-radius:9px;background:#e7effb;color:#2459a6;display:grid;place-items:center;font-size:11px;font-weight:850}.setup-steps strong{font-size:10px}.setup-steps small{font-size:9px;color:#7b889a}.setup-actions{display:flex;gap:9px;flex-wrap:wrap}.setup-footnote{font-size:10px;line-height:1.55;color:#8692a3;margin:17px 0 0;border-top:1px solid #edf0f4;padding-top:13px}
@media(max-width:1000px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban-column{flex-basis:255px;min-width:255px}}
@media(max-width:700px){.prototype-notice{align-items:flex-start;gap:5px 8px;padding:9px 10px}.prototype-notice span{flex-basis:100%;min-width:0}.prototype-notice .text-btn{padding:2px 0}.empty-welcome{min-height:0;padding:22px;gap:8px}.welcome-orbit{width:105px;height:105px;min-width:105px;margin-right:4px;box-shadow:0 0 0 12px #ffffff09}.orbit-center{width:55px;height:55px;border-radius:17px;font-size:31px}.orbit-caption{font-size:7px;bottom:-19px}.orbit-dot{top:10px;right:14px;width:10px;height:10px}.welcome-actions{gap:7px}.welcome-actions .btn{font-size:11px;padding:9px 10px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.view-toggle{width:100%;justify-content:center}.view-toggle button{flex:1}.kanban-board{margin-right:-14px;padding-right:14px}.kanban-column{min-width:252px;flex-basis:252px}.module-grid{grid-template-columns:1fr}.module-card{min-height:0}.setup-screen{padding:12px}.setup-card{border-radius:18px}.setup-grid{grid-template-columns:1fr}.setup-wide{grid-column:auto}.setup-steps{grid-template-columns:1fr;gap:7px}.setup-steps div{padding:8px}.setup-actions{display:grid}.setup-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

@media(max-width:700px){
  .setup-screen{padding:8px;align-items:start}
  .setup-shell{margin:auto;padding:5px 0}
  .setup-brand{margin:0 0 9px 3px;gap:8px}
  .setup-mark{width:34px;height:34px;font-size:20px;border-radius:10px}
  .setup-card{padding:16px;border-radius:16px}
  .setup-step{margin-bottom:12px}
  .setup-card h1{font-size:31px;margin:4px 0 6px}
  .setup-lead{font-size:12px;line-height:1.4;margin:0 0 12px}
  .setup-grid .field{gap:4px;margin-bottom:8px}
  .setup-grid .field input,.setup-grid .field textarea{padding:8px 10px;font-size:12px}
  .setup-grid textarea{min-height:58px}
  .setup-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 12px}
  .setup-steps div{grid-template-columns:1fr;align-content:center;text-align:center;padding:6px 4px;min-height:40px}
  .setup-steps div span,.setup-steps div small{display:none}
  .setup-steps strong{font-size:9px;line-height:1.2}
  .setup-actions{display:flex;gap:7px}
  .setup-actions button{width:100%;min-height:39px}
  .setup-footnote{margin-top:10px;padding-top:8px;font-size:9px;line-height:1.4}
}

.kanban-swipe-hint{font-size:10px;color:#7b889a;text-align:right;margin:0 1px 9px}
@media(max-width:700px){.kanban-swipe-hint{text-align:left}}


/* Revisão da primeira visita: menos ruído, mais orientação e alvos móveis legíveis. */
.summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.setup-card-compact{max-width:760px;margin-inline:auto}
.setup-card-compact h1{margin:14px 0 8px}
.quick-preview-points{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 20px}
.quick-preview-points span{border:1px solid #e5ebf2;background:#f7f9fc;border-radius:11px;padding:9px 11px;color:#465a73;font-size:11px;font-weight:700}
.quick-preview-vertical{display:grid;min-width:175px;gap:8px;margin:0}
.quick-preview-vertical span{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:1px 7px;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18);color:#e9f2ff;font-size:10px}
.quick-preview-vertical span b{font-size:11px;color:#fff}
.quick-preview-vertical span small{grid-column:2;color:#c6d5e9;font-size:9px;font-weight:500}
.empty-welcome-simple{min-height:220px;padding:clamp(20px,3vw,32px)}
.empty-welcome-simple h2{font-size:clamp(23px,3vw,31px);margin:10px 0 7px}
.empty-welcome-simple .welcome-copy{max-width:740px}
.empty-welcome-simple .welcome-actions{margin-top:15px}
.empty-config-link{color:#e4efff;margin-top:8px}
.empty-process-panel{max-width:760px;margin:12px auto;padding:clamp(22px,5vw,42px);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.empty-process-panel h2{font-size:clamp(22px,3vw,30px);letter-spacing:-.03em;margin:14px 0 7px;color:#172942}
.empty-process-panel p{max-width:560px;color:var(--muted);font-size:13px;margin:0}
.empty-process-panel .welcome-actions{margin-top:19px}
.prototype-notice{padding:8px 12px;margin-bottom:13px;font-size:11px}
.prototype-notice .text-btn{font-size:11px}
@media(max-width:700px){
  .summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .summary .stat:last-child:nth-child(odd){grid-column:1/-1}
  .setup-screen{padding:14px}
  .setup-card-compact{padding:22px 18px;border-radius:19px}
  .setup-card-compact h1{font-size:30px}
  .setup-card-compact .setup-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .setup-card-compact .setup-actions .btn{width:100%;min-height:44px}
  .quick-preview-points{display:grid;grid-template-columns:1fr;gap:6px;margin:14px 0 16px}
  .quick-preview-points span{padding:8px 10px}
  .empty-welcome{align-items:stretch;flex-direction:column;gap:16px}
  .empty-welcome-simple{min-height:0;padding:21px 17px}
  .empty-welcome-simple .welcome-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .empty-welcome-simple .welcome-actions .btn{width:100%;min-height:44px}
  .empty-welcome-simple .quick-preview-vertical{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .empty-welcome-simple .quick-preview-vertical span{grid-template-columns:1fr;gap:3px;padding:8px 6px;font-size:9px;text-align:center}
  .empty-welcome-simple .quick-preview-vertical span small{grid-column:auto;font-size:8px}
  .empty-process-panel{margin:0;padding:22px 17px}
  .empty-process-panel .welcome-actions{display:grid;grid-template-columns:1fr}
  .empty-process-panel .welcome-actions .btn{min-height:44px}
  .prototype-notice{align-items:flex-start;gap:6px 9px;padding:8px 10px}
  .prototype-notice span{min-width:0;flex-basis:calc(100% - 130px)}
  .mobile-nav{height:70px;padding:5px 5px calc(6px + env(safe-area-inset-bottom))}
  .mobile-nav button{flex:1;min-width:0;font-size:10px;line-height:1.15;gap:4px}
  .mobile-nav button span:first-child{font-size:20px}
}


/* Revisão da primeira visita: menos ruído, mais orientação e alvos móveis legíveis. */
.summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.setup-card-compact{max-width:760px;margin-inline:auto}
.setup-card-compact h1{margin:14px 0 8px}
.quick-preview-points{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 20px}
.quick-preview-points span{border:1px solid #e5ebf2;background:#f7f9fc;border-radius:11px;padding:9px 11px;color:#465a73;font-size:11px;font-weight:700}
.quick-preview-vertical{display:grid;min-width:175px;gap:8px;margin:0}
.quick-preview-vertical span{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:1px 7px;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18);color:#e9f2ff;font-size:10px}
.quick-preview-vertical span b{font-size:11px;color:#fff}
.quick-preview-vertical span small{grid-column:2;color:#c6d5e9;font-size:9px;font-weight:500}
.empty-welcome-simple{min-height:220px;padding:clamp(20px,3vw,32px)}
.empty-welcome-simple h2{font-size:clamp(23px,3vw,31px);margin:10px 0 7px}
.empty-welcome-simple .welcome-copy{max-width:740px}
.empty-welcome-simple .welcome-actions{margin-top:15px}
.empty-config-link{color:#e4efff;margin-top:8px}
.empty-process-panel{max-width:760px;margin:12px auto;padding:clamp(22px,5vw,42px);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.empty-process-panel h2{font-size:clamp(22px,3vw,30px);letter-spacing:-.03em;margin:14px 0 7px;color:#172942}
.empty-process-panel p{max-width:560px;color:var(--muted);font-size:13px;margin:0}
.empty-process-panel .welcome-actions{margin-top:19px}
.prototype-notice{padding:8px 12px;margin-bottom:13px;font-size:11px}
.prototype-notice .text-btn{font-size:11px}
@media(max-width:700px){
  .summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .summary .stat:last-child:nth-child(odd){grid-column:1/-1}
  .setup-screen{padding:14px}
  .setup-card-compact{padding:22px 18px;border-radius:19px}
  .setup-card-compact h1{font-size:30px}
  .setup-card-compact .setup-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .setup-card-compact .setup-actions .btn{width:100%;min-height:44px}
  .quick-preview-points{display:grid;grid-template-columns:1fr;gap:6px;margin:14px 0 16px}
  .quick-preview-points span{padding:8px 10px}
  .empty-welcome{align-items:stretch;flex-direction:column;gap:16px}
  .empty-welcome-simple{min-height:0;padding:21px 17px}
  .empty-welcome-simple .welcome-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .empty-welcome-simple .welcome-actions .btn{width:100%;min-height:44px}
  .empty-welcome-simple .quick-preview-vertical{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .empty-welcome-simple .quick-preview-vertical span{grid-template-columns:1fr;gap:3px;padding:8px 6px;font-size:9px;text-align:center}
  .empty-welcome-simple .quick-preview-vertical span small{grid-column:auto;font-size:8px}
  .empty-process-panel{margin:0;padding:22px 17px}
  .empty-process-panel .welcome-actions{display:grid;grid-template-columns:1fr}
  .empty-process-panel .welcome-actions .btn{min-height:44px}
  .prototype-notice{align-items:flex-start;gap:6px 9px;padding:8px 10px}
  .prototype-notice span{min-width:0;flex-basis:calc(100% - 130px)}
  .mobile-nav{height:70px;padding:5px 5px calc(6px + env(safe-area-inset-bottom))}
  .mobile-nav button{flex:1;min-width:0;font-size:10px;line-height:1.15;gap:4px}
  .mobile-nav button span:first-child{font-size:20px}
}

@media(max-width:700px){
  .detail-top{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}
  .detail-top .back{padding:8px 9px;font-size:11px}
  .detail-heading{min-width:0}
  .detail-heading h1{font-size:19px;overflow-wrap:anywhere}
  .detail-top>.btn{grid-column:2;justify-self:start;min-height:40px}
  .panel-head{align-items:flex-start;flex-wrap:wrap}
  .panel-head>.btn{margin-left:auto;min-height:40px}
  .check-extra{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
  .check-extra input,.check-extra .btn{width:100%;min-width:0;min-height:42px}
}


/* Visão macro dos processos: panorama e prioridades primeiro; detalhes sob demanda. */
.process-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.process-mode button,.detail-mode button{font-size:13px;min-height:40px;padding:8px 14px}
.process-filter-row{display:flex;align-items:center;gap:9px;margin-bottom:14px}
.process-filter-row .search{flex:1;min-width:190px}
.process-filter-row .search input{min-height:44px}
.process-filter{position:relative;flex:none}
.process-filter summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px 13px;min-height:44px;font-size:12px;font-weight:750;color:#46546a}
.process-filter summary::-webkit-details-marker{display:none}
.process-filter summary:after{content:'⌄';margin-left:10px;color:var(--blue)}
.process-filter[open] summary:after{content:'⌃'}
.process-filter .select{position:absolute;right:0;top:50px;z-index:3;min-width:205px;box-shadow:var(--shadow);font-size:14px;min-height:44px}
.macro-view{display:grid;gap:14px}
.macro-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.macro-kpi{min-width:0;min-height:92px;padding:14px 15px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 2px 8px #14284608}
.macro-kpi span{display:block;color:var(--muted);font-size:12px;font-weight:700;line-height:1.3}
.macro-kpi strong{display:block;color:var(--navy);font-size:28px;letter-spacing:-.04em;line-height:1.1;margin-top:8px}
.macro-kpi-attention strong{color:var(--amber)}
.macro-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 2px 8px #14284608;overflow:hidden}
.macro-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 12px}
.macro-panel-head h2{margin:0;color:#1d304b;font-size:17px;letter-spacing:-.02em}
.macro-panel-head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.macro-total{flex:none;border-radius:99px;background:#edf3fb;color:#335e97;padding:6px 9px;font-size:12px;font-weight:750}
.macro-stage-list{display:grid;gap:7px;padding:3px 14px 16px}
.macro-stage-row{display:grid;gap:8px;width:100%;min-height:56px;padding:10px 11px;border:1px solid #e8edf3;border-radius:12px;background:#fbfcfe;text-align:left;color:var(--ink)}
.macro-stage-row:hover,.macro-stage-row:focus-visible{background:#f3f7fc;border-color:#b9cbe3;outline:none}
.macro-stage-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.macro-stage-label{display:flex;align-items:center;gap:9px;min-width:0;font-size:14px;font-weight:700;line-height:1.3}
.macro-stage-label .kanban-step{flex:none}
.macro-stage-top>strong{flex:none;min-width:30px;text-align:center;border-radius:99px;background:#fff;padding:3px 8px;font-size:13px;color:#385472}
.macro-stage-track{display:block;height:7px;overflow:hidden;border-radius:99px;background:#e9edf2}
.macro-stage-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2c66ad,#18877c)}
.macro-process-list{display:grid;gap:10px;padding:0 14px 14px}
.macro-process-card{display:grid;gap:11px;padding:15px;border:1px solid #e7ecf2;border-radius:15px;background:#fff}
.macro-process-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.macro-process-heading{min-width:0}
.macro-process-heading h3{margin:5px 0 3px;color:#1c304a;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.macro-process-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}
.macro-process-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px 0;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5}
.macro-process-meta div{display:grid;gap:3px;min-width:0}
.macro-process-meta span{color:var(--muted);font-size:12px}
.macro-process-meta strong{font-size:14px;color:#34465f;overflow-wrap:anywhere}
.is-overdue{color:var(--red)!important}
.macro-progress-row{display:flex;align-items:center;gap:10px}
.macro-progress-row .progress-track{height:8px}
.macro-progress-row span{flex:none;color:#4c617a;font-size:12px;font-weight:700}
.macro-open-detail{width:100%;min-height:46px;font-size:14px}
.macro-more{padding:0 14px 15px}
.macro-more .btn{width:100%;min-height:46px;font-size:14px}
@media(max-width:700px){
  body{font-size:16px;line-height:1.5}
  .content{padding:17px 14px 88px}
  .page-head{gap:8px;margin-bottom:15px}
  .page-head h1{font-size:26px;line-height:1.15}
  .page-head p{font-size:15px;line-height:1.45}
  .eyebrow{font-size:12px;letter-spacing:.09em}
  .prototype-notice{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:9px 11px;margin-bottom:14px;font-size:12px;line-height:1.4}
  .prototype-notice strong{font-size:11px}
  .prototype-notice span{grid-column:1/-1;min-width:0;flex:none;font-size:12px}
  .prototype-notice .text-btn{grid-column:1/-1;justify-self:start;min-height:38px;padding:6px 0;font-size:12px}
  .process-toolbar{display:grid;grid-template-columns:1fr;gap:7px;margin-bottom:10px}
  .process-toolbar .view-toggle{display:flex;width:100%;justify-content:stretch}
  .process-toolbar .view-toggle button{flex:1;min-height:46px;font-size:14px}
  .process-filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-bottom:12px}
  .process-filter-row .search{min-width:0}
  .process-filter-row .search input{min-height:48px;padding-left:39px;font-size:14px}
  .process-filter .select{min-width:min(78vw,290px);min-height:48px;font-size:14px}
  .macro-view{gap:12px}
  .macro-kpis{gap:7px}
  .macro-kpi{min-height:84px;padding:12px 11px;border-radius:14px}
  .macro-kpi span{font-size:12px;line-height:1.35}
  .macro-kpi strong{font-size:26px;margin-top:7px}
  .macro-panel{border-radius:16px}
  .macro-panel-head{padding:15px 14px 11px}
  .macro-panel-head h2{font-size:18px}
  .macro-panel-head p{font-size:14px}
  .macro-total{font-size:12px}
  .macro-stage-list{gap:8px;padding:3px 11px 13px}
  .macro-stage-row{min-height:60px;padding:11px 12px}
  .macro-stage-label{font-size:15px}
  .macro-stage-top>strong{font-size:14px}
  .macro-stage-track{height:8px}
  .macro-process-list{gap:9px;padding:0 11px 12px}
  .macro-process-card{gap:10px;padding:14px;border-radius:15px}
  .macro-process-heading h3{font-size:18px}
  .macro-process-heading p{font-size:14px}
  .macro-process-meta span{font-size:13px}
  .macro-process-meta strong{font-size:15px}
  .macro-progress-row span{font-size:13px}
  .tag{font-size:11px;padding:5px 8px}
  .btn{font-size:14px;min-height:44px}
  .btn.sm{font-size:13px;min-height:40px}
  .stat .label{font-size:12px}
  .stat .hint{font-size:11px}
  .task-text{font-size:14px}
  .task-text small{font-size:12px}
  .fact-label{font-size:11px}
  .fact-val{font-size:14px}
  .check-title{font-size:14px;line-height:1.4}
  .check-sub{font-size:12px;line-height:1.45}
  .check-control select{font-size:14px;min-height:44px}
  .check-extra input{font-size:14px;min-height:44px}
  .kanban-column-head strong{font-size:14px}
  .kanban-count{font-size:12px}
  .kanban-card h3{font-size:16px}
  .kanban-card p{font-size:13px}
  .kanban-meta{font-size:12px;flex-wrap:wrap}
  .kanban-progress{font-size:12px}
  .kanban-card-foot small{font-size:12px}
  .kanban-card-foot select{font-size:12px;min-height:40px}
  .progress-label{font-size:12px}
  .panel-head h2{font-size:18px}
  .panel-head p{font-size:14px}
  .panel-body{font-size:14px}
  .mobile-nav{height:74px;padding:6px 5px calc(7px + env(safe-area-inset-bottom))}
  .mobile-nav button{min-width:0;font-size:11px;min-height:54px;gap:4px}
  .mobile-nav button span:first-child{font-size:21px}
}
@media(max-width:370px){
  .macro-kpi{padding:11px 9px}
  .macro-kpi span{font-size:11px}
  .process-filter summary{padding:10px;font-size:12px}
  .mobile-nav button{font-size:10px}
}

@media(max-width:700px){
  .prototype-notice{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;padding:7px 9px;margin-bottom:11px;min-height:40px}
  .prototype-notice strong{flex:none;font-size:10px;letter-spacing:.035em}
  .prototype-notice span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
  .prototype-notice .text-btn{flex:none;min-height:34px;padding:4px 2px;font-size:11px}
}

@media(max-width:700px){.demo-pill{font-size:10px}.crumb{font-size:13px}}

@media(max-width:700px){
  .setup-card-compact .setup-lead{font-size:15px;line-height:1.5;margin-bottom:14px}
  .setup-card-compact .setup-footnote{font-size:12px;line-height:1.45}
  .setup-grid .field label,.setup-card .field label{font-size:13px}
  .setup-grid .field input,.setup-grid .field textarea{font-size:15px;min-height:46px;padding:11px 12px}
  .setup-actions button{min-height:48px}
  .quick-preview-points span{font-size:13px;line-height:1.4}
  .quick-preview-vertical span{font-size:11px}
  .quick-preview-vertical span b{font-size:13px}
  .quick-preview-vertical span small{font-size:11px}
  .empty-welcome-simple .quick-preview-vertical span{font-size:10px}
  .empty-welcome-simple .quick-preview-vertical span small{font-size:10px}
}
@media(max-width:370px){.quick-preview-vertical span{font-size:10px}.quick-preview-vertical span small{font-size:10px}}

@media(max-width:700px){.setup-card-compact .setup-actions .btn{min-height:48px}.prototype-notice{padding:4px 9px}.prototype-notice .text-btn{min-height:28px}}


/* Hero de produto: identidade de campo com contraste mais decidido */
.setup-card-compact{padding-top:14px}
.setup-hero-copy{position:relative;isolation:isolate;overflow:hidden;margin:0 -10px 0;padding:20px 18px 17px;border-radius:19px;background:linear-gradient(128deg,#153858 0%,#205b7e 56%,#118b83 100%);color:#fff;box-shadow:0 13px 27px rgba(18,63,91,.2)}
.setup-hero-copy:after{content:"";position:absolute;z-index:0;right:-46px;top:-68px;width:210px;height:210px;border:1px solid rgba(255,255,255,.22);border-radius:50%;box-shadow:0 0 0 13px rgba(255,255,255,.055),0 0 0 31px rgba(255,255,255,.035),0 0 0 53px rgba(255,255,255,.025);pointer-events:none}
.setup-hero-copy>*{position:relative;z-index:1}
.setup-hero-copy .tag.blue{background:rgba(235,248,255,.13);border:1px solid rgba(229,249,255,.28);color:#e7f8ff;letter-spacing:.07em}
.setup-hero-copy h1{max-width:510px;margin:15px 0 9px;color:#fff;font-size:clamp(29px,6vw,36px);line-height:1.03;letter-spacing:-.05em}
.setup-hero-copy .setup-lead{max-width:505px;margin:0;color:#d9eaf2;font-size:15px;line-height:1.48}
.setup-flow-cue{display:flex;align-items:center;gap:8px;margin-top:16px;color:#c8eee8;font-size:9px;font-weight:850;letter-spacing:.12em}
.setup-flow-cue i{width:5px;height:5px;border-radius:50%;background:#ffc45b;box-shadow:0 0 0 4px rgba(255,196,91,.13)}
.setup-flow-cue span:last-child{color:#ffe0a3}
.setup-card-compact>.tag.blue{display:none}
.setup-card-compact .quick-preview-points{margin-top:16px}
.setup-card-compact .setup-footnote{border-left-color:#efa93c;background:#fff8ec;color:#6d5a39}
.macro-panel-head h2{color:#163d5c}
.macro-panel-head p{color:#617a91}
.macro-stage-label .kanban-step{width:11px;height:11px;box-shadow:0 0 0 4px rgba(38,101,215,.11)}
.macro-stage-row:nth-child(3n+2) .macro-stage-label .kanban-step{box-shadow:0 0 0 4px rgba(16,157,142,.12)}
.macro-stage-row:nth-child(3n) .macro-stage-label .kanban-step{box-shadow:0 0 0 4px rgba(230,165,63,.16)}
.macro-process-heading h3{color:#173c5c}
.macro-process-meta>div{background:#f5f8fb;border-radius:11px;padding:9px 10px}
.macro-process-meta>div:first-child{background:#eef5ff}
.macro-process-meta>div:nth-child(2){background:#eef9f6}
.macro-open-detail{background:linear-gradient(120deg,#e8f1ff,#e2f7f1);color:#205b82}
.mobile-nav button.active{border:1px solid rgba(255,255,255,.72)}

@media(max-width:700px){
  .setup-card-compact{padding-top:11px}
  .setup-hero-copy{margin:0 -7px;padding:18px 14px 15px;border-radius:17px}
  .setup-hero-copy h1{font-size:29px;line-height:1.02;margin:13px 0 8px}
  .setup-hero-copy .setup-lead{font-size:14px;line-height:1.43}
  .setup-flow-cue{margin-top:14px;font-size:8.5px;gap:7px}
  .setup-card-compact .quick-preview-points{margin-top:14px}
}
@media(max-width:350px){
  .setup-hero-copy{margin-inline:-5px;padding-inline:12px}
  .setup-hero-copy h1{font-size:27px}
  .setup-flow-cue{gap:6px;font-size:8px}
}


/* Acabamento mobile: cor para orientar, não para competir com o conteúdo */
.btn.primary{background:linear-gradient(115deg,#2463dd,#138d89);border-color:transparent;box-shadow:0 8px 18px rgba(28,94,174,.2)}
.btn.primary:hover{filter:saturate(1.08) brightness(1.03);transform:translateY(-1px)}
.macro-kpi{position:relative;overflow:hidden;border-width:1px}
.macro-kpi:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:4px 0 0 4px;background:#3371df}
.macro-kpi:nth-child(1){background:linear-gradient(140deg,#eaf2ff,#fbfdff);border-color:#d4e3fb}
.macro-kpi:nth-child(2){background:linear-gradient(140deg,#fff2dc,#fffdfa);border-color:#f0d9b0}
.macro-kpi:nth-child(2):before{background:#e7a23a}
.macro-kpi:nth-child(3){background:linear-gradient(140deg,#e4f7f1,#fbfefd);border-color:#ccebe0}
.macro-kpi:nth-child(3):before{background:#18a38d}
.macro-kpi:first-child strong{color:#245ec2}
.macro-kpi:nth-child(2) strong{color:#b36c13}
.macro-kpi:nth-child(3) strong{color:#128274}
.macro-kpi small{display:block;margin-top:2px;color:#6a7e90;font-size:11px;font-weight:700}
.macro-stage-row:nth-child(3n+1){background:linear-gradient(100deg,#eff5ff,#fff);border-color:#d9e7fa}
.macro-stage-row:nth-child(3n+2){background:linear-gradient(100deg,#ecf8f5,#fff);border-color:#d0ebe3}
.macro-stage-row:nth-child(3n){background:linear-gradient(100deg,#fff7e9,#fff);border-color:#f0e1c3}
.macro-stage-row:nth-child(3n) .macro-stage-label .kanban-step{box-shadow:0 0 0 4px rgba(230,165,63,.16)}

@media(max-width:700px){
  .mobile-nav{left:10px!important;right:10px!important;bottom:calc(9px + env(safe-area-inset-bottom,0px))!important;width:auto;max-width:560px;min-height:67px;padding:5px 7px max(5px,env(safe-area-inset-bottom,0px));border:1px solid rgba(222,241,255,.24);border-radius:20px;background:linear-gradient(118deg,#102b55 0%,#174d70 56%,#115f5e 100%);box-shadow:0 13px 30px rgba(12,39,66,.28);backdrop-filter:blur(13px)}
  .mobile-nav button{min-height:50px;border-radius:14px;color:#d0e3f1;font-size:11px;font-weight:750;gap:3px;transition:transform .18s ease,background .18s ease,color .18s ease}
  .mobile-nav button>span:first-child{font-size:18px;line-height:1.1}
  .mobile-nav button.active{transform:translateY(-1px);border:1px solid rgba(255,255,255,.72);background:linear-gradient(135deg,#fff,#e5faf2);color:#17466a;box-shadow:0 4px 12px rgba(0,0,0,.14)}
  .mobile-nav button.active>span:first-child{color:#129c89}
  .content{padding-bottom:122px}
  .macro-kpi{min-height:92px;padding:12px 10px 10px 13px}
  .macro-kpi>span{font-size:12px;line-height:1.15;white-space:nowrap}
  .macro-kpi>strong{font-size:25px;line-height:1.1}
  .macro-kpi small{font-size:10px}
  .macro-stage-row{border-radius:15px}
}
@media(max-width:350px){
  .mobile-nav{left:7px!important;right:7px!important;padding-inline:4px}
  .mobile-nav button{font-size:10.5px}
  .macro-kpi{padding-left:11px;padding-right:7px}
  .macro-kpi>span{font-size:11px}
}


/* Três passos do primeiro uso: leitura imediata em vez de uma lista apertada */
.setup-card-compact .quick-preview-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.setup-card-compact .quick-preview-points>span{display:flex;min-width:0;min-height:70px;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:9px 10px;border:1px solid #dce7f2;border-radius:14px;background:linear-gradient(145deg,#f9fbff,#f1f6fb);color:#23435e;box-shadow:0 3px 9px rgba(25,62,95,.045)}
.setup-card-compact .quick-preview-points>span i{display:grid;width:23px;height:23px;place-items:center;border-radius:8px;background:#e1edff;color:#245ec2;font-size:9px;font-style:normal;font-weight:900}
.setup-card-compact .quick-preview-points>span:nth-child(2) i{background:#d9f4ec;color:#138576}
.setup-card-compact .quick-preview-points>span:nth-child(3) i{background:#fff0d2;color:#a96a16}
.setup-card-compact .quick-preview-points>span b{font-size:11px;line-height:1.1;font-weight:800}
@media(max-width:700px){
  .setup-card-compact .quick-preview-points{gap:7px;margin-top:13px}
  .setup-card-compact .quick-preview-points>span{min-height:64px;padding:8px}
}
@media(max-width:350px){
  .setup-card-compact .quick-preview-points{gap:5px}
  .setup-card-compact .quick-preview-points>span{min-height:61px;padding:7px 6px}
  .setup-card-compact .quick-preview-points>span b{font-size:10px}
}
