.staff-body{background:#f3f6fa;color:#102b45;font-family:Arial,sans-serif;min-height:100dvh}.staff-body footer{background:#f3f6fa;color:#718094;padding:20px 30px;font-size:13px}.staff-header{position:sticky;top:0;z-index:10;min-height:76px;padding:10px 32px;background:#fff;border-bottom:1px solid #e4eaf0;box-shadow:0 4px 18px #08233b0a}.staff-header>a{display:flex;align-items:center}.staff-header img{width:146px;height:56px;object-fit:contain;display:block}.staff-headline{display:flex;flex-direction:column;gap:2px;margin-right:auto;margin-left:22px}.staff-headline span{color:#f5821f;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.12em}.staff-headline strong{font-size:17px;color:#09233e}.staff-header nav{display:flex;align-items:center;gap:18px}.staff-user-label{font-size:13px;color:#738196}.staff-layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100dvh - 76px)}.staff-sidebar{position:sticky;top:76px;align-self:start;min-height:calc(100dvh - 76px);padding:24px 15px;background:#071f37;color:#fff}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:2px 12px 25px}.sidebar-brand>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f5821f;color:#071f37;font-size:22px;font-weight:900}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand strong{font-size:14px}.sidebar-brand small{margin-top:3px;color:#a8bacb;font-size:11px}.sidebar-label{margin:4px 12px 10px;color:#8fa6bb;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:700}.staff-sidebar>a{display:flex;align-items:center;gap:12px;margin:3px 0;padding:13px 12px;color:#c3d0dc;text-decoration:none;border-radius:10px;font-weight:700;font-size:14px;transition:background .2s,color .2s,transform .2s}.staff-sidebar>a:hover{background:#173a5b;color:#fff;transform:translateX(2px)}.staff-sidebar>a.active{background:#f5821f;color:#071f37;box-shadow:0 7px 18px #f5821f33}.nav-icon{width:19px;text-align:center;font-size:19px;line-height:1}.staff-side-note{margin:34px 7px 0;padding:15px 13px;border:1px solid #31506c;border-radius:12px;background:#0d2a46;color:#d7e1ea}.staff-side-note strong,.staff-side-note span{display:block}.staff-side-note strong{font-size:12px}.staff-side-note span{margin-top:6px;color:#91a6b8;font-size:12px;line-height:1.45}.staff-main{width:100%;max-width:1580px;padding:38px clamp(24px,4vw,62px) 70px;background:linear-gradient(135deg,#f3f6fa 0%,#f8fafc 55%,#eef3f7 100%)}.staff-mobile-tabs{display:none}.staff-page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:17px}.staff-page-heading h1{margin:0;color:#08233e;font-size:clamp(30px,4vw,46px);letter-spacing:-.045em}.staff-page-heading p:not(.eyebrow){max-width:620px;margin:10px 0 0;color:#667789;font-size:16px}.staff-page-heading .eyebrow,.staff-section-heading .eyebrow{margin-bottom:7px;color:#d86d0a}.staff-dashboard-bar{display:flex;justify-content:space-between;align-items:center;margin:8px 0 22px;color:#8190a0;font-size:13px}.staff-dashboard-bar>div{display:flex;align-items:center;gap:8px}.pulse-dot{width:8px;height:8px;background:#29aa76;border-radius:50%;box-shadow:0 0 0 5px #29aa761c}.staff-refresh{color:#d86d0a;font-weight:700;text-decoration:none}.staff-refresh:hover{text-decoration:underline}.staff-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.staff-stat{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:145px;padding:22px;border-radius:16px;background:#fff;border:1px solid #e3eaf0;box-shadow:0 10px 28px #08233b0a}.staff-stat:after{content:"";position:absolute;right:-27px;bottom:-38px;width:104px;height:104px;border:17px solid #f5821f12;border-radius:50%}.staff-stat>span{color:#718195;font-size:13px;font-weight:700}.staff-stat>strong{margin:13px 0 5px;color:#08233e;font-size:31px;letter-spacing:-.04em}.staff-stat>small{color:#8492a0;font-size:12px}.staff-stat.orange{border-top:4px solid #f5821f}.staff-stat.navy{border-top:4px solid #092a4a}.staff-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.staff-card{min-width:0;padding:25px;border:1px solid #e2e9ef;border-radius:16px;background:#fff;box-shadow:0 10px 28px #08233b08}.chart-card{min-height:218px}.chart-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.chart-heading h2{margin:0;color:#0a2945;font-size:19px}.chart-heading p:not(.eyebrow){margin:6px 0 0;color:#8290a0;font-size:13px}.chart-total{padding:8px 10px;border-radius:9px;background:#f0f5f8;color:#0a2945;font-weight:800;font-size:13px;white-space:nowrap}.chart-bars{display:grid;gap:15px;margin-top:23px}.chart-row-label{display:flex;justify-content:space-between;gap:16px;color:#67788a;font-size:13px}.chart-row-label strong{color:#0a2945;font-size:13px}.chart-track{height:9px;margin-top:7px;overflow:hidden;border-radius:20px;background:#edf1f4}.chart-track i{display:block;height:100%;min-width:3px;border-radius:20px;background:#f5821f;transition:width .6s ease}.chart-track i.navy{background:#0c3558}.chart-track i.muted{background:#a8b5c0}.staff-grid-two{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px;margin-bottom:18px}.staff-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:19px}.staff-section-heading h2{margin:0;color:#0a2945;font-size:21px;letter-spacing:-.025em}.staff-section-heading p:not(.eyebrow){margin:7px 0 0;color:#8491a0;font-size:13px}.staff-table-wrap{width:100%;overflow:auto}.staff-table{width:100%;min-width:540px;border-collapse:collapse}.staff-table th{padding:0 14px 12px;text-align:left;color:#8b98a5;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800;white-space:nowrap}.staff-table td{padding:15px 14px;border-top:1px solid #edf1f4;color:#536678;font-size:13px;vertical-align:middle}.staff-table td:first-child,.staff-table th:first-child{padding-left:0}.staff-table td:last-child,.staff-table th:last-child{padding-right:0}.staff-table td strong,.staff-table td small{display:block}.staff-table td strong{color:#0b2b47;font-size:14px}.staff-table td small{margin-top:4px;color:#8b98a5;font-size:11px;white-space:normal}.staff-table select{min-width:103px;padding:8px 9px;font-size:12px}.staff-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:800;white-space:nowrap}.staff-badge.active,.staff-badge.signed,.staff-badge.accepted,.staff-badge.paid,.staff-badge.done{background:#e4f7ef;color:#147450}.staff-badge.suspended,.staff-badge.pending,.staff-badge.sent,.staff-badge.overdue,.staff-badge.reminder{background:#fff0df;color:#b2530b}.staff-badge.draft,.staff-badge.notice{background:#eef2f5;color:#637587}.staff-badge.rejected,.staff-badge.canceled{background:#fde9e9;color:#ad4141}.staff-reminders{display:grid;gap:11px;margin:4px 0;padding:0;list-style:none}.staff-reminders li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #edf1f4}.staff-reminders li:last-child{border-bottom:0}.staff-reminders strong,.staff-reminders small{display:block}.staff-reminders strong{color:#17334c;font-size:14px}.staff-reminders small{margin-top:4px;color:#8a98a4;font-size:12px}.staff-dot{width:9px;height:9px;margin-top:6px;border-radius:50%;background:#f5821f;box-shadow:0 0 0 5px #f5821f17}.staff-dot.notice{background:#123b60;box-shadow:0 0 0 5px #123b6017}.staff-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#08233e;color:#fff;border:0}.staff-shortcuts h2{margin:0;color:#fff;font-size:21px}.staff-shortcuts p:not(.eyebrow){margin:7px 0 0;color:#b2c2d0;font-size:13px}.staff-shortcuts .eyebrow{margin-bottom:7px;color:#f7a052}.shortcut-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.staff-body .button{white-space:nowrap}.staff-body .button-ghost{background:transparent;border-color:#718ba2;color:#fff}.staff-body .button-ghost:hover{background:#173c5b}.staff-form{display:grid;gap:17px}.staff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.staff-field{display:block;margin:0;color:#506477;font-size:13px;font-weight:700}.staff-field>span{display:block;margin-bottom:7px}.staff-field input,.staff-field select,.staff-field textarea{width:100%;padding:11px 12px;border:1px solid #d8e0e7;border-radius:9px;background:#fbfcfd;color:#1b344b;font-size:14px}.staff-field textarea{resize:vertical;min-height:92px;line-height:1.45}.staff-field input:focus,.staff-field select:focus,.staff-field textarea:focus{border-color:#f5821f;box-shadow:0 0 0 3px #f5821f1c;outline:0}.span-2{grid-column:span 2}.staff-body .staff-form>button,.staff-inline-form button{justify-self:start;padding:11px 17px;border-radius:9px;font-size:13px}.staff-inline-form{display:flex;align-items:center;gap:7px}.staff-inline-form select{border:1px solid #d8e0e7;border-radius:7px;background:#fff;color:#314b61}.staff-empty{display:grid;place-items:center;min-height:130px;padding:20px;border:1px dashed #d7e0e7;border-radius:11px;background:#fbfcfd;text-align:center}.staff-empty strong{color:#53697b;font-size:14px}.staff-empty span{margin-top:5px;color:#96a3af;font-size:12px}.staff-flash{margin:0 0 18px;padding:12px 15px;border-radius:10px;font-size:13px;font-weight:700}.staff-flash.success{background:#e6f7ef;color:#17714e;border:1px solid #bce8d3}.staff-flash.error{background:#fff0e4;color:#8a3500;border:1px solid #e5a068}.staff-login{margin-top:8vh}.staff-login h1{letter-spacing:-.04em}.staff-body .logout{border:1px solid #d1dae2;background:#fff;color:#345068;border-radius:8px}.staff-body .logout:hover{background:#f5f8fa}.staff-body .eyebrow{font-size:11px;letter-spacing:.12em}
@media(max-width:1100px){.staff-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-chart-grid{grid-template-columns:1fr}.staff-grid-two{grid-template-columns:1fr}.staff-main{padding:30px 26px 58px}}
@media(max-width:760px){.staff-header{padding:9px 16px;min-height:68px}.staff-header img{width:112px;height:50px}.staff-headline{display:none}.staff-user-label{display:none}.staff-layout{display:block;min-height:0}.staff-sidebar{display:none}.staff-main{padding:18px 15px 45px}.staff-mobile-tabs{display:flex;gap:6px;overflow:auto;margin:0 -2px 22px;padding:3px 2px 8px}.staff-mobile-tabs a{flex:none;padding:9px 12px;border:1px solid #dce4ea;border-radius:20px;background:#fff;color:#587084;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}.staff-mobile-tabs a.active{background:#f5821f;border-color:#f5821f;color:#09233e}.staff-page-heading{margin-bottom:12px}.staff-page-heading h1{font-size:34px}.staff-page-heading p:not(.eyebrow){font-size:14px}.staff-dashboard-bar{align-items:flex-start;gap:9px;flex-direction:column;margin-bottom:17px}.staff-stats{grid-template-columns:1fr 1fr;gap:10px}.staff-stat{min-height:125px;padding:16px}.staff-stat>strong{font-size:25px}.staff-card{padding:18px;border-radius:13px}.staff-form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.staff-table{min-width:580px}.staff-shortcuts{align-items:flex-start;flex-direction:column}.shortcut-actions{justify-content:flex-start}.chart-heading{gap:8px}.chart-total{font-size:11px}.staff-body footer{padding:17px 15px;font-size:11px}}

/* Carteira, propostas e confirmações */
.crm-stack{display:grid;gap:20px}
.crm-editor>summary{cursor:pointer;font-size:18px;font-weight:700;color:#123653;list-style-position:inside}
.crm-editor[open]>summary{margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e3eaf0}
.crm-editor .staff-form-grid{gap:20px}
.crm-editor .staff-field{font-size:14px;color:#354f66}
.crm-editor input,.crm-editor select,.crm-editor textarea{font:16px/1.5 Arial,sans-serif}
.crm-editor textarea{white-space:pre-wrap}
.crm-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.crm-edit{display:inline-flex;padding:9px 13px;border:1px solid #c8d6e2;border-radius:8px;color:#133b5c;background:#f3f7fa;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.crm-edit:hover{background:#e7eef5}
.crm-delete{margin:9px 0;font-size:14px;white-space:normal}
.crm-delete>summary{cursor:pointer;color:#aa3030;font-weight:700}
.crm-delete-panel{padding:16px;margin-top:10px;width:300px;max-width:100%;border:1px solid #efc6c6;border-radius:10px;background:#fff9f8}
.crm-delete-panel strong{font-size:15px!important}
.crm-delete-panel p{font-size:14px;line-height:1.5;color:#703e3e;margin:9px 0}
.crm-confirm{display:flex;align-items:flex-start;gap:9px;font-size:14px;margin:8px 0;line-height:1.5;font-weight:400}
.crm-confirm input{width:18px;height:18px;flex:none;margin:2px 0;accent-color:#a93030}
.staff-body .crm-danger{background:#a93030;color:#fff;border-color:#a93030;font-size:14px;padding:10px 13px}
.staff-body .crm-danger:hover{background:#812323}
.crm-service{font-size:14px}.crm-service summary{cursor:pointer;color:#153f60}
.crm-service p{white-space:pre-wrap;min-width:180px;max-width:350px;font-size:14px;overflow-wrap:anywhere}
.crm-finance{max-width:850px;border-top:4px solid #f5821f;padding:36px}
.crm-finance>span{display:block;color:#486276;font-size:16px}
.crm-finance>strong{display:block;color:#092b48;font-size:clamp(32px,5vw,56px);letter-spacing:-.04em;margin:15px 0;overflow-wrap:anywhere}
.crm-finance p{max-width:650px;font-size:16px;color:#526779}
.crm-stack .staff-table td{font-size:14px}
.crm-stack .staff-table th{font-size:12px;color:#5a7082}
.crm-stack .staff-table small{font-size:13px;color:#60768a}
.crm-stack .staff-badge{font-size:13px}
@media(max-width:760px){.crm-editor .staff-form-grid{grid-template-columns:1fr}.crm-finance{padding:24px}.crm-stack .staff-card{padding:18px}}

/* Quadro completo: rolagem própria, cabeçalho e empresa fixos */
.company-board-card{padding:24px;min-width:0}
.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.board-toolbar strong{font-size:20px;color:#102e49}
.board-toolbar p,.board-note{font-size:14px;color:#50677b;margin:6px 0;line-height:1.6}
.board-toolbar .crm-edit{flex-shrink:0}
.board-filter{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;margin-bottom:20px}
.board-filter .staff-field:first-of-type{flex:1;min-width:220px}
.board-filter .staff-field{margin:0;min-width:150px;font-size:14px}
.board-filter input,.board-filter select{font-size:16px}
.board-filter button{padding:12px 18px;font-size:14px}
.board-filter>a{font-size:14px;margin-bottom:12px;color:#194566}
.company-board-scroll{position:relative;max-height:68vh;overflow:auto;border:1px solid #d7e1e9;border-radius:10px;overscroll-behavior:contain}
.company-board-scroll:focus-visible{outline:3px solid #d96c0a;outline-offset:3px}
.company-board{border-collapse:separate;border-spacing:0;width:3142px;table-layout:fixed;font-size:14px}
.company-board caption{text-align:left;padding:14px;background:#edf3f8;color:#153a58;font-weight:700}
.company-board th,.company-board td{width:170px;padding:14px 12px;border-right:1px solid #e3eaf0;border-bottom:1px solid #e3eaf0;text-align:left;vertical-align:top;white-space:pre-line;overflow-wrap:anywhere;background:white;color:#233e55}
.company-board thead th{position:sticky;top:0;z-index:2;background:#092b47;color:white;font-size:13px;letter-spacing:.02em}
.company-board tr>:nth-child(1){width:72px;position:sticky;left:0;z-index:1;background:#f5f8fb}
.company-board tr>:nth-child(2){width:260px;position:sticky;left:72px;z-index:1;box-shadow:3px 0 5px #0c293411}
.company-board tr>:nth-child(3){width:190px}
.company-board tr>:nth-child(4){width:70px}
.company-board tr>:nth-child(5){width:280px}
.company-board tr>:nth-child(7){width:180px}
.company-board thead tr>:nth-child(-n+2){z-index:3;background:#092b47}
.company-board tbody th a{font-size:15px;color:#123f61;text-decoration:underline;text-underline-offset:3px}
.company-board tbody th small{display:block;font-weight:400;color:#5c7182;margin-top:6px;font-size:13px}
.company-board tbody tr:hover td,.company-board tbody tr:hover th{background:#fff8f0}
.company-board .board-empty{position:static!important;text-align:left;padding:24px;box-shadow:none!important}
.board-note{margin-top:15px}
.board-form-heading{border-top:1px solid #dce5ed;padding-top:20px;margin-top:8px}
.board-form-heading h3,.board-contract-info h3{font-size:18px;margin:0 0 8px;color:#123551}
.board-form-heading p,.board-contract-info p{font-size:14px;color:#4c6479;margin:0 0 12px}
.board-contract-info{margin-top:24px;padding:20px;border:1px solid #d8e4ed;border-radius:10px;background:#f5f9fc}
@media(max-width:760px){.board-toolbar{align-items:flex-start;flex-direction:column}.company-board-card{padding:16px}.board-filter .staff-field{flex:1;min-width:100%}.company-board tr>:nth-child(2){position:static;box-shadow:none}.company-board thead tr>:nth-child(2){position:sticky;left:auto}.company-board-scroll{max-height:65vh}}
