
/* Shared employee topbar treatment. This is page-local and does not alter the sidebar. */
.twp-wf-transactions-page .twp-wf-page-heading{flex:1;min-width:0}.twp-wf-transactions-page .twp-wf-page-heading h1{font-size:31px;line-height:1.1;margin:0;color:#132943;font-weight:750;letter-spacing:-.03em}.twp-wf-transactions-page .twp-wf-page-heading p{margin:5px 0 0;color:#5d6f84;font-size:14px}.twp-wf-transactions-page .twp-wf-topbar{background:#fff;border-bottom:1px solid #e4eaf1}.twp-wf-transactions-page .twp-wf-date-block{display:flex;align-items:center;gap:10px}.twp-wf-transactions-page .twp-wf-calendar-icon{width:24px;color:#526c89;display:flex}.twp-wf-transactions-page .twp-wf-calendar-icon svg{width:23px;height:23px}.twp-wf-transactions-page .twp-wf-date-block strong,.twp-wf-transactions-page .twp-wf-date-block small{display:block}.twp-wf-transactions-page .twp-wf-date-block strong{font-size:14px;color:#172b43}.twp-wf-transactions-page .twp-wf-date-block small{font-size:13px;color:#718096;margin-top:4px}.twp-wf-transactions-page .twp-wf-notification{position:relative;color:#63758b;padding:7px}.twp-wf-transactions-page .twp-wf-notification svg{width:24px;height:24px}.twp-wf-transactions-page .twp-wf-notification b{position:absolute;right:0;top:-1px;background:#e52b3a;color:#fff;border-radius:20px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:10px}.twp-wf-transactions-page .twp-wf-avatar-placeholder{width:44px;height:44px;border-radius:50%;background:#dce6f0;display:block;position:relative;flex:0 0 44px}.twp-wf-transactions-page .twp-wf-avatar-placeholder:before{content:"";position:absolute;width:13px;height:13px;border-radius:50%;background:#fff;left:15px;top:9px}.twp-wf-transactions-page .twp-wf-avatar-placeholder:after{content:"";position:absolute;width:25px;height:13px;border-radius:15px 15px 10px 10px;background:#fff;left:9px;bottom:8px}.twp-wf-transactions-page .twp-wf-user{display:flex;align-items:center;gap:10px;min-width:190px}.twp-wf-transactions-page .twp-wf-user strong,.twp-wf-transactions-page .twp-wf-user small{display:block}.twp-wf-transactions-page .twp-wf-user strong{font-size:14px;color:#172b43}.twp-wf-transactions-page .twp-wf-user small{font-size:13px;color:#65758a;margin-top:3px}.twp-wf-transactions-page .twp-wf-profile-chevron{width:30px;height:30px;border:1px solid #dbe4ee;border-radius:9px;background:#f8fafc;color:#526b86;margin-left:auto;display:flex;align-items:center;justify-content:center;flex:0 0 30px;transition:all .18s ease}.twp-wf-transactions-page .twp-wf-profile-chevron svg{width:16px;height:16px}.twp-wf-transactions-page .twp-wf-user:hover .twp-wf-profile-chevron{border-color:#b9cde2;background:#f1f6fb;color:#1769e0;transform:translateY(1px)}
/* TWP Workforce Transactions. The left sidebar is inherited unchanged from employee-dashboard.css. */
.twp-wf-transactions-content{padding:18px 22px 34px;max-width:1600px;margin:0 auto}.twp-wf-transaction-alert{padding:11px 14px;border-radius:8px;font-size:14px;margin-bottom:14px}.twp-wf-transaction-alert.success{background:#e7f7ee;color:#15754e;border:1px solid #cceedd}.twp-wf-transaction-alert.error{background:#fff0f1;color:#b52d3a;border:1px solid #f3d0d4}.twp-wf-transaction-head{display:flex;gap:16px;align-items:stretch;margin-bottom:16px}.twp-wf-transaction-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex:1}.twp-wf-transaction-kpi{min-height:98px;background:#fff;border:1px solid #e1e8f0;border-radius:12px;padding:15px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 3px 12px rgba(24,55,84,.035)}.twp-wf-transaction-kpi>span{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;flex:0 0 48px}.twp-wf-transaction-kpi svg{width:24px;height:24px}.twp-wf-transaction-kpi small,.twp-wf-transaction-kpi strong,.twp-wf-transaction-kpi em{display:block}.twp-wf-transaction-kpi small{font-size:13px;color:#33475f;margin-bottom:4px}.twp-wf-transaction-kpi strong{font-size:25px;line-height:1;color:#1769df}.twp-wf-transaction-kpi em{font-style:normal;font-size:11px;color:#7a899a;margin-top:5px}.twp-wf-transaction-kpi.blue>span{background:#e5f1ff;color:#1769df}.twp-wf-transaction-kpi.green>span{background:#e0f7eb;color:#14945d}.twp-wf-transaction-kpi.green strong{color:#14945d}.twp-wf-transaction-kpi.orange>span{background:#fff0d9;color:#f18a00}.twp-wf-transaction-kpi.orange strong{color:#f18a00}.twp-wf-transaction-kpi.red>span{background:#ffe4e7;color:#e33647}.twp-wf-transaction-kpi.red strong{color:#e33647}.twp-wf-transaction-add{border:1px solid #1769df;background:#1769df;color:#fff;border-radius:9px;padding:0 8px 0 14px;height:46px;align-self:flex-start;font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer;box-shadow:0 5px 13px rgba(23,105,223,.15);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.twp-wf-transaction-add:hover{background:#145fc9;border-color:#145fc9;box-shadow:0 7px 16px rgba(23,105,223,.2);transform:translateY(-1px)}.twp-wf-transaction-add:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(23,105,223,.18),0 5px 13px rgba(23,105,223,.15)}.twp-wf-transaction-add-icon{display:flex;align-items:center;justify-content:center}.twp-wf-transaction-add-icon svg{width:17px;height:17px}.twp-wf-transaction-add-label{line-height:1}.twp-wf-transaction-add-chevron{width:28px;height:30px;margin-left:2px;border-left:1px solid rgba(255,255,255,.28);border-radius:0 6px 6px 0;display:flex;align-items:center;justify-content:center;color:#fff;transition:background .18s ease,transform .18s ease}.twp-wf-transaction-add-chevron svg{width:14px;height:14px;transition:transform .18s ease}.twp-wf-transaction-add:hover .twp-wf-transaction-add-chevron{background:rgba(255,255,255,.1)}.twp-wf-transaction-add:active .twp-wf-transaction-add-chevron svg{transform:translateY(1px)}.twp-wf-transaction-tools{background:#fff;border:1px solid #e1e8f0;border-radius:12px;padding:12px 12px 10px;display:grid;grid-template-columns:minmax(300px,1fr) 220px auto;gap:10px;box-shadow:0 3px 12px rgba(24,55,84,.035);margin-bottom:12px}.twp-wf-transaction-search{height:42px;border:1px solid #dfe6ee;border-radius:8px;display:flex;align-items:center;background:#fff}.twp-wf-transaction-search>span{width:42px;display:flex;justify-content:center;color:#728196}.twp-wf-transaction-search svg{width:19px;height:19px}.twp-wf-transaction-search input{border:0;outline:0;width:100%;height:100%;font-size:13px;color:#243951;background:transparent}.twp-wf-date-range{height:42px;border:1px solid #dfe6ee;border-radius:8px;display:flex;align-items:center;padding:0 8px;gap:5px;color:#64768d}.twp-wf-date-range svg{width:17px;flex:0 0 17px}.twp-wf-date-range input{border:0;outline:0;width:92px;font-size:12px;color:#344960;background:transparent}.twp-wf-date-range em{font-style:normal;font-size:11px;color:#9aa6b4}.twp-wf-transaction-reset{height:42px;display:flex;align-items:center;justify-content:center;gap:5px;color:#1769df;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none;padding:0 4px}.twp-wf-transaction-reset svg{width:15px}.twp-wf-transaction-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px}.twp-wf-transaction-filters label{font-size:11px;color:#6e7d91}.twp-wf-transaction-filters select{display:block;width:100%;height:37px;margin-top:4px;border:1px solid #dfe6ee;border-radius:7px;background:#fff;color:#334a62;font-size:12px;padding:0 10px;outline:none}.twp-wf-transaction-tabs{display:flex;gap:4px;background:#fff;border:1px solid #e1e8f0;border-radius:10px;padding:4px;margin-bottom:12px;overflow:auto}.twp-wf-transaction-tabs a{height:38px;display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:7px;color:#53677f;font-size:12px;white-space:nowrap;text-decoration:none}.twp-wf-transaction-tabs a span{margin-left:3px;color:#8491a1}.twp-wf-transaction-tabs a.is-active{background:#1769df;color:#fff;font-weight:700}.twp-wf-transaction-tabs a.is-active span{color:#dceaff}.twp-wf-transaction-table-card{padding:0;overflow:hidden}.twp-wf-transaction-table-card .twp-wf-table-wrap{overflow-x:auto}.twp-wf-transaction-table{width:100%;min-width:1370px;border-collapse:collapse}.twp-wf-transaction-table th{background:#f7f9fc;color:#5d6e84;font-size:11px;font-weight:600;text-align:left;padding:12px 8px;border-bottom:1px solid #e8edf3;white-space:nowrap}.twp-wf-transaction-table td{padding:10px 8px;border-bottom:1px solid #edf1f5;color:#273d56;font-size:12px;vertical-align:middle;white-space:nowrap}.twp-wf-transaction-table tr:last-child td{border-bottom:0}.twp-wf-transaction-table .check-col{width:34px;padding-left:15px}.twp-wf-transaction-checkbox{display:block;width:15px;height:15px;border:1px solid #b9c6d5;border-radius:4px;background:#fff}.twp-wf-deal-name{display:flex;align-items:center;gap:8px;min-width:165px}.twp-wf-deal-initial{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;flex:0 0 30px}.twp-wf-deal-initial.a{background:#6d94ee}.twp-wf-deal-initial.b{background:#6c5bd5}.twp-wf-deal-initial.c{background:#3aa77c}.twp-wf-deal-initial.d{background:#df8e40}.twp-wf-deal-initial.e{background:#4e9fd5}.twp-wf-deal-initial.f{background:#9970cf}.twp-wf-deal-name strong,.twp-wf-deal-name small,.twp-wf-transaction-contact strong,.twp-wf-transaction-contact small{display:block}.twp-wf-deal-name strong,.twp-wf-transaction-contact strong{font-size:12px;color:#1e344d}.twp-wf-deal-name small,.twp-wf-transaction-contact small{font-size:10px;color:#7d8b9c;margin-top:3px}.twp-wf-transaction-stage,.twp-wf-transaction-priority,.twp-wf-transaction-status{display:inline-block;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:700}.twp-wf-transaction-stage.lead{background:#e6f0ff;color:#1769c4}.twp-wf-transaction-stage.qualification{background:#fff0d9;color:#db8500}.twp-wf-transaction-stage.proposal{background:#eee7ff;color:#7354ce}.twp-wf-transaction-stage.negotiation{background:#fff0db;color:#df7900}.twp-wf-transaction-stage.won{background:#def6e9;color:#168353}.twp-wf-transaction-stage.lost{background:#ffe5e7;color:#db3846}.twp-wf-transaction-value{font-size:13px;color:#243b55}.twp-wf-closing-date{color:#455b74;font-size:9px}.twp-wf-muted{color:#9aa6b4}.twp-wf-probability{width:72px}.twp-wf-probability span{display:block;font-size:11px;color:#344c66;margin-bottom:4px}.twp-wf-probability i{display:block;height:5px;border-radius:10px;background:#e5ebf2;overflow:hidden}.twp-wf-probability i b{display:block;height:100%;background:#16a879;border-radius:inherit}.twp-wf-transaction-priority.high{background:#ffe6e8;color:#e13b48}.twp-wf-transaction-priority.medium{background:#fff1d8;color:#df8500}.twp-wf-transaction-priority.low{background:#edf1f5;color:#66788e}.twp-wf-transaction-status.open{background:#e4efff;color:#1769d4}.twp-wf-transaction-status.won{background:#ddf5e9;color:#17885a}.twp-wf-transaction-status.lost{background:#ffe5e7;color:#d93c48}.twp-wf-next-action-text{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;color:#30475f}.twp-wf-transaction-actions{display:flex;align-items:center;gap:7px}.twp-wf-view-transaction{height:31px;border:1px solid #c9d8e8;border-radius:7px;padding:0 10px;background:#fff;color:#1769df;font-size:11px;font-weight:700;cursor:pointer}.twp-wf-transaction-actions .twp-wf-more-btn{border:0;background:transparent;color:#61748a;font-size:19px;line-height:1;cursor:pointer}.twp-wf-transaction-empty{text-align:center!important;padding:60px 20px!important}.twp-wf-transaction-empty>div{width:48px;height:48px;border-radius:50%;background:#edf4fc;color:#1769df;margin:0 auto 10px;display:flex;align-items:center;justify-content:center}.twp-wf-transaction-empty svg{width:24px}.twp-wf-transaction-empty strong,.twp-wf-transaction-empty span{display:block}.twp-wf-transaction-empty strong{font-size:14px;color:#263d56}.twp-wf-transaction-empty span{font-size:12px;color:#7a899b;margin-top:5px}.twp-wf-transaction-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;border-top:1px solid #edf1f5;color:#748398;font-size:10px}.twp-wf-transaction-footer .twp-wf-pagination{display:flex;gap:6px}.twp-wf-transaction-footer .twp-wf-pagination a,.twp-wf-transaction-footer .twp-wf-pagination span{width:31px;height:31px;border:1px solid #dce4ed;border-radius:7px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#52667e;background:#fff;font-size:10px}.twp-wf-transaction-footer .twp-wf-pagination .current{background:#1769df;border-color:#1769df;color:#fff}.twp-wf-transaction-footer .twp-wf-pagination .disabled{opacity:.4}.twp-wf-transaction-bottom-grid{display:grid;grid-template-columns:1.05fr 1.05fr 1fr;gap:14px;margin-top:14px}.twp-wf-stage-chart{display:flex;align-items:center;gap:18px}.twp-wf-donut-chart{width:118px;height:118px;border-radius:50%;background:conic-gradient(#4e91e8 0 17%,#f4c84a 17% 39%,#8d67dd 39% 65%,#f49b2f 65% 82%,#35ae7a 82% 95%,#ed6a72 95% 100%);position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 118px}.twp-wf-donut-chart:after{content:"";position:absolute;inset:18px;background:#fff;border-radius:50%}.twp-wf-donut-chart>span{position:relative;z-index:1;font-size:20px;font-weight:750;color:#233b56;text-align:center}.twp-wf-donut-chart small{display:block;font-size:10px;color:#748398;font-weight:500;margin-top:2px}.twp-wf-stage-legend{flex:1}.twp-wf-stage-legend>div{display:grid;grid-template-columns:9px 1fr auto;gap:6px;align-items:center;margin:6px 0;font-size:11px;color:#52657b}.twp-wf-stage-legend i{width:8px;height:8px;border-radius:50%}.twp-wf-stage-legend b{font-size:11px;color:#273c55}.twp-wf-bar-chart{height:180px;display:flex;align-items:flex-end;gap:10px;border-bottom:1px solid #e5ebf1;padding:0 6px}.twp-wf-bar-chart>div{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:35px}.twp-wf-bar-chart strong{font-size:10px;color:#31475e;margin-bottom:5px}.twp-wf-bar-chart i{height:115px;width:28px;background:#edf1f5;border-radius:5px 5px 0 0;display:flex;align-items:flex-end;overflow:hidden}.twp-wf-bar-chart i b{display:block;width:100%;background:#8d67dd;border-radius:5px 5px 0 0}.twp-wf-bar-chart>div:nth-child(1) i b{background:#4e91e8}.twp-wf-bar-chart>div:nth-child(2) i b{background:#f4c84a}.twp-wf-bar-chart>div:nth-child(3) i b{background:#8d67dd}.twp-wf-bar-chart>div:nth-child(4) i b{background:#f49b2f}.twp-wf-bar-chart>div:nth-child(5) i b{background:#35ae7a}.twp-wf-bar-chart>div:nth-child(6) i b{background:#ed6a72}.twp-wf-bar-chart span{font-size:10px;color:#6e7e91;margin-top:6px;white-space:nowrap}.twp-wf-closing-list>div{display:grid;grid-template-columns:1.2fr .7fr .8fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #edf1f5}.twp-wf-closing-list>div:last-child{border-bottom:0}.twp-wf-closing-list strong{font-size:11px;color:#20364f}.twp-wf-closing-list span,.twp-wf-closing-list small{font-size:10px;color:#61748a}.twp-wf-closing-list em{font-style:normal;border-radius:5px;padding:4px 6px;font-size:10px;font-weight:700;background:#eee7ff;color:#7354ce}.twp-wf-closing-list em.negotiation{background:#fff0db;color:#df7900}.twp-wf-closing-list em.lead{background:#e6f0ff;color:#1769c4}.twp-wf-closing-list em.qualification{background:#fff0d9;color:#db8500}.twp-wf-closing-empty{font-size:12px;color:#7a899b;padding:25px 0}.twp-wf-transaction-modal{position:fixed;inset:0;background:rgba(7,23,39,.52);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999;opacity:0;visibility:hidden;transition:.18s ease}.twp-wf-transaction-modal.is-open{opacity:1;visibility:visible}.twp-wf-transaction-modal-card{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 25px 70px rgba(0,0,0,.25)}.twp-wf-modal-head{padding:20px 22px;border-bottom:1px solid #e9eef4;display:flex;justify-content:space-between;gap:15px}.twp-wf-modal-head span{font-size:11px;color:#1769df;font-weight:800;letter-spacing:.14em}.twp-wf-modal-head h2{margin:5px 0 4px;font-size:22px;color:#14263d}.twp-wf-modal-head p{margin:0;color:#738196;font-size:10px}.twp-wf-modal-head button{width:34px;height:34px;border:1px solid #dce5ee;background:#fff;border-radius:8px;color:#5c7088;cursor:pointer}.twp-wf-modal-head button svg{width:17px}.twp-wf-form-grid{padding:20px 22px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.twp-wf-form-grid label{font-size:12px;color:#5f7086;font-weight:600}.twp-wf-form-grid label.full{grid-column:1/-1}.twp-wf-form-grid input,.twp-wf-form-grid select,.twp-wf-form-grid textarea{display:block;width:100%;margin-top:5px;border:1px solid #dce5ee;border-radius:8px;background:#fff;color:#263d56;padding:0 11px;font:inherit;font-size:13px;outline:none}.twp-wf-form-grid input,.twp-wf-form-grid select{height:39px}.twp-wf-form-grid textarea{padding-top:10px;resize:vertical}.twp-wf-form-grid input:focus,.twp-wf-form-grid select:focus,.twp-wf-form-grid textarea:focus{border-color:#7daee9;box-shadow:0 0 0 3px rgba(23,105,223,.08)}.twp-wf-form-actions{padding:14px 22px 20px;border-top:1px solid #edf1f5;display:flex;justify-content:flex-end;gap:9px}.twp-wf-modal-cancel,.twp-wf-modal-save{height:40px;border-radius:8px;padding:0 16px;font-size:13px;font-weight:700;cursor:pointer}.twp-wf-modal-cancel{border:1px solid #d6e0ea;background:#fff;color:#5d7086}.twp-wf-modal-save{border:1px solid #1769df;background:#1769df;color:#fff}@media(max-width:1250px){.twp-wf-transaction-kpis{grid-template-columns:1fr 1fr}.twp-wf-transaction-head{flex-direction:column}.twp-wf-transaction-add{align-self:flex-end}.twp-wf-transaction-tools{grid-template-columns:1fr 220px auto}.twp-wf-transaction-bottom-grid{grid-template-columns:1fr 1fr}.twp-wf-transaction-bottom-grid>.twp-wf-card:last-child{grid-column:span 2}}@media(max-width:850px){.twp-wf-transactions-content{padding:14px}.twp-wf-transaction-tools{grid-template-columns:1fr}.twp-wf-transaction-reset{justify-content:flex-start}.twp-wf-transaction-filters{grid-template-columns:1fr 1fr}.twp-wf-transaction-bottom-grid{grid-template-columns:1fr}.twp-wf-transaction-bottom-grid>.twp-wf-card:last-child{grid-column:auto}}@media(max-width:560px){.twp-wf-transaction-kpis{grid-template-columns:1fr 1fr;gap:8px}.twp-wf-transaction-kpi{min-height:82px;padding:10px;gap:8px}.twp-wf-transaction-kpi>span{width:38px;height:38px;flex-basis:38px}.twp-wf-transaction-kpi strong{font-size:18px}.twp-wf-transaction-kpi small{font-size:9px}.twp-wf-transaction-kpi em{font-size:8px}.twp-wf-transaction-filters{grid-template-columns:1fr}.twp-wf-transaction-footer{align-items:flex-start;gap:10px;flex-direction:column}.twp-wf-form-grid{grid-template-columns:1fr}.twp-wf-form-grid label.full{grid-column:auto}.twp-wf-stage-chart{align-items:flex-start;flex-direction:column}.twp-wf-donut-chart{margin:auto}}
