*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}.client-portal-wrapper{--navy:#2D2B6B;--navy-dark:#1e1c48;--navy-mid:#3d3b8a;--orange:#E8651A;--orange-light:#f07840;--purple-light:#E8E8F5;--cream:#FBE9DC;--gray-soft:#f4f4f9;--gray-border:#d8d7ec;--text-muted:#7c7aaa;--green:#1a7a4a;--green-bg:#e6f5ed;--green-border:#b8dfc9;--red:#c0392b;--red-bg:#fdf0ee;font-family:Fira Sans,sans-serif;background:var(--gray-soft);color:var(--navy);min-height:100vh;display:flex;flex-direction:column}.live-rate-status{margin:-.25rem 0 1rem auto;width:fit-content;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--green)}.live-rate-status.requesting{color:var(--green)}.live-rate-status.offline{color:var(--red)}.live-rate-dot{display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:50%;background:var(--green)}.live-rate-status.requesting .live-rate-dot{background:#d8a43a}.live-rate-status.offline .live-rate-dot{background:var(--red)}.live-rate-controls{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1.35fr) minmax(0,1.2fr);gap:10px;align-items:end;width:100%;min-width:0}.live-rate-controls>*,.live-rate-field{min-width:0}.live-rate-amount{position:relative}.live-rate-field select,.live-rate-field input{width:100%;min-height:48px}.amount-input-wrap{display:flex;align-items:center;min-height:48px;overflow:hidden;border:1px solid var(--gray-border);border-radius:7px;background:#f8f8fc}.amount-input-wrap>span{padding:0 12px;color:var(--navy-mid);font-weight:700;white-space:nowrap}.amount-currency-switch{align-self:stretch;padding:0 12px;border:0;border-right:1px solid var(--gray-border);background:transparent;color:var(--navy-mid);font-size:inherit;font-weight:700;cursor:pointer;white-space:nowrap}.amount-currency-switch:hover{background:var(--purple-light);color:var(--navy)}.amount-input-wrap input{min-width:0;padding-right:72px;border:0;outline:0;background:transparent}.amount-currency-toggle{position:absolute;right:7px;bottom:7px;display:flex;gap:3px;padding:2px;border-radius:5px;background:#e8e8f2}.amount-currency-toggle button{padding:3px 6px;border:0;border-radius:3px;background:transparent;color:var(--navy-mid);font-size:10px;font-weight:700;cursor:pointer}.amount-currency-toggle button.active{background:#fff;color:var(--navy);box-shadow:0 1px 2px #0000001f}.quick-amounts{grid-column:3;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:1px}.quick-amounts>span{margin-right:4px;color:var(--text-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.quick-amounts button{padding:7px 10px;border:1px solid var(--gray-border);border-radius:6px;background:#fff;color:var(--navy-mid);font-size:12px;cursor:pointer}.quick-amounts button:hover,.quick-amounts button.selected{border-color:var(--navy-mid);background:var(--purple-light);color:var(--navy);font-weight:700}.pair-flip-btn{height:48px;border:1px solid var(--gray-border);border-radius:7px;background:#fff;color:var(--navy);font-size:25px;cursor:pointer}.pair-flip-btn:disabled{opacity:.38;cursor:not-allowed}.side-toggle{display:flex;gap:6px;min-width:0}.side-toggle button{flex:1 1 0;min-width:0;min-height:48px;padding:0 10px;border:1px solid var(--gray-border);border-radius:7px;background:#fff;color:var(--navy);font-weight:700;cursor:pointer;white-space:nowrap}.side-toggle button.active-buy{border-color:var(--green);background:var(--green-bg);color:var(--green)}.side-toggle button.active-sell{border-color:var(--red);background:var(--red-bg);color:var(--red)}.client-request-banner{margin:1.25rem auto;max-width:850px;padding:12px 16px;border:1px solid var(--green-border);border-radius:8px;background:var(--green-bg);color:var(--green);font-weight:700;text-align:center}.client-request-banner.sell{border-color:#efc0b9;background:var(--red-bg);color:var(--red)}.client-request-banner span{margin-left:12px;padding-left:12px;border-left:1px solid currentColor;font-weight:400}.live-quote-card{max-width:640px;margin:1rem auto 1.5rem;padding:24px 28px;border:1px solid var(--green-border);border-radius:10px;background:linear-gradient(135deg,#f5fffa,#fff);color:var(--green)}.live-quote-card.sell{border-color:#efc0b9;background:linear-gradient(135deg,#fff8f6,#fff);color:var(--red)}.live-quote-heading{display:flex;justify-content:space-between;align-items:center;font-size:26px;font-weight:800}.live-quote-heading span{font-size:11px;padding:6px 10px;border-radius:20px;background:var(--green-bg)}.live-quote-card.sell .live-quote-heading span{background:var(--red-bg)}.live-quote-sub{margin-top:4px;color:var(--navy-mid);font-size:15px}.live-quote-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 14px}.live-quote-amount{min-width:0;padding:14px 12px;border:1px solid var(--gray-border);border-radius:8px;background:#ffffffb8;text-align:center}.live-quote-amount-label{color:var(--navy-mid);font-size:14px;font-weight:700}.live-quote-amount-value{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:5px;color:var(--navy);line-height:1.05}.live-quote-currency{margin-top:2px;font-size:26px;font-weight:700;line-height:1}.live-quote-number{font-size:42px;font-weight:800;line-height:1.05}.live-quote-label{margin-top:22px;color:var(--navy-mid);font-weight:700;text-align:center}.live-quote-main{margin:4px 0 18px;font-size:42px;font-weight:800;text-align:center}.live-quote-details{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--gray-border);color:var(--navy-mid)}.live-quote-details strong{color:var(--navy)}.live-quote-rate{justify-content:center;margin-top:0}.quote-debug-line{visibility:hidden;margin-top:10px;color:#9292a8;font-size:10px;line-height:1.5;text-align:right}.live-quote-action{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin-top:16px;padding:14px 18px;border:0;border-radius:7px;color:#fff;font-size:20px;font-weight:800;cursor:pointer}.live-quote-action.buy{background:var(--green)}.live-quote-action.sell{background:var(--red)}.live-quote-action:disabled{background:#aeb5bd;color:#f5f6f7;cursor:not-allowed;opacity:1}.live-quote-action span{display:inline-block;position:relative;top:-6px;height:20px;font-size:30px;font-weight:400;line-height:20px;vertical-align:middle}.tt-fee-note{margin-top:10px;color:#3562c8;font-size:12px;text-align:center}.quoted-request-price{margin:1rem 0;width:100%}@media (max-width: 1050px){.live-rate-controls{grid-template-columns:minmax(0,1fr) 48px minmax(0,1.25fr)}.live-rate-controls>.live-rate-field:last-child{grid-column:1 / -1}.quick-amounts{grid-column:3}}@media (max-width: 650px){.live-rate-controls{grid-template-columns:minmax(0,1fr) 48px}.live-rate-amount,.quick-amounts{grid-column:1 / -1}.client-request-banner span{display:block;margin:6px 0 0;padding:0;border:0}}@media (max-width: 650px){.live-quote-amounts{grid-template-columns:1fr}}@media (max-width: 520px){.live-quote-card{padding:20px 16px}.live-quote-amounts{gap:8px}.live-quote-amount{padding:12px 8px}.live-quote-currency{font-size:24px}.live-quote-number{font-size:28px}}.client-portal-wrapper .topbar{background:var(--navy);height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 2rem;flex-shrink:0}.client-portal-wrapper .logo-wrap{display:flex;align-items:center;gap:10px}.client-portal-wrapper .logo-badge{width:36px;height:36px;background:var(--orange);border-radius:7px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff}.client-portal-wrapper .logo-name{color:#fff;font-size:15px;font-weight:600;line-height:1.2}.client-portal-wrapper .logo-tag{color:#ffffff73;font-size:10px;letter-spacing:1.8px;text-transform:uppercase}.client-portal-wrapper .topbar-right{display:flex;align-items:center;gap:1rem}.client-portal-wrapper .client-pill{position:relative;min-width:250px;padding:5px 52px 5px 14px;border:0;border-radius:8px;background:#ffffff26;color:#ffffffe6;font-family:inherit;font-size:13px;text-align:left;display:none;cursor:pointer;transition:background .2s}.client-portal-wrapper .client-pill.visible{display:flex;flex-direction:column;gap:5px}.client-portal-wrapper .client-pill:hover,.client-portal-wrapper .client-pill:focus-visible{background:#ffffff40;outline:none}.client-portal-wrapper .client-pill-main{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.client-portal-wrapper .client-pill-name{min-width:0;flex:1 1 auto;overflow:hidden;color:#fff;font-size:16px;font-weight:500;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.client-portal-wrapper .client-pill-tier{visibility:hidden;flex:0 0 auto;padding:5px 12px;border-radius:8px;background:#ffffff2e;color:#fff;font-size:12px;font-weight:500;letter-spacing:.04em;line-height:1}.client-portal-wrapper .client-pill-company{overflow:hidden;color:#ffffff9e;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.client-portal-wrapper .client-pill-chevron{position:absolute;top:50%;right:16px;color:#fff;font-size:24px;font-weight:300;line-height:1;transform:translateY(-55%)}.client-portal-wrapper .logout-btn{background:none;border:1px solid rgba(255,255,255,.3);color:#ffffffb3;font-family:Fira Sans,sans-serif;font-size:13px;padding:5px 14px;border-radius:5px;cursor:pointer;transition:all .2s;display:none}.client-portal-wrapper .logout-btn:hover{border-color:#fff9;color:#fff}.client-portal-wrapper .logout-btn.visible{display:block}.client-portal-wrapper main{flex:1;display:flex;align-items:center;justify-content:center;padding:3rem 2rem}.client-portal-wrapper .screen{display:none;width:100%;max-width:calc(100vw - 4rem);margin:0 auto}.client-portal-wrapper .screen.active{display:block}.client-portal-wrapper .card{background:#fff;border-radius:14px;box-shadow:0 4px 32px #2d2b6b1f;overflow:hidden}.client-portal-wrapper .card-header{background:var(--navy);padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between}.client-portal-wrapper .card-header-title{color:#fff;font-size:16px;font-weight:600}.client-portal-wrapper .card-header-sub{color:#ffffff8c;font-size:12px;margin-top:2px}.client-portal-wrapper .live-rate-page-header{background:var(--orange);display:block;padding:0}.client-portal-wrapper .live-rate-page-title{padding:1.25rem 2rem .5rem;color:var(--navy);font-size:22px;font-weight:700;line-height:1.25}.client-portal-wrapper .live-rate-page-subtitle{padding:.35rem 2rem 1.15rem;background:var(--orange);color:#fff;font-size:14px;font-weight:500;line-height:1.35}.client-portal-wrapper .card-body{padding:2rem}.client-portal-wrapper .client-strip{background:var(--purple-light);border-radius:8px;padding:12px 16px;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center}.client-portal-wrapper .cs-name{font-size:14px;font-weight:600}.client-portal-wrapper .cs-phone{font-size:13px;color:var(--text-muted)}.client-portal-wrapper .field-label{display:block;font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.8px;margin-bottom:6px}.client-portal-wrapper .form-row{margin-bottom:1.25rem}.client-portal-wrapper .fx-row{display:grid;grid-template-columns:1fr 1fr auto 1fr;gap:10px;align-items:end;margin-bottom:1.25rem}.client-portal-wrapper .vs-label{font-size:13px;font-weight:600;color:var(--text-muted);padding-bottom:11px;text-align:center}.client-portal-wrapper select,.client-portal-wrapper input[type=text],.client-portal-wrapper input[type=password],.client-portal-wrapper textarea{width:100%;font-family:Fira Sans,sans-serif;font-size:15px;color:var(--navy);background:var(--gray-soft);border:1.5px solid var(--gray-border);border-radius:8px;padding:10px 12px;outline:none;transition:border-color .2s,background .2s;appearance:none;-webkit-appearance:none}.client-portal-wrapper select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c7aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}.client-portal-wrapper select:focus,.client-portal-wrapper input:focus,.client-portal-wrapper textarea:focus{border-color:var(--navy);background:#fff}.client-portal-wrapper textarea{resize:vertical;min-height:80px;font-size:14px}.client-portal-wrapper .btn{font-family:Fira Sans,sans-serif;font-size:15px;font-weight:600;border:none;border-radius:8px;cursor:pointer;padding:12px 24px;transition:all .2s}.client-portal-wrapper .btn-primary{background:var(--orange);color:#fff;width:100%}.client-portal-wrapper .btn-primary:disabled{background:#aeb5bd;color:#f5f6f7;cursor:pointer;opacity:1}.client-portal-wrapper .submit-spinner{display:inline-block;width:16px;height:16px;margin:0 8px 0 0;border-width:2px;border-top-color:currentColor;vertical-align:-3px}.client-portal-wrapper .accept-spinner{display:inline-block;width:14px;height:14px;margin:0 8px 0 0;border-width:2px;border-top-color:currentColor;vertical-align:-2px}.client-portal-wrapper .btn-primary:hover{background:var(--orange-light)}.client-portal-wrapper .btn-cancel{background:#fff;color:#dc3545;border:1px solid #dc3545;width:100%}.client-portal-wrapper .btn-cancel:hover{background:#fff5f5}.client-portal-wrapper .btn-navy{background:var(--navy);color:#fff;width:100%}.client-portal-wrapper .btn-navy:hover{background:var(--navy-mid)}.client-portal-wrapper .btn-group{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:1.25rem}.client-portal-wrapper .btn-accept{background:var(--green-bg);color:var(--green);border:1.5px solid var(--green-border);font-family:Fira Sans,sans-serif;font-size:15px;font-weight:700;padding:13px;border-radius:8px;cursor:pointer;transition:all .2s}.client-portal-wrapper .btn-accept:hover{background:#d1eddb}.client-portal-wrapper .btn-decline{background:var(--red-bg);color:var(--red);border:1.5px solid #f0c4be;font-family:Fira Sans,sans-serif;font-size:15px;font-weight:700;padding:13px;border-radius:8px;cursor:pointer;transition:all .2s}.client-portal-wrapper .btn-decline:hover{background:#fce0db}.client-portal-wrapper .btn-amend{background:#fff;color:var(--navy);border:1.5px solid var(--gray-border);font-family:Fira Sans,sans-serif;font-size:14px;font-weight:600;padding:10px;border-radius:8px;cursor:pointer;transition:all .2s;margin-top:8px;width:100%}.client-portal-wrapper .btn-amend:hover{border-color:var(--navy)}.client-portal-wrapper .price-box{background:var(--purple-light);border:1.5px solid var(--gray-border);border-radius:10px;padding:1.25rem 1.5rem;margin:1.25rem 0}.client-portal-wrapper .price-box-pending{background:var(--cream);border:1.5px dashed #e0b8a0;border-radius:10px;padding:1.5rem;margin:1.25rem 0;text-align:center}.client-portal-wrapper .price-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.client-portal-wrapper .price-label{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:4px}.client-portal-wrapper .price-rate{font-size:36px;font-weight:700;color:var(--navy);line-height:1}.client-portal-wrapper .price-rate-sub{font-size:13px;color:var(--text-muted);margin-top:4px}.client-portal-wrapper .price-total{font-size:22px;font-weight:700;color:var(--navy)}.client-portal-wrapper .alert{border-radius:8px;padding:12px 16px;font-size:13px;line-height:1.5;margin-bottom:1.25rem}.client-portal-wrapper .alert-info{background:var(--cream);color:#7a4020;border:1px solid #e8c4a8}.client-portal-wrapper .alert-success{background:var(--green-bg);color:var(--green);border:1px solid var(--green-border)}.client-portal-wrapper .divider{border:none;border-top:1px solid var(--gray-border);margin:1.5rem 0}.client-portal-wrapper .summary-row{display:flex;align-items:center;gap:8px;background:var(--purple-light);border-radius:8px;padding:10px 14px;margin-bottom:1.25rem;font-size:14px}.client-portal-wrapper .summary-tag{background:var(--navy);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:4px;letter-spacing:.5px}.client-portal-wrapper .summary-amount{font-weight:700;font-size:16px}.client-portal-wrapper .live-badge{background:#e8651a2e;color:#e07030;font-size:11px;font-weight:700;padding:5px 12px;border-radius:20px;letter-spacing:.5px}.client-portal-wrapper .login-logo{text-align:center;margin-bottom:2rem}.client-portal-wrapper .login-logo .big-badge{width:60px;height:60px;background:var(--navy);border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#fff;margin-bottom:1rem}.client-portal-wrapper .deal-ref{background:var(--purple-light);border-radius:8px;padding:10px 16px;font-size:13px;color:var(--text-muted);margin:6px 0;display:flex;justify-content:space-between;align-items:center}.client-portal-wrapper .deal-ref span{font-weight:600;color:var(--navy)}.client-portal-wrapper .deal-success-icon{width:56px;height:56px;background:var(--green-bg);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:24px}.client-portal-wrapper .declined-icon{width:56px;height:56px;background:var(--red-bg);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:24px}.client-portal-wrapper .footnote{font-size:12px;color:var(--text-muted);text-align:center;margin-top:1rem;line-height:1.5}.client-portal-wrapper .spinner-wrap{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:13px;justify-content:center;margin-bottom:12px}.client-portal-wrapper .spinner{width:18px;height:18px;border:2.5px solid var(--gray-border);border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.client-portal-wrapper .pulse-dot{width:8px;height:8px;background:var(--orange);border-radius:50%;animation:pulse 1.4s infinite;display:inline-block;margin-right:6px}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}.client-portal-wrapper .fade-in{animation:fadeIn .35s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.client-portal-wrapper footer{background:var(--navy);color:#ffffff59;text-align:center;font-size:11px;padding:14px;flex-shrink:0}.cfx-portal{width:100%;max-width:calc(100vw - 4rem);margin:0 auto;background:#fff;border-radius:14px;box-shadow:0 4px 32px #2d2b6b1f;overflow:hidden}.cfx-container{max-width:100%;margin:0 auto;padding:2rem}.cfx-page-title{font-size:28px;font-weight:700;color:#2d2b6b;margin:0 0 1.5rem}.cfx-quick-actions{display:flex;gap:1rem;margin-bottom:2rem}.cfx-action-btn{flex:1;padding:1.5rem;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.75rem}.cfx-action-icon{font-size:24px}.cfx-action-primary{background:linear-gradient(135deg,#e8651a,#ff7730);color:#fff}.cfx-action-primary:hover{transform:translateY(-2px);box-shadow:0 8px 24px #e8651a4d}.cfx-action-secondary{background:#fff;color:#2d2b6b;border:2px solid #E8E8F5}.cfx-action-secondary:hover{background:#f8f8fc;border-color:#2d2b6b}.cfx-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.cfx-stat-card{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 1px 3px #0000000f;border:2px solid transparent;transition:all .2s ease}.cfx-stat-card:hover{box-shadow:0 4px 12px #0000001a}.cfx-stat-card.active{border-color:var(--navy);box-shadow:0 4px 12px #2d2b6b26}.cfx-stat-label{font-size:14px;color:#7c7aaa;margin-bottom:.5rem}.cfx-stat-value{font-size:32px;font-weight:700;color:#2d2b6b}.cfx-stat-pending{border-color:orange}.cfx-stat-pending .cfx-stat-value{color:orange}.cfx-stat-completed{border-color:#28a745}.cfx-stat-completed .cfx-stat-value{color:#28a745}.cfx-stat-declined{border-color:#dc3545}.cfx-stat-declined .cfx-stat-value{color:#dc3545}.client-portal-wrapper .cfx-stat-declined{border-color:#e8aeb5;background:#fffafb}.client-portal-wrapper .cfx-stat-declined .cfx-stat-label,.client-portal-wrapper .cfx-stat-declined .cfx-stat-value{opacity:.8}.cfx-section{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.cfx-section-title{font-size:20px;font-weight:700;color:#2d2b6b;margin:0 0 1.5rem}@media (max-width: 768px){.cfx-quick-actions{flex-direction:column}.cfx-stats-grid{grid-template-columns:repeat(2,1fr)}}.client-portal-wrapper .section{background:#f8f8fc;border-radius:12px;padding:1.5rem}.client-portal-wrapper .section-header{margin-bottom:1.5rem}.client-portal-wrapper .deal-period-tabs{display:flex;gap:8px;margin:-.5rem 0 1.25rem}.client-portal-wrapper .deal-period-tabs button{border:1px solid #d9d9ea;border-radius:999px;background:#fff;color:#5d5a8a;padding:7px 16px;font-size:12px;font-weight:700;cursor:pointer}.client-portal-wrapper .deal-period-tabs button.active{background:#2d2b6b;border-color:#2d2b6b;color:#fff}.client-portal-wrapper .section-title{font-size:20px;font-weight:700;color:#2d2b6b;margin:0}.client-portal-wrapper .table-container{overflow-x:auto;border-radius:8px;border:1px solid #E8E8F5;background:#fff}.client-portal-wrapper .stats-table{width:100%;border-collapse:collapse;font-size:14px}.client-portal-wrapper .stats-table thead{background:#f8f8fc}.client-portal-wrapper .stats-table th{padding:12px 16px;text-align:left;font-size:12px;font-weight:700;color:#7c7aaa;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #E8E8F5}.client-portal-wrapper .stats-table td{padding:14px 16px;border-bottom:1px solid #F0F0F8;color:#2d2b6b}.client-portal-wrapper .stats-table tbody tr{transition:background .2s}.client-portal-wrapper .stats-table tbody tr:hover{background:#fafafa}.client-portal-wrapper .stats-table tbody tr:last-child td{border-bottom:none}.client-portal-wrapper .status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.client-portal-wrapper .status-badge.status-pending{background:#ffa50026;color:orange}.client-portal-wrapper .status-badge.status-quoted{background:#17a2b826;color:#17a2b8}.client-portal-wrapper .status-badge.status-accepted{background:#28a74526;color:#28a745}.client-portal-wrapper .status-badge.status-declined{background:#dc354526;color:#dc3545}.client-portal-wrapper .status-badge.status-cancelled{background:#80808026;color:#666}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:16px;max-width:calc(100vw - 4rem);width:100%;max-height:calc(100vh - 8rem);overflow-y:auto;box-shadow:0 10px 50px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{background:var(--navy);color:#fff;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.modal-title{font-size:20px;font-weight:700;margin:0}.modal-close{background:#fff3;border:none;color:#fff;font-size:24px;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.modal-close:hover{background:#ffffff4d;transform:rotate(90deg)}.modal-body{padding:2rem}.contact-section{margin-bottom:2rem}.contact-section:last-of-type{margin-bottom:0}.contact-section-title{font-size:16px;font-weight:700;color:var(--navy);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--purple-light)}.contact-item{display:flex;gap:1rem;padding:1rem;background:var(--gray-soft);border-radius:8px;margin-bottom:.75rem;transition:all .2s}.contact-item:hover{background:var(--purple-light)}.contact-item:last-child{margin-bottom:0}.contact-icon{font-size:24px;flex-shrink:0}.contact-label{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.contact-value{font-size:15px;font-weight:600;color:var(--navy);text-decoration:none;display:block;line-height:1.5}.contact-value:hover{color:var(--orange)}a.contact-value{cursor:pointer}@media (max-width: 768px){.client-portal-wrapper main{padding:1.5rem 1rem}.client-portal-wrapper .screen{max-width:calc(100vw - 2rem)}.modal-overlay{padding:1rem}.modal-content{max-width:calc(100vw - 2rem);max-height:calc(100vh - 4rem)}.modal-header{padding:1.25rem 1.5rem}.modal-title{font-size:18px}.modal-body{padding:1.5rem}.contact-item{flex-direction:column;gap:.5rem}.contact-icon{font-size:20px}.cfx-container{padding:1.5rem}.client-portal-wrapper .topbar{padding:0 1rem;height:56px}.client-portal-wrapper .logo-wrap img{height:28px}.client-portal-wrapper .topbar-right{gap:.5rem}.client-portal-wrapper .client-pill{min-width:0;max-width:230px;padding:5px 46px 5px 12px}.client-portal-wrapper .client-pill-name{font-size:14px}.client-portal-wrapper .client-pill-tier{padding:4px 8px;font-size:10px}.client-portal-wrapper .client-pill-company{font-size:10px}.client-portal-wrapper .client-pill-chevron{right:12px;font-size:20px}.client-portal-wrapper .logout-btn{font-size:12px;padding:4px 10px}.client-portal-wrapper main{padding:1rem;align-items:flex-start}.client-portal-wrapper .card-header{padding:1.25rem 1rem}.client-portal-wrapper .card-header-title{font-size:15px}.client-portal-wrapper .card-header-sub{font-size:11px}.client-portal-wrapper .card-body{padding:1.25rem 1rem}.client-portal-wrapper .fx-row{grid-template-columns:1fr;gap:1rem}.client-portal-wrapper .vs-label{display:none}.client-portal-wrapper select,.client-portal-wrapper input[type=text],.client-portal-wrapper input[type=password],.client-portal-wrapper input[type=email],.client-portal-wrapper input[type=tel],.client-portal-wrapper textarea{font-size:16px;padding:12px}.client-portal-wrapper .btn{padding:14px 20px;font-size:16px}.client-portal-wrapper .price-grid{grid-template-columns:1fr;gap:1.5rem;text-align:center}.client-portal-wrapper .price-rate{font-size:32px}.client-portal-wrapper .price-total{font-size:20px}.client-portal-wrapper .btn-group{grid-template-columns:1fr;gap:.75rem}.cfx-portal{max-width:100%;border-radius:0}.cfx-container{padding:1rem}.cfx-page-title{font-size:22px;margin-bottom:1rem}.cfx-quick-actions{flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.cfx-action-btn{padding:1.25rem;font-size:15px}.cfx-action-icon{font-size:20px}.cfx-stats-grid{grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.5rem}.cfx-stat-card{padding:1rem}.cfx-stat-label{font-size:11px}.cfx-stat-value{font-size:24px}.client-portal-wrapper .section{padding:1rem;border-radius:0;margin:0 -1rem}.client-portal-wrapper .section-title{font-size:16px}.client-portal-wrapper .table-container{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:8px}.client-portal-wrapper .stats-table{font-size:13px;min-width:600px}.client-portal-wrapper .stats-table th{padding:10px 12px;font-size:11px;white-space:nowrap}.client-portal-wrapper .stats-table td{padding:12px}.client-portal-wrapper .summary-row{flex-wrap:wrap;padding:12px;gap:6px}.client-portal-wrapper .summary-tag{font-size:10px;padding:3px 6px}.client-portal-wrapper .summary-amount{font-size:14px}.client-portal-wrapper .alert{padding:10px 12px;font-size:12px}.client-portal-wrapper .client-strip{flex-direction:column;align-items:flex-start;gap:.5rem;padding:12px}.client-portal-wrapper .cs-name{font-size:13px}.client-portal-wrapper .cs-phone{font-size:12px}.client-portal-wrapper footer{font-size:10px;padding:12px 1rem;line-height:1.4}.modal-overlay{padding:0}.modal-content{max-width:100%;max-height:100vh;border-radius:0;height:100vh}.modal-header{padding:1rem;border-radius:0}.modal-title{font-size:16px}.modal-body{padding:1rem;overflow-y:auto;max-height:calc(100vh - 70px)}.client-portal-wrapper .btn,.client-portal-wrapper .btn-accept,.client-portal-wrapper .btn-decline,.client-portal-wrapper .btn-amend{min-height:44px}.client-portal-wrapper .deal-ref{flex-direction:column;align-items:flex-start;gap:.25rem;padding:12px}.client-portal-wrapper .login-logo img{height:60px}.topbar-right>div[style*="position: relative"]>div[style*="position: absolute"]{position:fixed!important;top:60px!important;left:1rem!important;right:1rem!important;width:auto!important;min-width:0!important}div[style*="position: fixed"][style*="top: 20px"][style*="right: 20px"]{top:60px!important;left:1rem!important;right:1rem!important;width:auto!important}div[style*="position: fixed"][style*="top: 20px"][style*="right: 20px"]>div{min-width:0!important;width:100%!important}}@media (max-width: 374px){.client-portal-wrapper .topbar{padding:0 .75rem}.client-portal-wrapper .logo-wrap img{height:24px}.client-portal-wrapper .client-pill{display:none!important}.cfx-stats-grid{grid-template-columns:1fr}.client-portal-wrapper .card-body{padding:1rem .75rem}.cfx-container{padding:.75rem}}@media (max-width: 768px) and (orientation: landscape){.client-portal-wrapper main{padding:1rem}.modal-content{max-height:100vh}.modal-body{max-height:calc(100vh - 60px)}}@media (min-width: 769px) and (max-width: 1024px){.client-portal-wrapper .topbar{padding:0 1.5rem}.cfx-container{padding:1.75rem}.cfx-stats-grid{grid-template-columns:repeat(2,1fr)}.client-portal-wrapper .stats-table{font-size:13px}}.row-cancelled .status-badge,.row-cancelled .status-badge *{text-decoration:line-through!important;text-decoration-thickness:1px}
