@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap";:root{--primary:#8f0f27;--gold:#af8646;--ink:#171316;--muted:#756f73;--line:#e9e2e4;--soft:#faf7f7;--danger:#b42318;--success:#16794a;--shadow:0 16px 50px rgba(34,18,24,.1)}*{box-sizing:border-box}body{margin:0;font-family:DM Sans,Arial,sans-serif;color:var(--ink);background:#fff}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.app-shell{min-height:100vh;background:#fff}.sidebar{position:fixed;left:0;top:0;bottom:0;width:290px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;z-index:20}.side-top{height:88px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1ebed}.logo-wrap{display:flex;align-items:center;gap:13px}.logo-wrap b{display:block;letter-spacing:2px;font-size:14px}.logo-wrap small{display:block;color:var(--gold);font-size:9px;letter-spacing:2px;margin-top:5px}.brand-mark{width:52px;height:52px;border-radius:16px;background:var(--primary);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-weight:700;font-size:18px;box-shadow:0 12px 25px #8f0f272e}.brand-mark.small{width:48px;height:48px;border-radius:14px}.sidebar nav{padding:18px 12px;overflow:auto}.nav-item{width:100%;border:0;background:transparent;color:#645c61;display:flex;align-items:center;gap:14px;padding:12px 15px;border-radius:12px;margin:2px 0;text-align:left}.nav-item:hover{background:#fbf5f6;color:var(--primary)}.nav-item.active{background:#f8e9ec;color:var(--primary);font-weight:700}.nav-badge{margin-left:auto;background:#f5ecd9;color:#8d6c30;padding:3px 8px;border-radius:999px;font-size:10px}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding:15px}.user-mini{display:flex;gap:10px;align-items:center;padding:6px 3px 13px;cursor:pointer}.user-mini b{font-size:13px}.user-mini small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.avatar{width:40px;height:40px;border-radius:50%;background:#f6e7eb;color:var(--primary);display:grid;place-items:center;font-weight:700}.avatar-btn{border:0}.logout{border:0;background:transparent;color:#6f666b;display:flex;gap:9px;align-items:center;width:100%;padding:10px 4px}.main{margin-left:290px;min-height:100vh}.topbar{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff}.topbar h2{font-family:Playfair Display,Georgia,serif;font-size:28px;margin:3px 0 0}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--gold);font-weight:700}.top-actions{display:flex;align-items:center;gap:12px}.icon-btn{width:44px;height:44px;border:1px solid var(--line);background:#fff;border-radius:12px;display:grid;place-items:center;color:#6e676b}.menu-btn,.mobile-close{display:none}.page{padding:38px 38px 60px;max-width:1600px;margin:auto}.section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.section-header h1{font-family:Playfair Display,Georgia,serif;font-size:38px;line-height:1.05;margin:0 0 8px}.muted{color:var(--muted);margin:0;line-height:1.55}.btn{border:1px solid var(--line);background:#fff;color:#4d454a;border-radius:11px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600}.btn:hover{border-color:#d8c8cd;background:#fcf9f9}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{filter:brightness(.94)}.btn.ghost{background:#fff}.btn.danger{color:var(--danger);border-color:#ead1d1}.btn.small{font-size:12px;padding:7px 10px}.btn.wide{width:100%}.header-actions{display:flex;gap:10px;flex-wrap:wrap}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.toolbar .grow{flex:1}.toolbar select,.month-select select{min-height:42px}.search{height:44px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:9px;padding:0 13px;min-width:300px;flex:1;max-width:590px;color:#8b8186}.search input{border:0;outline:0;width:100%;background:transparent}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:20px;text-align:left;min-height:145px}.stat-card:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.stat-icon{width:40px;height:40px;border-radius:11px;background:#f8e9ec;color:var(--primary);display:grid;place-items:center;margin-bottom:16px}.stat-card span{display:block;color:var(--muted);font-size:13px}.stat-card b{font-size:28px;margin-top:6px;display:block}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.panel{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff}.panel h3{margin:0 0 6px;font-size:18px}.panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.finance-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.finance-summary div{background:var(--soft);border-radius:12px;padding:16px}.finance-summary span,.finance-cards span{display:block;color:var(--muted);font-size:12px}.finance-summary b{display:block;color:var(--primary);font-size:20px;margin-top:7px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.quick-grid button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;display:flex;gap:9px;align-items:center;color:#4f484c}.quick-grid button:hover{background:#fbf4f6;color:var(--primary)}.table-wrap{border:1px solid var(--line);border-radius:15px;overflow:auto;background:#fff}table{border-collapse:collapse;width:100%;min-width:800px}th,td{padding:14px 15px;border-bottom:1px solid #eee7e9;text-align:left;font-size:13px;vertical-align:middle}th{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#7a7075;background:#fbf8f8}tr:last-child td{border-bottom:0}td b{display:block}td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.status-pill,.role-badge,.pay-toggle{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap}.status-pill.green{background:#e8f7ee;color:#17734a}.status-pill.yellow{background:#fff5d9;color:#8d6b13}.status-pill.blue{background:#eaf2ff;color:#2d5c9b}.status-pill.red{background:#fdecec;color:#a72828}.status-pill.gray{background:#f0eeee;color:#6d6569}.status-select{border:0;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;outline:0}.status-select.green{background:#e8f7ee;color:#17734a}.status-select.yellow{background:#fff5d9;color:#8d6b13}.status-select.blue{background:#eaf2ff;color:#2d5c9b}.status-select.red{background:#fdecec;color:#a72828}.status-select.gray{background:#f0eeee;color:#6d6569}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.service-card{border:1px solid var(--line);border-radius:15px;padding:19px;background:#fff;display:flex;flex-direction:column;min-height:210px}.service-card:hover{box-shadow:var(--shadow)}.service-cat{color:var(--gold);font-size:10px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase}.service-card h3{font-size:17px;margin:8px 0}.service-card p{color:var(--muted);font-size:12px;line-height:1.5;flex:1}.service-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee7e9;padding-top:13px;margin-top:12px}.service-foot b{color:var(--primary);font-size:18px}.service-foot span{color:var(--muted);font-size:11px}.task-list,.calendar-list{display:flex;flex-direction:column;gap:10px}.task-card,.event-row{border:1px solid var(--line);border-radius:14px;padding:15px;display:flex;align-items:center;gap:13px;background:#fff}.task-card h3{margin:0 0 5px;font-size:15px}.task-card p,.event-row p{margin:0;color:var(--muted);font-size:12px}.task-card small{color:var(--muted);display:block;margin-top:8px}.priority{width:5px;align-self:stretch;border-radius:5px;background:#d6d0d3}.priority.urgente{background:#b42318}.priority.alta{background:#d28a22}.priority.media{background:#af8646}.priority.baja{background:#4e8c69}.grow{flex:1;min-width:0}.date-box{width:58px;height:58px;border-radius:12px;background:#f8e9ec;color:var(--primary);display:grid;place-items:center;align-content:center}.date-box b{font-size:20px}.date-box small{font-size:10px;text-transform:uppercase}.calendar-connect{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;background:#fcf8f5}.empty{min-height:150px;display:flex;align-items:center;justify-content:center;gap:10px;color:#aaa0a5;flex-direction:column;padding:25px}.finance-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.finance-cards>div{border:1px solid var(--line);border-radius:15px;padding:20px}.finance-cards b{display:block;color:var(--primary);font-size:24px;margin-top:7px}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:20px}.tabs button{border:0;background:transparent;padding:13px 3px;color:var(--muted);border-bottom:2px solid transparent}.tabs button.active{color:var(--primary);font-weight:700;border-bottom-color:var(--primary)}.period-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.period-tabs{display:flex;gap:5px;flex-wrap:wrap}.period-tabs button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 12px;color:#6e656a}.period-tabs button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.pay-toggle{border:0;background:#fff2d7;color:#8b6810}.pay-toggle.paid{background:#e8f7ee;color:#17734a}.mini-note{font-size:12px;color:var(--muted);display:flex;gap:7px;align-items:center;margin-top:10px}.commission-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:var(--soft);padding:15px;border-radius:12px}.commission-preview span{display:block;color:var(--muted);font-size:11px}.commission-preview b{display:block;margin-top:5px;color:var(--primary)}.info-box{border:1px solid #eadfca;background:#fffaf0;border-radius:14px;padding:17px;display:flex;gap:13px;margin-bottom:17px;color:#755b27}.info-box p{margin:5px 0 0;color:#6f6250;font-size:12px;line-height:1.5}.profile-grid,.settings-grid{display:grid;grid-template-columns:320px 1fr;gap:18px}.profile-card{text-align:center}.profile-avatar{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;margin:10px auto 14px;background:#f6e7eb;color:var(--primary);font-size:32px;font-weight:700}.role-badge{background:#f7eedf;color:#8a672e}.settings-grid{grid-template-columns:1fr 1fr}.preview{display:flex;flex-direction:column;justify-content:center;min-height:360px;background:#fcf8f9}.preview-brand{display:flex;align-items:center;gap:16px}.preview-brand b{font-size:22px;letter-spacing:2px}.preview-brand small{display:block;color:var(--gold);letter-spacing:2px;font-size:9px;margin-top:4px}.preview h2{font-family:Playfair Display,Georgia,serif;font-size:32px;margin:42px 0 12px}.color-preview{display:flex;gap:8px;margin-top:20px}.color-preview span{width:42px;height:42px;border-radius:10px}.settings-note{margin-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{display:flex;flex-direction:column;gap:7px;color:#51494e;font-size:12px;font-weight:600}.form-grid label.full{grid-column:1/-1}input,select,textarea{border:1px solid #ddd4d8;border-radius:11px;padding:11px 12px;outline:0;background:#fff;color:#2b2629}input:focus,select:focus,textarea:focus{border-color:#c9aeb6;box-shadow:0 0 0 3px #8f0f270f}textarea{min-height:100px;resize:vertical}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#261b1f6b;display:grid;place-items:center;padding:20px;z-index:50}.modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:24px;box-shadow:var(--shadow)}.wide-modal{width:min(860px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h2{font-family:Playfair Display,Georgia,serif;margin:0;font-size:28px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.auth-page{min-height:100vh;background:linear-gradient(135deg,#fff,#fbf2f4);display:grid;place-items:center;padding:20px}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:var(--shadow)}.auth-brand{font-weight:800;letter-spacing:3px;margin:16px 0 30px}.auth-brand small{display:block;color:var(--gold);font-size:9px;letter-spacing:2px;margin-top:4px}.auth-card h1{font-family:Playfair Display,Georgia,serif;font-size:30px;margin:0 0 8px}.auth-card form{display:flex;flex-direction:column;gap:14px;margin-top:22px}.auth-card label{font-size:12px;font-weight:600;color:#51494e}.auth-card input{margin-top:7px;width:100%}.password{position:relative}.password button{position:absolute;right:4px;top:4px;width:39px;height:38px;border:0;background:transparent;color:#7a7075}.auth-links{display:flex;justify-content:space-between;gap:10px;margin-top:16px}.auth-links button{border:0;background:transparent;color:var(--primary);font-size:12px}.alert{border-radius:10px;padding:10px 12px;font-size:12px}.alert.error{background:#fdecec;color:#9e2727}.alert.success{background:#e9f7ee;color:#17724a}.loading-screen{min-height:100vh;display:grid;place-items:center;align-content:center;gap:10px;color:#6f666b}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1150px){.sidebar{width:250px}.main{margin-left:250px}.stats-grid,.service-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.profile-grid,.settings-grid{grid-template-columns:1fr}}.dashboard-welcome{margin-bottom:20px;padding:4px 0 0}.dashboard-welcome h1{font-family:Playfair Display,Georgia,serif;font-size:38px;margin:5px 0 4px;color:#211b1e}.dashboard-date{margin:0;color:var(--muted);font-size:14px;text-transform:capitalize}.work-status{display:inline-flex;margin-top:12px;padding:8px 12px;border-radius:999px;background:#f2eeee;color:#6f656a;font-size:12px;font-weight:700}.work-status.active{background:#e8f7ee;color:#17734a}.dashboard-alert-grid{grid-template-columns:1fr}.schedule-editor{display:flex;flex-direction:column;gap:8px;margin-top:14px}.schedule-row{display:grid;grid-template-columns:100px 100px 1fr;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fcf9fa}.schedule-check{display:flex!important;flex-direction:row!important;align-items:center;gap:6px!important;font-size:11px!important}.schedule-times{display:flex;align-items:center;gap:7px}.schedule-times input{width:115px}@media (max-width:850px){.sidebar{transform:translate(-100%);transition:.25s;width:285px;box-shadow:var(--shadow)}.sidebar.mobile-open{transform:translate(0)}.main{margin-left:0}.menu-btn,.mobile-close{display:grid}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000040;z-index:19}.topbar{padding:0 18px}.page{padding:25px 18px}.section-header{flex-direction:column}.finance-cards,.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.commission-preview{grid-template-columns:1fr 1fr}.search{min-width:220px}.period-toolbar{align-items:flex-start;flex-direction:column}.stats-grid{grid-template-columns:1fr 1fr}.service-grid{grid-template-columns:1fr}.header-actions{width:100%}}@media (max-width:600px){.dashboard-welcome h1{font-size:30px}.schedule-row{grid-template-columns:1fr}.schedule-times input{width:100%}}@media (max-width:520px){.stats-grid{grid-template-columns:1fr}.topbar h2{font-size:23px}.section-header h1{font-size:31px}.finance-summary{grid-template-columns:1fr}.auth-card{padding:25px}.auth-links{flex-direction:column}}.quote-items{border:1px solid var(--line);border-radius:14px;padding:15px}.quote-item{display:grid;grid-template-columns:1.8fr .55fr .8fr .8fr auto;gap:8px;align-items:center;margin-top:10px}.quote-item-total{font-weight:700;color:var(--primary);font-size:12px;text-align:right}@media (max-width:700px){.quote-item{grid-template-columns:1fr 1fr}.quote-item-total{grid-column:1/-1;text-align:left}}.detail-row td{background:#fcf8f9;padding:0 15px 16px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.detail-grid div{background:var(--soft);border-radius:10px;padding:11px}.detail-grid span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}.detail-grid b{display:block;margin-top:5px;font-size:12px}.icon-btn.mini{width:30px;height:30px;border-radius:8px}.quick-load-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}.quick-load-wrap table{min-width:900px}.quick-load-wrap input{min-width:110px}.calendar-google-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.calendar-google-controls select{min-width:240px}.audit-changes{display:grid;gap:6px;margin-top:8px}.audit-changes div{display:flex;gap:10px;justify-content:space-between;padding:6px 8px;background:var(--soft);border-radius:7px;font-size:11px}.audit-changes b{text-transform:capitalize}.month-amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.recurring-months{margin-top:15px}@media (max-width:700px){.detail-grid,.month-amount-grid{grid-template-columns:1fr 1fr}}.calendar-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.calendar-nav{display:flex;align-items:center;gap:9px}.calendar-nav h3{text-transform:capitalize;margin:0;font-family:Playfair Display,Georgia,serif;font-size:23px}.calendar-filters{display:flex;gap:8px}.calendar-legend{display:flex;gap:16px;flex-wrap:wrap;margin:0 0 12px;color:var(--muted);font-size:11px}.calendar-legend span{display:flex;align-items:center;gap:6px}.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.calendar-grid{padding:0;overflow:hidden}.calendar-weekdays,.calendar-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays>div{padding:11px;text-align:center;background:#fbf7f8;color:#766b71;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px;border-right:1px solid var(--line)}.calendar-cells{border-top:1px solid var(--line)}.calendar-cell{min-height:125px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;padding:8px;text-align:left;vertical-align:top;cursor:pointer}.calendar-cell:hover{background:#fdf8f9}.empty-cell{background:#faf8f8;cursor:default}.today-cell{box-shadow:inset 0 3px 0 var(--primary)}.calendar-day-number{font-size:12px;font-weight:800;color:#554c50}.today-cell .calendar-day-number{color:var(--primary)}.calendar-events{display:flex;flex-direction:column;gap:4px;margin-top:7px}.calendar-event-chip{border-radius:6px;padding:4px 6px;font-size:10px;line-height:1.2;overflow:hidden}.calendar-event-chip b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-birthday{background:#f7e5ee!important;color:#8f3b61}.calendar-invoice{background:#eee8fb!important;color:#67489b}.calendar-income{background:#e7f5ec!important;color:#28734e}.calendar-expense{background:#f8e6e6!important;color:#9c3d3d}.calendar-pending{background:#fff1ce!important;color:#8a6713}.calendar-task{background:#e7eef8!important;color:#41638d}.calendar-event{background:#f0ecee!important;color:#6c6268}.excel-scroll{overflow:auto;border:1px solid var(--line);border-radius:12px}.excel-table{border-collapse:separate;border-spacing:0;min-width:1100px;width:100%;background:#fff}.excel-table th{background:#dce8f5;color:#374d67;font-size:10px;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap}.excel-table th,.excel-table td{padding:9px 10px;border-right:1px solid #e5e0e2;border-bottom:1px solid #e5e0e2;text-align:right;white-space:nowrap}.excel-table th:first-child,.excel-table td:first-child{text-align:left}.excel-table td small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.excel-cell{width:100%;min-width:88px;border:0;border-radius:0;padding:7px 6px;font-size:11px;background:#fff;text-align:right}.excel-cell.paid{background:#93d04f;color:#163b18}.excel-cell.pending{background:#ffe38b;color:#735400}.excel-cell.future{background:#fff;color:#777}.excel-cell.late{background:#ef9b9b;color:#761b1b}.excel-cell.empty{background:#fff;color:#aaa}.excel-total td{background:#e5eaf0!important;font-weight:800}.excel-table.compact{min-width:520px}.excel-table.compact th,.excel-table.compact td{padding:8px 10px}.calendar-list .date-box.calendar-birthday,.calendar-list .date-box.calendar-invoice,.calendar-list .date-box.calendar-income,.calendar-list .date-box.calendar-expense,.calendar-list .date-box.calendar-pending,.calendar-list .date-box.calendar-task{background:inherit}.month-amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.month-amount-grid label{font-size:10px;text-transform:uppercase;color:var(--muted)}.month-amount-grid input{margin-top:5px;width:100%;font-size:11px}.calendar-connect,.calendar-google-controls{display:none}@media (max-width:800px){.calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-filters{width:100%}.calendar-filters select{flex:1}.calendar-cell{min-height:90px}.calendar-event-chip{font-size:9px}.month-amount-grid{grid-template-columns:repeat(2,1fr)}}.cashflow-table th:nth-child(1){width:120px}.cashflow-table th:nth-child(2){min-width:280px}.cashflow-table th:nth-child(3),.cashflow-table th:nth-child(4),.cashflow-table th:nth-child(5){width:150px}.cashflow-table th:nth-child(6){width:150px}.cashflow-table td{vertical-align:middle}.cashflow-table td:nth-child(3),.cashflow-table td:nth-child(4),.cashflow-table td:nth-child(5){text-align:right;font-variant-numeric:tabular-nums}.icon-action{width:34px;height:34px;border:1px solid #eadfe1;background:#fff;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#4b4547}.icon-action:hover{border-color:#c9a8ad;background:#fff8f9}.icon-action.danger{color:#b4232e;border-color:#efc9cd}.icon-action.danger:hover{background:#fff3f4}.row-actions{display:flex;align-items:center;gap:7px}.cashflow-table tbody tr{height:58px}.cashflow-table tbody tr:hover{background:snow}.form-grid .info-box{margin-top:4px}.cashflow-table th.cashflow-income-col,.cashflow-table td.cashflow-income-col{background:#e8f7ee!important;color:#285f43;text-align:center!important;font-variant-numeric:tabular-nums}.cashflow-table th.cashflow-expense-col,.cashflow-table td.cashflow-expense-col{background:#fdecec!important;color:#8d3535;text-align:center!important;font-variant-numeric:tabular-nums}.cashflow-table th.cashflow-balance-col,.cashflow-table td.cashflow-balance-col{background:#fff5d9!important;color:#755b27;text-align:center!important;font-variant-numeric:tabular-nums}.cashflow-table th.cashflow-income-col,.cashflow-table th.cashflow-expense-col,.cashflow-table th.cashflow-balance-col{font-weight:800}.cashflow-table tbody tr:hover td.cashflow-income-col{background:#e2f4e9!important}.cashflow-table tbody tr:hover td.cashflow-expense-col{background:#fae4e4!important}.cashflow-table tbody tr:hover td.cashflow-balance-col{background:#fff0c8!important}.payments-scroll{position:relative;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.payments-table{min-width:1180px}.payments-table .sticky-payment{position:sticky;left:0;z-index:3;background:#fff;text-align:left!important;box-shadow:4px 0 8px #2314190d}.payments-table thead .sticky-payment{z-index:5;background:#dce8f5}.payments-table .payment-label{min-width:250px;max-width:300px;white-space:normal}.payments-table .payment-label b{display:block}.payments-table .payment-label small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.payments-table .excel-cell{min-width:92px}@media (max-width:800px){.payments-scroll{margin-right:-18px;padding-right:18px}.payments-table{min-width:1150px}.payments-table .sticky-payment{min-width:205px;max-width:205px}.payments-table .excel-cell{min-width:88px}}.payments-table th:not(.sticky-payment),.payments-table td:not(.sticky-payment){text-align:center!important;vertical-align:middle}.payments-table .excel-cell{text-align:center!important}.payments-table .payment-label{vertical-align:middle}.check-field{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fbf7f8;font-size:12px;color:var(--text)}.check-field input{margin-top:3px}.full-btn{width:100%;justify-content:center;margin-top:8px}.payment-action-modal{display:flex;flex-direction:column;gap:4px}.payments-table .excel-cell.empty{background:#fff!important;color:#aaa}@media (max-width:800px){.payments-scroll{overflow-x:auto}.payments-table .sticky-payment{position:sticky;left:0;z-index:6;background:#fff}.payments-table thead .sticky-payment{z-index:8;background:#dce8f5}}.payments-table .inactive-payment-label{background:#f0eeee!important;color:#777}.payments-table .inactive-payment-label b{color:#666}.payments-table .inactive-payment-label small{color:#999}.payments-table .payment-label small{white-space:nowrap}.payments-table th:not(.sticky-payment),.payments-table td:not(.sticky-payment){text-align:center!important;vertical-align:middle!important}.payments-table .excel-cell{display:flex;align-items:center;justify-content:center;text-align:center!important;margin:auto}.subtabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:18px}.subtabs button{border:0;background:transparent;padding:11px 2px;color:var(--muted);border-bottom:2px solid transparent;font-weight:600}.subtabs button.active{color:var(--primary);border-bottom-color:var(--primary)}.collections-scroll{position:relative;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}.collections-table{min-width:1180px}.collections-table .sticky-collection{position:sticky;left:0;z-index:3;background:#fff;text-align:left!important;box-shadow:4px 0 8px #2314190d;min-width:300px;max-width:330px;white-space:normal}.collections-table thead .sticky-collection{z-index:5;background:#dce8f5}.collections-table .collection-label{vertical-align:middle}.collections-table .collection-label b{display:block}.collections-table .collection-label small{display:block;color:var(--muted);font-size:10px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collections-table th:not(.sticky-collection),.collections-table td:not(.sticky-collection){text-align:center!important;vertical-align:middle!important}.collections-table .excel-cell{display:flex;align-items:center;justify-content:center;text-align:center!important;margin:auto;min-width:92px}.collections-table .inactive-collection-label{background:#f0eeee!important;color:#777}.collections-table .inactive-collection-label b{color:#666}.collections-table .inactive-collection-label small{color:#999}.excel-cell.incongruent{background:#e7d9f7;color:#68458e}.excel-cell.partial{background:#f8d8a6;color:#875317}.excel-cell.baddebt{background:#ece9ea;color:#81797d;text-decoration:line-through}.collection-action-modal{display:flex;flex-direction:column;gap:4px}.collection-observation{display:flex;flex-direction:column;gap:8px;margin-top:10px;color:#51494e;font-size:12px;font-weight:600}.collection-observation textarea{width:100%;min-height:90px}.inactive-row td{background:#f6f4f4!important;color:#777}.contract-month-grid{margin-top:4px}.contract-month-grid input{font-variant-numeric:tabular-nums}@media (max-width:800px){.collections-scroll{margin-right:-18px;padding-right:18px}.collections-table{min-width:1180px}.collections-table .sticky-collection{position:sticky;left:0;z-index:6;min-width:215px;max-width:215px;background:#fff}.collections-table thead .sticky-collection{z-index:8;background:#dce8f5}.collections-table .excel-cell{min-width:88px}.subtabs{overflow-x:auto;white-space:nowrap}}.dashboard-event-list{display:flex;flex-direction:column;gap:7px;margin-top:15px;max-height:360px;overflow:auto}.dashboard-event-row{width:100%;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:10px;text-align:left;color:inherit}.dashboard-event-row:hover{background:#fcf7f8;border-color:#d9c8cd}.dashboard-event-row b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-event-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-event-row>span{font-size:10px;font-weight:700;color:var(--primary);white-space:nowrap}.dashboard-event-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#b8afb3}.dashboard-event-dot.recordatorio{background:#af8646}.dashboard-event-dot.cobro_pendiente,.dashboard-event-dot.pago_pendiente{background:#d5a52b}.dashboard-event-dot.cobro{background:#4d9a6a}.dashboard-event-dot.pago{background:#c86b6b}.dashboard-event-dot.facturación,.dashboard-event-dot.factura_pago{background:#7e63ad}.dashboard-event-dot.cumpleaños{background:#b65e88}.dashboard-event-dot.tarea{background:#5c7fa8}.dashboard-event-dot.servicio_fin,.dashboard-event-dot.servicio_inicio{background:#8f0f27}.dashboard-event-dot.presupuesto{background:#7b746f}.dashboard-empty{padding:22px 10px;color:#a29a9e;font-size:12px;text-align:center}.calendar-quote{background:#ece8e5!important;color:#655e5a}.calendar-service{background:#f4e4e8!important;color:#8f0f27}.calendar-reminder{background:#f7eedf!important;color:#8a672e}.collection-observation{width:100%}.collection-observation textarea{width:100%;display:block}.collection-observation .full-btn{width:100%;display:flex}.table-wrap,.excel-scroll{max-width:100%;-webkit-overflow-scrolling:touch}.table-wrap table td,.table-wrap table th{overflow-wrap:anywhere}.modal-head{min-width:0}.modal-head h2{min-width:0;overflow-wrap:anywhere}.modal{overflow-x:hidden}.modal input,.modal select,.modal textarea{max-width:100%;min-width:0}@media (max-width:1150px){.dashboard-alert-grid{grid-template-columns:1fr}}@media (max-width:850px){.dashboard-alert-grid{grid-template-columns:1fr}.dashboard-event-list{max-height:300px}.modal-backdrop{padding:10px}.modal,.wide-modal{width:100%;max-width:100%;max-height:94vh;border-radius:16px;padding:18px}.modal-head h2{font-size:24px}.panel-head{flex-wrap:wrap}.calendar-legend{gap:10px}.calendar-weekdays>div{padding:8px 4px}.calendar-cell{padding:6px;min-height:84px}.calendar-events{gap:3px}.calendar-event-chip{padding:3px 4px}.calendar-event-chip b{font-size:9px}.table-wrap table{min-width:760px}.search{min-width:0;width:100%;max-width:none}.toolbar .search{flex-basis:100%}}@media (max-width:520px){.dashboard-event-row{padding:9px}.dashboard-event-row>span{font-size:9px}.dashboard-event-row b{font-size:11px}.calendar-cell{min-height:76px}.calendar-day-number{font-size:11px}.calendar-event-chip{display:none}.calendar-events small{font-size:9px}.calendar-cell:has(.calendar-events .calendar-event-chip) .calendar-events:after{content:"•";font-size:16px;color:var(--primary)}.modal{padding:15px}.modal-head h2{font-size:22px}.panel{padding:16px}}.clients-directory-wrap{overflow-x:auto}.clients-directory-table{min-width:1180px}.clients-directory-table th,.clients-directory-table td{vertical-align:top}.representatives-list{display:flex;flex-direction:column;gap:7px;min-width:220px}.representative-item{padding:8px 10px;border:1px solid #eee5e7;border-radius:9px;background:#fcfafb}.representative-item b{display:block;font-size:12px}.representative-item small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}.representatives-editor{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fcfafb}.representatives-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.representative-form{border:1px solid var(--line);border-radius:12px;padding:13px;background:#fff;margin-top:10px}.representative-form-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.invoices-table-wrap{overflow-x:auto}.invoices-table{min-width:1320px;table-layout:auto}.invoices-table th,.invoices-table td{white-space:nowrap;overflow-wrap:normal;word-break:normal}.invoices-table td:nth-child(5){white-space:normal;min-width:300px;max-width:390px;overflow-wrap:anywhere;line-height:1.35}.invoices-table td:nth-child(1){min-width:105px}.invoices-table td:nth-child(2){min-width:145px}.invoices-table td:nth-child(3){min-width:160px}.invoices-table td:nth-child(4){min-width:125px}.invoices-table td:nth-child(6),.invoices-table td:nth-child(7){min-width:120px;text-align:right;font-variant-numeric:tabular-nums}.invoices-table td:nth-child(8){min-width:155px}.invoices-table td:nth-child(9){min-width:155px}.invoices-table td:nth-child(10){min-width:180px}.invoices-table .row-actions{white-space:nowrap;flex-wrap:nowrap}@media (max-width:850px){.clients-directory-wrap,.invoices-table-wrap{margin-right:-18px;padding-right:18px;border-left:0;border-right:0;border-radius:12px 0 0 12px}.clients-directory-table{min-width:1180px}.invoices-table{min-width:1320px}.representatives-editor-head{align-items:flex-start;flex-direction:column}}.dashboard-alert-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.dashboard-event-list{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto;padding-right:2px}.dashboard-event-row{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 12px;display:flex;align-items:center;gap:10px;text-align:left}.dashboard-event-row:hover{background:#fcf8f9}.dashboard-event-row>span{font-size:11px;font-weight:700;color:var(--primary);white-space:nowrap}.dashboard-event-row b{display:block;font-size:13px;line-height:1.3;overflow-wrap:anywhere}.dashboard-event-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}.dashboard-event-dot{width:9px;height:9px;border-radius:50%;background:var(--gold);flex:0 0 auto}.dashboard-event-dot.tarea{background:#5f82b3}.schedule-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px}.schedule-editor{display:flex;flex-direction:column;gap:8px;margin-top:12px}.schedule-row{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fcf9fa}.schedule-day-name{display:flex;align-items:center;gap:12px;min-width:0}.schedule-day-name>b{min-width:78px}.schedule-check{display:flex!important;flex-direction:row!important;align-items:center;gap:6px!important;font-size:11px!important;white-space:nowrap}.schedule-intervals{display:flex;flex-wrap:wrap;gap:8px}.schedule-times{display:flex;align-items:center;gap:6px}.schedule-times input{width:105px;min-width:0}.schedule-off{font-size:12px}.team-schedule-summary{font-size:11px;color:var(--muted)}.invoices-table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.invoices-table{min-width:1320px;width:max-content;table-layout:auto}.invoices-table th,.invoices-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal}.invoices-table td:nth-child(5){white-space:normal;width:330px;min-width:300px;max-width:390px;overflow-wrap:anywhere}.invoices-table td:nth-child(6),.invoices-table td:nth-child(7){font-variant-numeric:tabular-nums}@media (max-width:900px){.dashboard-alert-grid,.schedule-row{grid-template-columns:1fr}.schedule-day-name{justify-content:space-between}.schedule-intervals{width:100%}.schedule-times{flex:1}.schedule-times input{width:100%}}@media (max-width:600px){.schedule-row{padding:11px}.schedule-day-name{align-items:flex-start;flex-direction:column;gap:6px}.schedule-times{min-width:0}.schedule-times input{width:100%;min-width:0}.dashboard-event-row{padding:9px}.dashboard-event-row>span{font-size:10px}.dashboard-event-row b{font-size:12px}}.table-wrap table{min-width:0}.table-wrap th,.table-wrap td{overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}.suppliers-table-wrap{overflow:hidden}.suppliers-table{width:100%;min-width:0;table-layout:fixed}.suppliers-table th,.suppliers-table td{padding:10px 9px;white-space:normal;overflow-wrap:break-word;word-break:normal;vertical-align:middle}.suppliers-table th{line-height:1.2}.suppliers-table th:nth-child(3){width:10%}.suppliers-table th:nth-child(4){width:10%}.suppliers-table th:nth-child(5){width:8%}.suppliers-table th:nth-child(6){width:9%}.suppliers-table th:nth-child(7){width:9%}.suppliers-table th:nth-child(8){width:9%}.suppliers-table th:nth-child(9){width:9%}.suppliers-table th:nth-child(11){width:6%}.suppliers-table td:nth-child(4),.suppliers-table td:nth-child(5),.suppliers-table td:nth-child(6),.suppliers-table td:nth-child(7),.suppliers-table td:nth-child(8),.suppliers-table td:nth-child(9){white-space:nowrap;font-size:11px}.suppliers-table .row-actions{justify-content:center;flex-direction:column;gap:5px}.suppliers-table .btn.small{padding:6px 8px;font-size:11px}.team-table-wrap{overflow:hidden}.team-table{width:100%;min-width:0;table-layout:fixed}.team-table th,.team-table td{padding:11px 9px;white-space:normal;overflow-wrap:break-word;word-break:normal}.team-table th:nth-child(1){width:18%}.team-table th:nth-child(2){width:13%}.team-table th:nth-child(3){width:17%}.team-table th:nth-child(4){width:16%}.team-table th:nth-child(5){width:10%}.team-table th:nth-child(6){width:10%}.team-table th:nth-child(7){width:16%}.team-table .row-actions{justify-content:flex-start}.team-table .row-actions .btn.small{font-size:10px;padding:6px 7px}.quotes-table-wrap{overflow:hidden}.quotes-table-wrap table{width:100%;min-width:0;table-layout:fixed}.quotes-table-wrap th,.quotes-table-wrap td{padding:10px 9px;white-space:normal;overflow-wrap:break-word;word-break:normal}.quotes-table-wrap th:nth-child(1){width:10%}.quotes-table-wrap th:nth-child(2){width:11%}.quotes-table-wrap th:nth-child(3){width:21%}.quotes-table-wrap th:nth-child(4){width:12%}.quotes-table-wrap th:nth-child(5){width:13%}.quotes-table-wrap th:nth-child(6){width:18%}.quotes-table-wrap th:nth-child(7){width:15%}.quote-link{white-space:nowrap}.invoices-table-wrap{overflow:hidden}.invoices-table{width:100%;min-width:0!important;table-layout:fixed}.invoices-table th,.invoices-table td{padding:9px 8px;white-space:normal!important;overflow-wrap:break-word;word-break:normal;vertical-align:middle}.invoices-table th:nth-child(1){width:9%}.invoices-table th:nth-child(2){width:12%}.invoices-table th:nth-child(3){width:16%}.invoices-table th:nth-child(4){width:20%}.invoices-table th:nth-child(5){width:10%}.invoices-table th:nth-child(6){width:8%}.invoices-table th:nth-child(7){width:11%}.invoices-table th:nth-child(8){width:8%}.invoices-table th:nth-child(9){width:12%}.invoices-table td:nth-child(5),.invoices-table td:nth-child(6){font-size:11px;text-align:center;font-variant-numeric:tabular-nums}.invoices-table .row-actions{justify-content:center;flex-wrap:nowrap}.invoices-table .btn.small{padding:6px 7px;font-size:10px}.commission-table-wrap{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}.commission-table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse}.commission-table th,.commission-table td{padding:9px 7px;border-bottom:1px solid #e5e0e2;text-align:center;vertical-align:middle;font-size:11px;overflow-wrap:break-word;word-break:normal}.commission-table th{background:#dce8f5;color:#374d67;font-size:9px;letter-spacing:.5px;white-space:normal;line-height:1.15}.commission-table th:nth-child(1){width:9%}.commission-table th:nth-child(2){width:10%}.commission-table th:nth-child(3){width:15%}.commission-table th:nth-child(4){width:11%}.commission-table th:nth-child(5){width:12%}.commission-table th:nth-child(6){width:10%}.commission-table th:nth-child(7){width:13%}.commission-table th:nth-child(8){width:13%}.commission-table td small{font-size:9px}.commission-metric{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.commission-metric input{width:64px;max-width:100%;border:1px solid #d9d0d3;border-radius:7px;background:#fff8fa;color:var(--primary);font-size:11px;font-weight:700;text-align:center;padding:5px 4px;outline:none}.commission-metric input:focus{border-color:var(--primary);box-shadow:0 0 0 2px #8f0f2714}.commission-metric span{font-variant-numeric:tabular-nums;font-weight:700;font-size:10px;white-space:nowrap}.commission-table .row-actions{justify-content:center}.commission-table .btn.small{padding:6px 7px;font-size:10px}.quotes-toolbar .search{max-width:none}.period-toolbar{flex-wrap:wrap}.period-tabs{min-width:0}.period-toolbar>select{min-height:40px}@media (max-width:1100px){.suppliers-table th,.suppliers-table td,.team-table th,.team-table td,.quotes-table-wrap th,.quotes-table-wrap td,.invoices-table th,.invoices-table td{font-size:10px;padding:8px 6px}.suppliers-table td:nth-child(4),.suppliers-table td:nth-child(5),.suppliers-table td:nth-child(6),.suppliers-table td:nth-child(7),.suppliers-table td:nth-child(8),.suppliers-table td:nth-child(9){font-size:9px}.commission-table th,.commission-table td{padding:7px 5px;font-size:10px}.commission-table th{font-size:8px}.commission-metric input{width:56px}.commission-metric span{font-size:9px}.invoices-table .status-select,.invoices-table .btn.small{font-size:9px;padding:5px 6px}}@media (max-width:800px){.suppliers-table-wrap,.team-table-wrap,.quotes-table-wrap,.invoices-table-wrap,.commission-table-wrap{overflow-x:hidden}.suppliers-table,.team-table,.quotes-table-wrap table,.invoices-table,.commission-table{table-layout:auto;min-width:0!important}.suppliers-table th,.suppliers-table td,.team-table th,.team-table td,.quotes-table-wrap th,.quotes-table-wrap td,.invoices-table th,.invoices-table td,.commission-table th,.commission-table td{padding:7px 5px;font-size:9px}.suppliers-table td:nth-child(8),.suppliers-table td:nth-child(9){font-size:8px}.commission-metric input{width:48px;font-size:9px;padding:4px 2px}.commission-metric span{font-size:8px}.commission-table .row-actions{flex-direction:column;gap:3px}.commission-table .btn.small{font-size:8px;padding:4px 5px}.team-table .row-actions{flex-direction:column;align-items:flex-start}.team-table .row-actions .btn.small{font-size:8px;padding:5px}.invoices-table td:nth-child(4){font-size:9px}.invoices-table td:nth-child(7){font-size:8px}.invoices-table .status-select{font-size:8px;padding:4px}.invoices-table .btn.small,.quotes-table-wrap .status-select{font-size:8px;padding:4px 5px}.quote-link{font-size:8px!important;padding:5px!important}}.suppliers-table th:nth-child(1){width:12%}.suppliers-table th:nth-child(2){width:11%}.suppliers-table th:nth-child(3){width:9%}.suppliers-table th:nth-child(4){width:9%}.suppliers-table th:nth-child(5){width:7%}.suppliers-table th:nth-child(6){width:8%}.suppliers-table th:nth-child(7){width:8%}.suppliers-table th:nth-child(8){width:8%}.suppliers-table th:nth-child(9){width:8%}.suppliers-table th:nth-child(10){width:7%}.suppliers-table th:nth-child(11){width:10%}.suppliers-table th,.suppliers-table td,.team-table th,.team-table td,.clients-directory-table th,.clients-directory-table td{overflow-wrap:normal!important;word-break:normal!important}.suppliers-table td,.team-table td{white-space:normal!important}.clients-directory-table,.clients-directory-table .representatives-list{min-width:0!important}.invoices-main-wrap{overflow-x:hidden!important}.invoices-main-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.invoices-main-table th,.invoices-main-table td{white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}.invoices-main-table th:nth-child(1){width:9%}.invoices-main-table th:nth-child(2){width:13%}.invoices-main-table th:nth-child(3){width:18%}.invoices-main-table th:nth-child(4){width:20%}.invoices-main-table th:nth-child(5){width:12%}.invoices-main-table th:nth-child(6){width:11%}.invoices-main-table th:nth-child(7){width:10%}.invoices-main-table th:nth-child(8){width:7%}.invoices-main-table .row-actions{justify-content:flex-start;flex-wrap:wrap}.invoice-description-cell{line-height:1.35}.invoice-money-cell{font-variant-numeric:tabular-nums}.invoice-money-cell small{white-space:nowrap!important}.invoices-main-table .status-select{max-width:100%;white-space:normal}@media (max-width:850px){.invoices-main-wrap{overflow-x:hidden!important}.invoices-main-table{table-layout:auto!important}.invoices-main-table th,.invoices-main-table td{font-size:10px;padding:7px 5px}.invoices-main-table .btn.small{font-size:9px;padding:5px 6px}.suppliers-table .row-actions,.team-table .row-actions{flex-direction:column;align-items:stretch}.suppliers-table .btn.small,.team-table .btn.small{width:100%}}.icon-actions-stack,.cashflow-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.icon-actions-stack .icon-action,.cashflow-actions .icon-action{width:34px;height:30px;min-width:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer}.icon-actions-stack .icon-action.danger,.cashflow-actions .icon-action.danger{color:#b42318;border-color:#efcaca}.icon-actions-stack .icon-action:hover,.cashflow-actions .icon-action:hover{background:#faf4f5}.icon-letter{font-size:18px;line-height:1;font-weight:700}.team-icon-actions{gap:4px}.cashflow-table{width:100%;min-width:0;table-layout:fixed}.cashflow-table th,.cashflow-table td{padding:9px 8px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;word-break:normal}.cashflow-table th:nth-child(1){width:8%}.cashflow-table th:nth-child(2){width:28%}.cashflow-table th:nth-child(3){width:12%}.cashflow-table th:nth-child(4){width:11%}.cashflow-table th:nth-child(5){width:11%}.cashflow-table th:nth-child(6){width:11%}.cashflow-table th:nth-child(7){width:11%}.cashflow-table th:nth-child(8){width:8%}.cashflow-table .cashflow-income-col,.cashflow-table .cashflow-expense-col,.cashflow-table .cashflow-balance-col{font-variant-numeric:tabular-nums;text-align:center}.invoices-main-table th:last-child,.invoices-main-table td:last-child{width:7%;text-align:center}.invoices-main-table .icon-actions-stack{gap:4px}.invoices-main-table .icon-action{width:32px;height:29px;min-width:32px}.team-table th:last-child,.team-table td:last-child{text-align:center}.team-table .icon-actions-stack{gap:4px}.team-table .icon-action{width:32px;height:29px;min-width:32px}.commission-table th,.commission-table td{overflow:visible;overflow-wrap:anywhere;word-break:normal;line-height:1.25}.commission-table th:nth-child(1){width:8%}.commission-table th:nth-child(2){width:9%}.commission-table th:nth-child(3){width:12%}.commission-table th:nth-child(4){width:10%}.commission-table th:nth-child(5){width:10%}.commission-table th:nth-child(6){width:9%}.commission-table th:nth-child(7){width:25%}.commission-table th:nth-child(8){width:10%}.commission-table th:nth-child(9){width:7%}.commission-table td:nth-child(1),.commission-table td:nth-child(2){white-space:nowrap}.commission-table td:nth-child(3){text-align:left}.developer-cell{min-width:0;display:flex;flex-direction:column;gap:5px}.developer-allocation-list{display:flex;flex-direction:column;gap:3px;padding-top:3px;border-top:1px solid #eee5e7}.developer-allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(70px,auto);align-items:center;gap:4px;font-size:9px}.developer-allocation-row span{min-width:0;overflow-wrap:anywhere;text-align:left}.developer-allocation-row input{width:48px;min-width:0;padding:3px;border:1px solid #d9d0d3;border-radius:6px;text-align:center;font-size:9px}.developer-allocation-row b{font-size:9px;white-space:nowrap;text-align:right}.developer-allocation-list>small{font-size:8px;color:var(--muted);text-align:right}.developer-editor{border:1px solid var(--line);border-radius:12px;padding:14px;background:snow}.developer-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 110px 36px;gap:8px;align-items:center;margin-top:8px}.developer-editor-row select,.developer-editor-row input{width:100%;min-width:0}.developer-total-line{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:12px}@media (max-width:1100px){.cashflow-table th,.cashflow-table td{font-size:10px;padding:7px 5px}.commission-table th,.commission-table td{font-size:9px;padding:7px 5px}.developer-allocation-row{grid-template-columns:minmax(0,1fr) 42px minmax(62px,auto)}}@media (max-width:800px){.cashflow-table th,.cashflow-table td{font-size:9px;padding:6px 4px}.cashflow-table th:nth-child(1){width:9%}.cashflow-table th:nth-child(2){width:24%}.cashflow-table th:nth-child(3){width:12%}.cashflow-table th:nth-child(4){width:10%}.cashflow-table th:nth-child(5){width:11%}.cashflow-table th:nth-child(6){width:11%}.cashflow-table th:nth-child(7){width:11%}.cashflow-table th:nth-child(8){width:12%}.commission-table th,.commission-table td{font-size:8px;padding:6px 3px}.commission-metric input{width:45px;font-size:8px;padding:3px 1px}.commission-metric span{font-size:8px;white-space:normal}.developer-allocation-row{grid-template-columns:minmax(0,1fr) 36px minmax(50px,auto);font-size:8px}.developer-allocation-row input{width:36px;font-size:8px}.developer-allocation-row b{font-size:8px}.developer-editor-row{grid-template-columns:minmax(0,1fr) 75px 78px 34px;gap:5px}}.cash-opening-card{background:#faf5fb!important;border-color:#e7d6eb!important}.cash-current-card{background:#fff5d9!important;border-color:#eadcae!important}.cash-opening-card b,.cash-current-card b{font-size:24px!important}@media (max-width:1100px){.cash-opening-card b,.cash-current-card b{font-size:20px!important}}.mobile-detail-row{display:none}.mobile-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:4px 2px}.mobile-detail-grid>div{display:flex;flex-direction:column;gap:3px;padding:8px 9px;background:#fff;border:1px solid var(--line);border-radius:9px;min-width:0}.mobile-detail-grid b{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.mobile-detail-grid span{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.mobile-detail-wide{grid-column:1/-1!important}.file-name-only{display:inline-block;font-size:9px;color:var(--muted);max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-edit-btn span{display:inline}@media (max-width:800px){.page{padding:22px 14px 42px;overflow-x:hidden}.section-header{margin-bottom:16px;gap:10px}.section-header h1{font-size:30px}.section-header .btn{white-space:nowrap}.dashboard-alert-grid{margin-bottom:12px}.dashboard-alert-grid .panel{padding:14px}.dashboard-alert-grid .panel:nth-child(2){display:none}.dashboard-event-list{max-height:none}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 16px}.stat-card{min-height:82px;padding:8px 5px;border-radius:11px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.stat-icon{width:27px;height:27px;border-radius:8px;margin:0 0 4px}.stat-icon svg{width:15px;height:15px}.stat-card span{font-size:8px;line-height:1.1;white-space:normal}.stat-card b{font-size:19px;margin-top:2px;line-height:1}.team-table-wrap{overflow:hidden!important}.team-table{width:100%!important;table-layout:fixed!important}.team-table th,.team-table td{font-size:10px!important;padding:9px 5px!important;vertical-align:middle}.team-table th:nth-child(1){width:38%!important}.team-table th:nth-child(2){width:20%!important}.team-table th:nth-child(3){width:24%!important}.team-table th:nth-child(4),.team-table th:nth-child(5),.team-table th:nth-child(6){display:none!important}.team-table th:nth-child(7){width:18%!important}.team-table td:nth-child(4),.team-table td:nth-child(5),.team-table td:nth-child(6){display:none!important}.team-table td:nth-child(1) small{display:none!important}.team-table td:nth-child(1) b,.team-table td:nth-child(2),.team-table td:nth-child(3){font-size:10px!important;line-height:1.25}.team-table .icon-actions-stack{flex-direction:row!important;gap:3px!important;justify-content:flex-end!important}.team-table .icon-action{width:30px!important;min-width:30px!important;height:29px!important}.suppliers-table-wrap,.clients-directory-wrap,.quotes-table-wrap,.invoices-main-wrap,.commission-table-wrap{overflow:hidden!important}.suppliers-table,.clients-directory-table,.quotes-table-wrap table,.invoices-main-table,.commission-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.suppliers-table th,.suppliers-table td{font-size:10px!important;padding:9px 5px!important}.suppliers-table th:nth-child(1){width:39%!important}.suppliers-table th:nth-child(4){width:21%!important}.suppliers-table th:nth-child(5){width:22%!important}.suppliers-table th:nth-child(11){width:18%!important}.suppliers-table th:nth-child(2),.suppliers-table th:nth-child(3),.suppliers-table th:nth-child(6),.suppliers-table th:nth-child(7),.suppliers-table th:nth-child(8),.suppliers-table th:nth-child(9),.suppliers-table th:nth-child(10),.suppliers-table td:nth-child(2),.suppliers-table td:nth-child(3),.suppliers-table td:nth-child(6),.suppliers-table td:nth-child(7),.suppliers-table td:nth-child(8),.suppliers-table td:nth-child(9),.suppliers-table td:nth-child(10){display:none!important}.suppliers-table .row-actions{justify-content:flex-end!important}.suppliers-table .row-actions .btn{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;font-size:0!important}.suppliers-table .row-actions .btn svg{width:15px;height:15px}.clients-directory-table th,.clients-directory-table td{font-size:10px!important;padding:10px 6px!important}.clients-directory-table th:nth-child(1){width:72%!important}.clients-directory-table th:nth-child(6){width:28%!important}.clients-directory-table th:nth-child(2),.clients-directory-table th:nth-child(3),.clients-directory-table th:nth-child(4),.clients-directory-table th:nth-child(5),.clients-directory-table td:nth-child(2),.clients-directory-table td:nth-child(3),.clients-directory-table td:nth-child(4),.clients-directory-table td:nth-child(5){display:none!important}.clients-directory-table td:nth-child(1) small{font-size:9px}.clients-directory-table .row-actions{justify-content:flex-end!important}.clients-directory-table .row-actions .btn{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;font-size:0!important}.clients-directory-table .row-actions .btn svg{width:15px;height:15px}.quotes-table-wrap th,.quotes-table-wrap td{font-size:9px!important;padding:8px 4px!important}.quotes-table-wrap th:nth-child(1){width:17%!important}.quotes-table-wrap th:nth-child(2){width:16%!important}.quotes-table-wrap th:nth-child(3){width:31%!important}.quotes-table-wrap th:nth-child(4){width:20%!important}.quotes-table-wrap th:nth-child(7){width:16%!important}.quotes-table-wrap th:nth-child(5),.quotes-table-wrap th:nth-child(6),.quotes-table-wrap td:nth-child(5),.quotes-table-wrap td:nth-child(6){display:none!important}.quotes-table-wrap .icon-actions-stack{flex-direction:row!important;gap:3px!important;justify-content:flex-end}.quotes-table-wrap .icon-action{width:30px;height:29px;min-width:30px}.quotes-table-wrap .status-select{display:none!important}.invoices-main-table th,.invoices-main-table td{font-size:9px!important;padding:8px 4px!important}.invoices-main-table th:nth-child(1){width:14%!important}.invoices-main-table th:nth-child(2){width:22%!important}.invoices-main-table th:nth-child(3){width:27%!important}.invoices-main-table th:nth-child(4){width:25%!important}.invoices-main-table th:nth-child(8){width:12%!important}.invoices-main-table th:nth-child(5),.invoices-main-table th:nth-child(6),.invoices-main-table th:nth-child(7),.invoices-main-table td:nth-child(5),.invoices-main-table td:nth-child(6),.invoices-main-table td:nth-child(7){display:none!important}.invoices-main-table .icon-actions-stack{flex-direction:row!important;gap:3px!important;justify-content:flex-end}.invoices-main-table .icon-action{width:30px;height:29px;min-width:30px}.commission-table th,.commission-table td{font-size:9px!important;padding:8px 4px!important}.commission-table th:nth-child(1){width:15%!important}.commission-table th:nth-child(2){width:19%!important}.commission-table th:nth-child(3){width:29%!important}.commission-table th:nth-child(4){width:24%!important}.commission-table th:nth-child(9){width:13%!important}.commission-table th:nth-child(5),.commission-table th:nth-child(6),.commission-table th:nth-child(7),.commission-table th:nth-child(8),.commission-table td:nth-child(5),.commission-table td:nth-child(6),.commission-table td:nth-child(7),.commission-table td:nth-child(8){display:none!important}.commission-table .icon-actions-stack{flex-direction:row!important;gap:3px!important;justify-content:flex-end}.commission-table .icon-action{width:30px;height:29px;min-width:30px}.commission-table td:nth-child(4) small{display:none!important}.mobile-detail-row{display:table-row!important}.mobile-detail-row td{display:table-cell!important;padding:8px!important;background:#fcf8f8!important;border-bottom:1px solid var(--line)!important}.mobile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mobile-detail-grid>div{padding:7px;border-radius:8px}.mobile-detail-grid b{font-size:8px}.mobile-detail-grid span{font-size:10px}.file-name-only{font-size:8px;max-width:70px}.task-card{display:grid!important;grid-template-columns:5px minmax(0,1fr);grid-template-areas:"priority content" "priority controls";align-items:start;gap:9px;padding:12px}.task-card .priority{grid-area:priority}.task-card .grow{grid-area:content;min-width:0}.task-card .status-pill,.task-card .status-select{grid-area:controls;justify-self:start;margin-top:2px}.task-card .task-edit-btn,.task-card .task-delete-btn{grid-row:2;align-self:start;margin-top:0}.task-card .task-edit-btn{grid-column:2;justify-self:end;margin-right:38px}.task-card .task-delete-btn{grid-column:2;justify-self:end}.task-card .task-edit-btn span{display:none}.task-card .task-edit-btn,.task-card .task-delete-btn{width:32px;min-width:32px;height:30px;padding:0}.task-card h3{font-size:14px;line-height:1.25}.task-card p,.task-card small{font-size:10px;line-height:1.35}.finance-cards{grid-template-columns:repeat(2,1fr);gap:8px}.finance-cards>div{padding:12px}.finance-cards b{font-size:18px}.cashflow-table{min-width:820px!important;table-layout:fixed!important}.cashflow-table th,.cashflow-table td{font-size:10px!important;padding:8px 7px!important;white-space:normal!important;overflow-wrap:break-word!important}.cashflow-table th:nth-child(1){width:10%!important}.cashflow-table th:nth-child(2){width:28%!important}.cashflow-table th:nth-child(3){width:14%!important}.cashflow-table th:nth-child(4){width:12%!important}.cashflow-table th:nth-child(5){width:11%!important}.cashflow-table th:nth-child(6){width:11%!important}.cashflow-table th:nth-child(7){width:10%!important}.cashflow-table th:nth-child(8){width:8%!important}.table-wrap:has(.cashflow-table){overflow-x:auto!important;-webkit-overflow-scrolling:touch}.cashflow-actions{flex-direction:row!important;gap:4px!important}.cashflow-actions .icon-action{width:29px;height:28px;min-width:29px}}@media (max-width:800px){.cashflow-mobile-wrap{overflow-x:hidden!important;-webkit-overflow-scrolling:touch}.cashflow-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.cashflow-table th,.cashflow-table td{font-size:9px!important;padding:8px 4px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}.cashflow-table th:nth-child(1){width:15%!important}.cashflow-table th:nth-child(2){width:30%!important}.cashflow-table th:nth-child(3),.cashflow-table th:nth-child(4){display:none!important}.cashflow-table th:nth-child(5){width:13%!important}.cashflow-table th:nth-child(6){width:13%!important}.cashflow-table th:nth-child(7){width:14%!important}.cashflow-table th:nth-child(8){width:15%!important}.cashflow-table td:nth-child(3),.cashflow-table td:nth-child(4){display:none!important}.cashflow-table .cashflow-actions{flex-direction:column!important;gap:3px!important;align-items:center!important}.cashflow-table .cashflow-actions .icon-action{width:27px!important;height:27px!important;min-width:27px!important}.cashflow-table .cashflow-income-col,.cashflow-table .cashflow-expense-col,.cashflow-table .cashflow-balance-col{white-space:nowrap!important;overflow-wrap:normal!important;font-size:8px!important}.cashflow-table .mobile-detail-row td{display:table-cell!important;width:auto!important}.cashflow-detail-row .mobile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.invoices-main-table td:last-child .icon-actions-stack,.invoices-main-table .icon-actions-stack{flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important}.invoices-main-table .icon-actions-stack .icon-action{width:30px!important;height:29px!important;min-width:30px!important}.invoices-main-table th:last-child,.invoices-main-table td:last-child{width:12%!important}}.contracted-services-table th,.contracted-services-table td{padding:9px 8px}.contract-month-cards{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:10px;margin-top:10px}.contract-month-card{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}.contract-month-card>span{font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:1px}.contract-month-card input{width:100%;font-variant-numeric:tabular-nums}.contract-month-card small{font-size:9px;font-weight:700;color:var(--muted)}.contract-month-card.paid{background:#eaf7ee;border-color:#bfe4cc}.contract-month-card.partial,.contract-month-card.pending{background:#fff5cf;border-color:#ead58a}.contract-month-card.late{background:#fdeaea;border-color:#efbaba}.contract-month-card.incongruent{background:#eadcff;border-color:#cdb9ee}.contract-month-card.baddebt{background:#fdeaea;border-color:#efbaba}.contract-month-card.empty,.contract-month-card.future{background:#fff}@media (max-width:800px){.tabs{overflow-x:auto;white-space:nowrap;flex-wrap:nowrap}.tabs button{flex:0 0 auto}.contracted-services-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.contracted-services-table{min-width:900px}.contract-month-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.contract-month-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.contract-month-card{padding:8px}.contract-month-card>span{font-size:10px}.contract-month-card input{font-size:12px;padding:7px}}.finance-categories .table-wrap{margin-top:12px}.finance-categories td:last-child{white-space:nowrap}.finance-categories td:first-child small{display:block;margin-top:4px}.completed-tasks-accordion{margin-top:18px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.completed-tasks-accordion>summary{list-style:none;cursor:pointer;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-weight:700;font-size:13px}.completed-tasks-accordion>summary::-webkit-details-marker{display:none}.completed-tasks-accordion>summary:before{content:"›";font-size:18px;margin-right:9px;transition:transform .15s ease}.completed-tasks-accordion[open]>summary:before{transform:rotate(90deg)}.completed-tasks-accordion>summary b{background:#e8f7ee;color:#17734a;border-radius:999px;padding:4px 9px;font-size:11px}.completed-task-list{padding:0 14px 14px;margin-top:0}.completed-task-list .task-card{opacity:.78}.team-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid var(--line);padding-bottom:0}.team-tabs button{border:0;background:transparent;padding:11px 16px;border-bottom:2px solid transparent;color:var(--muted);font-weight:700;display:flex;align-items:center;gap:7px;cursor:pointer}.team-tabs button.active{color:var(--primary);border-bottom-color:var(--primary)}.team-name-button{border:0;background:transparent;padding:0;text-align:left;display:flex;flex-direction:column;cursor:pointer;color:inherit}.team-name-button b{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.team-name-button:hover b{text-decoration-color:var(--primary)}.vacation-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.vacation-team-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;color:inherit}.vacation-team-card:hover{border-color:#d9bcc4;box-shadow:0 4px 14px #3c141e0f}.vacation-team-card .profile-avatar{width:42px;height:42px;min-width:42px}.vacation-team-card .grow{display:flex;flex-direction:column;gap:3px}.vacation-team-card .grow b{font-size:14px}.vacation-team-card .grow span{font-size:11px}.vacation-team-card .grow small{font-size:10px;color:var(--muted)}.team-member-profile{display:flex;flex-direction:column;gap:18px}.team-profile-head{display:flex;align-items:center;gap:14px;padding-bottom:4px}.team-profile-head h2{margin:0}.team-profile-head p{margin:4px 0 0}.profile-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.profile-mini-grid>div{border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:4px}.profile-mini-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}.profile-mini-grid b{font-size:12px}.profile-vacation-section{margin-top:20px}.vacation-panel{display:flex;flex-direction:column;gap:12px}.vacation-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.vacation-head h3{margin:0 0 4px}.vacation-head p{margin:0;max-width:760px}.vacation-rules{display:flex;flex-wrap:wrap;gap:8px}.vacation-rules span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;font-size:10px;background:#fff}.vacation-years{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vacation-year-card{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fff}.vacation-year-card.available{background:#fff7cf;border-color:#e8d277}.vacation-year-card.taken{background:#eaf7ee;border-color:#b8dec5}.vacation-year-card.overdue{background:#fdeaea;border-color:#efb8b8}.vacation-year-card.future{background:#f6f6f6;border-color:#ddd}.vacation-year-main{display:flex;align-items:center;justify-content:space-between;gap:10px}.vacation-year-main>div{display:flex;flex-direction:column;gap:2px}.vacation-year-main b{font-size:20px}.vacation-year-main span{font-size:10px;color:var(--muted)}.vacation-year-main strong{font-size:15px}.vacation-status-label{font-size:11px;font-weight:800;margin-top:8px}.vacation-year-card.taken .vacation-status-label{color:#167447}.vacation-year-card.available .vacation-status-label{color:#806500}.vacation-year-card.overdue .vacation-status-label{color:#a02727}.vacation-year-card small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.vacation-dates{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.vacation-dates span{font-size:9px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px 7px;cursor:pointer}.vacation-dates span:hover{border-color:#c998a5;color:var(--primary)}.calendar-vacation{background:#dfeee3!important;color:#176b43!important}.dot.calendar-vacation{background:#4b9b6b}@media (max-width:800px){.vacation-team-grid,.vacation-years{grid-template-columns:1fr}.vacation-head{flex-direction:column}.profile-mini-grid{grid-template-columns:1fr}.team-tabs{overflow-x:auto}.team-tabs button{flex:0 0 auto}.vacation-rules{display:grid;grid-template-columns:1fr}.vacation-rules span{border-radius:9px}.team-profile-head{align-items:flex-start}}.vacation-now-alert{border:1px solid #b8dec5;background:#eaf7ee;color:#176b43;border-radius:14px;padding:13px 15px;display:flex;flex-direction:column;gap:3px}.vacation-now-alert b{font-size:14px}.vacation-now-alert span{font-size:10px}.schedule-editor{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.schedule-row{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;align-items:center;gap:12px;padding:12px 14px;min-width:0}.schedule-day-name{min-width:0}.schedule-intervals{min-width:0;display:flex;flex-direction:column;gap:7px}.schedule-times{min-width:0;display:flex;align-items:center;gap:7px}.schedule-times input{width:100%;min-width:0}@media (max-width:1100px){.schedule-editor{grid-template-columns:1fr}}@media (max-width:600px){.schedule-editor{grid-template-columns:1fr}.schedule-row{grid-template-columns:1fr!important}.schedule-times{width:100%}}.form-grid>.full,.form-grid>.modal-actions.full{grid-column:1/-1;width:100%;min-width:0}.modal-actions.full{display:flex;justify-content:flex-end;align-items:center;gap:8px;clear:both;margin-top:6px}.schedule-editor{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;width:100%}.schedule-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:14px!important;min-width:0!important;overflow:hidden}.schedule-day-name{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important}.schedule-day-name>b{min-width:0!important;font-size:14px}.schedule-intervals{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;min-width:0!important}.schedule-times{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important}.schedule-times input{width:100%!important;min-width:0!important;box-sizing:border-box}.schedule-off{display:block;padding:7px 0}@media (max-width:900px){.schedule-editor{grid-template-columns:1fr}.schedule-row{padding:13px!important}}@media (max-width:600px){.schedule-editor{grid-template-columns:1fr}.schedule-day-name{align-items:center!important}.modal-actions.full{justify-content:stretch}.modal-actions.full .btn{width:100%;justify-content:center}}.calendar-list .event-row{align-items:center;min-width:0}.calendar-list .event-row .date-box{flex:0 0 76px;width:76px;min-width:76px;height:58px;text-align:center;overflow:hidden}.calendar-list .event-row .date-box b{font-size:16px;line-height:1}.calendar-list .event-row .date-box small{font-size:8px;line-height:1.15;max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-list .event-row .grow{min-width:0}.calendar-list .event-row .grow>b{display:block;overflow-wrap:anywhere;line-height:1.3}.calendar-list .event-row .grow p{overflow-wrap:anywhere;line-height:1.4;margin-top:4px}@media (max-width:600px){.calendar-list .event-row{align-items:flex-start;padding:12px}.calendar-list .event-row .date-box{flex-basis:62px;width:62px;min-width:62px;height:54px}.calendar-list .event-row .date-box small{max-width:54px}.calendar-list .event-row .btn{flex:0 0 auto}}.auth-split{min-height:100vh;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);background:#fff}.auth-side{background:var(--primary);color:#fff;padding:40px 48px;display:flex;flex-direction:column;justify-content:space-between;gap:40px;position:sticky;top:0;height:100vh;background-image:radial-gradient(circle at 85% 10%,rgba(255,255,255,.1),transparent 45%),radial-gradient(circle at 0% 100%,rgba(175,134,70,.25),transparent 50%)}.auth-side .brand-mark{background:#fff;color:var(--primary);box-shadow:none}.auth-side-logo b{color:#fff}.auth-side-logo small{color:#e7cfa4!important}.auth-side-copy .eyebrow{color:#e7cfa4}.auth-side-copy h2{font-family:Playfair Display,Georgia,serif;font-size:38px;line-height:1.12;margin:14px 0 26px;max-width:470px}.auth-side-copy ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.auth-side-copy li{display:flex;gap:12px;align-items:flex-start;color:#ffffffe0;font-size:15px;line-height:1.45}.auth-side-copy li svg{color:#e7cfa4;flex:0 0 auto;margin-top:1px}.auth-side-foot{color:#ffffff8c;font-size:13px}.auth-main{padding:32px 48px 60px;display:flex;flex-direction:column;background:linear-gradient(135deg,#fff,#fbf2f4)}.auth-back{font-size:13px;color:var(--muted);align-self:flex-start}.auth-back:hover{color:var(--primary)}.auth-box{width:100%;max-width:430px;margin:auto}.auth-box h1{font-family:Playfair Display,Georgia,serif;font-size:36px;margin:0 0 8px}.auth-box form{display:flex;flex-direction:column;gap:14px;margin-top:24px}.auth-box label{font-size:12px;font-weight:600;color:#51494e}.auth-box input{margin-top:7px;width:100%}.auth-box .auth-links{margin-top:18px}.auth-box .auth-links a{color:var(--primary);font-size:12px}.auth-help{font-size:12px;margin-top:26px!important;text-align:center}@media (max-width:900px){.auth-split{grid-template-columns:1fr}.auth-side{position:static;height:auto;padding:26px 22px;gap:20px}.auth-side-copy h2{font-size:26px;margin-bottom:14px}.auth-side-foot{display:none}.auth-main{padding:20px 20px 48px}}.portal-welcome{margin-top:10px!important;max-width:720px}.portal-list{display:flex;flex-direction:column;gap:6px;margin-top:14px}.portal-list .dashboard-event-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 14px;color:inherit}.portal-list .dashboard-event-row:hover{background:#fbf4f6}.portal-list .dashboard-event-row b{display:block;font-size:13px}.portal-list .dashboard-event-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.portal-list .dashboard-event-row strong{color:var(--primary);font-size:13px;white-space:nowrap}.portal-dot{width:10px;height:10px;border-radius:50%;background:var(--gold);flex:0 0 10px}.portal-dot.aviso{background:#b42318}.portal-dot.informe,.portal-dot.documento{background:var(--primary)}.portal-empty-line{padding:14px 2px;font-size:13px}.portal-wait{display:flex;gap:14px;align-items:flex-start;color:#755b27;background:#fffaf0;border-color:#eadfca}.portal-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;margin:0 0 12px!important}.portal-legend i.excel-cell{display:inline-block;width:16px;height:12px;min-width:0;padding:0;border-radius:4px;border:1px solid #e5dfe1}.portal-click{cursor:pointer}.portal-click:hover td{background:#fcf8f9}.portal-items{margin:16px 0}.portal-total{display:flex;justify-content:space-between;align-items:center;background:var(--soft);border-radius:12px;padding:14px 16px;margin:12px 0}.portal-total b{color:var(--primary);font-size:22px}.portal-decide{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.portal-decide label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#51494e;margin-bottom:12px}.portal-msg{margin-bottom:14px}.portal-feed{display:flex;flex-direction:column;gap:14px;max-width:880px}.portal-post h3{font-family:Playfair Display,Georgia,serif;font-size:22px;margin:8px 0 10px}.portal-post.aviso{border-left:4px solid var(--primary)}.portal-body{white-space:pre-wrap;color:#4d454a;line-height:1.6;margin:0 0 14px}.portal-kv{display:flex;flex-direction:column;margin-top:10px}.portal-kv>div{padding:11px 0;border-bottom:1px solid #f0e9eb}.portal-kv>div:last-child{border-bottom:0}.portal-kv span{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.portal-kv b{display:block;margin-top:3px}.portal-kv small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.portal-mt{margin-top:14px!important}.portal-checks{display:flex;flex-direction:column;gap:10px;margin-top:14px}.portal-preview-frame{border:1px dashed #dccbd0;border-radius:18px;padding:24px;margin-top:14px;background:#fff}.tabs button{display:inline-flex;align-items:center;gap:7px}.sidebar .logout{font-size:14px}@media (max-width:640px){.portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.portal-stats .stat-card b{font-size:20px!important;overflow-wrap:anywhere}}.ads-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.ads-month{display:flex;align-items:center;gap:8px}.ads-month h2{font-family:Georgia,Times New Roman,serif;font-size:26px;margin:0 6px;min-width:220px;text-align:center}.ads-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.ads-cal{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;margin-bottom:28px}.ads-cal-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#f7f1f2;border-bottom:1px solid var(--line)}.ads-cal-head div{padding:9px 10px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7d6f74}.ads-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line);min-height:96px;row-gap:4px}.ads-week:last-child{border-bottom:0}.ads-day{border-right:1px solid #f0e8ea;padding:6px 9px;cursor:default;min-height:96px}.ads-day:nth-child(7){border-right:0}.ads-day span{font-size:12px;font-weight:700;color:#5b4f54}.ads-day.out{background:#fbf9f9}.ads-day.out span{color:#c3b8bc}.ads-day.today span{background:var(--primary);color:#fff;border-radius:99px;padding:2px 7px}.ads-bar{position:relative;z-index:1;margin:0 4px;border:0;border-radius:8px;padding:4px 9px;text-align:left;display:flex;flex-direction:column;justify-content:center;overflow:hidden;cursor:pointer;color:#2b2326;box-shadow:inset 3px 0 #0000002e;min-width:0}.ads-bar b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ads-bar small{font-size:10.5px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ads-bar.cont{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:0;box-shadow:none}.ads-bar.more{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}.ads-bar:hover{filter:brightness(.96)}.cycle-list{display:flex;flex-direction:column;gap:26px}.cycle-title{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--gold);color:#fff;border-radius:12px 12px 0 0;padding:10px 16px}.cycle-title h3{margin:0;font-size:16px;color:#fff}.cycle-title .btn{background:#ffffffeb}.cycle-block .table-wrap{border-top-left-radius:0;border-top-right-radius:0;margin-top:0}.cycle-table thead th{background:var(--primary)!important;color:#fff!important;text-align:center}.cycle-table td{font-size:13px}.cycle-table td small,.lead-notes small{display:block;color:#7d6f74;font-size:11px}.cycle-table tfoot td{background:#f7f1f2;font-size:13px}.center{text-align:center}.lead-funnel{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:16px}.lead-funnel button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer}.lead-funnel button b{font-size:20px}.lead-funnel button span{font-size:11px;color:#7d6f74;text-align:center}.lead-funnel button.active{border-color:var(--primary);box-shadow:0 0 0 2px #8f0f271f}.lead-funnel button.green b{color:#2f7a32}.lead-funnel button.blue b{color:#2d5f9a}.lead-funnel button.yellow b{color:#9a6b00}.lead-funnel button.gray b{color:#8a8085}.lead-contact a{display:flex;align-items:center;gap:5px;font-size:12.5px;color:inherit;white-space:nowrap}.lead-notes{max-width:240px;font-size:12.5px;color:#5b4f54}select.lead-status{border-radius:99px;padding:4px 8px;font-size:12px;font-weight:700;border:1px solid var(--line);height:auto}select.lead-status.green{background:#e6f4e0;color:#2f7a32}select.lead-status.blue{background:#e4eefb;color:#2d5f9a}select.lead-status.yellow{background:#fff3cf;color:#8a6000}select.lead-status.gray{background:#f0eeee;color:#6f6569}.links-group{margin-bottom:22px}.links-group h3{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}.links-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.link-card{display:flex;align-items:center;gap:12px;padding:14px!important}.link-body{display:flex;flex-direction:column;min-width:0}.link-body b{font-size:14px}.link-value{font-size:13px;color:#3b3236;word-break:break-word}.link-url{font-size:12px;color:var(--primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.link-actions{display:flex;gap:4px}.color-picks{display:flex;gap:6px;flex-wrap:wrap;padding-top:4px}.color-picks button{width:26px;height:26px;border-radius:8px;border:1px solid rgba(0,0,0,.12);cursor:pointer}.color-picks button.on{outline:2px solid var(--primary);outline-offset:2px}.cash-suggest{margin-bottom:16px}.cash-suggest h3{margin:0 0 4px}.ads-detail{margin-top:6px}.modal-actions .grow{flex:1}@media (max-width:900px){.ads-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-funnel{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:640px){.ads-month h2{font-size:20px;min-width:0}.ads-week{min-height:70px}.ads-day{min-height:70px;padding:4px}.ads-bar{padding:3px 5px;margin:0 1px}.ads-bar small{display:none}.ads-bar b{font-size:10.5px}.ads-cal-head div{padding:7px 4px;font-size:10px;letter-spacing:0;text-align:center}.lead-funnel{grid-template-columns:repeat(3,minmax(0,1fr))}.links-grid{grid-template-columns:1fr}}.cycle-table th,.cycle-table td{white-space:nowrap}.cycle-table td:first-child{white-space:normal;min-width:200px}.nowrap-first td:first-child{white-space:nowrap}.client-portal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.client-portal-card{display:flex;align-items:center;gap:12px;padding:14px 16px!important;color:inherit;text-decoration:none;transition:border-color .15s}.client-portal-card:hover{border-color:var(--primary)}.client-portal-card .grow{display:flex;flex-direction:column;min-width:0}.client-portal-card small{color:#7d6f74;font-size:12px}.portal-mb{margin:0 0 14px}.edit-banner{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#2b1a1f;color:#fff;padding:10px 20px;font-size:13px}.edit-banner b{color:#f3d9a4}.edit-banner select{height:34px;border-radius:9px;border:0;padding:0 10px;max-width:260px}.edit-banner .btn{background:#fff;color:#2b1a1f}.edit-banner .grow{flex:1}.edit-hint{display:flex;gap:10px;align-items:center;background:#fbf4e6;border:1px solid #ecdcb8;color:#6d5320;border-radius:12px;padding:10px 14px;margin-bottom:16px;font-size:13px}.nav-item .hidden-tag{margin-left:auto;font-size:10px;color:#a3979b;font-weight:600}.client-portal-card{align-items:flex-start!important}.client-portal-card.off{opacity:.6}.client-portal-card .chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.client-portal-card .chips span{font-size:10.5px;background:#f6eef0;color:#7a3445;border-radius:99px;padding:2px 8px}.client-portal-actions{display:flex;flex-direction:column;gap:6px}.preset-row{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.section-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.section-check{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px 12px;cursor:pointer}.section-check.on{border-color:var(--primary);background:#fbf3f5}.section-check span{display:flex;flex-direction:column}.section-check small{color:#7d6f74;font-size:11.5px}.meta-steps{margin:0 0 14px 18px;padding:0;color:#4b4044;font-size:14px;line-height:1.6}.meta-drop{display:flex;flex-direction:column;align-items:center;gap:8px;border:2px dashed var(--line);border-radius:16px;padding:28px;cursor:pointer;color:#7d6f74;position:relative}.meta-drop:hover{border-color:var(--primary);color:var(--primary)}.meta-drop input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.meta-inline{display:flex;align-items:center;gap:8px;font-size:13px;color:#6f6569}.meta-inline input,.meta-inline select{height:36px}.meta-preview{max-height:52vh;overflow:auto}.meta-preview td small{display:block;color:#7d6f74;font-size:11px;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta-off td{opacity:.45}@media (max-width:640px){.section-checks{grid-template-columns:1fr}}.modal:has(.meta-modal){width:min(1060px,96vw);max-width:none}.meta-preview th,.meta-preview td{white-space:nowrap}.meta-preview td:nth-child(3){white-space:normal;min-width:280px}.view-switch{display:inline-flex;border:1px solid var(--line);border-radius:12px;padding:3px;margin-bottom:14px;background:#fff}.view-switch button{border:0;background:none;padding:7px 14px;border-radius:9px;display:flex;align-items:center;gap:6px;font-weight:600;color:#7d6f74;cursor:pointer}.view-switch button.active{background:var(--primary);color:#fff}.ads-filters{flex-wrap:wrap}.ads-filters select,.ads-filters input[type=date]{height:40px}.bulk-bar{position:sticky;top:60px;z-index:5;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#2b1a1f;color:#fff;border-radius:12px;padding:10px 14px;margin-bottom:12px}.bulk-bar select{height:34px;border-radius:8px;border:0;padding:0 8px}.bulk-bar .btn.ghost{background:#fff}.bulk-bar .grow{flex:1}.ads-group{margin-bottom:18px}.ads-group-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.ads-group-title{border:0;background:none;display:flex;align-items:center;gap:4px;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:700;cursor:pointer;padding:0;color:inherit}.ads-table td small{display:block;color:#7d6f74;font-size:11px}.ads-table td:nth-child(2){white-space:normal;min-width:240px}.ads-table td:nth-child(2) b{font-size:13px}.ads-table tr.row-selected td{background:#fbf3f5}.color-dot{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:7px;vertical-align:middle;border:1px solid rgba(0,0,0,.12)}select.cycle-select{height:32px;font-size:12.5px;border-radius:8px;min-width:120px}.ads-table{table-layout:fixed;width:100%}.ads-table th:nth-child(1){width:44px}.ads-table th:nth-child(2){width:auto}.ads-table th:nth-child(3){width:170px}.ads-table th:nth-child(4){width:140px}.ads-table th:nth-child(5){width:110px}.ads-table th:nth-child(6){width:170px}.ads-table th:nth-child(7){width:160px}.ads-table th:nth-child(8){width:60px}.ads-table td:nth-child(n+3){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}select.cycle-select{height:34px;padding:0 8px;line-height:normal;width:100%;min-width:0}@media (max-width:900px){.ads-table{table-layout:auto}.ads-table td:nth-child(n+3){overflow:visible}}.ads-table td:nth-child(8){overflow:visible;text-overflow:clip}.ads-table th:nth-child(8){width:64px}.level-switch{margin:0 0 0 10px}.level-switch button{padding:5px 11px;font-size:12.5px}.level-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.level-row .level-switch{margin:0}.lvl-tag{display:inline-block;font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:6px;padding:1px 6px;margin-right:7px;vertical-align:1px;background:#efe8ea;color:#6f5b62}.lvl-campaign td{background:#f7f1f2}.lvl-campaign .lvl-tag{background:var(--primary);color:#fff}.lvl-adset td:nth-child(3){padding-left:28px}.lvl-adset .lvl-tag{background:#e9d9b8;color:#6d5320}.lvl-ad td:nth-child(3){padding-left:50px}.btn.danger-text{color:#a3202f}@media (max-width:640px){.level-switch{margin:8px 0 0}}
