:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f7fb;--surface:#fff;--surface-muted:#f8fafc;--border:#dbe3ef;--text:#0f172a;--muted:#64748b;--primary:#2457f5;--primary-dark:#1e46c7;--success:#0f9d6b;--danger:#d93025}*{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}body{background:var(--background);color:var(--text);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;outline:none;width:100%;padding:.85rem .95rem;transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2457f51a}textarea{resize:vertical}.eyebrow{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .45rem;font-size:.74rem;font-weight:700}.hero-copy,.page-copy,.custom-section-copy p,.stat-card span,.section-card-copy p,.empty-state{color:var(--muted);margin:0;line-height:1.6}.auth-shell{z-index:2;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);align-items:center;gap:1.5rem;width:100%;min-height:100vh;padding:1.5rem;display:grid;position:relative}.login-page{background:#0f172a url(/login-background-poster.jpg) 50%/cover no-repeat fixed;width:100%;min-height:100vh;position:relative;overflow:hidden}.login-video-shell{pointer-events:none;z-index:0;background-position:50%;background-repeat:no-repeat;background-size:cover;width:100vw;height:100vh;position:fixed;top:0;left:0}.login-video-shell-poster .login-video-background,.login-video-shell-loading .login-video-background{opacity:0}.login-video-shell-playing .login-video-background{opacity:1}.login-video-background{backface-visibility:hidden;object-fit:cover;opacity:0;pointer-events:none;will-change:opacity;width:100%;min-width:100%;height:100%;min-height:100%;transition:opacity .8s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)translateZ(0)}.login-page-content{z-index:2;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:1.25rem;display:flex;position:relative}.login-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;border:1px solid #ffffffb3;border-radius:16px;width:100%;max-width:400px;padding:2rem 1.75rem;box-shadow:0 24px 60px #0f172a38}.login-card-brand{text-align:center;flex-direction:column;align-items:center;gap:.85rem;margin-bottom:1.5rem;display:flex}.login-card-logo{object-fit:contain;border-radius:12px;width:56px;height:56px}.login-card-brand h1{color:#0f172a;margin:0;font-size:1.5rem;font-weight:700}.login-form{gap:1rem;display:grid}.login-form .field-group label{color:#334155;font-size:.84rem;font-weight:600}.login-form .field-group input{background:#fff;border:1px solid #d1d5db;border-radius:10px;width:100%;min-height:46px;padding:.65rem .85rem;font-size:.95rem}.login-form .field-group input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb26}.login-form-button{width:100%;min-height:46px;margin-top:.35rem}.login-page .auth-hero,.login-page .auth-card,.login-page .feature-list li{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;box-shadow:0 18px 48px #0f172a2e}.login-page .login-credentials-card{background:#eff4fff2}.login-page .eyebrow,.login-page .auth-hero h1,.login-page .auth-card-header h2{color:#0f172a}.login-page .hero-copy,.login-page .login-credentials-card span{color:#475569}.auth-hero,.auth-card,.content-panel,.stat-card,.section-card{background:var(--surface);border:1px solid var(--border);border-radius:8px}.auth-hero{padding:2.25rem}.auth-hero h1,.page-headline h2{margin:0 0 .85rem;font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.08}.login-credentials-card{background:#eff4ff;border:1px solid #d6e2ff;border-radius:8px;gap:.35rem;margin:1.5rem 0;padding:1rem 1.1rem;display:grid}.login-credentials-card p,.login-credentials-card span{color:var(--muted);margin:0}.feature-list{gap:.75rem;margin:1.25rem 0 0;padding:0;list-style:none;display:grid}.feature-list li{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.9rem 1rem}.auth-panel{justify-content:center;display:flex}.auth-card{width:100%;max-width:460px;padding:1.75rem}.auth-card-header{margin-bottom:1.25rem}.auth-card-header h2,.content-panel h3,.section-card-copy h3,.stat-card strong{margin:0}.auth-form,.settings-form{gap:1rem;display:grid}.field-group{gap:.45rem;display:grid}.field-group label{font-weight:700}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.field-hint{color:var(--muted);margin:0;font-size:.92rem}.flaticon-icon-picker{gap:.85rem;display:grid}.flaticon-icon-picker-toolbar{gap:.45rem;display:grid}.flaticon-icon-picker-search{border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;min-height:44px;padding:0 .85rem}.flaticon-icon-picker-selected{border:1px solid var(--border);color:var(--text);background:#f8fafc;border-radius:10px;align-items:center;gap:.65rem;width:fit-content;padding:.65rem .85rem;font-weight:600;display:inline-flex}.flaticon-icon-picker-preview{border:1px solid var(--border);color:var(--primary);background:#fff;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.flaticon-icon-picker-preview .fi{font-size:1.1rem}.flaticon-icon-picker-grid{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:.65rem;max-height:320px;padding-right:.15rem;display:grid;overflow:auto}.flaticon-icon-picker-option{border:1px solid var(--border);color:var(--text);cursor:pointer;text-align:center;background:#fff;border-radius:10px;place-items:center;gap:.45rem;min-height:92px;padding:.75rem .5rem;transition:border-color .2s,background-color .2s,box-shadow .2s;display:grid}.flaticon-icon-picker-option .fi{color:var(--primary);font-size:1.35rem}.flaticon-icon-picker-option span{font-size:.78rem;font-weight:600;line-height:1.2}.flaticon-icon-picker-option:hover,.flaticon-icon-picker-option.is-selected{background:#eff6ff;border-color:#93c5fd;box-shadow:0 0 0 1px #bfdbfe}.flaticon-icon-picker-empty{color:var(--muted);grid-column:1/-1;margin:0;padding:1rem 0}.primary-button,.ghost-button,.text-link{border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:0 1rem;font-weight:700;transition:background-color .2s,border-color .2s,color .2s;display:inline-flex}.primary-button{background:var(--primary);border:1px solid var(--primary);color:#fff}.primary-button:hover{background:var(--primary-dark);border-color:var(--primary-dark)}.ghost-button{border:1px solid var(--border);color:var(--text);background:#fff}.ghost-button:hover{border-color:#bfd0e5}.text-link{color:var(--primary);justify-content:flex-start;min-height:auto;padding:0}.primary-button:disabled,.ghost-button:disabled{cursor:not-allowed;opacity:.7}.form-error,.form-success{border-radius:8px;margin:0;padding:.85rem .95rem}.form-error{color:var(--danger);background:#d9302514}.form-success{color:var(--success);background:#0f9d6b1a}.dashboard-shell{width:100%;min-height:100vh;padding:0}.dashboard-header{border-bottom:1px solid var(--border);z-index:20;background:#fffffffa;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;margin:0;padding:.85rem 1.25rem;display:grid;position:sticky;top:0;left:0;right:0}.header-user,.user-card,.nav-tile,.custom-section-item,.custom-detail-panel,.section-card-header,.section-card-footer,.page-hero,.page-hero-main{align-items:center;display:flex}.header-nav{flex-wrap:wrap;align-items:stretch;gap:.6rem;min-width:0;display:flex}.nav-tile{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;min-width:88px;max-width:108px;min-height:104px;padding:.65rem .45rem .55rem;transition:background .15s,border-color .15s,box-shadow .15s,color .15s,transform .15s;box-shadow:0 1px 2px #0f172a0a}.nav-tile:hover{background:#fff;border-color:#c9d7ef;transform:translateY(-1px);box-shadow:0 4px 10px #2457f514}.nav-tile-active{color:var(--primary-dark);background:#eff4ff;border-color:#b8ccff;box-shadow:0 4px 12px #2457f51f}.nav-tile-label{color:#334155;word-break:break-word;max-width:100%;font-size:.74rem;font-weight:600;line-height:1.2;display:block}.nav-tile-active .nav-tile-label{color:var(--primary-dark)}.nav-tile .section-logo{flex-shrink:0}.nav-tile .section-logo-nav{border-radius:12px;width:54px;height:54px}.nav-tile .section-logo-nav .fi{font-size:1.75rem}.nav-tile .section-logo-image img{padding:8px}.section-logo,.user-avatar,.custom-section-logo{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.section-logo{border:1px solid #0000;border-radius:8px}.section-logo svg,.section-logo .fi{line-height:1;display:block}.section-logo .fi{font-size:1rem}.section-logo svg{fill:currentColor;width:58%;height:58%}.section-logo-sm .fi{font-size:.9rem}.section-logo-nav .fi{font-size:1.75rem}.section-logo-md .fi{font-size:1.15rem}.section-logo-lg .fi{font-size:1.35rem}.section-logo-sm{width:32px;height:32px}.section-logo-nav{width:54px;height:54px}.section-logo-md{width:44px;height:44px}.section-logo-lg{width:56px;height:56px}.section-logo[data-icon=dashboard],.section-logo[data-icon-theme=dashboard]{color:#3156da;background:#e9efff;border-color:#d7e2ff}.section-logo[data-icon=report],.section-logo[data-icon-theme=report]{color:#0b75b7;background:#eaf7ff;border-color:#d5efff}.section-logo[data-icon=expense],.section-logo[data-icon-theme=expense]{color:#c56a13;background:#fff3e7;border-color:#ffe0c1}.section-logo[data-icon=customer],.section-logo[data-icon-theme=customer]{color:#1b8f59;background:#eefaf3;border-color:#d7f0e2}.section-logo[data-icon=vendor],.section-logo[data-icon-theme=vendor]{color:#6d47d8;background:#f4efff;border-color:#e4d7ff}.section-logo[data-icon=safe],.section-logo[data-icon-theme=safe]{color:#185adb;background:#eef5ff;border-color:#d7e6ff}.section-logo[data-icon=refund],.section-logo[data-icon-theme=refund]{color:#dc2626;background:#fef2f2;border-color:#fecaca}.section-logo[data-icon=profit],.section-logo[data-icon-theme=profit]{color:#047857;background:#ecfdf5;border-color:#bbf7d0}.section-logo[data-icon=invoices],.section-logo[data-icon-theme=invoices]{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.section-logo[data-icon=users],.section-logo[data-icon-theme=users]{color:#5b21b6;background:#ede9fe;border-color:#ddd6fe}.section-logo[data-icon=settings],.section-logo[data-icon-theme=settings]{color:#52525b;background:#f4f4f5;border-color:#e4e4e7}.section-logo[data-icon-theme=ticket]{color:#ea580c;background:#fff7ed;border-color:#fdba74}.section-logo[data-icon-theme=hotel]{color:#a16207;background:#fef9c3;border-color:#fde047}.section-logo[data-icon-theme=visa]{color:#047857;background:#ecfdf5;border-color:#86efac}.section-logo[data-icon-theme=document]{color:#0369a1;background:#f0f9ff;border-color:#7dd3fc}.section-logo[data-icon-theme=form]{color:#a21caf;background:#fdf4ff;border-color:#f0abfc}.section-logo[data-icon-theme=insurance]{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.section-logo[data-icon-theme=translate]{color:#15803d;background:#f0fdf4;border-color:#86efac}.section-logo[data-icon-theme=interview]{color:#7e22ce;background:#faf5ff;border-color:#d8b4fe}.section-logo[data-icon-theme=flight]{color:#0e7490;background:#ecfeff;border-color:#67e8f9}.section-logo[data-icon-theme=tour]{color:#be123c;background:#fff1f2;border-color:#fda4af}.section-logo[data-icon-theme=transport]{color:#475569;background:#f8fafc;border-color:#cbd5e1}.section-logo[data-icon-theme=luggage]{color:#92400e;background:#fef3c7;border-color:#fcd34d}.section-logo[data-icon-theme=booking]{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.section-logo[data-icon-theme=payment]{color:#4d7c0f;background:#ecfccb;border-color:#bef264}.section-logo[data-icon-theme=mail]{color:#0369a1;background:#e0f2fe;border-color:#bae6fd}.section-logo[data-icon-theme=phone]{color:#166534;background:#dcfce7;border-color:#bbf7d0}.section-logo[data-icon-theme=group]{color:#a21caf;background:#fae8ff;border-color:#f5d0fe}.section-logo[data-icon-theme=business]{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.section-logo[data-icon-theme=guide]{color:#9a3412;background:#fff7ed;border-color:#fdba74}.section-logo[data-icon-theme=general]{color:#4f46e5;background:#eef2ff;border-color:#dce4ff}.section-logo[data-icon-theme=accent-0]{color:#e11d48;background:#fff1f2;border-color:#fecdd3}.section-logo[data-icon-theme=accent-1]{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}.section-logo[data-icon-theme=accent-2]{color:#4d7c0f;background:#f7fee7;border-color:#d9f99d}.section-logo[data-icon-theme=accent-3]{color:#c2410c;background:#fff7ed;border-color:#fdba74}.section-logo[data-icon-theme=accent-4]{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.section-logo[data-icon-theme=accent-5]{color:#0f766e;background:#ecfeff;border-color:#99f6e4}.section-logo[data-icon-theme=accent-6]{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.section-logo[data-icon-theme=accent-7]{color:#0f766e;background:#f0fdfa;border-color:#99f6e4}.section-logo-image{border-color:var(--border);background:#fff}.section-logo img,.custom-section-logo img{object-fit:contain;width:100%;height:100%;padding:6px}.header-user{gap:.75rem}.user-card{border:1px solid var(--border);background:#fff;border-radius:8px;gap:.65rem;padding:.45rem .55rem}.user-avatar{color:var(--primary-dark);background:#eef4ff;border:1px solid #d7e2ff;border-radius:8px;width:34px;height:34px;font-size:.82rem;font-weight:700}.user-card p,.stat-card p,.detail-label{color:var(--muted);margin:0}.dashboard-main{padding:1.25rem}.page-stack{gap:1.25rem;display:grid}.page-hero{justify-content:space-between;gap:1rem}.page-hero-main{align-items:flex-start;gap:1rem}.page-headline{gap:.15rem;display:grid}.stats-grid,.card-grid,.detail-grid{gap:1rem;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{gap:.45rem;padding:1.15rem;display:grid}.stat-card strong{font-size:1.95rem}.card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.section-card{flex-direction:column;justify-content:space-between;gap:1rem;min-height:180px;padding:1rem;display:flex}.section-card-header{align-items:flex-start;gap:.9rem}.section-card-copy{gap:.45rem;display:grid}.section-card-footer{justify-content:space-between;gap:.75rem}.section-meta{color:var(--muted);font-size:.85rem}.content-panel{gap:1rem;padding:1.15rem;display:grid}.section-workspace-header,.section-toolbar,.section-modal-header,.section-modal-actions{align-items:center;display:flex}.section-workspace-header{justify-content:space-between;gap:1rem}.section-toolbar{gap:.75rem;min-width:420px}.section-toolbar-full{justify-content:flex-end;width:100%}.section-search{background:#fff;min-width:280px}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:1450px}.data-table th,.data-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:.9rem .75rem;font-size:.9rem}.data-table th{color:#334155;text-transform:uppercase;white-space:nowrap;background:#f8fafc;font-size:.78rem;font-weight:700}.data-table tbody tr:hover{background:#fafcff}.table-actions{gap:.5rem;display:flex}.table-action-button{min-height:34px;padding:0 .75rem}.table-action-delete{color:#b91c1c;border-color:#fecaca}.table-action-delete:hover{border-color:#fca5a5}.empty-table{color:var(--muted);text-align:center!important}.status-badge{white-space:nowrap;border-radius:999px;padding:.28rem .6rem;font-size:.76rem;font-weight:700;display:inline-flex}.status-debt{color:#be123c;background:#fff1f2}.status-partial{color:#c2410c;background:#fff7ed}.status-paid{color:#047857;background:#ecfdf5}.status-credit{color:#4338ca;background:#eef2ff}.modal-overlay{z-index:60;background:#0f172a59;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.section-modal{border:1px solid var(--border);background:#fff;border-radius:8px;width:min(1100px,100%);max-width:1100px;max-height:calc(100vh - 3rem);overflow:auto}.section-modal-header{color:#fff;background:#5f7cf0;justify-content:space-between;padding:.9rem 1rem}.section-modal-header h3{margin:0}.modal-close{color:#fff;background:0 0;border:none;padding:0;font-size:1rem;font-weight:700}.section-modal-form{gap:1rem;padding:1rem;display:grid}.section-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.field-group-span-2{grid-column:span 2}.section-modal-actions{justify-content:flex-end;gap:.75rem}.section-modal-wide{max-width:760px}.checkbox-label{align-items:center;gap:.5rem;min-height:42px;font-size:.92rem;display:inline-flex}.user-section-permissions{border-top:1px solid var(--border);margin-top:.5rem;padding-top:1rem}.user-section-permissions h4{margin:0 0 .35rem;font-size:.95rem}.user-section-permissions-copy{color:#64748b;margin:0 0 .75rem;font-size:.88rem;line-height:1.45}.user-section-permissions-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.6rem;display:grid}.user-section-permission-item{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:18px 32px minmax(0,1fr);align-items:center;gap:.55rem .65rem;min-height:52px;padding:.6rem .7rem;transition:border-color .15s,box-shadow .15s;display:grid}.user-section-permission-item:hover{border-color:#cbd5e1}.user-section-permission-item.is-selected{background:#fafbff;border-color:#a5b4fc;box-shadow:inset 0 0 0 1px #c7d2fe}.user-section-permission-checkbox{accent-color:#6366f1;cursor:pointer;width:16px;height:16px;margin:0}.user-section-permission-item .section-logo-sm{flex-shrink:0}.user-section-permission-label{color:#0f172a;word-break:break-word;font-size:.86rem;font-weight:600;line-height:1.25}.user-section-permission-item[data-icon=report].is-selected{background:#f0f9ff;border-color:#7dd3fc;box-shadow:inset 0 0 0 1px #bae6fd}.user-section-permission-item[data-icon=expense].is-selected{background:#fff7ed;border-color:#fdba74;box-shadow:inset 0 0 0 1px #fed7aa}.user-section-permission-item[data-icon=customer].is-selected{background:#f0fdf4;border-color:#86efac;box-shadow:inset 0 0 0 1px #bbf7d0}.user-section-permission-item[data-icon=vendor].is-selected{background:#faf5ff;border-color:#d8b4fe;box-shadow:inset 0 0 0 1px #e9d5ff}.user-section-permission-item[data-icon=safe].is-selected{background:#eff6ff;border-color:#93c5fd;box-shadow:inset 0 0 0 1px #bfdbfe}.user-section-permission-item[data-icon=refund].is-selected{background:#fdf2f8;border-color:#f9a8d4;box-shadow:inset 0 0 0 1px #fbcfe8}.user-sections-table-cell{vertical-align:middle;min-width:280px}.user-sections-cell{flex-direction:column;gap:.45rem;display:flex}.user-sections-badge{border-radius:999px;width:fit-content;padding:.2rem .55rem;font-size:.75rem;font-weight:700;display:inline-block}.user-sections-badge-admin{color:#5b21b6;background:#ede9fe}.user-sections-badge-empty{color:#64748b;cursor:pointer;font:inherit;background:#fff;border:1px dashed #cbd5e1;padding:.35rem .65rem}.user-sections-badge-empty:hover{color:#334155;background:#f8fafc;border-color:#94a3b8}.user-section-chips{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.user-section-chip{color:#0f172a;cursor:default;font:inherit;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:.35rem;padding:.2rem .55rem .2rem .25rem;font-size:.78rem;font-weight:600;line-height:1.2;display:inline-flex}button.user-section-chip{cursor:pointer;transition:border-color .15s,transform .15s}button.user-section-chip:hover{border-color:#a5b4fc;transform:translateY(-1px)}.user-section-chip[data-icon=report]{background:#f0f9ff;border-color:#bae6fd}.user-section-chip[data-icon=expense]{background:#fff7ed;border-color:#fed7aa}.user-section-chip[data-icon=customer]{background:#f0fdf4;border-color:#bbf7d0}.user-section-chip[data-icon=vendor]{background:#faf5ff;border-color:#e9d5ff}.user-section-chip[data-icon=safe]{background:#eff6ff;border-color:#bfdbfe}.user-section-chip[data-icon=refund]{background:#fdf2f8;border-color:#fbcfe8}.user-section-chip[data-icon-theme=ticket]{background:#fff7ed;border-color:#fdba74}.user-section-chip[data-icon-theme=hotel]{background:#fef9c3;border-color:#fde047}.user-section-chip[data-icon-theme=visa]{background:#ecfdf5;border-color:#86efac}.user-section-chip[data-icon-theme=document]{background:#f0f9ff;border-color:#7dd3fc}.user-section-chip[data-icon-theme=form]{background:#fdf4ff;border-color:#f0abfc}.user-section-chip[data-icon-theme=insurance]{background:#eff6ff;border-color:#93c5fd}.user-section-chip[data-icon-theme=translate]{background:#f0fdf4;border-color:#86efac}.user-section-chip[data-icon-theme=interview]{background:#faf5ff;border-color:#d8b4fe}.user-section-chip[data-icon-theme=flight],.user-section-chip[data-icon-theme=tour],.user-section-chip[data-icon-theme=transport],.user-section-chip[data-icon-theme=luggage],.user-section-chip[data-icon-theme=booking],.user-section-chip[data-icon-theme=payment],.user-section-chip[data-icon-theme=mail],.user-section-chip[data-icon-theme=phone],.user-section-chip[data-icon-theme=group],.user-section-chip[data-icon-theme=business],.user-section-chip[data-icon-theme=guide],.user-section-chip[data-icon-theme=general],.user-section-chip[data-icon-theme=accent-0],.user-section-chip[data-icon-theme=accent-1],.user-section-chip[data-icon-theme=accent-2],.user-section-chip[data-icon-theme=accent-3],.user-section-chip[data-icon-theme=accent-4],.user-section-chip[data-icon-theme=accent-5],.user-section-chip[data-icon-theme=accent-6],.user-section-chip[data-icon-theme=accent-7]{background:#eef2ff;border-color:#dce4ff}.user-section-chip[data-icon]:not([data-icon=report]):not([data-icon=expense]):not([data-icon=customer]):not([data-icon=vendor]):not([data-icon=safe]):not([data-icon=refund]):not([data-icon-theme]){background:#eef2ff;border-color:#c7d2fe}.profit-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;display:grid}.profit-summary-card{border:1px solid var(--border);background:#fff;border-radius:14px;flex-direction:column;gap:.2rem;padding:.9rem 1rem;display:flex}.profit-summary-card p{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:700}.profit-summary-card strong{color:#0f172a;font-size:1.35rem;line-height:1.2}.profit-summary-card span{color:#64748b;font-size:.82rem}.profit-summary-card-highlight{background:linear-gradient(#f0fdf4 0%,#fff 100%);border-color:#bbf7d0}.profit-summary-card-highlight strong{color:#047857}.profit-summary-card-commission{background:linear-gradient(#eff6ff 0%,#fff 100%);border-color:#bfdbfe}.profit-summary-card-commission strong{color:#1d4ed8}.profit-report-role{color:#64748b;margin-top:.15rem;font-size:.78rem;font-weight:500;display:block}.profit-report-money{color:#047857;font-weight:700}.profit-report-commission{color:#1d4ed8;font-weight:700}.profit-report-detail-row td{background:#f8fafc;padding:.75rem}.profit-detail-panel{flex-direction:column;gap:.75rem;display:flex}.profit-detail-summary{flex-wrap:wrap;gap:.75rem 1.25rem;display:flex}.profit-detail-summary p{margin:0}.profit-detail-summary span{color:#64748b;font-size:.84rem}.profit-detail-empty{color:#64748b;margin:0}.profit-source-badge{border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:700;display:inline-block}.profit-source-section{color:#4338ca;background:#eef2ff}.profit-source-refund{color:#be185d;background:#fdf2f8}.profit-detail-table .profit-source-badge{margin-right:.35rem;display:inline-block}.profit-payment-badge{color:#475569;background:#f1f5f9;border-radius:999px;margin-top:.2rem;padding:.1rem .45rem;font-size:.72rem;font-weight:600;display:inline-block}.profit-report-totals-row td{background:#f8fafc;border-top:2px solid #e2e8f0}.profit-report-footnote{color:#64748b;margin:0;font-size:.86rem}.invoices-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.invoices-type-filter{border:1px solid var(--border);background:#fff;border-radius:10px;min-width:220px;padding:.65rem .85rem}.invoices-table{min-width:1960px}.invoice-whatsapp-cell{flex-direction:column;gap:.25rem;min-width:2rem;display:flex}.invoice-whatsapp-error{color:#dc2626;white-space:normal;max-width:120px;font-size:.72rem;line-height:1.2}.invoice-whatsapp-hint{color:#15803d;white-space:normal;max-width:140px;font-size:.72rem;line-height:1.2}.invoice-whatsapp-button-loading{cursor:wait;opacity:.7}.invoice-whatsapp-button{color:#fff;background:#22c55e;border:none;border-radius:999px;justify-content:center;align-items:center;width:2rem;height:2rem;text-decoration:none;display:inline-flex}.invoice-whatsapp-button:hover{color:#fff;background:#16a34a}.invoice-whatsapp-button-disabled{cursor:not-allowed;background:#d1d5db}.invoice-whatsapp-icon{width:1.1rem;height:1.1rem}.customer-statement-whatsapp-table,.customer-statement-whatsapp-toolbar{flex-direction:column;gap:.2rem;display:inline-flex}.customer-statement-whatsapp-table-button,.customer-statement-whatsapp-toolbar-button{align-items:center;gap:.35rem;display:inline-flex}.customer-statement-whatsapp-table-button .invoice-whatsapp-icon,.customer-statement-whatsapp-toolbar-button .invoice-whatsapp-icon{color:#16a34a}.whatsapp-share-modal{width:min(520px,100vw - 2rem);max-width:520px}.whatsapp-share-modal-body{flex-direction:column;gap:.85rem;padding:0 1.25rem 1.25rem;display:flex}.whatsapp-share-modal-summary{color:#334155;margin:0;font-size:.92rem}.whatsapp-share-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;height:280px;overflow:hidden}.whatsapp-share-preview iframe{border:0;width:100%;height:100%}.whatsapp-share-modal-note{color:#475569;margin:0;font-size:.85rem;line-height:1.45}.whatsapp-share-modal-hint{color:#15803d;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:.5rem;margin:0;padding:.65rem .75rem;font-size:.85rem;line-height:1.4}.whatsapp-share-modal-error{color:#dc2626;margin:0;font-size:.85rem}.whatsapp-share-modal-actions{justify-content:flex-end}.whatsapp-share-send-button{background:#22c55e;border-color:#22c55e}.whatsapp-share-send-button:hover{background:#16a34a;border-color:#16a34a}.whatsapp-connection-panel{flex-direction:column;gap:1rem;display:flex}.whatsapp-panel-status{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:.65rem;padding:1rem;display:flex}.whatsapp-panel-status-connected{background:#ecfdf5;border-color:#bbf7d0}.whatsapp-panel-status p,.whatsapp-panel-note{color:#475569;margin:0;font-size:.9rem;line-height:1.45}.whatsapp-panel-qr{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;align-self:flex-start;width:100%;max-width:280px;height:auto}.whatsapp-panel-error{color:#dc2626;margin:0;font-size:.88rem}.invoices-note-cell{white-space:normal;word-break:break-word;max-width:220px}.status-badge.invoice-type-service{color:#4338ca;background:#eef2ff}.status-badge.invoice-type-customer-payment{color:#1d4ed8;background:#dbeafe}.status-badge.invoice-type-vendor-payment{color:#4338ca;background:#e0e7ff}.status-badge.invoice-type-customer-refund{color:#be185d;background:#fce7f3}.status-badge.invoice-type-vendor-refund{color:#9d174d;background:#fdf2f8}.status-badge.invoice-type-customer-discount{color:#b45309;background:#fef3c7}.status-badge.invoice-type-expense{color:#c56a13;background:#fff3e7}.invoices-summary-grid{flex-wrap:nowrap;grid-template-columns:none;gap:.85rem;width:100%;display:flex;overflow-x:auto}.invoices-summary-grid .profit-summary-card{flex:1 1 0;min-width:150px}.invoices-type-cell{flex-direction:column;gap:.35rem;min-width:140px;display:flex}.invoices-type-service-name{color:#334155;white-space:normal;font-size:.82rem;font-weight:600;line-height:1.35}.report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;width:100%;display:grid}.report-page{gap:0}.report-page-filters{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-wrap:wrap;align-items:end;gap:.85rem;margin-bottom:1rem;padding:1rem 1.1rem;display:flex}.report-page-filters-row{flex-wrap:wrap;align-items:end;gap:.85rem;width:100%;display:flex}.report-page-filters-search-row{border-top:1px solid #e5e7eb;margin-top:.25rem;padding-top:.85rem}.report-page-filters .field-group{min-width:180px}.report-page-filters .field-group label{color:#374151;margin-bottom:.35rem;font-size:.82rem;font-weight:600;display:block}.report-page-filters .field-group input,.report-page-filters .field-group select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:42px;padding:.55rem .75rem;font-size:.92rem}.report-page-filters-apply{min-height:42px}@media (max-width:768px){.report-page-filters .field-group{min-width:100%}.report-page-filters-apply{width:100%}}.report-metric-card{border:none;border-radius:10px;flex-direction:column;justify-content:center;gap:.65rem;min-height:96px;padding:1rem 1.15rem;display:flex}.report-metric-label{color:#4b5563;letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:700;line-height:1.2}.report-metric-value{color:#111827;word-break:break-word;font-size:clamp(1.05rem,1.35vw,1.45rem);font-weight:800;line-height:1.2}.report-metric-card-sale{background:#eef2ff}.report-metric-card-payment{background:#ecfdf5}.report-metric-card-debt{background:#fffbeb}.report-metric-card-discount{background:#fef2f2}.report-metric-card-return{background:#ecfeff}.report-metric-card-expense{background:#f5f3ff}.report-metric-card-profit{background:#f7fee7}@media (max-width:1100px){.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.report-summary-grid{grid-template-columns:1fr}}.report-summary-note{flex-direction:column;gap:.45rem;display:flex}.report-summary-note p{color:#475569;margin:0;font-size:.9rem}.dashboard-charts{flex-direction:column;gap:1rem;width:100%;display:flex}.dashboard-charts-loading{opacity:.72;pointer-events:none}.dashboard-charts-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.1rem 1.25rem;display:flex}.dashboard-charts-toolbar h3{color:#0f172a;margin:.2rem 0 .35rem;font-size:1.2rem}.dashboard-charts-controls{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.dashboard-charts-controls .field-group{flex-direction:column;gap:.35rem;min-width:190px;display:flex}.dashboard-charts-controls .field-group span{color:#374151;font-size:.82rem;font-weight:600}.dashboard-charts-controls select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:42px;padding:.55rem .75rem;font-size:.92rem}.dashboard-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;width:100%;display:grid}.dashboard-chart-grid-wide{grid-template-columns:minmax(0,1fr)}.dashboard-chart-grid-pies{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-chart-panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:.75rem;min-height:360px;padding:1rem 1.1rem 1.1rem;display:flex;box-shadow:0 8px 24px #0f172a0a}.dashboard-chart-panel-head h3{color:#0f172a;margin:0;font-size:1rem}.dashboard-chart-panel-head p{color:#64748b;margin:.35rem 0 0;font-size:.84rem}.dashboard-chart-canvas{flex:1;min-height:300px}.dashboard-chart-empty{color:#64748b;text-align:center;justify-content:center;align-items:center;height:100%;min-height:260px;margin:0;font-size:.92rem;display:flex}.dashboard-chart-tooltip{color:#f8fafc;background:#0f172a;border-radius:10px;flex-direction:column;gap:.35rem;padding:.7rem .85rem;display:flex;box-shadow:0 12px 30px #0f172a2e}.dashboard-chart-tooltip strong{font-size:.84rem}.dashboard-chart-tooltip p{align-items:center;gap:.45rem;margin:0;font-size:.8rem;display:flex}.dashboard-chart-tooltip span{border-radius:999px;width:8px;height:8px;display:inline-block}@media (max-width:1200px){.dashboard-chart-grid-pies{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.dashboard-chart-grid,.dashboard-chart-grid-pies{grid-template-columns:minmax(0,1fr)}}.profit-detail-panel,.selling-detail-panel{margin-top:1rem}.selling-detail-table{min-width:1500px}.selling-profit-cell{color:#047857;font-weight:700}.sale-by-customer-panel{margin-top:1rem}.sale-by-customer-table{min-width:1200px}.sale-by-service-panel{margin-top:1rem}.sale-by-service-table{min-width:1100px}.discount-detail-panel{margin-top:1rem}.discount-detail-table{min-width:1200px}.discount-amount-cell{color:#b45309;font-weight:600}.customer-debt-payment-panel{margin-top:1rem}.customer-debt-payment-table{min-width:1000px}.customer-debt-amount-cell{color:#b91c1c;font-weight:600}.profit-detail-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.profit-detail-header h3{margin:0 0 .35rem}.profit-detail-summary{color:#64748b;flex-wrap:wrap;gap:1rem;margin:0;font-size:.9rem;display:flex}.profit-detail-summary strong{color:#0f172a}.profit-detail-actions{flex-shrink:0;gap:.55rem;display:flex}.profit-export-button{color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.55rem .9rem;font-size:.82rem;font-weight:700}.profit-export-button:disabled{cursor:not-allowed;opacity:.7}.profit-export-button-excel{background:#16a34a}.profit-export-button-pdf{background:#dc2626}.profit-detail-filter{flex-wrap:wrap;align-items:end;gap:.75rem;margin-bottom:1rem;display:flex}.profit-detail-table{min-width:980px}.profit-detail-type{text-transform:lowercase;border-radius:999px;padding:.2rem .55rem;font-size:.78rem;font-weight:700;display:inline-block}.profit-detail-type-sale_margin,.profit-detail-type-refund_margin{color:#047857;background:#ecfdf5}.profit-detail-type-expense{color:#b91c1c;background:#fef2f2}.profit-detail-type-gift{color:#c2410c;background:#fff7ed}.profit-detail-type-vendor_payment{color:#b91c1c;background:#fef2f2}.profit-detail-invoice-link{color:#2563eb;font-weight:600;text-decoration:none}.profit-detail-invoice-link:hover{text-decoration:underline}.profit-detail-description{white-space:normal;word-break:break-word;max-width:320px}.profit-detail-amount-negative{color:#dc2626;font-weight:700}.profit-detail-amount-positive{color:#0f172a;font-weight:700}.profit-detail-footer{margin-top:.85rem}.profit-detail-view-all{color:#2563eb;font-size:.92rem;font-weight:600;text-decoration:none}.profit-detail-view-all:hover{text-decoration:underline}@media (max-width:1100px){.profit-summary-grid:not(.invoices-summary-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.profit-summary-grid:not(.invoices-summary-grid){grid-template-columns:1fr}}.settings-layout{grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:1rem;display:grid}.entity-table{min-width:980px}.custom-section-list{gap:.85rem;display:grid}.custom-section-item{background:var(--surface-muted);border:1px solid var(--border);border-radius:8px;align-items:flex-start;gap:.9rem;padding:.9rem}.custom-section-logo{border:1px solid var(--border);background:#fff;border-radius:8px;width:48px;height:48px}.custom-section-generated.section-logo{border:none;border-radius:0;width:100%;height:100%}.custom-section-copy{gap:.3rem;display:grid}.custom-section-copy span{color:var(--primary-dark);font-size:.88rem;font-weight:700}.custom-section-item-actions{gap:.75rem;margin-top:.5rem;display:grid}.custom-section-edit-icon-button{justify-self:start;min-height:36px}.custom-section-icon-editor{border:1px solid var(--border);background:#fff;border-radius:10px;gap:.85rem;padding:.9rem;display:grid}.custom-section-icon-editor-preview{align-items:center;gap:.75rem;display:flex}.custom-section-icon-editor-preview p{color:var(--muted);margin:.2rem 0 0;font-size:.9rem}.repair-section-icons-panel{background:#fff;border:1px dashed #bfd0e5;border-radius:10px;gap:.75rem;margin-bottom:1rem;padding:.9rem;display:grid}.custom-detail-panel{align-items:flex-start;gap:1.25rem}.large-logo{width:72px;height:72px}.detail-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid strong{margin-top:.25rem;display:block}@media (max-width:1240px){.dashboard-header{grid-template-columns:1fr}.stats-grid,.card-grid,.settings-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.section-workspace-header{flex-direction:column;align-items:flex-start}}@media (max-width:960px){.auth-shell,.settings-layout,.stats-grid,.card-grid,.detail-grid,.section-modal-grid{grid-template-columns:1fr}.page-hero,.header-user,.custom-detail-panel{flex-direction:column;align-items:flex-start}.field-group-span-2{grid-column:auto}.section-toolbar{width:100%;min-width:100%}.table-actions{flex-direction:column}}@media (max-width:700px){.statement-invoice-panel{width:calc(100% + 2rem);margin-left:-1rem;margin-right:-1rem}.invoice-page-shell.statement-invoice-shell{padding:.75rem .85rem 1.25rem}.auth-shell,.login-page .auth-shell,.dashboard-main,.auth-hero,.auth-card,.content-panel,.stat-card,.section-card{padding:1rem}.field-grid{grid-template-columns:1fr}.dashboard-header{padding:1rem}.header-nav{flex-wrap:nowrap;padding-bottom:.25rem;overflow-x:auto}.nav-tile{flex:none;min-width:82px}.nav-tile .section-logo-nav{width:48px;height:48px}.nav-tile .section-logo-nav .fi{font-size:1.45rem}.section-toolbar,.section-modal-actions{flex-direction:column;align-items:stretch}.section-search{min-width:100%}}.payment-allocation-list{margin:0;padding:0;list-style:none}.payment-allocation-list li+li{margin-top:.25rem}.statement-row-open{background:#fff8f0}.statement-row-payment{background:#eef6ff}.status-badge.status-payment{color:#1d4ed8;background:#dbeafe}.status-badge.status-refund{color:#be185d;background:#fce7f3}.status-badge.status-discount{color:#b45309;background:#fef3c7}.invoice-page-shell{background:#fff;max-width:860px;min-height:auto;margin:0 auto;padding:.75rem 2.5rem 2rem}.invoice-page-toolbar{justify-content:flex-end;gap:.75rem;margin-bottom:.5rem;display:flex}.customer-invoice{color:#2c3e6b;width:100%;margin:0 auto;padding-top:0;font-family:Arial,Helvetica,sans-serif}.customer-invoice-header{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:1rem;width:100%;margin-bottom:1rem;padding-top:0;display:flex}.customer-invoice-brand{flex:none}.customer-invoice-logo{object-fit:contain;width:auto;max-width:230px;height:auto;max-height:195px;display:block}.customer-invoice-company{color:#2c3e6b;text-align:right;flex-direction:column;flex:none;gap:.15rem;max-width:240px;margin:0;font-size:.95rem;font-style:normal;line-height:1.45;display:flex}.customer-invoice-company strong{letter-spacing:.02em;margin-bottom:.2rem;font-size:1rem;font-weight:700}.customer-invoice-company span{display:block}.customer-invoice-title{color:#2c3e6b;letter-spacing:.06em;text-align:center;text-transform:uppercase;margin:0 0 .85rem;font-size:2.15rem;font-weight:700}.customer-invoice-meta{flex-wrap:nowrap;justify-content:space-between;align-items:baseline;width:100%;margin-bottom:.85rem;display:flex}.customer-invoice-meta-item{white-space:nowrap;font-size:.95rem}.customer-invoice-meta-item span{font-weight:400}.customer-invoice-meta-item strong{font-weight:700}.customer-invoice-table{border-collapse:collapse;table-layout:fixed;width:100%;margin-bottom:.5rem}.customer-invoice-table-wrap{width:100%;overflow-x:auto}.customer-invoice-col-index{width:5%}.customer-invoice-col-invoice,.customer-invoice-col-type{width:8%}.customer-invoice-col-service{width:14%}.customer-invoice-col-description{width:18%}.customer-invoice-col-money{width:9%}.account-invoice-view .customer-invoice-table .col-whatsapp{text-align:center;vertical-align:top;width:4%;min-width:3.5rem}.account-invoice-view .invoice-whatsapp-cell{align-items:center}.account-invoice-view .invoice-whatsapp-hint,.account-invoice-view .invoice-whatsapp-error{max-width:90px}.customer-invoice-col-date{width:9%}.customer-invoice-table-compact .customer-invoice-col-index{width:6%}.customer-invoice-table-compact .customer-invoice-col-service{width:38%}.customer-invoice-table-compact .customer-invoice-col-total{width:18%}.customer-invoice-table-compact .customer-invoice-col-payment{width:38%}.customer-invoice-table-debt .customer-invoice-col-index{width:5%}.customer-invoice-table-debt .customer-invoice-col-service{width:26%}.customer-invoice-table-debt .customer-invoice-col-total{width:15%}.customer-invoice-table-debt .customer-invoice-col-payment{width:24%}.customer-invoice-table-debt .customer-invoice-col-remaining{width:30%}.statement-invoice-panel{background:#fff;border:none;border-radius:0;width:calc(100% + 2.5rem);margin-left:-1.25rem;margin-right:-1.25rem;padding:0}.statement-invoice-panel .content-panel>h3,.statement-invoice-panel>h3{display:none}.invoice-page-shell.statement-invoice-shell{box-shadow:none;width:100%;max-width:none;margin:0;padding:.75rem .5rem 1.25rem}.statement-invoice-row-payment td{background:#eef6ff}.statement-invoice-row-refund td{background:#fdf2f8}.statement-invoice-row-discount td,.statement-invoice-row-open td{background:#fffbeb}.invoice-description-cell,.invoice-service-cell{flex-direction:column;gap:.25rem;display:flex}.invoice-subline-list{color:#4b5563;margin:0;padding:0;font-size:.78rem;line-height:1.35;list-style:none}.invoice-subline-list li+li{margin-top:.1rem}.invoice-inline-link{color:#2c3e6b;width:fit-content;font-size:.78rem;font-weight:700;text-decoration:underline}.customer-invoice-table .col-description,.customer-invoice-table th.col-description{text-align:left}.customer-invoice-table .col-date,.customer-invoice-table th.col-date{text-align:center}.customer-invoice-statement-totals{border-top:1px solid #b8c4d6;margin-top:.75rem;padding-top:.65rem}.customer-invoice-statement-totals p:last-child{color:#b45309}.account-invoice-view .customer-invoice-title{margin-bottom:.55rem;font-size:1.55rem}.account-invoice-view .customer-invoice-meta-item,.account-invoice-view .customer-invoice-company{font-size:.75rem}.account-invoice-view .customer-invoice-company strong{font-size:.8rem}.account-invoice-view .customer-invoice-logo{max-width:160px;max-height:130px}.account-invoice-view .customer-invoice-table{table-layout:fixed;width:100%}.account-invoice-view .customer-invoice-table th,.account-invoice-view .customer-invoice-table td{padding:.32rem .4rem;font-size:.7rem;line-height:1.3}.account-invoice-view .customer-invoice-table th{letter-spacing:.03em;white-space:nowrap;font-size:.6rem}.account-invoice-view .customer-invoice-table .col-invoice{text-align:center;white-space:nowrap;min-width:64px}.account-invoice-view .customer-invoice-table th.col-invoice{min-width:64px}.account-invoice-view .customer-invoice-table .col-service,.account-invoice-view .customer-invoice-table .col-description{word-break:break-word}.account-invoice-view .customer-invoice-debt p{font-size:.78rem}.account-invoice-view .customer-invoice-table .col-type,.account-invoice-view .customer-invoice-table th.col-type{text-align:center;white-space:nowrap}.account-invoice-view .customer-invoice-table .status-badge{letter-spacing:.02em;text-transform:uppercase;padding:.18rem .38rem;font-size:.58rem;font-weight:700;line-height:1.2;display:inline-block}.account-invoice-view .invoice-inline-link{font-size:.65rem}.customer-invoice-table th,.customer-invoice-table td{vertical-align:middle;border:1px solid #b8c4d6;padding:.55rem .65rem;font-size:.9rem}.customer-invoice-table th{color:#fff;letter-spacing:.02em;text-transform:uppercase;background:#2c3e6b;border-color:#2c3e6b;font-size:.78rem;font-weight:700}.customer-invoice-table-debt th.col-money,.customer-invoice-table-compact th.col-money{padding:.45rem .4rem;font-size:.72rem;line-height:1.2}.invoice-th-lines{white-space:normal;line-height:1.15;display:inline-block}.customer-invoice-table tbody td{color:#2c3e6b;background:#fff}.customer-invoice-table .col-index,.customer-invoice-table .col-invoice{text-align:center}.customer-invoice-table .col-service{text-align:left}.customer-invoice-table .col-money,.customer-invoice-table th.col-money{text-align:right;white-space:nowrap}.customer-invoice-table th.col-money{white-space:normal}.customer-invoice-table .col-money{font-variant-numeric:tabular-nums}.customer-invoice-table tfoot td{background:#fff;border-top:1px solid #b8c4d6}.customer-invoice-pay-label,.customer-invoice-pay-value{border-top:1px solid #b8c4d6;padding-top:.65rem}.customer-invoice-debt{margin-top:.15rem;padding-left:0}.customer-invoice-debt p{margin:.1rem 0;font-size:.98rem;font-weight:700;line-height:1.45}@media print{.no-print,.dashboard-header{display:none!important}.dashboard-main{padding:0}.dashboard-shell{min-height:auto}.page-stack{gap:0}.content-panel{box-shadow:none;border:none;padding:0}.statement-invoice-panel{box-shadow:none;border:none;width:100%;margin:0;padding:0}.invoice-page-shell.statement-invoice-shell{padding:.35in .25in .5in}.invoice-page-shell{max-width:none;padding:.35in .25in .5in}body{background:#fff}.customer-invoice-header,.customer-invoice-title,.customer-invoice-meta{break-inside:avoid;page-break-inside:avoid}.customer-invoice-table{page-break-inside:auto}.customer-invoice-table thead{display:table-header-group}.customer-invoice-table tbody tr,.customer-invoice-table td,.customer-invoice-table th,.invoice-service-cell,.invoice-description-cell,.customer-invoice-statement-totals{break-inside:avoid;page-break-inside:avoid}}@media (max-width:700px){.invoice-page-shell{padding:.5rem 1rem 1.5rem}.customer-invoice-header{flex-direction:column;align-items:center}.customer-invoice-company{text-align:center;max-width:none}.customer-invoice-meta{grid-template-columns:1fr 1fr;gap:.5rem 1rem;display:grid}.customer-invoice-meta-item{white-space:normal}}.expense-category-field{flex-direction:column;gap:.65rem;display:flex}.expense-category-row{align-items:stretch;gap:.5rem;display:flex}.expense-category-row select{flex:1}.expense-category-add-button{flex:none;min-width:44px;padding:0 .85rem}.expense-category-list{flex-wrap:wrap;gap:.5rem;display:flex}.expense-category-chip{border:1px solid var(--border);background:#f8fafc;border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .55rem .25rem .75rem;display:inline-flex}.expense-category-chip span{font-size:.88rem}.expense-category-delete{color:#b91c1c;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;min-width:22px;min-height:22px;padding:0;font-size:.85rem;font-weight:700;display:inline-flex}.expense-category-add-panel{flex-direction:column;gap:.5rem;display:flex}.expense-category-add-actions{justify-content:flex-end;gap:.5rem;display:flex}.safe-page{gap:1rem}.safe-filters-bar{padding:.9rem 1.15rem;overflow-x:auto}.safe-filters-row{flex-wrap:nowrap;align-items:center;gap:1.25rem;width:100%;min-width:max-content;display:flex}.safe-filter-group{flex-wrap:nowrap;flex:none;align-items:center;gap:.5rem;display:flex}.safe-filter-group label{color:#334155;white-space:nowrap;margin:0;font-size:.92rem;font-weight:600}.safe-filter-control{min-width:150px;min-height:40px}.safe-filter-control-narrow{min-width:72px}.safe-filter-group-dates .safe-filter-control{min-width:148px}.safe-filter-separator{color:#64748b;white-space:nowrap;font-size:.92rem}.safe-filter-actions{flex-wrap:nowrap;flex:none;align-items:center;gap:.65rem;margin-left:auto;display:flex}.safe-btn-manual,.safe-btn-add{color:#fff;cursor:pointer;border:none;border-radius:8px;min-height:42px;padding:0 1.1rem;font-weight:700}.safe-btn-manual{background:#2563eb}.safe-btn-manual:hover{background:#1d4ed8}.safe-btn-add{background:#16a34a}.safe-btn-add:hover{background:#15803d}.safe-cards-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr));gap:1.5rem;width:100%;display:grid}.safe-cards-empty{text-align:center;grid-column:1/-1;padding:2rem}.safe-card{cursor:pointer;background:#fff;border:2px solid #0000;border-radius:18px;flex-direction:column;gap:1.5rem;width:100%;min-height:220px;padding:1.75rem 2rem;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;box-shadow:0 10px 28px #0f172a14}.safe-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a1a}.safe-card-active{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.safe-card-head{align-items:center;gap:1.15rem;display:flex}.safe-card-icon-wrap{border-radius:16px;flex:none;justify-content:center;align-items:center;width:84px;height:84px;display:flex}.safe-card-icon-wrap svg{width:42px;height:42px;display:block}.safe-card-icon-wrap-sm{border-radius:10px;width:36px;height:36px}.safe-card-icon-wrap-sm svg{width:18px;height:18px}.safe-card-icon-wrap-xs{border-radius:8px;width:28px;height:28px}.safe-card-icon-wrap-xs svg{width:14px;height:14px}.safe-name-cell{align-items:center;gap:.55rem;display:inline-flex}.field-group-safe-select{z-index:2;position:relative}.field-group-safe-select:has(.safe-select-menu-top){z-index:50}.safe-select-field{position:relative}.safe-select-trigger{cursor:pointer;text-align:left;background:#fff;border:1px solid #dbe3ee;border-radius:10px;align-items:center;gap:.5rem;width:100%;min-height:46px;padding:.45rem .65rem;transition:border-color .15s,box-shadow .15s;display:flex}.safe-select-trigger:hover{border-color:#c7d2e0}.safe-select-trigger-label{color:#0f172a;flex:1;font-size:.95rem;font-weight:600}.safe-select-placeholder{color:#94a3b8;flex:1;font-size:.95rem}.safe-select-chevron{color:#64748b;flex:none;font-size:.7rem;line-height:1}.safe-select-menu{z-index:40;background:#fff;border:1px solid #e2e8f0;border-radius:10px;max-height:220px;margin:0;padding:.3rem;list-style:none;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 10px 24px #0f172a1a}.safe-select-menu-bottom{margin-top:.35rem;top:100%}.safe-select-menu-top{top:auto;bottom:calc(100% + .35rem)}.section-modal-form .safe-select-menu-top{box-shadow:0 -8px 24px #0f172a1f}.safe-select-option{cursor:pointer;text-align:left;border:1px solid #0000;border-radius:8px;align-items:center;gap:.5rem;width:100%;margin:0 0 .2rem;padding:.32rem .45rem;transition:filter .12s;display:flex}.safe-select-option:last-child{margin-bottom:0}.safe-select-option span{color:#0f172a;font-size:.86rem;font-weight:600;line-height:1.2}.safe-select-option:hover{filter:brightness(.98)}.safe-select-option-active{filter:none;box-shadow:inset 0 0 0 1px}.safe-select-field-compact .safe-select-trigger{min-height:36px;padding:.3rem .55rem}.safe-select-field-compact .safe-select-trigger-label,.safe-select-field-compact .safe-select-placeholder{font-size:.84rem}.safe-select-field-compact .safe-select-menu{max-height:180px;padding:.25rem}.safe-select-field-compact .safe-select-option{gap:.4rem;margin-bottom:.15rem;padding:.28rem .38rem}.safe-select-field-compact .safe-select-option span{font-size:.8rem}.safe-card-head h3{color:#1e3a5f;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.safe-card-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.safe-stat-box{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;justify-content:center;gap:.65rem;min-width:0;min-height:88px;padding:1rem .75rem;display:flex}.safe-stat-label{color:#64748b;letter-spacing:.06em;font-size:.8rem;font-weight:700}.safe-stat-box strong{color:#0f172a;word-break:break-word;font-size:1.35rem;font-weight:800;line-height:1.15}.safe-stat-balance strong.safe-amount-in{color:#16a34a}.safe-transactions-panel{padding:1rem 1.25rem 1.25rem}.safe-transactions-panel .data-table tbody tr.safe-transaction-row td{background-color:inherit;border-bottom-color:#0f172a0f}.safe-transactions-panel .data-table tbody tr.safe-transaction-row:hover{filter:brightness(.97)}.safe-transactions-panel .data-table tbody tr.safe-transaction-row:hover td{background-color:inherit}.safe-transactions-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;margin-bottom:.85rem;display:flex}.safe-transactions-head h3{color:#1e3a5f;margin:0;font-size:1.1rem}.safe-pagination{justify-content:flex-end;align-items:center;gap:1rem;margin-top:1rem;display:flex}.safe-amount-in{color:#15803d;font-weight:700}.safe-amount-out{color:#b91c1c;font-weight:700}@media (max-width:1100px){.safe-filters-row{min-width:980px}}@media (max-width:640px){.safe-card{padding:1.35rem 1.25rem}.safe-card-stats{grid-template-columns:1fr}.safe-stat-box{min-height:72px}}
