@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap";:root{--color-primary-teal: #008b8b;--color-accent-orange: #eb8a3e;--color-secondary-slate: #365660;--color-text-main: #333333;--color-text-light: #f5f5f5;--color-text-muted: #6c757d;--color-success: #28a745;--color-danger: #dc3545;--color-warning: #ffc107;--color-info: #17a2b8;--bg-light: #f5f7fa;--bg-white: #ffffff;--bg-dark: #1a1a1a;--font-heading: "Montserrat", sans-serif;--font-body: "Open Sans", sans-serif;--border-radius-sm: 4px;--border-radius: 8px;--border-radius-lg: 12px;--shadow-soft: 0 4px 6px rgba(54, 86, 96, .15);--shadow-card: 0 2px 8px rgba(54, 86, 96, .12);--shadow-elevated: 0 10px 40px rgba(0, 0, 0, .2);--gradient-header: linear-gradient(135deg, #365660 0%, #008B8B 100%);--gradient-primary: linear-gradient(135deg, #008B8B 0%, #365660 100%);--transition-fast: .15s ease;--transition-normal: .2s ease;--transition-slow: .3s ease}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:var(--font-body);color:var(--color-text-main);background:var(--bg-light);line-height:1.6;min-height:100vh}#root{min-height:100vh;display:flex;flex-direction:column}h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:600;line-height:1.3;color:var(--color-text-main)}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.125rem}.brand-title{font-family:var(--font-heading);font-weight:700;color:var(--color-primary-teal);text-transform:uppercase;letter-spacing:.5px}a{color:var(--color-primary-teal);text-decoration:none;transition:color var(--transition-fast)}a:hover{color:var(--color-secondary-slate)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.25rem;font-family:var(--font-body);font-size:.9rem;font-weight:600;border:none;border-radius:var(--border-radius);cursor:pointer;transition:all var(--transition-normal)}.btn-primary{background:var(--color-primary-teal);color:#fff}.btn-primary:hover{background:#007070;transform:translateY(-1px);box-shadow:var(--shadow-soft)}.btn-primary:active{transform:scale(.98)}.btn-primary:disabled{background:#ccc;cursor:not-allowed;transform:none}.btn-accent{background:var(--color-accent-orange);color:#fff}.btn-accent:hover{background:#d47a32}.btn-outline{background:transparent;border:2px solid var(--color-primary-teal);color:var(--color-primary-teal)}.card{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);overflow:hidden}.card-header{background:var(--gradient-header);color:#fff;padding:1rem 1.5rem;border-bottom:2px solid var(--color-accent-orange)}.card-header h2,.card-header h3,.card-header .card-title{color:#fff;margin:0;font-family:var(--font-heading);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.card-body{padding:1.5rem}.form-group{margin-bottom:1.25rem}.form-label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--color-text-main);font-size:.9rem}.form-input{width:100%;padding:.75rem 1rem;font-family:var(--font-body);font-size:1rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);background:#fff;color:var(--color-text-main);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.form-input:focus{outline:none;border-color:var(--color-primary-teal);box-shadow:0 0 0 3px #008b8b1a}.form-input::placeholder{color:#999}.badge{display:inline-flex;align-items:center;padding:.25rem .625rem;font-size:.75rem;font-weight:600;border-radius:99px}.badge-primary{background:var(--color-primary-teal);color:#fff}.badge-accent{background:var(--color-accent-orange);color:#fff}.badge-slate{background:var(--color-secondary-slate);color:#fff}.badge-light{background:#e9ecef;color:var(--color-text-main)}.tabs{display:flex;gap:.5rem;border-bottom:2px solid #e9ecef;margin-bottom:1.5rem}.tab{padding:.75rem 1rem;font-weight:500;color:var(--color-secondary-slate);background:transparent;border:none;border-radius:var(--border-radius) var(--border-radius) 0 0;cursor:pointer;transition:all var(--transition-normal);display:flex;align-items:center;gap:.5rem}.tab:hover{background:#008b8b1a;color:var(--color-primary-teal)}.tab.active{background:var(--color-primary-teal);color:#fff}.table-header{background:var(--color-secondary-slate);color:#fff;font-weight:600;padding:.75rem 1rem}.table-row:hover{background:#008b8b14}.empty-state{text-align:center;padding:3rem;color:var(--color-text-muted)}.empty-state-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state h5{color:var(--color-text-muted);margin-bottom:.5rem}.loading-spinner{display:flex;align-items:center;justify-content:center;padding:3rem}.spinner{width:40px;height:40px;border:3px solid #e9ecef;border-top-color:var(--color-primary-teal);border-radius:50%;animation:spin .8s linear infinite}.text-teal{color:var(--color-primary-teal)}.text-orange{color:var(--color-accent-orange)}.text-slate{color:var(--color-secondary-slate)}.text-muted{color:var(--color-text-muted)}.bg-teal{background:var(--color-primary-teal)}.bg-orange{background:var(--color-accent-orange)}.bg-slate{background:var(--color-secondary-slate)}.shadow-soft{box-shadow:var(--shadow-soft)}.shadow-card{box-shadow:var(--shadow-card)}@media (max-width: 768px){html{font-size:15px}h1{font-size:1.75rem}h2{font-size:1.35rem}}@media (max-width: 480px){html{font-size:14px}.card-body{padding:1rem}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--gradient-primary);padding:1.5rem;position:relative;overflow:hidden}.login-container:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:pulse 15s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.1);opacity:.3}}.login-card{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-elevated);padding:2.5rem;width:100%;max-width:420px;position:relative;z-index:1}.login-card:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--color-accent-orange);border-radius:0 0 var(--border-radius-lg) var(--border-radius-lg)}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{font-family:var(--font-heading);color:var(--color-primary-teal);margin:0 0 .5rem;font-size:1.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px}.login-header p{color:var(--color-text-muted);margin:0;font-size:.9rem}.login-form .form-group{margin-bottom:1.5rem}.login-form .form-group label{display:block;margin-bottom:.5rem;color:var(--color-text-main);font-weight:500;font-size:.9rem}.login-form .form-group input{width:100%;padding:.875rem 1rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:1rem;color:var(--color-text-main);transition:border-color var(--transition-fast),box-shadow var(--transition-fast);background:#fff}.login-form .form-group input:focus{outline:none;border-color:var(--color-primary-teal);box-shadow:0 0 0 3px #008b8b26}.login-form .form-group input::placeholder{color:#aaa}.login-button{width:100%;padding:1rem;background:var(--color-primary-teal);color:#fff;border:none;border-radius:var(--border-radius);font-family:var(--font-body);font-size:1rem;font-weight:600;cursor:pointer;transition:all var(--transition-normal);text-transform:uppercase;letter-spacing:.5px}.login-button:hover:not(:disabled){background:#007070;transform:translateY(-2px);box-shadow:0 4px 12px #008b8b4d}.login-button:active:not(:disabled){transform:scale(.98)}.login-button:disabled{background:#ccc;cursor:not-allowed;transform:none}.error-message{background:#dc35451a;color:var(--color-danger);padding:.875rem 1rem;border-radius:var(--border-radius);margin-bottom:1.5rem;font-size:.9rem;text-align:center;border-left:4px solid var(--color-danger)}.login-footer{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #eee}.login-footer a{color:var(--color-text-muted);font-size:.85rem;transition:color var(--transition-fast)}.login-footer a:hover{color:var(--color-primary-teal)}@media (max-width: 480px){.login-container{padding:1rem}.login-card{padding:2rem 1.5rem}.login-header h1{font-size:1.5rem}}.dashboard-page{min-height:100%;background:var(--bg-light);display:flex;flex-direction:column}.page-header{background:var(--gradient-header);color:#fff;padding:1.25rem 1.5rem;position:sticky;top:0;z-index:50}.page-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--color-accent-orange)}.page-header h1{font-family:var(--font-heading);font-size:1.25rem;font-weight:700;margin:0;color:#fff;text-transform:uppercase;letter-spacing:.5px}.stats-section{padding:1.25rem 1.5rem;background:var(--bg-white);border-bottom:1px solid #e9ecef}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.stat-card{display:flex;align-items:center;gap:.75rem;padding:1.25rem;background:var(--bg-white);border-radius:var(--border-radius);border-left:4px solid var(--color-primary-teal);box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft)}.stat-card.active{border-left-color:var(--color-success);background:linear-gradient(to right,#28a7450d,#fff)}.stat-card.urgent{border-left-color:var(--color-accent-orange);background:linear-gradient(to right,#eb8a3e0d,#fff)}.stat-card.active{border-left-color:var(--color-success)}.stat-card.urgent{border-left-color:var(--color-accent-orange)}.stat-icon{color:var(--color-secondary-slate);opacity:.7}.stat-info{display:flex;flex-direction:column}.stat-value{font-family:var(--font-heading);font-size:1.75rem;font-weight:700;color:var(--color-secondary-slate);line-height:1}.stat-label{font-size:.75rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.5px;margin-top:.25rem}.search-box{position:relative;margin-bottom:.75rem}.search-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:2px solid #e0e0e0;border-radius:99px;font-family:var(--font-body);font-size:.9rem;color:var(--color-text-main);background:var(--bg-white);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.search-input:focus{outline:none;border-color:var(--color-primary-teal);box-shadow:0 0 0 3px #008b8b1a}.search-input::placeholder{color:#999}.search-clear{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;font-size:1.25rem;color:var(--color-text-muted);cursor:pointer;padding:.25rem;line-height:1;transition:color var(--transition-fast)}.search-clear:hover{color:var(--color-accent-orange)}.filters-section{padding:1rem 1.5rem;background:var(--bg-white);border-bottom:1px solid #e9ecef}.filters{display:flex;gap:.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.filter-btn{padding:.5rem 1.25rem;background:transparent;border:2px solid #e0e0e0;border-radius:99px;font-family:var(--font-body);font-size:.9rem;font-weight:500;color:var(--color-text-main);cursor:pointer;white-space:nowrap;transition:all var(--transition-fast)}.filter-btn:hover{border-color:var(--color-primary-teal);color:var(--color-primary-teal)}.filter-btn.active{background:var(--color-primary-teal);border-color:var(--color-primary-teal);color:#fff}.advanced-filter-toggle{margin-top:1rem;width:100%;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;padding:.7rem .95rem;border:1.5px solid #dbe1e5;background:#f8fafb;color:var(--color-secondary-slate);border-radius:12px;font-family:var(--font-body);cursor:pointer;transition:all var(--transition-fast)}.advanced-filter-toggle:hover{border-color:var(--color-primary-teal);background:#008b8b0f}.advanced-filter-toggle.open{border-color:var(--color-primary-teal);background:#008b8b14}.advanced-filter-title{font-size:.9rem;font-weight:700;text-align:left}.advanced-filter-meta{font-size:.77rem;font-weight:600;color:var(--color-text-muted);white-space:nowrap}.advanced-filter-chevron{font-size:.95rem;color:var(--color-primary-teal)}.advanced-filters-panel{margin-top:.75rem;border:1px solid #e3eaee;border-radius:14px;padding:.85rem .9rem;background:#fcfeff}.stage-filter-block{margin-top:1rem;padding-top:.9rem;border-top:1px dashed #e1e8ec}.stage-filter-block:first-child{margin-top:0;padding-top:0;border-top:none}.stage-filter-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.45rem}.stage-filter-label{display:block;margin-bottom:0;font-size:.78rem;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.4px}.stage-filter-hint{margin:0 0 .55rem;font-size:.78rem;color:var(--color-text-muted)}.stage-filter-empty{margin:0;font-size:.82rem;color:var(--color-text-muted)}.stage-chip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.55rem}.stage-chip{display:flex;justify-content:space-between;align-items:center;gap:.5rem;width:100%;border:1.5px solid #dbe1e5;background:#f8fafb;color:var(--color-text-main);border-radius:12px;padding:.45rem .65rem;font-family:var(--font-body);font-size:.84rem;font-weight:600;text-align:left;cursor:pointer;transition:all var(--transition-fast)}.stage-chip:hover{border-color:var(--color-primary-teal);background:#008b8b0f}.stage-chip.selected{border-color:var(--color-primary-teal);background:var(--color-primary-teal);color:#fff;box-shadow:0 4px 12px #008b8b33}.stage-chip-label{min-width:0}.stage-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.55rem;height:1.55rem;border-radius:99px;font-size:.72rem;font-weight:700;background:#e9eef1;color:#3d4a53}.stage-chip.selected .stage-chip-count{background:#ffffff38;color:#fff}.stage-filter-footer{margin-top:.5rem;display:flex;justify-content:flex-start;align-items:center;gap:.75rem}.stage-filter-count{font-size:.82rem;color:var(--color-text-muted)}.advanced-filters-footer{margin-top:.9rem;padding-top:.8rem;border-top:1px solid #e5ecef;display:flex;justify-content:space-between;align-items:center;gap:.75rem}.stage-filter-clear{border:1.5px solid var(--color-primary-teal);background:#fff;color:var(--color-primary-teal);border-radius:99px;padding:.25rem .75rem;font-size:.8rem;font-weight:600;font-family:var(--font-body);cursor:pointer;transition:all var(--transition-fast)}.stage-filter-clear:hover{background:var(--color-primary-teal);color:#fff}.cases-section{flex:1;padding:1.5rem}.cases-grid{display:flex;flex-direction:column;gap:1rem}.case-card{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);padding:1.25rem;text-decoration:none;color:inherit;border-left:5px solid var(--color-primary-teal);transition:all .2s ease-in-out;position:relative;overflow:hidden}.case-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,rgba(0,139,139,.03) 0%,transparent 100%);opacity:0;transition:opacity .2s}.case-card:hover:before{opacity:1}.case-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft)}.case-card.urgent{border-left-color:var(--color-accent-orange)}.case-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.case-contract{font-family:var(--font-heading);font-weight:600;color:var(--color-primary-teal)}.case-stage{padding:.25rem .75rem;border-radius:99px;font-size:.7rem;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.5px}.case-client{margin:0 0 .75rem;font-size:1.1rem;font-weight:600;color:var(--color-text-main)}.case-details{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.case-detail{display:flex;flex-direction:column}.detail-label{font-size:.7rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.5px}.detail-value{font-weight:500;color:var(--color-text-main)}.detail-value.amount{font-family:var(--font-heading);font-weight:600;color:var(--color-primary-teal)}.detail-value.urgent{color:var(--color-accent-orange);font-weight:600}.case-radicado{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e9ecef;font-size:.85rem;color:var(--color-text-muted)}.empty-state{text-align:center;padding:4rem 2rem;color:var(--color-text-muted)}.empty-state .icon{margin-bottom:1rem;opacity:.3}.empty-state h3{font-family:var(--font-heading);color:var(--color-secondary-slate);margin-bottom:.5rem}.empty-state p{font-size:.9rem;margin:0}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem;color:var(--color-text-muted)}.loading-state .spinner{width:32px;height:32px;border:3px solid #e9ecef;border-top-color:var(--color-primary-teal);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:1rem}@media (min-width: 768px){.cases-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}}@media (min-width: 1024px){.page-header{padding:.75rem 2rem}.page-header h1{display:none}.stats-section{padding:2rem}.stats-grid{gap:1.5rem}.stat-card{padding:1.5rem}.stat-value{font-size:2.5rem}.stat-label{font-size:.85rem}.filters-section{padding:1rem 2rem}.cases-section{padding:2rem}.cases-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}@media (min-width: 1440px){.cases-grid{grid-template-columns:repeat(3,1fr)}.stat-value{font-size:3rem}}@media (max-width: 480px){.stats-grid{gap:.5rem}.stat-card{padding:.75rem;flex-direction:column;text-align:center;gap:.5rem}.stat-value{font-size:1.5rem}.case-details{grid-template-columns:1fr}.advanced-filter-toggle{grid-template-columns:1fr auto;row-gap:.3rem}.advanced-filter-title{grid-column:1 / 2}.advanced-filter-meta{grid-column:1 / 2;font-size:.73rem}.advanced-filter-chevron{grid-column:2 / 3;grid-row:1 / 3;align-self:center;justify-self:end}.stage-filter-header{align-items:flex-start}.stage-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-chip{padding:.5rem .55rem;font-size:.8rem}.stage-filter-footer,.advanced-filters-footer{flex-direction:column;align-items:flex-start}}.header-content{display:flex;justify-content:space-between;align-items:center}.export-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1.15rem;background:#ffffff26;color:#fff;border:1.5px solid rgba(255,255,255,.4);border-radius:99px;font-family:var(--font-body);font-size:.8rem;font-weight:600;cursor:pointer;transition:all var(--transition-fast);white-space:nowrap}.export-btn:hover:not(:disabled){background:var(--color-accent-orange);border-color:var(--color-accent-orange)}.export-btn:disabled{opacity:.5;cursor:not-allowed}.cases-grouped{display:flex;flex-direction:column;gap:1.5rem}.client-group{display:block}.client-group.single-case-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.client-group.multi{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-sm);padding:.5rem;border-left:4px solid var(--color-primary-teal)}.client-group.multi .cases-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;padding:.5rem}.client-group-header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid #e9ecef}.client-group-name{font-family:var(--font-heading);font-weight:700;font-size:.95rem;color:var(--color-secondary-slate)}.client-group-badge{background:var(--color-primary-teal);color:#fff;padding:.15rem .65rem;border-radius:99px;font-size:.7rem;font-weight:600;letter-spacing:.3px}.case-persuasive-badge{display:inline-block;margin-top:.75rem;padding:.2rem .6rem;border-radius:99px;font-size:.7rem;font-weight:600;letter-spacing:.3px}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:1.5rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e9ecef}.pagination-btn{padding:.5rem 1.25rem;border-radius:99px;background:#fff;border:1.5px solid var(--color-primary-teal);color:var(--color-primary-teal);font-family:var(--font-body);font-weight:600;cursor:pointer;transition:all var(--transition-fast)}.pagination-btn:hover:not(:disabled){background:var(--color-primary-teal);color:#fff}.pagination-btn:disabled{opacity:.4;cursor:not-allowed;border-color:#ced4da;color:#6c757d}.pagination-info{font-family:var(--font-body);font-weight:600;color:var(--color-secondary-slate);font-size:.95rem}.page-layout{min-height:100%;background:var(--bg-light)}.page-layout--default{max-width:1400px;margin:0 auto;padding:1rem;width:100%}.page-layout--full{max-width:none;width:100%;margin:0;padding:0}.page-layout--narrow{max-width:800px;margin:0 auto;padding:1rem;width:100%}@media (min-width: 768px){.page-layout--default,.page-layout--narrow{padding:2rem}}.offline-indicator{position:fixed;bottom:80px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:500;z-index:1000;animation:slideUp .3s ease}.offline-indicator.offline{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;box-shadow:0 2px 10px #dc35454d}.offline-indicator.syncing{background:linear-gradient(135deg,#ffc107,#e0a800);color:#212529;box-shadow:0 2px 10px #ffc1074d}.indicator-dot{width:8px;height:8px;border-radius:50%;background:currentColor;animation:pulse 1.5s infinite}.indicator-text{white-space:nowrap}@keyframes slideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@media (min-width: 1024px){.offline-indicator{bottom:20px}}.case-detail-container{min-height:100vh;background:var(--bg-light)}.case-detail-header{background:var(--gradient-header);color:#fff;padding:1rem 1.5rem;position:sticky;top:0;z-index:100;box-shadow:var(--shadow-soft)}.case-detail-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--color-accent-orange)}.header-top{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}.back-btn{background:#ffffff26;border:none;color:#fff;width:36px;height:36px;border-radius:var(--border-radius);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background var(--transition-fast)}.back-btn:hover{background:#ffffff40}.header-title h1{font-family:var(--font-heading);font-size:1.1rem;font-weight:600;margin:0;color:#fff}.header-title .contract-number{font-size:.85rem;opacity:.8}.header-badge{margin-left:auto;padding:.375rem .875rem;background:#fff3;color:#fff;border-radius:99px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.tabs-container{background:var(--bg-white);border-bottom:1px solid #e9ecef;position:sticky;top:76px;z-index:90}.tabs-nav{display:flex;padding:0 1rem}.tab-btn{flex:1;padding:1rem;background:transparent;border:none;border-bottom:3px solid transparent;font-family:var(--font-body);font-size:.85rem;font-weight:500;color:var(--color-text-muted);cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center;gap:.5rem}.tab-btn:hover{color:var(--color-primary-teal);background:#008b8b0d}.tab-btn.active{color:var(--color-primary-teal);border-bottom-color:var(--color-primary-teal)}.tab-badge{background:#e9ecef;color:var(--color-text-muted);padding:.125rem .5rem;border-radius:99px;font-size:.7rem;font-weight:600}.tab-btn.active .tab-badge{background:var(--color-primary-teal);color:#fff}.tab-content{padding:1.5rem}@media (min-width: 1024px){.tab-content{padding:2rem 3rem}}.info-section{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);margin-bottom:1rem;overflow:hidden}.info-section-header{background:var(--color-secondary-slate);color:#fff;padding:.75rem 1rem;font-family:var(--font-heading);font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:.5rem}.info-section-body{padding:1rem}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.info-item{display:flex;flex-direction:column}.info-item.full-width{grid-column:span 2}.info-label{font-size:.7rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem}.info-value{font-size:.95rem;font-weight:500;color:var(--color-text-main)}.info-value.highlight{color:var(--color-primary-teal);font-family:var(--font-heading);font-weight:600}.info-value.amount{font-family:var(--font-heading);font-size:1.1rem;font-weight:700;color:var(--color-accent-orange)}.timeline{display:flex;flex-direction:column;gap:1rem}.timeline-item{background:var(--bg-white);border-radius:var(--border-radius);box-shadow:var(--shadow-card);padding:1rem;border-left:3px solid var(--color-primary-teal);position:relative}.timeline-item.stage-change{border-left-color:var(--color-accent-orange);background:#eb8a3e0d}.timeline-item.internal{border-left-color:var(--color-secondary-slate);background:#3656600d}.timeline-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.timeline-author{font-weight:600;font-size:.9rem;color:var(--color-text-main)}.timeline-date{font-size:.75rem;color:var(--color-text-muted)}.timeline-content{color:var(--color-text-main);font-size:.9rem;line-height:1.5}.timeline-badge{display:inline-block;margin-top:.5rem;padding:.25rem .625rem;background:var(--color-secondary-slate);color:#fff;border-radius:99px;font-size:.7rem;font-weight:600;text-transform:uppercase}.comment-form{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);padding:1rem;margin-top:1rem;position:sticky;bottom:1rem}.comment-form textarea{width:100%;padding:.875rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:.9rem;resize:none;min-height:80px;transition:border-color var(--transition-fast)}.comment-form textarea:focus{outline:none;border-color:var(--color-primary-teal)}.comment-form-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.75rem}.comment-submit-btn{padding:.625rem 1.25rem;background:var(--color-primary-teal);color:#fff;border:none;border-radius:var(--border-radius);font-weight:600;font-size:.85rem;cursor:pointer;transition:all var(--transition-fast)}.comment-submit-btn:hover{background:#007070}.comment-submit-btn:disabled{background:#ccc;cursor:not-allowed}.documents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}.document-card{background:var(--bg-white);border-radius:var(--border-radius);box-shadow:var(--shadow-card);padding:1rem;text-align:center;cursor:pointer;transition:all var(--transition-normal)}.document-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft)}.document-icon{width:48px;height:48px;margin:0 auto .75rem;background:#008b8b1a;border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;color:var(--color-primary-teal);font-size:1.5rem}.document-name{font-size:.85rem;font-weight:500;color:var(--color-text-main);margin-bottom:.25rem;word-break:break-word}.document-meta{font-size:.7rem;color:var(--color-text-muted)}.upload-area{background:var(--bg-white);border:2px dashed #e0e0e0;border-radius:var(--border-radius-lg);padding:2rem;text-align:center;cursor:pointer;transition:all var(--transition-fast);margin-top:1rem}.upload-area:hover{border-color:var(--color-primary-teal);background:#008b8b0d}.upload-icon{font-size:2.5rem;color:var(--color-text-muted);margin-bottom:.75rem}.upload-text{font-size:.9rem;color:var(--color-text-muted)}@media (max-width: 768px){.info-grid{grid-template-columns:1fr}.info-item.full-width{grid-column:span 1}.tab-btn{padding:.75rem .5rem;font-size:.8rem}.tab-content{padding:1rem}}@media (max-width: 480px){.header-top{gap:.75rem}.header-title h1{font-size:1rem}.documents-grid{grid-template-columns:repeat(2,1fr)}}.case-detail{min-height:100%;background:var(--bg-light);width:100%;max-width:none}.case-detail.loading,.case-detail.error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;color:var(--color-text-muted)}.case-detail .spinner{width:32px;height:32px;border:3px solid #e9ecef;border-top-color:var(--color-primary-teal);border-radius:50%;animation:spin .8s linear infinite;padding-bottom:2rem}.case-detail.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4rem 2rem;color:var(--color-text-muted)}.case-detail.error-state h3{margin-top:1rem;color:var(--color-text-main)}.detail-header{background:var(--gradient-header);color:#fff;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;position:relative}.detail-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--color-accent-orange)}.detail-header .back-btn{display:flex;align-items:center;gap:.5rem;background:transparent;border:none;color:#ffffffe6;padding:.5rem .5rem .5rem 0;border-radius:var(--border-radius);cursor:pointer;font-family:var(--font-body);font-size:.95rem;transition:all var(--transition-fast)}.detail-header .back-btn:hover{color:#fff;transform:translate(-3px);background:transparent}.stage-badge{padding:.375rem .875rem;color:#fff;border-radius:99px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.case-summary{background:var(--bg-white);padding:1.5rem;text-align:center;border-bottom:1px solid #e9ecef}@media (min-width: 1024px){.case-summary{padding:2rem 3rem;text-align:left;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:.5rem;align-items:center}.case-summary h1{grid-column:1;grid-row:1;font-size:2rem;margin:0}.case-summary h2{grid-column:1;grid-row:2;margin:0}.case-summary .debt-amount{grid-column:1;grid-row:3;font-size:1.75rem;margin:.5rem 0 0}.case-summary .case-actions{grid-column:2;grid-row:1 / span 3;align-self:center;margin-left:auto;display:flex;gap:1rem;flex-direction:column}.case-summary .case-actions{flex-direction:row;align-items:center}}.case-summary h1{font-family:var(--font-heading);font-size:1.5rem;font-weight:700;color:var(--color-primary-teal);margin:0 0 .25rem}.case-summary h2{font-size:1rem;font-weight:500;color:var(--color-text-main);margin:0 0 .5rem}.case-summary .debt-amount{font-family:var(--font-heading);font-size:1.25rem;font-weight:700;color:var(--color-accent-orange);margin:0 0 1rem}.btn-advance{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--color-success);color:#fff;border:none;border-radius:var(--border-radius);font-family:var(--font-body);font-size:.9rem;font-weight:600;cursor:pointer;transition:background var(--transition-fast)}.btn-advance:hover{background:#1e7e34}.tabs{display:flex;background:var(--bg-white);border-bottom:1px solid #e9ecef;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{flex:1;padding:1rem;background:transparent;border:none;border-bottom:3px solid transparent;color:var(--color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--font-body);font-size:.85rem;font-weight:500;transition:all var(--transition-fast);white-space:nowrap;min-width:0}.tab:hover{color:var(--color-primary-teal);background:#008b8b0d}.tab.active{background-color:var(--color-primary-teal);color:#fff;border-bottom-color:var(--color-primary-teal)}.info-tab .info-section{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);margin-bottom:1rem;overflow:hidden}@media (min-width: 1024px){.info-tab{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.info-tab .info-section{margin-bottom:0}}.info-tab .info-section h3{background:var(--color-secondary-slate);color:#fff;padding:.75rem 1rem;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin:0}.info-tab .info-row{display:flex;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e9ecef}.info-tab .info-row:last-child{border-bottom:none}.info-tab .info-row span{color:var(--color-text-muted);font-size:.9rem}.info-tab .info-row strong{color:var(--color-text-main);font-weight:500}.info-tab .info-row strong.contract-debt-value{color:var(--color-accent-orange);font-weight:700}.timeline-tab .comment-form{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);padding:1rem;margin-bottom:1.5rem}.timeline-tab .comment-form textarea{width:100%;padding:.875rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:.9rem;resize:none;min-height:80px;transition:border-color var(--transition-fast)}.timeline-tab .comment-form textarea:focus{outline:none;border-color:var(--color-primary-teal)}.timeline-tab .comment-form button{margin-top:.75rem;padding:.625rem 1.25rem;background:var(--color-primary-teal);color:#fff;border:none;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:background var(--transition-fast)}.timeline-tab .comment-form button:disabled{background:#ccc;cursor:not-allowed}.comments-list{display:flex;flex-direction:column;gap:.75rem}.comment{background:var(--bg-white);border-radius:var(--border-radius);box-shadow:var(--shadow-card);padding:1rem;border-left:3px solid var(--color-primary-teal)}.comment.stage-change{border-left-color:var(--color-accent-orange);background:#eb8a3e0d}.comment-header{display:flex;justify-content:space-between;margin-bottom:.5rem}.comment-header strong{font-size:.9rem;color:var(--color-text-main)}.comment-header span{font-size:.75rem;color:var(--color-text-muted)}.comment p{margin:0;font-size:.9rem;color:var(--color-text-main);line-height:1.5}.docs-tab .upload-form{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);margin-bottom:1.5rem;overflow:hidden}.upload-header{background:var(--color-secondary-slate);color:#fff;padding:.75rem 1rem;display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.85rem;text-transform:uppercase}.upload-fields{padding:1rem;display:grid;gap:1rem}.upload-fields .form-group{display:flex;flex-direction:column;gap:.375rem}.upload-fields label{font-size:.8rem;color:var(--color-text-muted);font-weight:500}.upload-fields select,.upload-fields input[type=text]{padding:.625rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:.9rem;transition:border-color var(--transition-fast)}.upload-fields select:focus,.upload-fields input[type=text]:focus{outline:none;border-color:var(--color-primary-teal)}.file-group{display:flex;flex-direction:column;gap:.5rem}.selected-file{font-size:.85rem;color:var(--color-primary-teal);font-weight:500}.btn-upload{padding:.75rem 1.5rem;background:var(--color-primary-teal);color:#fff;border:none;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:background var(--transition-fast)}.btn-upload:hover{background:#007070}.btn-upload:disabled{background:#ccc;cursor:not-allowed}.docs-list{display:flex;flex-direction:column;gap:.75rem}.doc-item{background:var(--bg-white);border-radius:var(--border-radius);box-shadow:var(--shadow-card);padding:1rem;display:flex;align-items:center;gap:1rem}.doc-item .icon{color:var(--color-primary-teal);flex-shrink:0}.doc-info{flex:1;min-width:0}.doc-info strong{display:block;font-size:.9rem;color:var(--color-text-main);margin-bottom:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-info small{font-size:.75rem;color:var(--color-text-muted)}.doc-actions{display:flex;gap:.5rem}.btn-view{padding:.375rem .75rem;background:var(--color-primary-teal);color:#fff;border:none;border-radius:var(--border-radius);font-size:.8rem;font-weight:500;text-decoration:none;cursor:pointer}.btn-delete{width:28px;height:28px;background:var(--color-danger);color:#fff;border:none;border-radius:var(--border-radius);font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.no-data{text-align:center;padding:2rem;color:var(--color-text-muted)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000}.modal-content{background:var(--bg-white);border-radius:var(--border-radius-lg);padding:1.5rem;max-width:400px;width:100%;box-shadow:var(--shadow-soft)}.modal-content h3{font-family:var(--font-heading);font-size:1.25rem;color:var(--color-text-main);margin:0 0 .5rem}.modal-subtitle{color:var(--color-text-muted);font-size:.9rem;margin:0 0 1rem}.workflow-error{background:#dc35451a;color:var(--color-danger);padding:.75rem;border-radius:var(--border-radius);margin-bottom:1rem;display:flex;align-items:flex-start;gap:.5rem;font-size:.85rem}.modal-content .form-group{margin-bottom:1rem}.modal-content .form-group label{display:block;font-size:.85rem;color:var(--color-text-muted);margin-bottom:.375rem}.modal-content textarea{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:.9rem;resize:none;transition:border-color var(--transition-fast)}.modal-content textarea:focus{outline:none;border-color:var(--color-primary-teal)}.modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.btn-cancel{padding:.625rem 1.25rem;background:#e9ecef;color:var(--color-text-main);border:none;border-radius:var(--border-radius);font-weight:500;cursor:pointer}.btn-confirm{padding:.625rem 1.25rem;background:var(--color-success);color:#fff;border:none;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:background var(--transition-fast)}.btn-confirm:hover{background:#1e7e34}.btn-confirm:disabled{background:#ccc;cursor:not-allowed}@media (min-width: 1024px){.upload-fields{grid-template-columns:1fr 1fr}.upload-fields .file-group{grid-column:1 / -1}.upload-fields .btn-upload{grid-column:1 / -1;justify-self:end}.docs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}.agreements-list{display:flex;flex-direction:column;gap:1rem}.agreement-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;border:1px solid #eee;overflow:hidden}.agreement-header{padding:1rem;background:#f8f9fa;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.agreement-title{display:flex;flex-direction:column}.agreement-date{font-size:.8rem;color:#6c757d}.agreement-status select{padding:4px 8px;border-radius:12px;border:1px solid #ddd;font-size:.85rem;font-weight:600}.agreement-body{padding:1rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.agreement-row{display:flex;flex-direction:column}.agreement-row span:first-child{font-size:.75rem;color:#888;text-transform:uppercase}.agreement-actions{padding:.75rem 1rem;background:#fdfdfd;border-top:1px solid #eee;display:flex;gap:.5rem;justify-content:flex-end}.btn-action{display:flex;align-items:center;gap:.4rem;padding:.4rem .8rem;border:1px solid #ddd;background:#fff;border-radius:4px;font-size:.85rem;color:#444;cursor:pointer;transition:all .2s;text-decoration:none}.btn-action:hover{background:#f0f0f0;border-color:#ccc;color:#333}.btn-action.btn-danger{color:#dc3545;border-color:#ffdce0}.btn-action.btn-danger:hover{background:#dc3545;color:#fff}@media (max-width: 768px){.agreement-body{grid-template-columns:1fr;gap:.5rem}.agreement-actions{flex-wrap:wrap}.btn-action{flex:1;justify-content:center}}.persuasive-tab{display:flex;flex-direction:column;gap:1.5rem}.current-persuasive-status{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:1rem;background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card)}.current-persuasive-status .status-label{font-size:.85rem;color:var(--color-text-muted);font-weight:500}.current-persuasive-status .next-action-info{font-size:.8rem;color:var(--color-accent-orange);font-weight:600;margin-left:auto}.persuasive-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border-radius:99px;font-size:.8rem;font-weight:600;white-space:nowrap}.persuasive-badge.small{padding:.25rem .625rem;font-size:.75rem}.category-selector{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1rem}.category-card{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem .75rem;border:2px solid #e0e0e0;border-radius:var(--border-radius-lg);background:var(--bg-white);cursor:pointer;transition:all .25s ease;font-family:var(--font-body)}.category-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card)}.category-card.selected{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.category-icon{font-size:.75rem;font-weight:700;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--color-secondary-slate);color:#fff}.category-label{font-size:.8rem;font-weight:600;text-align:center;color:var(--color-text-main)}.persuasive-form{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);padding:1.25rem}.persuasive-form h4{font-family:var(--font-heading);font-size:1rem;font-weight:600;color:var(--color-text-main);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--color-primary-teal)}.persuasive-form .form-group{margin-bottom:1rem}.persuasive-form .form-group label{display:block;font-size:.85rem;color:var(--color-text-muted);margin-bottom:.375rem;font-weight:500}.persuasive-form select,.persuasive-form textarea,.persuasive-form input[type=date]{width:100%;padding:.625rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:.9rem;transition:border-color var(--transition-fast);box-sizing:border-box}.persuasive-form select:focus,.persuasive-form textarea:focus,.persuasive-form input[type=date]:focus{outline:none;border-color:var(--color-primary-teal)}.persuasive-history{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);padding:1.25rem}.persuasive-history h4{font-family:var(--font-heading);font-size:1rem;font-weight:600;color:var(--color-text-main);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--color-secondary-slate)}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{background:#f8f9fa;border-radius:var(--border-radius);padding:.875rem;border-left:3px solid #e0e0e0;transition:transform .2s ease}.history-item:hover{transform:translate(3px)}.history-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;flex-wrap:wrap;gap:.375rem}.history-date{font-size:.75rem;color:var(--color-text-muted)}.history-notes{font-size:.85rem;color:var(--color-text-main);line-height:1.5;margin:.375rem 0}.history-meta{display:flex;gap:1rem;font-size:.75rem;color:var(--color-text-muted);margin-top:.375rem}@media (max-width: 480px){.category-selector{grid-template-columns:1fr}.category-card{flex-direction:row;padding:.75rem 1rem}}.case-persuasive-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .5rem;border-radius:99px;font-size:.7rem;font-weight:600;white-space:nowrap;margin-top:.375rem}.search-page{display:flex;flex-direction:column;gap:1.5rem}.search-page .profile-header{margin-bottom:0}.search-form{padding:1.5rem;background:var(--bg-white);display:flex;gap:.75rem;border-bottom:1px solid #e9ecef}.search-input-wrapper{flex:1;position:relative;display:flex;align-items:center}.search-input-wrapper .icon{position:absolute;left:1rem;color:var(--color-text-muted)}.search-input{width:100%;padding:.875rem 1rem .875rem 3rem;border:2px solid #e0e0e0;border-radius:var(--border-radius);font-family:var(--font-body);font-size:1rem;transition:border-color var(--transition-fast)}.search-input:focus{outline:none;border-color:var(--color-primary-teal)}.search-btn{padding:.875rem 1.5rem;background:var(--color-primary-teal);color:#fff;border:none;border-radius:var(--border-radius);font-family:var(--font-body);font-weight:600;cursor:pointer;transition:background var(--transition-fast)}.search-btn:hover{background:#007070}.search-btn:disabled{background:#ccc;cursor:not-allowed}.search-results{flex:1;padding:1.5rem;display:flex;flex-direction:column;gap:.75rem}.result-card{background:var(--bg-white);padding:1rem 1.25rem;border-radius:var(--border-radius);box-shadow:var(--shadow-card);text-decoration:none;color:inherit;border-left:4px solid var(--color-primary-teal);transition:all var(--transition-fast)}.result-card:hover{transform:translate(4px);box-shadow:var(--shadow-soft)}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.result-contract{font-family:var(--font-heading);font-weight:600;color:var(--color-primary-teal)}.result-stage{font-size:.7rem;background:var(--color-secondary-slate);color:#fff;padding:.25rem .625rem;border-radius:99px;font-weight:600;text-transform:uppercase}.result-card h3{margin:0;font-size:1rem;color:var(--color-text-main)}.search-page .empty-state,.search-page .loading-state{text-align:center;padding:4rem 2rem;color:var(--color-text-muted)}.search-page .empty-state .icon{margin-bottom:1rem;opacity:.3}.search-page .empty-state h3{font-family:var(--font-heading);color:var(--color-secondary-slate);margin-bottom:.5rem}.search-page .loading-state .spinner{width:32px;height:32px;border:3px solid #e9ecef;border-top-color:var(--color-primary-teal);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1rem}@media (min-width: 1024px){.search-page .page-header{display:none}.search-form{margin:2rem;border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);border-bottom:none}.search-results{padding:2rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1rem}}.notifications-page{min-height:100%;background:var(--bg-light);display:flex;flex-direction:column}.notifications-page .page-header{background:var(--gradient-header);color:#fff;padding:1.25rem 1.5rem;display:flex;justify-content:space-between;align-items:center;position:relative}.header-actions{display:flex;gap:.5rem}.btn-icon{background:#fff3;border:none;color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.btn-icon:hover{background:#ffffff4d}.spinning svg{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.notifications-page .page-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--color-accent-orange)}.notifications-page .page-header h1{font-family:var(--font-heading);font-size:1.25rem;font-weight:700;margin:0;color:#fff;text-transform:uppercase;letter-spacing:.5px}.notification-count{background:var(--color-accent-orange);color:#fff;padding:.25rem .75rem;border-radius:99px;font-size:.85rem;font-weight:600}.notifications-list{flex:1;padding:1.5rem;display:flex;flex-direction:column;gap:.75rem}.notification-card{background:var(--bg-white);padding:1rem 1.25rem;border-radius:var(--border-radius);box-shadow:var(--shadow-card);display:flex;align-items:flex-start;gap:1rem;transition:transform .2s ease,box-shadow .2s ease;border-left:3px solid transparent;cursor:pointer}.notification-card.unread{background:#fff}.notification-card.read{opacity:.7;background:#f8f9fa}.notification-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-soft)}.notification-card.warning{border-left-color:var(--color-accent-orange);background:linear-gradient(to right,#eb8a3e0d,#fff)}.notification-card.info{border-left-color:var(--color-primary-teal)}.notification-card.success{border-left-color:var(--color-success)}.notification-icon{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-card.warning .notification-icon{background:#eb8a3e1a;color:var(--color-accent-orange)}.notification-card.info .notification-icon{background:#008b8b1a;color:var(--color-primary-teal)}.notification-card.success .notification-icon{background:#28a7451a;color:var(--color-success)}.notification-content{flex:1;min-width:0}.notification-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.25rem}.btn-mark-read{background:none;border:none;color:var(--color-primary-teal);font-size:.75rem;font-weight:600;padding:0;cursor:pointer;margin-top:.5rem;text-decoration:underline}.btn-mark-read:hover{color:var(--color-accent-orange)}.notification-content h3{margin:0 0 .375rem;font-size:.95rem;font-weight:600;color:var(--color-text-main)}.notification-content p{margin:0 0 .5rem;font-size:.875rem;color:var(--color-text-muted)}.notification-date{font-size:.75rem;color:var(--color-text-muted)}.notifications-page .empty-state{text-align:center;padding:4rem 2rem;color:var(--color-text-muted)}.notifications-page .empty-state .icon{margin-bottom:1rem;opacity:.3}.notifications-page .empty-state h3{font-family:var(--font-heading);color:var(--color-secondary-slate);margin-bottom:.5rem}@media (min-width: 1024px){.notifications-page .page-header{display:none}.notifications-list{padding:2rem;display:flex;flex-direction:column;gap:1rem;max-width:800px;margin:0 auto;width:100%}.notification-card{padding:1.25rem 1.5rem}}.profile-page{min-height:100%;background:var(--bg-light);display:flex;flex-direction:column}.profile-page .page-header{background:var(--gradient-header);color:#fff;padding:1.25rem 1.5rem;position:relative}.profile-page .page-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--color-accent-orange)}.profile-page .page-header h1{font-family:var(--font-heading);font-size:1.25rem;font-weight:700;margin:0;color:#fff;text-transform:uppercase;letter-spacing:.5px}.profile-content{flex:1;padding:1.5rem}.profile-grid{display:flex;flex-direction:column;gap:1.5rem;width:100%}@media (min-width: 992px){.profile-grid{display:grid;grid-template-columns:350px 1fr;align-items:start;gap:2rem}}.profile-card{background:var(--bg-white);padding:2rem;border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);text-align:center;margin-bottom:1.5rem}.profile-avatar{width:80px;height:80px;border-radius:50%;background:var(--gradient-header);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-size:2rem;font-weight:700;margin:0 auto 1.5rem;border:4px solid white;box-shadow:0 0 0 3px var(--color-accent-orange);position:relative;z-index:10}.profile-card{position:relative;margin-top:3rem;padding-top:3.5rem}.profile-card h2{margin:0 0 .25rem;font-family:var(--font-heading);color:var(--color-text-main)}.profile-role{margin:0;color:var(--color-text-muted);font-size:.9rem}.profile-section{background:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-card);overflow:hidden;margin-bottom:1.5rem}.card-header{background:var(--color-secondary-slate);color:#fff;padding:.75rem 1.25rem;display:flex;align-items:center;gap:.75rem}.card-header h3{margin:0;font-family:var(--font-heading);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;background:transparent;padding:0;color:#fff}.profile-info{padding:0}.info-row{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #e9ecef}.info-row:last-child{border-bottom:none}.info-label{color:var(--color-text-muted);font-size:.9rem}.info-value{font-weight:500;color:var(--color-text-main)}.profile-actions{margin-bottom:2rem}.btn-logout{width:100%;padding:.875rem 1.25rem;background:transparent;color:var(--color-accent-orange);border:2px solid var(--color-accent-orange);padding:.8rem 1.5rem;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all .2s;font-size:1rem;display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:1rem}.btn-logout:active{transform:scale(.98)}.btn-logout:hover{background:var(--color-accent-orange);color:#fff;transform:translateY(-2px);box-shadow:0 4px 6px #eb8a3e33}.profile-footer{text-align:center;color:var(--color-text-muted);font-size:.8rem}.profile-footer p{margin:.25rem 0}.toggle-row{display:flex;justify-content:space-between;align-items:center}.toggle-info{display:flex;align-items:center;gap:.5rem;color:var(--color-text-main)}.toggle-btn{width:48px;height:26px;background:#ccc;border:none;border-radius:13px;position:relative;cursor:pointer;transition:background var(--transition-fast)}.toggle-btn:disabled{opacity:.5;cursor:not-allowed}.toggle-btn.active{background:var(--color-primary-teal)}.toggle-slider{position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform var(--transition-fast);box-shadow:0 1px 3px #0003}.toggle-btn.active .toggle-slider{transform:translate(22px)}.warning-row{padding:.75rem 1.25rem!important}.warning-text{font-size:.8rem;color:var(--color-accent-orange)}.status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:99px;font-size:.8rem;font-weight:500}.status-badge.success{background:#28a7451a;color:var(--color-success)}.switch{position:relative;display:inline-block;width:48px;height:26px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background-color:#fff;transition:.4s;box-shadow:0 1px 3px #0000004d}input:checked+.slider{background-color:var(--color-primary-teal)}input:focus+.slider{box-shadow:0 0 1px var(--color-primary-teal)}input:checked+.slider:before{transform:translate(22px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}.switch-label{flex:1}@media (min-width: 1024px){.profile-page .page-header{display:none}.profile-content{padding:2rem;display:grid;grid-template-columns:1fr 2fr;gap:2rem;max-width:1200px}.profile-card{grid-row:1 / 3;align-self:start}.profile-section,.profile-actions{margin-bottom:0}.profile-footer{grid-column:1 / -1}.profile-avatar{width:100px;height:100px;font-size:2.5rem}}.wizard-container{padding:1rem;max-width:800px;margin:0 auto}.wizard-header{display:flex;align-items:center;margin-bottom:2rem;gap:1rem}.wizard-header h1{font-size:1.5rem;margin:0;color:var(--color-text-main)}.wizard-steps{display:flex;justify-content:space-between;margin-bottom:2rem;position:relative;padding:0 1rem}.wizard-steps:before{content:"";position:absolute;top:50%;left:2rem;right:2rem;height:2px;background-color:#e0e0e0;z-index:0;transform:translateY(-50%)}.step{background:#fff;z-index:1;padding:.5rem 1rem;border-radius:20px;border:2px solid #e0e0e0;color:#6c757d;font-weight:600;font-size:.9rem;transition:all .3s ease}.step.active{border-color:var(--color-primary-teal);color:var(--color-primary-teal);background:#f0fdfd}.wizard-content{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d}.simulation-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:var(--color-secondary-slate);font-size:.9rem}.form-group input,.form-group textarea{padding:.8rem;border:1px solid #ddd;border-radius:8px;font-size:1rem}.read-only-value{background:#f8f9fa;padding:.8rem;border-radius:8px;font-weight:700;color:var(--color-text-main)}.preview-container{display:flex;flex-direction:column;gap:2rem}.simulation-summary{background:#f8f9fa;padding:1.5rem;border-radius:8px;border-left:4px solid var(--color-primary-teal)}.summary-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #eee}.summary-row:last-child{border-bottom:none}.summary-row .highlight{color:var(--color-primary-teal);font-size:1.2rem}.summary-row.warning{color:#8a5a00;font-weight:600}.manual-schedule-toggle{background:#f7fbfc;border:1px solid #dcecef;border-radius:10px;padding:.9rem 1rem}.checkbox-line{display:inline-flex;align-items:center;gap:.55rem;font-weight:600;color:var(--color-secondary-slate);margin-bottom:.35rem}.checkbox-line input[type=checkbox]{width:16px;height:16px;accent-color:var(--color-primary-teal)}.manual-schedule-toggle small{display:block;color:#6c757d;font-size:.82rem}.schedule-preview h4{margin-bottom:1rem;color:var(--color-secondary-slate)}.schedule-list{background:#fff;border:1px solid #eee;border-radius:8px;max-height:300px;overflow-y:auto}.schedule-item{display:grid;grid-template-columns:50px 1fr 1fr;padding:.8rem;border-bottom:1px solid #f0f0f0;font-size:.9rem}.schedule-item:last-child{border-bottom:none}.schedule-item strong{text-align:right;color:var(--color-text-main)}.more-items{padding:1rem;text-align:center;color:#888;font-style:italic;background:#fafafa}.manual-schedule-list{border:1px solid #e8ecef;border-radius:8px;background:#fff;max-height:360px;overflow-y:auto}.manual-schedule-row{display:grid;grid-template-columns:56px 1fr 1fr;gap:.6rem;align-items:center;padding:.65rem .75rem;border-bottom:1px solid #f0f3f5}.manual-schedule-row:last-child{border-bottom:none}.manual-schedule-number{font-weight:700;color:var(--color-secondary-slate);font-size:.9rem}.manual-schedule-row input{width:100%;padding:.55rem .6rem;border:1px solid #d9e0e4;border-radius:8px;font-size:.9rem}.schedule-error{margin-top:.65rem;padding:.65rem .75rem;border-radius:8px;background:#fff5f5;border:1px solid #f7d0d0;color:#a32626;font-size:.86rem}.success-container{text-align:center;padding:3rem 1rem;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.success-container h2{color:#28a745;margin:0}.btn-primary,.btn-success{padding:1rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:opacity .2s;font-size:1rem}.btn-primary{background-color:var(--color-primary-teal);color:#fff}.btn-success{background-color:#28a745;color:#fff}.btn-primary:disabled,.btn-success:disabled{opacity:.7;cursor:not-allowed}.full-width{width:100%}.actions-grid{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;width:100%;max-width:400px}.actions-grid button{flex:1;min-width:150px}.btn-outline{padding:1rem;border:2px solid var(--color-primary-teal);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;font-size:1rem;background:#fff;color:var(--color-primary-teal);display:flex;align-items:center;justify-content:center;gap:.5rem}.btn-outline:hover{background:var(--color-primary-teal);color:#fff}.btn-secondary{padding:1rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:opacity .2s;font-size:1rem;background-color:#6c757d;color:#fff;display:flex;align-items:center;justify-content:center;gap:.5rem}.btn-secondary:hover{background-color:#5a6268}.upload-signed-section{background:#f8f9fa;padding:1.5rem;border-radius:8px;width:100%;max-width:400px;text-align:center;border:2px dashed #ddd}.upload-signed-section p{margin:0 0 1rem;color:var(--color-secondary-slate);font-weight:500}.upload-signed-section input[type=file]{display:block;width:100%}.success-text{display:inline-flex;align-items:center;gap:.25rem;color:#28a745;font-weight:600;margin-top:.5rem}@media (max-width: 640px){.manual-schedule-row{grid-template-columns:42px 1fr;gap:.5rem}.manual-schedule-row input[type=number]{grid-column:1 / 3}}.sidebar{display:none;width:260px;min-height:100vh;background:var(--gradient-header);color:#fff;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:1000;box-shadow:2px 0 10px #0000001a}.sidebar:after{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--color-accent-orange)}.sidebar-brand{padding:1.5rem;display:flex;align-items:center;gap:.75rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-brand .icon{opacity:.9}.brand-text{display:flex;flex-direction:column}.brand-name{font-family:var(--font-heading);font-size:1.25rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.brand-subtitle{font-size:.75rem;opacity:.7;letter-spacing:1px;text-transform:uppercase}.sidebar-nav{flex:1;padding:1rem 0;display:flex;flex-direction:column;gap:.25rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;color:#fffc;text-decoration:none;font-weight:500;font-size:.95rem;transition:all var(--transition-fast);border-left:3px solid transparent}.nav-link:hover{background:#ffffff1a;color:#fff}.nav-link.active{background:#ffffff26;color:#fff;border-left-color:var(--color-accent-orange)}.nav-link .icon{opacity:.9}.sidebar-footer{padding:1rem 1.5rem;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;gap:.75rem}.user-info{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.user-avatar{width:40px;height:40px;border-radius:50%;background:#fff3;border:2px solid var(--color-accent-orange);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0}.user-details{display:flex;flex-direction:column;min-width:0}.user-name{font-weight:600;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:.75rem;opacity:.7}.sidebar-footer .logout-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;width:36px;height:36px;border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--transition-fast);flex-shrink:0}.sidebar-footer .logout-btn:hover{background:#dc3545cc;border-color:transparent}@media (min-width: 1024px){.sidebar{display:flex}}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:var(--bg-white);display:flex;justify-content:space-around;align-items:center;padding:.5rem 0;box-shadow:0 -2px 10px #3656601a;z-index:1000;border-top:1px solid #e9ecef}.bottom-nav:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--color-accent-orange)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem 1rem;color:var(--color-text-muted);text-decoration:none;transition:all var(--transition-fast);border-radius:var(--border-radius);min-width:60px}.nav-item:hover{color:var(--color-primary-teal);background:#008b8b0d}.nav-item.active{color:var(--color-primary-teal)}.nav-item.active .nav-icon{transform:scale(1.1)}.nav-icon{font-size:1.25rem;margin-bottom:.25rem;transition:transform var(--transition-fast)}.nav-label{font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.3px}@supports (padding-bottom: env(safe-area-inset-bottom)){.bottom-nav{padding-bottom:calc(.5rem + env(safe-area-inset-bottom))}}@media (min-width: 1024px){.bottom-nav{display:none}}@media (max-width: 1023px) and (min-width: 481px){.nav-item{padding:.75rem 1.5rem}.nav-icon{font-size:1.5rem}.nav-label{font-size:.75rem}}.ecf-switcher{position:relative;display:inline-flex;align-items:center}.ecf-switcher__trigger{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;border:1px solid rgba(226,232,240,.9);border-radius:.6rem;background:#fff;color:#334155;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.ecf-switcher__trigger:hover,.ecf-switcher__trigger[aria-expanded=true]{background:#f8fafc;border-color:#008b8b59;color:#0f766e}.ecf-switcher__trigger:focus-visible,.ecf-switcher__item a:focus-visible{outline:2px solid #008b8b;outline-offset:2px}.ecf-switcher__grid-icon{display:grid;grid-template-columns:repeat(3,4px);grid-template-rows:repeat(3,4px);gap:2.5px}.ecf-switcher__grid-icon span{width:4px;height:4px;border-radius:1.5px;background:currentColor;opacity:.85}.ecf-switcher__menu{position:absolute;right:0;top:calc(100% + .55rem);z-index:1060;width:min(21rem,calc(100vw - 1.5rem));max-height:min(80vh,34rem);overflow-y:auto;padding:.85rem;border:1px solid rgba(226,232,240,.9);border-radius:1rem;background:#fff;box-shadow:0 16px 40px #0f172a1f}.ecf-switcher__menu--wide{width:min(27rem,calc(100vw - 1.5rem))}.ecf-switcher__menu--start{right:auto;left:0}.ecf-switcher__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:0 0 .65rem;padding:0 .25rem}.ecf-switcher__title{margin:0;font-family:var(--font-heading, "Outfit", "Inter", sans-serif);font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#64748b}.ecf-switcher__count{font-size:.68rem;font-weight:600;color:#008b8b;background:#f0fdfa;border:1px solid rgba(204,251,241,.95);border-radius:999px;padding:.1rem .5rem}.ecf-switcher__items{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.5rem;margin:0;padding:0;list-style:none}@media (min-width: 640px){.ecf-switcher__items.is-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}.ecf-switcher__item{display:flex}.ecf-switcher__item a{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;gap:.3rem;padding:.65rem .75rem;border:1px solid rgba(226,232,240,.75);border-radius:.75rem;background:#fff;text-decoration:none;color:#1e293b;transition:background-color .15s ease,border-color .15s ease}.ecf-switcher__item a:hover{background:#f0fdfa;border-color:#008b8b59}.ecf-switcher__item--current a{background:#f8fafc;border-color:#e2e8f0f2;cursor:default}.ecf-switcher__item-top{display:flex;align-items:center;gap:.45rem;width:100%;min-width:0}.ecf-switcher__dot{width:.55rem;height:.55rem;border-radius:999px;flex-shrink:0}.ecf-switcher__name{font-size:.82rem;font-weight:600;line-height:1.2;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecf-switcher__badge{margin-left:auto;font-size:.62rem;font-weight:600;color:#475569;background:#e2e8f0;border-radius:999px;padding:.08rem .4rem;flex-shrink:0}.ecf-switcher__desc{font-size:.7rem;color:#64748b;line-height:1.3}.ecf-cp{position:fixed;bottom:24px;right:88px;z-index:1045;font-family:var(--ui-font-body, "Inter", "Segoe UI", Arial, sans-serif);font-size:14px;line-height:1.5;color:var(--ui-text, #1e293b);box-sizing:border-box}.ecf-cp *,.ecf-cp *:before,.ecf-cp *:after{box-sizing:border-box}.ecf-cp__trigger{width:56px;height:56px;min-width:56px;min-height:56px;padding:0;margin:0;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:linear-gradient(135deg,var(--ecf-slate, #365660) 0%,var(--ecf-teal, #008b8b) 100%);color:#fff;box-shadow:0 8px 22px #008b8b47;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:1;transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease}.ecf-cp__trigger svg{width:25px;height:25px;min-width:25px;min-height:25px;max-width:none;display:block;flex:none;pointer-events:none}.ecf-cp__trigger:hover{transform:translateY(-1px);background:var(--ecf-teal, #008b8b);box-shadow:0 10px 26px #008b8b57}.ecf-cp__trigger:focus-visible{outline:2px solid var(--ecf-orange, #eb8a3e);outline-offset:3px}.ecf-cp__trigger.is-open{background:var(--ecf-teal, #008b8b)}.ecf-cp__panel{position:absolute;bottom:calc(100% + 12px);right:0;width:460px;max-width:calc(100vw - 32px);height:min(76vh,660px);max-height:calc(100vh - 110px);display:flex;flex-direction:row;background:var(--ui-surface, #ffffff);border:1px solid var(--ui-border, rgba(226, 232, 240, .95));border-radius:14px;box-shadow:0 18px 44px #0f172a24;overflow:hidden;animation:ecf-cp-in .18s ease-out;transform-origin:bottom right}.ecf-cp__panel.has-sidebar{width:700px}@keyframes ecf-cp-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes ecf-cp-spin{to{transform:rotate(360deg)}}.ecf-cp__spin{animation:ecf-cp-spin .85s linear infinite;flex:none}@media (prefers-reduced-motion: reduce){.ecf-cp__panel{animation:none}.ecf-cp__trigger{transition:none}.ecf-cp__spin,.ecf-cp__thinking-bar span{animation:none}}.ecf-cp__sidebar{width:236px;min-width:224px;max-width:268px;background:var(--ui-surface-muted, #f8fafc);border-right:1px solid var(--ui-border, rgba(226, 232, 240, .95));display:flex;flex-direction:column;flex:none}.ecf-cp__sidebar.is-hidden{display:none}.ecf-cp__sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px 10px;border-bottom:1px solid var(--ui-border, rgba(226, 232, 240, .95))}.ecf-cp__sidebar-title{font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);font-weight:600;font-size:11.5px;color:var(--ecf-slate, #365660);letter-spacing:.08em;text-transform:uppercase}.ecf-cp__sidebar-close{background:none;border:0;color:var(--ui-muted, #64748b);cursor:pointer;padding:4px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.ecf-cp__sidebar-close:hover{color:var(--ui-text, #1e293b);background:var(--ui-surface, #ffffff)}.ecf-cp__sidebar-action{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-bottom:1px solid var(--ui-border, rgba(226, 232, 240, .95))}.ecf-cp__new-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;background:var(--ui-surface, #ffffff);border:1px solid rgba(0,139,139,.35);color:var(--ecf-teal, #008b8b);border-radius:8px;padding:7px 10px;font-family:inherit;font-weight:600;font-size:12.5px;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.ecf-cp__new-btn:hover{background:var(--ecf-teal, #008b8b);border-color:var(--ecf-teal, #008b8b);color:#fff}.ecf-cp__search{display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:8px;border:1px solid var(--ui-border, rgba(226, 232, 240, .95));background:var(--ui-surface, #ffffff);color:var(--ui-muted, #64748b)}.ecf-cp__search:focus-within{border-color:var(--ecf-teal, #008b8b);box-shadow:0 0 0 2px #008b8b1f}.ecf-cp__search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:12px;color:var(--ui-text, #1e293b)}.ecf-cp__search input::placeholder{color:var(--ui-muted, #94a3b8)}.ecf-cp__search-clear{display:inline-flex;align-items:center;justify-content:center;padding:2px;border:0;border-radius:4px;background:transparent;color:var(--ui-muted, #64748b);cursor:pointer}.ecf-cp__search-clear:hover{color:var(--ui-text, #1e293b)}.ecf-cp__sidebar-list{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:4px}.ecf-cp__sidebar-empty{padding:18px 12px;font-size:12px;color:var(--ui-muted, #64748b);text-align:center}.ecf-cp__conv-item{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:8px;border:1px solid transparent;cursor:pointer;transition:background .12s ease,border-color .12s ease;-webkit-user-select:none;user-select:none}.ecf-cp__conv-item:hover{background:var(--ui-surface, #ffffff);border-color:var(--ui-border, rgba(226, 232, 240, .95))}.ecf-cp__conv-item.is-active{background:var(--ecf-teal-soft, #f0fdfa);border-color:#008b8b59}.ecf-cp__conv-info{display:flex;flex-direction:column;overflow:hidden;flex:1;min-width:0}.ecf-cp__conv-title{font-size:12.5px;color:var(--ui-text, #1e293b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.ecf-cp__conv-item.is-active .ecf-cp__conv-title{color:var(--ecf-teal, #0f766e);font-weight:600}.ecf-cp__conv-meta{font-size:11px;color:var(--ui-muted, #64748b);margin-top:2px}.ecf-cp__conv-actions{display:none;align-items:center;gap:3px;margin-left:6px;flex:none}.ecf-cp__conv-item:hover .ecf-cp__conv-actions,.ecf-cp__conv-item.is-active .ecf-cp__conv-actions{display:flex}.ecf-cp__conv-btn{background:none;border:0;color:var(--ui-muted, #64748b);padding:3px;border-radius:5px;cursor:pointer;display:inline-flex;align-items:center}.ecf-cp__conv-btn:hover{color:var(--ui-text, #1e293b);background:var(--ui-surface-muted, #f1f5f9)}.ecf-cp__conv-btn.is-danger:hover{color:var(--ui-danger, #dc2626);background:var(--ui-danger-soft, #fef2f2)}.ecf-cp__conv-del-confirm{background:var(--ui-danger, #dc2626);color:#fff;border:0;border-radius:5px;font-size:10.5px;font-weight:600;padding:2px 6px;cursor:pointer}.ecf-cp__conv-edit{display:flex;align-items:center;gap:4px;width:100%}.ecf-cp__conv-edit input{flex:1;min-width:0;font-size:12px;padding:4px 6px;border:1px solid var(--ecf-teal, #008b8b);border-radius:6px;outline:none;background:var(--ui-surface, #ffffff);color:var(--ui-text, #1e293b)}.ecf-cp__sidebar-footer{padding:8px 12px;border-top:1px solid var(--ui-border, rgba(226, 232, 240, .95));font-size:11px;color:var(--ui-muted, #64748b);text-align:center}.ecf-cp__main{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--ui-surface, #ffffff);position:relative}.ecf-cp__head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-bottom:2px solid var(--ecf-orange, #eb8a3e);background:var(--ui-surface, #ffffff);flex:none}.ecf-cp__head-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.ecf-cp__sidebar-toggle{background:var(--ui-surface-muted, #f8fafc);border:1px solid var(--ui-border, rgba(226, 232, 240, .95));color:var(--ui-muted, #475569);cursor:pointer;padding:6px 8px;border-radius:8px;display:inline-flex;align-items:center;gap:5px;flex:none;font-family:inherit;font-size:11.5px;font-weight:600;line-height:1;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.ecf-cp__sidebar-toggle:hover{color:var(--ecf-teal, #008b8b);border-color:#008b8b59;background:var(--ecf-teal-soft, #f0fdfa)}.ecf-cp__sidebar-toggle.is-active{color:var(--ecf-teal, #008b8b);border-color:#008b8b66;background:var(--ecf-teal-soft, #f0fdfa)}.ecf-cp__sidebar-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#008b8b1f;color:var(--ecf-teal, #0f766e);font-size:10.5px;font-weight:700}.ecf-cp__head-titles{display:flex;flex-direction:column;min-width:0;flex:1}.ecf-cp__eyebrow{display:block;font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);font-weight:600;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--ecf-teal, #008b8b);line-height:1.2}.ecf-cp__head h4{margin:2px 0 0;padding:0;font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);font-weight:600;font-size:14px;line-height:1.25;color:var(--ecf-slate, #365660);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ecf-cp__head-actions{display:flex;align-items:center;gap:5px;flex:none}.ecf-cp__link{background:var(--ui-surface, #ffffff);border:1px solid var(--ui-border, rgba(226, 232, 240, .95));color:var(--ui-muted, #475569);font-family:inherit;font-size:11.5px;font-weight:600;line-height:1.2;cursor:pointer;padding:5px 9px;border-radius:8px;display:inline-flex;align-items:center;gap:4px}.ecf-cp__link:hover{color:var(--ecf-teal, #008b8b);border-color:#008b8b59;background:var(--ecf-teal-soft, #f0fdfa)}.ecf-cp__close{background:none;border:1px solid transparent;color:var(--ui-muted, #64748b);cursor:pointer;padding:5px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.ecf-cp__close:hover{color:var(--ui-text, #1e293b);background:var(--ui-surface-muted, #f1f5f9)}.ecf-cp__list{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px}.ecf-cp__intro{display:flex;flex-direction:column;gap:14px}.ecf-cp__welcome{background:linear-gradient(135deg,#f8fafc,#f0fdfa);border:1px solid rgba(0,139,139,.18);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px}.ecf-cp__welcome-head{display:flex;align-items:flex-start;gap:11px}.ecf-cp__welcome-badge{width:36px;height:36px;min-width:36px;border-radius:10px;background:var(--ecf-teal, #008b8b);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:none}.ecf-cp__welcome-badge svg{width:18px;height:18px;display:block}.ecf-cp__welcome-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.ecf-cp__welcome-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ecf-cp__welcome-title{font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);font-size:14.5px;font-weight:600;color:var(--ecf-slate, #365660);line-height:1.25}.ecf-cp__app-pill{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;background:#eb8a3e24;color:#b45309;font-size:10.5px;font-weight:600;line-height:1.4}.ecf-cp__welcome-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11.5px;color:var(--ui-muted, #64748b)}.ecf-cp__welcome-desc{margin:0;font-size:12.8px;line-height:1.5;color:#475569}.ecf-cp__suggestions-wrap{display:flex;flex-direction:column;gap:8px}.ecf-cp__suggestions-label{font-family:var(--ui-font-heading, "Outfit", sans-serif);font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted, #64748b)}.ecf-cp__suggestions{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.ecf-cp__suggestions li{display:flex;margin:0;padding:0}.ecf-cp__suggestions button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;background:var(--ui-surface-muted, #f8fafc);border:1px solid var(--ui-border, rgba(226, 232, 240, .95));border-radius:10px;padding:10px 12px;font-family:inherit;font-size:12.4px;font-weight:500;line-height:1.4;color:var(--ui-text, #1e293b);cursor:pointer;transition:border-color .14s ease,color .14s ease,background-color .14s ease,transform .14s ease}.ecf-cp__suggestions button svg{flex:none;color:var(--ecf-teal, #008b8b);opacity:.72;transition:transform .14s ease,opacity .14s ease}.ecf-cp__suggestions button:hover{background:var(--ecf-teal-soft, #f0fdfa);border-color:#008b8b6b;color:var(--ecf-teal, #0f766e)}.ecf-cp__suggestions button:hover svg{opacity:1;transform:translate(2px)}.ecf-cp__suggestion-text{flex:1;min-width:0}.ecf-cp__msg{display:flex;flex-direction:column;gap:6px}.ecf-cp__msg-body{line-height:1.6;border-radius:11px;padding:11px 14px;font-size:13.2px;overflow-wrap:anywhere}.ecf-cp__msg.is-user .ecf-cp__msg-body{background:var(--ecf-teal-soft, #f0fdfa);color:var(--ui-text, #1e293b);align-self:flex-end;max-width:86%;border:1px solid rgba(0,139,139,.22);white-space:pre-wrap}.ecf-cp__msg.is-assistant .ecf-cp__msg-body{background:var(--ui-surface-muted, #f8fafc);border-left:3px solid var(--ecf-teal, #008b8b);border-top:1px solid var(--ui-border, rgba(226, 232, 240, .92));border-right:1px solid var(--ui-border, rgba(226, 232, 240, .92));border-bottom:1px solid var(--ui-border, rgba(226, 232, 240, .92))}.ecf-cp__live-status{display:inline-flex;flex-direction:column;gap:6px;align-self:flex-start;background:var(--ecf-teal-soft, #f0fdfa);color:var(--ecf-teal, #0f766e);border:1px solid rgba(0,139,139,.25);border-radius:8px;padding:6px 10px;font-size:11.5px;font-weight:500}.ecf-cp__live-status.is-waiting{align-self:stretch}.ecf-cp__live-status-row{display:inline-flex;align-items:center;gap:6px}.ecf-cp__msg-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding-top:2px}.ecf-cp__tools-list{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.ecf-cp__tool-pill{display:inline-flex;align-items:center;gap:5px;background:#f8fafc;color:#475569;border:1px solid rgba(226,232,240,.95);border-radius:999px;padding:2px 9px;font-size:11px;font-weight:500}.ecf-cp__tool-pill.is-completed{background:var(--ecf-teal-soft, #f0fdfa);color:var(--ecf-teal, #0f766e);border-color:#008b8b47}.ecf-cp__msg-actions{margin-left:auto;display:inline-flex;align-items:center;gap:6px;flex:none}.ecf-cp__model{display:inline-flex;align-items:center;font-size:10.5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:var(--ui-muted, #64748b);background:var(--ui-surface, #ffffff);border:1px solid var(--ui-border, rgba(226, 232, 240, .95));border-radius:999px;padding:2px 8px;letter-spacing:.01em}.ecf-cp__copy-btn{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:6px;border:1px solid rgba(226,232,240,.95);background:var(--ui-surface, #ffffff);color:var(--ui-muted, #64748b);font-family:inherit;font-size:11px;font-weight:500;line-height:1.2;cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.ecf-cp__copy-btn:hover{color:var(--ecf-teal, #008b8b);border-color:#008b8b59;background:var(--ecf-teal-soft, #f0fdfa)}.ecf-cp__copy-btn.is-copied{color:#0f766e;border-color:#0f766e59;background:#f0fdfa}.ecf-cp .ecf-cp__md,.ecf-cp__md{display:block;color:var(--ui-text, #1e293b);font-size:13.2px;line-height:1.6}.ecf-cp .ecf-cp__md>*:first-child,.ecf-cp__md>*:first-child{margin-top:0}.ecf-cp .ecf-cp__md>*:last-child,.ecf-cp__md>*:last-child{margin-bottom:0}.ecf-cp .ecf-cp__md p,.ecf-cp__md p{display:block;margin:0 0 9px;padding:0;line-height:1.6}.ecf-cp .ecf-cp__md h5,.ecf-cp .ecf-cp__md h6,.ecf-cp__md h5,.ecf-cp__md h6{display:block;margin:14px 0 6px;padding:0;font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);color:var(--ecf-slate, #1e293b);font-weight:700;line-height:1.32;letter-spacing:0;text-transform:none}.ecf-cp .ecf-cp__md h5,.ecf-cp__md h5{font-size:14.5px}.ecf-cp .ecf-cp__md h5.ecf-cp__h1,.ecf-cp__md h5.ecf-cp__h1{font-size:15.5px;padding-bottom:4px;border-bottom:1px solid rgba(226,232,240,.9)}.ecf-cp .ecf-cp__md h5.ecf-cp__h2,.ecf-cp__md h5.ecf-cp__h2{font-size:14.5px}.ecf-cp .ecf-cp__md h5.ecf-cp__h3,.ecf-cp__md h5.ecf-cp__h3{font-size:13.8px;color:var(--ecf-teal, #0f766e)}.ecf-cp .ecf-cp__md h6,.ecf-cp__md h6{font-size:13px;color:var(--ecf-slate, #365660)}@media (max-width: 768px){.ecf-cp .ecf-cp__md h5.ecf-cp__h1{font-size:15.5px!important}.ecf-cp .ecf-cp__md h5.ecf-cp__h2{font-size:14.5px!important}.ecf-cp .ecf-cp__md h5.ecf-cp__h3{font-size:13.8px!important}}.ecf-cp .ecf-cp__md ul,.ecf-cp__md ul{display:block;list-style:disc outside;margin:0 0 10px;padding-left:20px}.ecf-cp .ecf-cp__md ol,.ecf-cp__md ol{display:block;list-style:decimal outside;margin:0 0 10px;padding-left:22px}.ecf-cp .ecf-cp__md ul ul,.ecf-cp__md ul ul{list-style-type:circle;margin:4px 0}.ecf-cp .ecf-cp__md ul ul ul,.ecf-cp__md ul ul ul{list-style-type:square}.ecf-cp .ecf-cp__md ol ol,.ecf-cp__md ol ol{list-style-type:lower-alpha;margin:4px 0}.ecf-cp .ecf-cp__md ul ol,.ecf-cp .ecf-cp__md ol ul,.ecf-cp__md ul ol,.ecf-cp__md ol ul{margin:4px 0}.ecf-cp .ecf-cp__md li,.ecf-cp__md li{display:list-item;margin:0 0 4px;padding:0;line-height:1.55}.ecf-cp .ecf-cp__md li::marker,.ecf-cp__md li::marker{color:var(--ecf-teal, #008b8b);font-weight:600}.ecf-cp .ecf-cp__md strong,.ecf-cp__md strong{font-weight:700;color:var(--ecf-slate, #1e293b)}.ecf-cp .ecf-cp__md em,.ecf-cp__md em{font-style:italic}.ecf-cp .ecf-cp__md del,.ecf-cp__md del{text-decoration:line-through;color:var(--ui-muted, #64748b)}.ecf-cp .ecf-cp__md blockquote,.ecf-cp__md blockquote{margin:0 0 10px;padding:6px 12px;border-left:3px solid var(--ecf-teal, #008b8b);background:#008b8b0d;border-radius:0 6px 6px 0;color:var(--ui-muted, #475569)}.ecf-cp .ecf-cp__md blockquote>*:last-child,.ecf-cp__md blockquote>*:last-child{margin-bottom:0}.ecf-cp .ecf-cp__md hr,.ecf-cp__md hr{border:0;border-top:1px solid var(--ui-border, rgba(226, 232, 240, .95));margin:12px 0}.ecf-cp__task-box{display:inline-block;width:13px;height:13px;border:1.5px solid #94a3b8;border-radius:3px;background:#fff;vertical-align:-2px;margin-right:6px;position:relative}.ecf-cp__task-box.is-done{border-color:var(--ecf-teal, #008b8b);background:var(--ecf-teal, #008b8b)}.ecf-cp__task-box.is-done:after{content:"";position:absolute;left:3.5px;top:1px;width:3.5px;height:6.5px;border:solid #ffffff;border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}.ecf-cp .ecf-cp__md code,.ecf-cp__md code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;background:var(--ui-surface, #ffffff);border:1px solid rgba(226,232,240,.92);border-radius:4px;padding:1px 4px}.ecf-cp .ecf-cp__md code.ecf-cp__cite,.ecf-cp__md code.ecf-cp__cite,.ecf-cp__cite-inline{background:var(--ecf-teal-soft, #e6f5f5);color:var(--ecf-teal, #006b6b);border:1px solid rgba(0,139,139,.22);border-radius:999px;padding:1px 7px;font-weight:600;font-size:11px;text-decoration:none;white-space:nowrap}.ecf-cp__cite-inline:hover{background:#ccfbf1}.ecf-cp .ecf-cp__md pre,.ecf-cp__md pre{margin:0 0 10px;padding:9px 11px;overflow-x:auto;background:var(--ui-surface, #ffffff);border:1px solid rgba(226,232,240,.92);border-radius:7px}.ecf-cp .ecf-cp__md pre code,.ecf-cp__md pre code{border:0;padding:0;background:none;font-size:11.8px}.ecf-cp .ecf-cp__md a,.ecf-cp__md a{color:var(--ecf-teal, #008b8b);text-decoration:underline;text-underline-offset:.2em}.ecf-cp__table-wrap{overflow-x:auto;margin:0 0 10px;border-radius:7px;border:1px solid rgba(226,232,240,.95)}.ecf-cp .ecf-cp__md table,.ecf-cp__md table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums;margin:0}.ecf-cp .ecf-cp__md th,.ecf-cp .ecf-cp__md td,.ecf-cp__md th,.ecf-cp__md td{border:1px solid rgba(226,232,240,.9);padding:5px 8px;text-align:left;vertical-align:top}.ecf-cp .ecf-cp__md th,.ecf-cp__md th{background:var(--ui-surface, #ffffff);color:var(--ecf-slate, #365660);font-weight:600}.ecf-cp__cites{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:11px;color:var(--ui-muted, #64748b)}.ecf-cp__cites-label{font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.ecf-cp__cite-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:500;line-height:1.35;text-decoration:none}.ecf-cp__cite-chip.is-link{background:var(--ecf-teal-soft, #f0fdfa);color:var(--ecf-teal, #0f766e);border:1px solid rgba(0,139,139,.28);transition:background-color .14s ease,border-color .14s ease}.ecf-cp__cite-chip.is-link:hover{background:#ccfbf1;border-color:#008b8b80}.ecf-cp__cite-chip.is-internal{background:#f8fafc;color:#475569;border:1px solid rgba(226,232,240,.95)}.ecf-cp__cite-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.ecf-cp__cite-ver{padding:0 5px;border-radius:999px;background:#0f766e1a;color:inherit;font-size:10px;font-weight:600}.ecf-cp__thinking{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border-radius:8px;border:1px solid rgba(226,232,240,.9);background:var(--ui-surface-muted, #f8fafc);font-size:12px;color:var(--ui-muted, #64748b)}.ecf-cp__thinking-row{display:inline-flex;align-items:center;gap:6px}.ecf-cp__thinking-bar{position:relative;height:3px;width:100%;overflow:hidden;border-radius:999px;background:#e2e8f0e6}.ecf-cp__thinking-bar span{position:absolute;top:0;bottom:0;width:38%;border-radius:999px;background:linear-gradient(90deg,transparent,var(--ecf-teal, #008b8b),transparent);animation:ecf-cp-pulse 1.35s ease-in-out infinite}@keyframes ecf-cp-pulse{0%{left:-38%}to{left:100%}}.ecf-cp__error{padding:8px 14px;font-size:12.5px;background:var(--ui-danger-soft, #fef2f2);border-top:1px solid rgba(254,202,202,.9);color:var(--ui-danger, #dc2626);display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}.ecf-cp__error-text{flex:1;min-width:0;line-height:1.4}.ecf-cp__error-actions{display:inline-flex;align-items:center;gap:4px;flex:none}.ecf-cp__error-btn{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;border:1px solid rgba(220,38,38,.28);background:#fff;color:#b91c1c;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer}.ecf-cp__error-btn:hover{background:#fee2e2}.ecf-cp__error-close{display:inline-flex;align-items:center;justify-content:center;padding:3px;border:0;border-radius:5px;background:transparent;color:#b91c1c;cursor:pointer}.ecf-cp__error-close:hover{background:#dc26261a}.ecf-cp__form{display:flex;gap:8px;align-items:flex-end;padding:10px 14px 12px;border-top:1px solid var(--ui-border, rgba(226, 232, 240, .95));background:var(--ui-surface, #ffffff);flex:none}.ecf-cp__input-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ecf-cp__form textarea{width:100%;min-height:42px;max-height:120px;resize:none;padding:9px 11px;border:1px solid var(--ui-border, rgba(226, 232, 240, .95));border-radius:9px;background:var(--ui-surface, #ffffff);color:var(--ui-text, #1e293b);font-family:inherit;font-size:13.2px;line-height:1.45}.ecf-cp__form textarea:focus{outline:none;border-color:var(--ecf-teal, #008b8b);box-shadow:0 0 0 3px #008b8b1f}.ecf-cp__input-hint{display:flex;justify-content:space-between;align-items:center;font-size:10.5px;color:var(--ui-muted, #94a3b8);padding:0 2px}.ecf-cp__input-hint .is-over{color:var(--ui-danger, #dc2626);font-weight:600}.ecf-cp__send{border:0;border-radius:9px;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;margin-bottom:18px;display:inline-flex;align-items:center;justify-content:center;background:var(--ecf-teal, #008b8b);color:#fff;cursor:pointer;flex:none;transition:background-color .15s ease}.ecf-cp__send svg{width:18px;height:18px;display:block;flex:none}.ecf-cp__send:hover:not(:disabled){background:var(--ecf-teal-hover, #007575)}.ecf-cp__send:disabled{opacity:.48;cursor:not-allowed}.ecf-cp__send.is-stop{background:var(--ecf-orange, #eb8a3e)}.ecf-cp__send.is-stop:hover{background:#d9772a}.ecf-cp button svg{flex:none;max-width:none}.ecf-cp.is-full .ecf-cp__trigger{display:none}.ecf-cp.is-full .ecf-cp__panel{position:fixed;top:16px;right:16px;bottom:16px;left:16px;width:auto;height:auto;max-width:none;max-height:none;transform-origin:center;border-radius:14px;display:flex;flex-direction:row}.ecf-cp.is-full .ecf-cp__sidebar{width:276px;min-width:256px;max-width:320px}.ecf-cp.is-full .ecf-cp__panel .ecf-cp__msg,.ecf-cp.is-full .ecf-cp__panel .ecf-cp__intro,.ecf-cp.is-full .ecf-cp__panel .ecf-cp__thinking{width:100%;max-width:860px;margin:0 auto}.ecf-cp.is-full .ecf-cp__panel .ecf-cp__suggestions{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.ecf-cp.is-full .ecf-cp__panel .ecf-cp__list{padding:22px 26px;gap:16px}.ecf-cp.is-full .ecf-cp__panel .ecf-cp__form{max-width:860px;margin:0 auto;width:100%}.ecf-cp.is-full .ecf-cp__panel .ecf-cp__form textarea{min-height:54px}.ecf-cp.is-full .ecf-cp__panel .ecf-cp__msg-body{font-size:13.5px}@media (max-width: 760px){.ecf-cp__panel.has-sidebar{width:460px}.ecf-cp__sidebar{position:absolute;top:0;bottom:0;left:0;z-index:25;width:82%;max-width:290px;box-shadow:6px 0 20px #0f172a1a}}@media (max-width: 640px){.ecf-cp{bottom:84px;right:76px}.ecf-cp__trigger{width:52px;height:52px;min-width:52px;min-height:52px}.ecf-cp__trigger svg{width:23px;height:23px;min-width:23px;min-height:23px}.ecf-cp__panel,.ecf-cp__panel.has-sidebar{position:fixed;left:8px;right:8px;bottom:144px;width:auto;max-width:none;height:min(70vh,580px);max-height:calc(100vh - 156px)}.ecf-cp.is-full .ecf-cp__panel{top:8px;right:8px;bottom:8px;left:8px;height:auto;max-height:none}.ecf-cp__input-hint{display:none}.ecf-cp__send{margin-bottom:0}}.ecf-cp__conv-preview{display:block;font-size:11px;color:var(--ui-muted, #64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}.ecf-cp__conv-meta-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.ecf-cp__conv-count{font-size:10px;font-weight:600;color:var(--ecf-teal, #0f766e);background:var(--ecf-teal-soft, #f0fdfa);border:1px solid rgba(0,139,139,.22);border-radius:999px;padding:0 6px;line-height:1.45}.ecf-cp__conv-confirm-group{display:inline-flex;align-items:center;gap:4px}.ecf-cp__capabilities{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding-top:2px}.ecf-cp__cap-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;font-size:10.5px;font-weight:500;color:var(--ecf-slate, #365660);background:var(--ui-surface, #ffffff);border:1px solid rgba(226,232,240,.95);border-radius:999px}.ecf-cp__context-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:9px 12px;background:var(--ecf-teal-soft, #f0fdfa);border:1px solid rgba(0,139,139,.3);border-radius:10px}.ecf-cp__context-banner-info{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ecf-slate, #365660)}.ecf-cp__context-banner-info svg{color:var(--ecf-teal, #008b8b)}.ecf-cp__context-banner-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;font-family:inherit;font-size:11.5px;font-weight:600;color:#fff;background:var(--ecf-teal, #008b8b);border:0;border-radius:7px;cursor:pointer;transition:background-color .14s ease}.ecf-cp__context-banner-btn:hover{background:var(--ecf-teal-hover, #007575)}.ecf-cp__suggestions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:10px;align-items:start}.ecf-cp__suggestions-col{display:flex;flex-direction:column;gap:7px;min-width:0}.ecf-cp__suggestions-label{display:inline-flex;align-items:center;gap:5px}.ecf-cp__suggestions-label svg{color:var(--ecf-teal, #008b8b)}.ecf-cp__msg-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px}.ecf-cp__msg.is-user .ecf-cp__msg-head{justify-content:flex-end}.ecf-cp__msg-author{font-size:11px;font-weight:600;color:var(--ecf-slate, #365660)}.ecf-cp__msg-badges{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px}.ecf-cp__source-tag{display:inline-flex;align-items:center;padding:1px 7px;font-size:10px;font-weight:600;border-radius:999px}.ecf-cp__source-tag.is-live{background:var(--ecf-teal-soft, #f0fdfa);color:var(--ecf-teal, #0f766e);border:1px solid rgba(0,139,139,.25)}.ecf-cp__source-tag.is-doc{background:#eb8a3e1f;color:#b45309;border:1px solid rgba(235,138,62,.28)}.ecf-cp__msg-time{font-size:10.5px;color:var(--ui-muted, #94a3b8)}.ecf-cp__code-wrap,.ecf-cp__table-block{margin:8px 0 11px;border:1px solid rgba(226,232,240,.95);border-radius:9px;overflow:hidden;background:var(--ui-surface, #ffffff)}.ecf-cp__code-bar,.ecf-cp__table-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 10px;background:#f1f5f9;border-bottom:1px solid rgba(226,232,240,.95)}.ecf-cp__code-lang,.ecf-cp__table-title{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-muted, #64748b)}.ecf-cp__block-copy{background:var(--ui-surface, #ffffff);color:var(--ecf-slate, #365660);border:1px solid rgba(226,232,240,.95);border-radius:5px;padding:2px 8px;font-family:inherit;font-size:10.5px;font-weight:600;cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.ecf-cp__block-copy:hover{color:var(--ecf-teal, #008b8b);border-color:#008b8b59;background:var(--ecf-teal-soft, #f0fdfa)}.ecf-cp__code-wrap pre,.ecf-cp__table-block .ecf-cp__table-wrap{margin:0!important;border:0!important;border-radius:0!important}.ecf-cp__cite-btn{display:inline-flex;align-items:center;padding:1px 6px;margin:0 2px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;font-weight:600;color:var(--ecf-teal, #0f766e);background:var(--ecf-teal-soft, #f0fdfa);border:1px solid rgba(0,139,139,.28);border-radius:5px;cursor:pointer}.ecf-cp__cite-btn:hover{border-color:var(--ecf-teal, #008b8b)}.ecf-cp__followups{display:flex;flex-direction:column;gap:6px;padding-top:2px}.ecf-cp__followups-label{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--ui-muted, #64748b)}.ecf-cp__followups-list{display:flex;flex-wrap:wrap;gap:6px}.ecf-cp__followup-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;font-family:inherit;font-size:11.5px;font-weight:500;color:var(--ecf-slate, #365660);background:var(--ui-surface, #ffffff);border:1px solid rgba(226,232,240,.95);border-radius:999px;cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.ecf-cp__followup-chip:hover{color:var(--ecf-teal, #008b8b);border-color:#008b8b61;background:var(--ecf-teal-soft, #f0fdfa)}.ecf-cp__ctx-bar{display:flex;align-items:center;margin-bottom:2px}.ecf-cp__ctx-pill{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;font-family:inherit;font-size:11px;font-weight:500;color:var(--ui-muted, #64748b);background:var(--ui-surface-muted, #f8fafc);border:1px solid rgba(226,232,240,.95);border-radius:999px;cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.ecf-cp__ctx-pill.is-active{color:var(--ecf-teal, #0f766e);background:var(--ecf-teal-soft, #f0fdfa);border-color:#008b8b4d}.ecf-fb{position:fixed;bottom:1.5rem;right:1.5rem;z-index:1040;font-family:var(--ui-font-body, "Inter", "Segoe UI", Arial, sans-serif);font-size:14px;color:var(--ui-text, #27383e)}.ecf-fb__trigger{width:3.25rem;height:3.25rem;border-radius:50%;border:0;background:var(--ecf-teal, #008b8b);color:#fff;box-shadow:0 6px 16px #008b8b59;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,background-color .15s ease}.ecf-fb__trigger:hover{transform:translateY(-1px);background:var(--ecf-teal-hover, #007575)}.ecf-fb__trigger:focus-visible{outline:2px solid var(--ecf-orange, #eb8a3e);outline-offset:3px}.ecf-fb__trigger.is-open{background:var(--ecf-slate, #365660);box-shadow:0 6px 16px #3656604d}.ecf-fb__panel{position:absolute;bottom:calc(100% + .75rem);right:0;width:340px;max-width:calc(100vw - 2rem);background:var(--ui-surface, #fff);border:1px solid var(--ui-border, #d9e2e5);border-radius:8px;box-shadow:0 10px 28px #3656602e;overflow:hidden;animation:ecf-fb-in .18s ease-out;transform-origin:bottom right}@keyframes ecf-fb-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.ecf-fb__panel{animation:none}.ecf-fb__trigger{transition:none}}.ecf-fb__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 12px;border-bottom:3px solid var(--ecf-orange, #eb8a3e)}.ecf-fb__eyebrow{display:block;font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);font-weight:600;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--ecf-teal, #008b8b)}.ecf-fb__head h4{margin:2px 0 0;font-family:var(--ui-font-heading, "Outfit", "Segoe UI", Arial, sans-serif);font-weight:600;font-size:16px;line-height:1.2;color:var(--ecf-slate, #365660)}.ecf-fb__close{background:none;border:0;color:var(--ui-muted, #8a9aa1);cursor:pointer;padding:4px;border-radius:6px;display:flex}.ecf-fb__close:hover{color:var(--ui-text, #27383e);background:var(--ui-surface-muted, #eef3f4)}.ecf-fb__form{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px}.ecf-fb__seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:3px;background:var(--ui-surface-muted, #eef3f4);border-radius:999px}.ecf-fb__seg-btn{border:0;background:transparent;border-radius:999px;padding:6px 8px;font-size:12px;font-weight:600;color:var(--ui-muted, #5f7078);cursor:pointer}.ecf-fb__seg-btn.is-active{background:var(--ui-surface, #fff);color:var(--ecf-teal, #008b8b);box-shadow:0 1px 3px #36566026}.ecf-fb__label{font-size:12px;font-weight:600;color:var(--ui-text, #27383e)}.ecf-fb__req{color:var(--ecf-orange, #eb8a3e)}.ecf-fb__textarea,.ecf-fb__select{width:100%;padding:8px 10px;border:1px solid var(--ui-border, #d9e2e5);border-radius:6px;background:var(--ui-surface, #fff);color:var(--ui-text, #27383e);font:inherit;line-height:1.45}.ecf-fb__textarea{resize:vertical;min-height:84px}.ecf-fb__textarea:focus,.ecf-fb__select:focus{outline:none;border-color:var(--ecf-teal, #008b8b);box-shadow:0 0 0 3px var(--ecf-teal-soft, #e6f5f5)}.ecf-fb__row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px}.ecf-fb__files{display:flex;flex-direction:column;gap:8px}.ecf-fb__thumbs{list-style:none;margin:0;padding:0;display:flex;gap:8px}.ecf-fb__thumb{position:relative;width:56px;height:56px;border-radius:6px;overflow:hidden;border:1px solid var(--ui-border, #d9e2e5)}.ecf-fb__thumb img{width:100%;height:100%;object-fit:cover;display:block}.ecf-fb__thumb button{position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;border:0;background:#27383ebf;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}.ecf-fb__upload{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;border:1px dashed var(--ui-border, #b9c7cc);background:transparent;color:var(--ecf-teal, #008b8b);border-radius:6px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.ecf-fb__upload:hover{background:var(--ecf-teal-soft, #e6f5f5)}.ecf-fb__context{font-size:11.5px;color:var(--ui-muted, #5f7078)}.ecf-fb__context-toggle{display:flex;align-items:flex-start;gap:6px;width:100%;text-align:left;background:var(--ui-surface-muted, #eef3f4);border:0;border-radius:6px;padding:8px 10px;color:inherit;cursor:pointer;font:inherit}.ecf-fb__context-toggle svg{flex:none;color:var(--ecf-teal, #008b8b);margin-top:1px}.ecf-fb__context-link{margin-left:auto;color:var(--ecf-teal, #008b8b);font-weight:600;white-space:nowrap}.ecf-fb__context-list{margin:6px 0 0;padding:0 10px;display:grid;grid-template-columns:auto 1fr;gap:2px 10px}.ecf-fb__context-list div{display:contents}.ecf-fb__context-list dt{color:var(--ui-muted, #8a9aa1)}.ecf-fb__context-list dd{margin:0;color:var(--ui-text, #27383e);word-break:break-word}.ecf-fb__status{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:6px;font-size:12.5px}.ecf-fb__status.is-error{background:var(--ui-danger-soft, #fbe4e4);color:var(--ui-danger, #d64545)}.ecf-fb__status.is-success{background:var(--ui-success-soft, #e3f4ea);color:var(--ui-success, #2e9e5b)}.ecf-fb__submit{border:0;border-radius:6px;padding:10px 14px;font-weight:600;font-size:13px;background:var(--ecf-teal, #008b8b);color:#fff;cursor:pointer}.ecf-fb__submit:hover:not(:disabled){background:var(--ecf-teal-hover, #007575)}.ecf-fb__submit:disabled{opacity:.55;cursor:not-allowed}@media (max-width: 640px){.ecf-fb{bottom:5.25rem;right:1rem}.ecf-fb__panel{position:fixed;left:.75rem;right:.75rem;bottom:5.5rem;width:auto;max-height:calc(100vh - 7rem);overflow-y:auto}}.app-container{min-height:100vh;display:flex}.app-container.login-layout{display:block}.app-container.app-layout{display:flex;flex-direction:column}.main-content{flex:1;min-height:100vh;background:var(--bg-light);display:flex;flex-direction:column}.legal-topbar{position:sticky;top:0;z-index:950;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:48px;padding:.45rem 1.25rem;background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(226,232,240,.9)}.legal-topbar__left,.legal-topbar__right{display:flex;align-items:center;gap:.6rem}.legal-topbar__badge{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#475569;background:#f8fafc;border:1px solid rgba(226,232,240,.9);border-radius:999px;padding:.2rem .65rem}@media (max-width: 1023px){.main-content{padding-bottom:70px}}@media (min-width: 1024px){.app-container.app-layout{flex-direction:row}.main-content{margin-left:260px;padding-bottom:0}}.loading-screen{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--gradient-primary);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999}.loading-logo{font-family:var(--font-heading);font-size:1.5rem;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:1px;margin-bottom:2rem}.loading-spinner{width:40px;height:40px;border:3px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.icon{display:inline-block;vertical-align:middle;flex-shrink:0}.toast-container{position:fixed;bottom:90px;right:1rem;z-index:9000;display:flex;flex-direction:column;gap:.5rem}@media (min-width: 1024px){.toast-container{bottom:1.5rem;right:1.5rem}}.toast{padding:.875rem 1.25rem;border-radius:var(--border-radius);box-shadow:var(--shadow-soft);color:#fff;font-weight:500;animation:slideIn .3s ease}.toast.success{background:var(--color-success)}.toast.error{background:var(--color-danger)}.toast.warning{background:var(--color-warning);color:var(--color-text-main)}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--color-primary-teal);outline-offset:2px}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}@supports (padding-bottom: env(safe-area-inset-bottom)){.main-content{padding-bottom:calc(70px + env(safe-area-inset-bottom))}@media (min-width: 1024px){.main-content{padding-bottom:0}}}@media print{.sidebar,.bottom-nav,.no-print{display:none!important}.main-content{margin-left:0!important;padding-bottom:0!important}}
