
:root{
  --navy:#062a58;--navy-2:#0b3c76;--navy-3:#0e4d91;--blue:#0b69d4;--blue-soft:#eaf3ff;
  --yellow:#f6c51d;--yellow-2:#ffdc46;--green:#59b43b;--green-dark:#2f8a31;--green-soft:#edf8e9;
  --white:#fff;--paper:#f8fafc;--ink:#0b2344;--muted:#66768d;--line:#dfe7f0;
  --danger:#b42318;--danger-bg:#fff0ef;--warning:#8a6110;--warning-bg:#fff5d8;
  --shadow:0 18px 44px rgba(1,18,46,.18);--shadow-soft:0 8px 24px rgba(1,18,46,.10);--radius:25px;
}
*{box-sizing:border-box}
html{background:var(--navy)}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:linear-gradient(180deg,#092f62 0%,var(--navy) 46%,#041f43 100%);color:var(--ink);-webkit-font-smoothing:antialiased;min-height:100vh}
button,input,select,textarea{font:inherit}button{touch-action:manipulation}
.wrap{max-width:760px;margin:0 auto;padding:0 14px calc(112px + env(safe-area-inset-bottom));min-height:100vh}
.hero{position:relative;margin:0 -14px 20px;overflow:hidden;background:var(--navy);box-shadow:0 18px 50px rgba(0,16,45,.24)}
.campaign-art{position:relative;height:282px;overflow:hidden;background:linear-gradient(135deg,var(--yellow-2),#f5aa15)}
.hero-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.campaign-art:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-31px;height:62px;background:var(--navy);border-radius:50% 50% 0 0/70% 70% 0 0;box-shadow:0 -8px 0 var(--green),0 -13px 0 var(--yellow)}
.hero-menu{position:absolute;top:17px;left:16px;width:46px;height:46px;border:1px solid rgba(255,255,255,.55);background:rgba(8,35,69,.28);backdrop-filter:blur(12px);border-radius:50%;display:grid;place-items:center;color:#fff;cursor:pointer;z-index:3}
.hero-menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.identity-panel{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 25px 20px;color:#fff;background:linear-gradient(145deg,#07356d 0%,#041f46 75%)}
.identity-panel:after{content:"";position:absolute;right:-70px;bottom:-80px;width:230px;height:230px;border-radius:50%;background:rgba(28,116,206,.14)}
.identity-copy{position:relative;z-index:1}.identity-kicker{font-size:10px;letter-spacing:1.7px;font-weight:900;color:#8ed067;margin-bottom:4px}.identity-panel h1{margin:0;font-size:clamp(32px,8vw,48px);letter-spacing:-1.8px;line-height:1}.identity-panel h1 strong{color:var(--yellow);font-weight:950}.identity-panel p{margin:8px 0 0;color:#d7e5f7;font-size:14px}
.security-shield{width:68px;height:68px;border-radius:24px;background:linear-gradient(145deg,#0d73de,#06488f);border:2px solid #8bd140;display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.2);position:relative;z-index:1;flex:none}
.security-shield svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.security-shield svg path:first-child{fill:rgba(255,255,255,.08);stroke:#8bd140}
.hero-actions{display:flex;align-items:center;gap:8px;padding:0 24px 17px;background:linear-gradient(145deg,#07356d 0%,#041f46 75%);min-height:14px}
.role-pill,.install-btn{border-radius:999px;font-size:11px;font-weight:850;padding:7px 10px;border:1px solid rgba(255,255,255,.16)}.role-pill{background:rgba(255,255,255,.08);color:#d8e8fb}.install-btn{background:var(--yellow);color:#08295a;border:0;cursor:pointer}
.screen{position:relative}.card{background:var(--white);border:1px solid rgba(224,234,244,.95);border-radius:var(--radius);padding:19px;margin-bottom:15px;box-shadow:var(--shadow-soft)}
.center{max-width:480px;margin:20px auto}.login-card{padding:25px 22px 22px;border-top:4px solid var(--green)}.login-lock{width:58px;height:58px;border-radius:19px;background:linear-gradient(145deg,#0b71dc,#064c9c);display:grid;place-items:center;margin:0 auto 12px;box-shadow:0 10px 22px rgba(5,80,161,.22)}.login-lock svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.login-eyebrow{text-align:center;color:var(--green-dark);font-size:10px;font-weight:900;letter-spacing:1.5px}.login-card h2{text-align:center;margin:5px 0 0;font-size:29px;color:var(--ink)}.login-card .left-title{text-align:left}.center-sub{text-align:center;margin:7px 0 22px}
.field{margin:12px 0}.field label{display:block;font-weight:800;font-size:12px;margin-bottom:6px;color:#183559}.field input,.field select,.field textarea,.filters input,.filters select{width:100%;border:1px solid #cfdbea;border-radius:14px;padding:13px 14px;background:#fff;color:var(--ink);min-height:48px;outline:none;transition:.16s}.field input:focus,.field select:focus,.field textarea:focus,.filters input:focus,.filters select:focus{border-color:#3c86d3;box-shadow:0 0 0 4px rgba(16,105,205,.10)}
.btn{border:0;border-radius:14px;padding:12px 16px;min-height:44px;font-weight:850;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:disabled{opacity:.55;cursor:not-allowed}.primary{background:linear-gradient(145deg,#0a69d4,#0755ad);color:#fff;box-shadow:0 8px 18px rgba(8,91,184,.18)}.primary:active{transform:translateY(1px)}.secondary{background:#edf4fb;color:#0a4d92}.ghost{background:transparent;color:#0a5bb3;border:1px solid #d7e3f0}.danger{background:var(--danger-bg);color:var(--danger)}.full{width:100%}.mt9{margin-top:9px}.small-btn{min-height:37px;padding:8px 11px;font-size:12px}.compact-new{min-height:39px;padding:9px 12px;border-radius:13px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.msg{padding:12px 13px;border-radius:13px;margin:10px 0;background:#edf6ef;color:#2b6032}.msg.err{background:var(--danger-bg);color:var(--danger)}.hidden{display:none!important}
.next-card{background:#fff;border:1px solid #dce8f3;border-left:5px solid var(--green);border-radius:25px;padding:18px 16px;margin-bottom:15px;box-shadow:var(--shadow);display:grid;grid-template-columns:58px 1fr auto;gap:14px;align-items:center}.next-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#71c74e,#49a92e);display:grid;place-items:center;box-shadow:0 10px 24px rgba(78,167,46,.25)}.next-icon svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.next-copy{min-width:0}.next-label{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.7px;color:var(--green-dark)}.next-title{font-size:21px;line-height:1.15;font-weight:900;margin-top:5px;color:var(--ink);letter-spacing:-.35px}.next-meta{display:flex;flex-direction:column;gap:4px;margin-top:8px;color:var(--muted);font-size:12px}.next-subrow{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:9px}.next-countdown{display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--blue-soft);color:#0756a8;font-size:11px;font-weight:900}.next-departure{font-size:11px;color:var(--green-dark);font-weight:800}.next-arrow{font-size:34px;color:#8a99aa;line-height:1}
.today-card{padding:18px 18px 10px}.today-head{align-items:center}.today-title{display:flex;align-items:center;gap:11px}.today-title-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#0b75e2,#0756ad);display:grid;place-items:center;color:#fff}.today-title-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.today-card h2{font-size:17px;text-transform:uppercase;letter-spacing:.15px;margin:0;color:#102c54}.today-actions{display:flex;align-items:center;gap:7px}.link-btn{border:0;background:none;color:#0a63c6;font-size:12px;font-weight:800;cursor:pointer;padding:8px 3px}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.section-head h2{margin:0;font-size:23px;color:var(--ink)}.section-head p{margin:3px 0 0}.today-list .event{border:0;border-radius:0;border-bottom:1px solid #e4ebf3;padding:14px 2px;background:#fff;margin:0;box-shadow:none}.today-list .event:last-child{border-bottom:0}.today-list .event-time{background:transparent;color:#0b6bd2;border-radius:0;padding:5px 2px;font-size:18px;min-width:70px;text-align:left}.today-list .event-main h3{color:#102b51}.today-list .actions{padding-left:82px}.today-list .event-details{margin-left:82px}
.event{border:1px solid #dde7f1;border-radius:18px;padding:15px;margin:10px 0;background:#fff;box-shadow:0 5px 14px rgba(3,27,60,.045)}.event-top{display:flex;gap:13px;align-items:flex-start}.event-time{min-width:68px;border-radius:14px;background:#eef5fe;color:#0a63bf;padding:10px 8px;text-align:center;font-size:19px;font-weight:900}.event-date{font-size:10px;font-weight:800;margin-top:2px;color:var(--muted)}.event-main{min-width:0;flex:1}.event h3{margin:0 0 5px;font-size:17px;color:var(--ink)}.event-place{color:var(--muted);font-size:13px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.chip{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;background:#edf4fb;color:#174b7e;font-size:10px;font-weight:850}.chip.warn{background:var(--warning-bg);color:var(--warning)}.chip.danger{background:var(--danger-bg);color:var(--danger)}.event-details{border-top:1px solid var(--line);margin-top:12px;padding-top:11px;font-size:13px;line-height:1.55}.actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.metric{position:relative;background:#fff;border:1px solid #dce6f0;border-radius:20px;padding:15px 8px;text-align:center;box-shadow:var(--shadow-soft);overflow:hidden}.metric b{display:block;font-size:27px;color:var(--ink)}.metric>span:last-child{font-size:11px;color:var(--muted)}.metric-dot{position:absolute;left:11px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--green)}.metric-warn .metric-dot{background:var(--yellow)}.metric-lock .metric-dot{background:var(--blue)}
.notice{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;background:linear-gradient(145deg,#f7fbff,#edf5fd);border:1px solid #d6e5f3;border-radius:20px;padding:13px 14px;margin-bottom:15px;box-shadow:0 7px 20px rgba(4,34,70,.07)}.notice-icon{width:42px;height:42px;border-radius:13px;background:#fff7d9;display:grid;place-items:center}.notice-copy strong{display:block;font-size:13px;color:#163455}.notice-copy span{display:block;font-size:11px;color:var(--muted);margin-top:3px;line-height:1.35}
.filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:9px;margin:12px 0}.filter-actions{display:flex;gap:8px;margin-bottom:8px}.empty{text-align:center;padding:28px 14px;color:var(--muted)}.empty-icon{font-size:30px;margin-bottom:7px}
.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.calendar-title{font-size:20px;font-weight:900;text-transform:capitalize;color:var(--ink)}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday{text-align:center;font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:800;padding:4px 0}.day{min-height:62px;border:1px solid #dde7f1;border-radius:13px;background:#fff;padding:7px;text-align:left;cursor:pointer;position:relative}.day.other{opacity:.38}.day.today{border-color:#4aa63e}.day.selected{background:linear-gradient(145deg,#0c67c9,#084d99);color:#fff;border-color:#0a5db5}.day-num{font-weight:850;font-size:13px}.day-dots{display:flex;gap:3px;flex-wrap:wrap;margin-top:9px}.dot{width:6px;height:6px;border-radius:999px;background:#5ab340}.day.selected .dot{background:#fff}.day-count{position:absolute;right:6px;bottom:6px;font-size:9px;font-weight:850;opacity:.75}
.user{border:1px solid #dfe8f1;border-radius:18px;padding:15px;margin:10px 0;background:#fff}.user-name{font-weight:900;color:var(--ink)}.user-email{font-size:12px;color:var(--muted);margin-top:2px}.checkline{display:flex;gap:7px;align-items:center;margin:7px 0;font-size:13px}.checkline input{width:18px;height:18px}.form-card{padding-bottom:22px}
.bottom-nav{position:fixed;z-index:50;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(700px,calc(100% - 22px));display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:#fff;border:1px solid rgba(213,224,236,.95);border-radius:26px;padding:8px 7px 7px;box-shadow:0 16px 45px rgba(0,18,50,.28)}.nav-item{border:0;background:transparent;color:#314158;min-height:62px;border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:800;cursor:pointer}.nav-icon{width:38px;height:30px;border-radius:11px;display:grid;place-items:center}.nav-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-item.active{color:#0865c9}.nav-item.active .nav-icon{background:#eaf3ff;color:#0865c9}.nav-item.active:after{content:"";position:absolute}.footer{text-align:center;color:#a9bad0;font-size:11px;padding:17px 0 8px}
.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.wrap{padding-left:10px;padding-right:10px}.hero{margin-left:-10px;margin-right:-10px}.campaign-art{height:248px}.identity-panel{padding:21px 19px 17px}.identity-panel h1{font-size:36px}.security-shield{width:60px;height:60px;border-radius:20px}.security-shield svg{width:33px;height:33px}.hero-actions{padding-left:19px;padding-right:19px}.grid2,.filters{grid-template-columns:1fr}.metrics{gap:8px}.metric{padding:14px 5px}.metric b{font-size:24px}.next-card{grid-template-columns:52px 1fr auto;padding:16px 13px;gap:11px}.next-icon{width:52px;height:52px}.next-title{font-size:19px}.today-head{align-items:flex-start;flex-direction:column}.today-actions{width:100%;justify-content:space-between}.day{min-height:54px;padding:6px}.calendar-grid,.weekdays{gap:3px}.notice{grid-template-columns:38px 1fr auto}.notice-icon{width:38px;height:38px}.bottom-nav{width:calc(100% - 18px);bottom:max(7px,env(safe-area-inset-bottom))}}
@media(max-width:420px){.campaign-art{height:225px}.identity-panel h1{font-size:33px}.identity-panel p{font-size:12px}.security-shield{width:55px;height:55px}.next-card{grid-template-columns:48px 1fr auto}.next-icon{width:48px;height:48px;border-radius:15px}.next-icon svg{width:27px;height:27px}.next-title{font-size:18px}.next-meta{font-size:11px}.metrics{gap:6px}.metric{border-radius:17px}.metric>span:last-child{font-size:9px}.notice{grid-template-columns:34px 1fr;gap:9px}.notice-icon{width:34px;height:34px}.notice .btn{grid-column:1/-1;width:100%;min-height:39px}.bottom-nav{border-radius:23px}.nav-item{min-height:59px}.nav-icon svg{width:22px;height:22px}}


.bottom-nav.three{grid-template-columns:repeat(3,1fr)}
.bottom-nav.four{grid-template-columns:repeat(4,1fr)}


/* Agenda 10700 V6.2 — acabamento visual */
.wrap{padding-bottom:calc(138px + env(safe-area-inset-bottom))}
.screen{padding-bottom:18px}
.campaign-art{height:258px}
.hero-menu{top:15px;left:15px;width:40px;height:40px;background:rgba(4,31,67,.72);border-color:rgba(255,255,255,.42);box-shadow:0 8px 22px rgba(0,18,48,.18)}
.hero-menu svg{width:20px;height:20px}
.account-menu{position:absolute;top:62px;left:15px;width:190px;z-index:8;background:rgba(255,255,255,.98);border:1px solid rgba(215,226,238,.95);border-radius:17px;padding:8px;box-shadow:0 18px 45px rgba(1,18,46,.26);backdrop-filter:blur(14px)}
.account-menu-head{padding:8px 9px 10px;border-bottom:1px solid #e7edf4;margin-bottom:5px}.account-menu-head strong{display:block;font-size:13px;color:var(--ink)}.account-menu-head span{display:block;margin-top:2px;font-size:10px;color:var(--muted)}
.account-menu-item{width:100%;border:0;background:transparent;color:#8f2a22;border-radius:12px;padding:9px 10px;display:flex;align-items:center;gap:9px;font-weight:800;font-size:12px;cursor:pointer;text-align:left}.account-menu-item:active{background:#fff0ef}.account-menu-item svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.identity-panel{padding-top:20px;padding-bottom:18px}
.access-status{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:7px 9px 7px 7px;border:1px solid rgba(139,209,64,.45);background:rgba(255,255,255,.055);border-radius:22px;min-width:150px}
.access-status .security-shield{width:52px;height:52px;border-radius:17px;box-shadow:none;border-width:1.5px}.access-status .security-shield svg{width:29px;height:29px}
.access-copy{min-width:0}.access-copy span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.65px;color:#a9c6e7;font-weight:800}.access-copy strong{display:block;margin-top:2px;color:#fff;font-size:12px;white-space:nowrap}
.hero-actions:empty{display:none}.hero-actions:not(:empty){padding-top:0}
.today-card{margin-bottom:22px}.today-list .empty{padding:18px 12px 22px}
.screen>.notice:last-child,.screen>.metrics:last-child,.screen>.card:last-child{margin-bottom:24px}
.bottom-nav{bottom:max(10px,env(safe-area-inset-bottom));}
@media(max-width:760px){.campaign-art{height:226px}.identity-panel{padding:18px 16px 16px;gap:12px}.identity-panel h1{font-size:34px}.access-status{min-width:0;padding-right:8px}.access-copy span{display:none}.access-copy strong{font-size:11px}.access-status .security-shield{width:47px;height:47px}.wrap{padding-bottom:calc(132px + env(safe-area-inset-bottom))}.today-card{padding-bottom:14px}}
@media(max-width:420px){.campaign-art{height:202px}.identity-panel{padding:16px 14px 14px}.identity-panel h1{font-size:31px}.identity-panel p{font-size:11px;margin-top:6px}.identity-kicker{font-size:9px}.access-status{border-radius:18px;gap:6px;padding:5px 7px 5px 5px}.access-status .security-shield{width:43px;height:43px;border-radius:14px}.access-status .security-shield svg{width:25px;height:25px}.access-copy strong{font-size:10px}.hero-menu{top:12px;left:12px;width:38px;height:38px}.account-menu{top:56px;left:12px}.next-card{margin-bottom:13px}.today-card{margin-bottom:18px}.bottom-nav{bottom:max(8px,env(safe-area-inset-bottom))}}


/* Agenda 10700 V6.3 — login, recuperação e nova arte */
.auth-card{overflow:hidden;position:relative}
.auth-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--green),var(--yellow),var(--blue))}
.password-wrap{position:relative}.password-wrap input{padding-right:52px!important}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:11px;background:transparent;color:#718199;display:grid;place-items:center;cursor:pointer}.password-toggle:hover,.password-toggle.active{background:#edf5fe;color:#0a63bf}.password-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-links{display:flex;justify-content:flex-end;margin:-3px 1px 13px}.text-link{border:0;background:transparent;color:#0a63bf;font-weight:850;font-size:12px;padding:4px 0;cursor:pointer}.text-link:hover{text-decoration:underline}
.auth-help{display:flex;gap:9px;align-items:flex-start;margin-top:15px;padding:11px 12px;border-radius:14px;background:#f5f9fd;color:#64758b;font-size:10.5px;line-height:1.4}.auth-help p{margin:0}.auth-help span{font-size:14px}.password-hint{font-size:10px;color:var(--muted);margin:-4px 2px 13px}.recovery-lock{background:linear-gradient(145deg,#58b53e,#2c8c31)}
.account-menu-neutral{color:#174b7e}.account-menu-neutral:active{background:#eef5fd}
@media(max-width:420px){.login-card{margin-top:10px;padding:21px 17px 18px}.login-card h2{font-size:25px}.center-sub{margin-bottom:17px}.field{margin:10px 0}.field input{min-height:46px}}

.user-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.confirm-chip{flex:none;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;white-space:nowrap}.confirm-chip.ok{background:#edf8e9;color:#2f8a31}.confirm-chip.pending{background:#fff5d8;color:#8a6110}.user-note{margin:-1px 0 10px;padding:8px 10px;border-radius:11px;background:#fff8e7;color:#7a5a12;font-size:10px;line-height:1.4}@media(max-width:420px){.user-head-row{flex-direction:column;gap:7px}.confirm-chip{align-self:flex-start}}


/* V6.4 — Gestão de equipe */
.team-card{padding-bottom:28px}
.team-page-head{margin-bottom:14px}
.team-eyebrow{font-size:10px;font-weight:950;letter-spacing:.16em;color:#66bc3f;margin-bottom:4px}
.team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:10px 0 15px}
.team-stat{border:1px solid #dfe9f4;border-radius:17px;background:#f8fbff;padding:12px 8px;text-align:center}
.team-stat strong{display:block;font-size:24px;line-height:1;color:#0a356d}
.team-stat span{display:block;margin-top:5px;font-size:9px;font-weight:800;color:#708096}
.team-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:9px;margin-bottom:12px}
.team-search-wrap{position:relative}
.team-search-wrap svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#73849b;stroke-width:2}
.team-search-wrap input{padding-left:40px}
.team-toolbar input,.team-toolbar select{height:45px;border:1px solid #d9e3ee;border-radius:14px;background:#fff}
.team-user-card{border:1px solid #dbe6f0;border-radius:20px;padding:15px;margin:11px 0;background:#fff;box-shadow:0 8px 22px rgba(3,38,80,.06)}
.team-user-top{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center}
.team-avatar{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#0c66ba,#0a356d);color:#fff;font-size:15px;font-weight:950;letter-spacing:.04em}
.team-person{min-width:0}
.team-name-line{display:flex;gap:7px;align-items:center;min-width:0}
.team-name-line strong{font-size:14px;color:#132943;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team-person>span{display:block;margin-top:3px;font-size:11px;color:#75849a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.self-chip,.team-state,.role-chip,.restricted-chip{border-radius:999px;font-size:9px;font-weight:900;padding:5px 8px;white-space:nowrap}
.self-chip{background:#edf4ff;color:#1668ac}
.team-state.ok{background:#eaf8e7;color:#2d8b34}
.team-state.pending{background:#fff5d8;color:#8a6110}
.team-state.blocked{background:#fde9e9;color:#b43f3f}
.team-role-row{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 8px}
.role-chip{background:#edf4ff;color:#1c65a2}
.role-admin{background:#e8f2ff;color:#0759a0}
.role-editor{background:#eef8eb;color:#367e2f}
.role-viewer{background:#f0f2f5;color:#586272}
.restricted-chip{background:#fff4d7;color:#856010}
.team-note{font-size:10px;line-height:1.45;color:#718196;background:#f8fafc;border-radius:12px;padding:8px 10px;margin-bottom:10px}
.self-protection{font-size:10px;line-height:1.45;color:#53667c;background:#f1f6fb;border:1px solid #e0e9f2;border-radius:12px;padding:10px}
.team-controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1.3fr);gap:10px;align-items:end;padding-top:4px}
.team-controls .field{margin:0}
.switchline{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e1e8f0;border-radius:14px;padding:9px 11px;min-height:52px}
.switchline span{min-width:0}
.switchline strong{display:block;font-size:11px;color:#213750}
.switchline small{display:block;font-size:8.5px;line-height:1.3;color:#7b899a;margin-top:2px}
.switchline input{width:20px;height:20px;flex:none}
.team-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px;padding-top:11px;border-top:1px solid #edf1f5}
.btn.approve{background:#4dac39;color:#fff;border-color:#4dac39}
.btn.danger-outline{background:#fff;color:#b43b3b;border:1px solid #efb9b9}
.btn.danger{background:#b83d3d;color:#fff;border:1px solid #b83d3d}
.modal-backdrop{position:fixed;z-index:9999;inset:0;background:rgba(2,20,42,.68);display:grid;place-items:center;padding:20px}
.confirm-modal{width:min(440px,100%);background:#fff;border-radius:24px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.32);text-align:center}
.confirm-modal h3{font-size:22px;color:#142a45;margin:8px 0}
.confirm-modal p{font-size:13px;line-height:1.5;color:#586a80}
.danger-icon{width:52px;height:52px;border-radius:50%;margin:auto;display:grid;place-items:center;background:#fdeaea;color:#b83d3d;font-size:28px;font-weight:950}
.delete-warning{margin:14px 0;background:#fff2f2;border:1px solid #f2caca;color:#874242;border-radius:14px;padding:11px;font-size:10px;line-height:1.5;text-align:left}
.modal-actions{display:flex;gap:9px;justify-content:center}
@media(max-width:560px){
  .team-toolbar{grid-template-columns:1fr}
  .team-user-top{grid-template-columns:42px minmax(0,1fr);align-items:start}
  .team-state{grid-column:2;justify-self:start}
  .team-avatar{width:42px;height:42px;border-radius:13px}
  .team-controls{grid-template-columns:1fr}
  .team-actions .btn{flex:1 1 calc(50% - 8px)}
  .team-summary{gap:6px}
  .team-stat{padding:10px 5px}
  .team-stat strong{font-size:21px}
  .team-stat span{font-size:8px}
  .modal-actions{flex-direction:column-reverse}
  .modal-actions .btn{width:100%}
}

/* V6.5 - cadastro simplificado e convite administrado */
.easy-signup-card,.signup-success,.pending-access-card,.invite-password-card{max-width:520px}
.signup-progress{display:grid;grid-template-columns:28px 1fr 28px 1fr 28px;align-items:center;margin:14px 8px 3px}
.signup-progress span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e9eef4;color:#7a889a;font-size:11px;font-weight:900}
.signup-progress span.active{background:#54b33a;color:white;box-shadow:0 5px 14px rgba(84,179,58,.25)}
.signup-progress b{height:2px;background:#e1e8ef}
.signup-progress-labels{display:grid;grid-template-columns:1fr 1fr 1fr;font-size:8.5px;color:#738198;font-weight:800;margin:0 0 14px;text-align:center}
.success-check,.pending-clock{width:62px;height:62px;margin:0 auto 10px;border-radius:20px;display:grid;place-items:center;font-size:32px;font-weight:950;background:linear-gradient(145deg,#5ac443,#2e9a32);color:#fff;box-shadow:0 10px 24px rgba(71,171,54,.23)}
.pending-clock{background:linear-gradient(145deg,#0d73c9,#063a79)}
.simple-steps{margin:16px 0;text-align:left;display:grid;gap:9px}
.simple-steps>div{display:grid;grid-template-columns:31px 1fr;gap:10px;align-items:center;padding:10px 11px;border-radius:14px;background:#f6f9fc}
.simple-steps span{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:#0a65ba;color:white;font-weight:900}
.simple-steps p{margin:0;color:#52657d;font-size:11px;line-height:1.35}
.pending-status-box{display:flex;gap:11px;align-items:center;text-align:left;background:#f5f9fd;border:1px solid #dbe8f4;border-radius:15px;padding:12px;margin:15px 0}
.pending-status-box>span{width:36px;height:36px;border-radius:12px;background:#e9f7e6;color:#299237;display:grid;place-items:center;font-weight:950;font-size:18px}
.pending-status-box strong,.pending-status-box small{display:block}.pending-status-box strong{font-size:12px;color:#18324f}.pending-status-box small{font-size:9.5px;color:#718197;margin-top:2px}
.team-quick-help{display:flex;gap:9px;align-items:flex-start;background:#eef8ec;border:1px solid #d9efd4;border-radius:15px;padding:10px 12px;margin:-3px 0 12px;color:#496b49;font-size:10px;line-height:1.4}.team-quick-help p{margin:0}.team-quick-help span{font-size:15px}
.add-team-btn{white-space:nowrap}
.invite-modal{text-align:left}.invite-modal>h3,.invite-modal>p{text-align:center}
.invite-icon{width:54px;height:54px;margin:0 auto 8px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#0b70ca,#063c80);color:#fff;font-size:31px;font-weight:300}
.text-left{text-align:left}
.invite-restricted{margin:2px 0 15px}
@media(max-width:560px){
  .team-page-head{align-items:flex-start;gap:10px}
  .team-page-head .add-team-btn{font-size:10px;padding:11px 12px}
}

/* V7 final safeguards */
.system-error-card .recovery-lock{font-size:34px;font-weight:900;color:#fff;display:grid;place-items:center;}


/* V7.1 — cadastro imediato e primeiro acesso */
.invite-choice-note{margin:12px 0 4px;padding:13px 14px;border-radius:16px;background:#eef7f1;border:1px solid #cfe7d6;text-align:left;display:grid;gap:4px}
.invite-choice-note strong{color:#155b35;font-size:14px}.invite-choice-note span{color:#52645b;font-size:12px;line-height:1.45}
.invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.invite-actions #cancelInviteUser{grid-column:1/-1;order:3}.invite-actions .btn{min-height:46px}
.credential-modal{max-width:440px}.credential-box{margin:14px 0 16px;padding:14px;border-radius:16px;background:#f3f6f9;border:1px solid #dce4eb;display:grid;gap:5px;text-align:left}.credential-box span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#697887;font-weight:800}.credential-box strong{font-size:17px;color:#092f5d;overflow-wrap:anywhere;margin-bottom:7px}.credential-box strong:last-child{margin-bottom:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;background:#fff;border:1px dashed #a8b7c5;border-radius:10px;padding:10px}
@media(max-width:520px){.invite-actions{grid-template-columns:1fr}.invite-actions #cancelInviteUser{grid-column:auto;order:3}}
