@charset "UTF-8";
:root{--ink:#171717;--muted:#666666;--line:#dedede;--paper:#f6f6f6;--white:#ffffff;--accent:#111111;--accent-contrast:#ffffff;--sidebar:#0d0d0d;--radius:15px;--shadow:0 12px 50px #2222220a;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none;font-size:14px;background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #aaaaaa;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}img{max-width:100%}h1,h2,h3,p{margin:0}h1{font-size:31px;letter-spacing:-1.15px;font-weight:650;line-height:1.2}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px;font-weight:650}small{font-size:12px}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.muted{color:var(--muted)}.text-right{text-align:right}.text-green{color:#666666}.text-red{color:#666666}.nowrap{white-space:nowrap}.spacer{flex:1}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);color:#666666;position:fixed;inset:0 auto 0 0;width:240px;display:flex;flex-direction:column;padding:28px 16px 16px;z-index:30;overflow:auto}.brand{display:flex;gap:12px;align-items:center;padding:0 12px 29px;color:#ffffff}.brand img{width:45px;height:45px;object-fit:contain;border-radius:6px}.brand-name{font-size:11px;line-height:1.5;font-weight:750;letter-spacing:1.5px}.brand-name strong{font-size:15px;letter-spacing:2px;display:block}.nav-group-title{font-size:10px;font-weight:650;letter-spacing:1.6px;color:#777777;text-transform:uppercase;padding:23px 15px 9px}.nav-item{display:flex;align-items:center;gap:12px;background:none;border:0;color:inherit;text-align:left;width:100%;min-height:42px;border-radius:8px;margin:3px 0;padding:10px 14px;transition:background .15s,color .15s;font-size:13px;font-weight:500}.nav-item:hover{background:#333333;color:#ffffff}.nav-item.active{background:var(--accent);color:#333333;font-weight:700}.nav-item svg{width:19px;height:19px}.nav-label{flex:1}.sidebar-bottom{border-top:1px solid #333333;padding:18px 10px 0;margin-top:auto}.workspace{grid-column:2;min-width:0}.topbar{height:77px;background:#fafafa;display:flex;justify-content:space-between;align-items:center;padding:0 40px;border-bottom:1px solid var(--line);gap:15px}.breadcrumb{display:flex;gap:12px;align-items:center;color:#666666;font-size:12px}.breadcrumb strong{font-weight:600;color:#555555}.breadcrumb svg{width:15px;height:15px}.topbar-actions{display:flex;align-items:center;gap:17px}.user-pill{display:flex;gap:10px;align-items:center}.user-avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eeeeee;color:#666666;font-size:11px;font-weight:750;flex-shrink:0}.user-pill small{color:var(--muted);display:block;font-size:10px;margin-top:3px}.user-pill strong{font-size:12px;font-weight:650}.content{max-width:1600px;margin:auto;padding:32px 40px 46px}.mobile-menu{display:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#666666;text-transform:uppercase;margin-bottom:9px}.page-description{color:var(--muted);font-size:13px;line-height:1.6;margin-top:9px}.heading-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:8px;border:1px solid transparent;font-weight:600;font-size:12px;white-space:nowrap;line-height:1.3}.btn svg{width:16px;height:16px}.btn-primary{background:var(--accent);color:#333333}.btn-primary:hover{background:#dddddd}.btn-secondary{border-color:#e6e6e6;background:#ffffff;color:#444444}.btn-secondary:hover{background:#f5f5f5}.btn-ghost{background:transparent;color:#777777}.btn-ghost:hover{background:#eeeeee}.btn-danger{background:#f5f5f5;color:#555555;border-color:#dddddd}.btn-sm{padding:7px 10px;font-size:11px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;border-radius:6px;color:#666666;padding:7px}.icon-btn:hover{color:#444444;background:#eeeeee}.icon-btn svg{width:17px;height:17px}.sidebar .icon-btn:hover{background:#444444;color:#ffffff}.demo-banner{background:#eeeeee;border:1px solid #e6e6e6;border-radius:8px;display:flex;gap:9px;align-items:center;color:#666666;font-size:11px;padding:9px 13px;margin-bottom:25px}.demo-banner svg{width:15px;height:15px}.demo-banner strong{font-weight:650}
.welcome-card{background:#eeeeee;border:1px solid #e6e6e6;border-radius:var(--radius);padding:27px 30px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;overflow:hidden;position:relative;min-height:170px}.welcome-copy{max-width:550px;position:relative;z-index:1}.welcome-copy h2{font-size:24px;line-height:1.3;letter-spacing:-.65px;margin-bottom:9px}.welcome-copy p{font-size:12px;line-height:1.7;color:#777777;max-width:430px}.welcome-copy .btn{margin-top:18px;background:#333333;color:#f5f5f5;border-radius:7px;font-size:11px;padding:9px 13px}.welcome-art{width:190px;height:130px;position:relative;flex-shrink:0;display:grid;place-items:center}.art-orbit{position:absolute;border:1px solid #cccccc;width:162px;height:162px;border-radius:50%;transform:rotate(-28deg) scaleY(.55)}.art-orbit:nth-child(2){transform:rotate(30deg) scaleY(.55)}.art-orbit:nth-child(3){transform:rotate(90deg) scaleY(.55)}.art-disc{background:#333333;color:var(--accent);width:72px;height:72px;border-radius:22px;transform:rotate(-12deg);display:grid;place-items:center;box-shadow:0 16px 35px #99999940}.art-disc svg{width:35px;height:35px}.art-spark{position:absolute;width:9px;height:9px;background:#aaaaaa;border:3px solid #eeeeee;border-radius:50%;right:19px;top:23px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat-card{border:1px solid var(--line);background:#ffffff;border-radius:var(--radius);padding:21px 22px;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.stat-label{font-size:12px;color:#777777;font-weight:500}.stat-icon{width:31px;height:31px;border-radius:8px;background:#f5f5f5;display:grid;place-items:center;color:#666666}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:27px;font-weight:650;letter-spacing:-1.1px;line-height:1.3}.stat-value.money{font-size:23px;letter-spacing:-.7px}.stat-note{font-size:10px;color:#666666;margin-top:10px;line-height:1.4}.stat-note strong{font-weight:600;color:#666666}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:22px;align-items:start}.panel{background:#ffffff;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.panel-header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 24px 18px}.panel-title{font-size:15px;font-weight:650}.panel-subtitle{font-size:11px;color:#666666;margin-top:6px}.panel-body{padding:0 24px 21px}.event-row{display:flex;gap:14px;align-items:center;padding:16px 0;border-top:1px solid #eeeeee}.event-date{width:43px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #e6e6e6;border-radius:9px;background:#fafafa}.event-date strong{font-size:18px;font-weight:650;line-height:1.2}.event-date small{font-size:9px;text-transform:uppercase;color:#666666}.event-info{flex:1;min-width:0}.event-info strong{display:block;font-size:12px;font-weight:600;line-height:1.5}.event-info small{font-size:10px;color:#666666;display:block;margin-top:5px;line-height:1.4}.event-row .badge{font-size:9px}.event-dot{width:7px;height:7px;border-radius:50%;background:#bbbbbb;flex-shrink:0}.task-check{width:18px;height:18px;border:1px solid #dddddd;border-radius:5px;display:grid;place-items:center;flex-shrink:0;background:#ffffff;color:#666666}.task-check:hover{background:#f5f5f5}.task-check svg{width:12px;height:12px}.task-row{display:flex;align-items:flex-start;gap:11px;padding:14px 0;border-top:1px solid #eeeeee}.task-row .event-info small{margin-top:4px}.task-row.done .event-info strong{text-decoration:line-through;color:#666666}.dashboard-bottom{margin-top:22px}.small-chart{display:flex;align-items:end;gap:14px;height:155px;padding:20px 0 6px}.chart-col{display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;height:100%;justify-content:flex-end;gap:8px}.chart-bars{height:100%;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.chart-bar{background:#cccccc;width:25px;max-width:38%;min-height:2px;border-radius:4px 4px 1px 1px}.chart-bar.expense{background:#eeeeee}.chart-col span{font-size:9px;color:#666666}.chart-legend{display:flex;gap:15px;font-size:10px;color:#666666}.chart-legend i{width:7px;height:7px;background:#cccccc;display:inline-block;border-radius:2px;margin-right:5px}.chart-legend i.expense{background:#eeeeee}.pipeline-row{display:flex;align-items:center;gap:12px;margin:17px 0;font-size:11px}.pipeline-row span{width:74px;flex-shrink:0;color:#777777}.progress-track{height:7px;border-radius:8px;background:#eeeeee;overflow:hidden;flex:1}.progress-bar{height:100%;background:#cccccc;border-radius:8px}.pipeline-row strong{width:21px;text-align:right;font-size:11px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}.search-input{display:flex;align-items:center;gap:9px;background:#ffffff;border:1px solid var(--line);padding:0 12px;border-radius:8px;min-width:230px}.search-input svg{width:16px;height:16px;color:#666666}.search-input input{border:0;background:none;padding:11px 0;outline:none;width:100%;font-size:12px;min-width:0}.filter-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#eeeeee;flex-wrap:wrap}.filter-tab{border:0;background:none;color:#666666;padding:7px 11px;border-radius:5px;font-size:11px;font-weight:550}.filter-tab.active{background:#ffffff;color:#444444;box-shadow:0 1px 4px #33333309}.filter-tab span{font-size:10px;margin-left:5px;color:#666666}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:#ffffff}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;color:#666666;background:#fafafa;padding:15px 20px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #eeeeee;color:#777777;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafafa}.cell-main{font-size:12px;color:#444444;font-weight:600;line-height:1.5;max-width:350px;overflow-wrap:anywhere}.cell-sub{font-size:10px;color:#666666;margin-top:4px;line-height:1.5}.row-actions{display:flex;gap:3px;align-items:center;justify-content:flex-end;white-space:nowrap}.row-actions .icon-btn{padding:6px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:550;line-height:1.3;padding:5px 8px;border-radius:5px;white-space:nowrap;background:#eeeeee;color:#666666}.badge-green{background:#f5f5f5;color:#666666}.badge-amber{background:#f5f5f5;color:#666666}.badge-blue{background:#eeeeee;color:#666666}.badge-red{background:#eeeeee;color:#666666}.badge-gray{background:#eeeeee;color:#666666}.badge-dot:before{content:"";display:block;width:4px;height:4px;border-radius:50%;background:currentColor}.empty-state{text-align:center;padding:55px 25px;color:#666666}.empty-state svg{width:34px;height:34px;color:#666666;margin-bottom:14px}.empty-state h3{color:#666666;margin-bottom:8px;font-size:15px}.empty-state p{font-size:12px;line-height:1.7;max-width:370px;margin:0 auto 18px}.list-footer{display:flex;justify-content:space-between;gap:15px;color:#666666;font-size:10px;padding:16px 4px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.entity-card{padding:23px;background:#ffffff;border:1px solid var(--line);border-radius:var(--radius)}.entity-card-header{display:flex;gap:12px;align-items:center;margin-bottom:20px}.entity-avatar{width:40px;height:40px;border-radius:11px;background:#eeeeee;display:grid;place-items:center;flex-shrink:0;color:#666666;font-size:12px;font-weight:700}.entity-card .metric-row{font-size:11px;margin:12px 0}.entity-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.metric-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:17px 0;color:#666666;font-size:12px}.metric-row strong{color:#555555;font-weight:600}.activity-row{display:flex;gap:14px;align-items:flex-start;border-top:1px solid #eeeeee;padding:15px 0}.activity-icon{width:30px;height:30px;border-radius:8px;background:#f5f5f5;color:#666666;display:grid;place-items:center;flex-shrink:0}.activity-icon svg{width:14px;height:14px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-label{color:#666666;font-size:10px;text-transform:uppercase;letter-spacing:.6px;margin-bottom:7px}.detail-value{font-size:13px;color:#555555;line-height:1.6;overflow-wrap:anywhere}.detail-section{margin-top:25px}.detail-section h3{margin-bottom:12px}
.auth-page{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-brand-panel{background:#222222;color:#eeeeee;display:flex;flex-direction:column;justify-content:space-between;padding:53px 65px;position:relative;overflow:hidden}.auth-brand-panel:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #8888882e;border-radius:50%;right:-280px;bottom:-240px;box-shadow:0 0 0 80px #88888808,0 0 0 160px #88888804}.auth-brand{display:flex;gap:14px;align-items:center;z-index:1}.auth-logo{width:55px;height:55px;object-fit:contain;border-radius:7px}.auth-brand strong{font-size:13px;letter-spacing:2px;line-height:1.5}.auth-brand small{display:block;color:#666666;font-size:10px;letter-spacing:1.8px;margin-top:3px}.auth-message{max-width:440px;position:relative;z-index:1;margin:70px 0}.auth-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#666666;margin-bottom:20px}.auth-message h1{font-size:48px;line-height:1.15;letter-spacing:-2px;font-weight:500}.auth-message h1 em{font-style:normal;color:var(--accent)}.auth-message p{color:#666666;font-size:13px;line-height:1.9;max-width:340px;margin-top:25px}.auth-feature{display:flex;align-items:center;gap:12px;color:#666666;font-size:11px;margin:17px 0}.auth-feature svg{width:16px;height:16px;color:#666666}.auth-footer{font-size:10px;color:#777777;letter-spacing:.3px}.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{width:100%;max-width:365px}.auth-card .eyebrow{margin-bottom:13px}.auth-card h2{font-size:29px;letter-spacing:-1px;margin-bottom:11px}.auth-card>p{color:#666666;font-size:12px;line-height:1.8;margin-bottom:28px}.auth-card .btn{width:100%;padding:13px;font-size:12px}.auth-card .field{margin-bottom:18px}.auth-card .hint{text-align:center;margin:16px 0}.auth-separator{display:flex;align-items:center;gap:15px;font-size:10px;color:#666666;margin:25px 0}.auth-separator:before,.auth-separator:after{content:"";height:1px;flex:1;background:var(--line)}.auth-note{font-size:10px;color:#666666;margin-top:24px;line-height:1.7;text-align:center}.boot-screen{height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;color:#666666;font-size:12px}.boot-screen img{width:70px;border-radius:10px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:11px;color:#777777;font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid #e6e6e6;border-radius:7px;background:#ffffff;color:#555555;padding:11px 12px;min-height:40px;font-size:12px;line-height:1.5}.field input::placeholder,.field textarea::placeholder{color:#666666}.field textarea{resize:vertical;min-height:82px}.field input[type=checkbox]{width:17px;min-height:17px}.field.checkbox{flex-direction:row;align-items:center;margin:8px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span-2{grid-column:1/-1}.hint{font-size:10px;color:#666666;line-height:1.6}.form-error{font-size:12px;color:#666666;background:#f5f5f5;padding:12px;border-radius:7px;line-height:1.6;margin-bottom:17px}.form-error:empty{display:none}.modal{border:1px solid #e6e6e6;border-radius:17px;padding:0;width:min(680px,calc(100vw - 32px));max-height:88vh;color:var(--ink);box-shadow:0 25px 100px #2222223b;background:#ffffff;overflow:auto}.modal.wide{width:min(890px,calc(100vw - 32px))}.modal::backdrop{background:#22222283;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 28px 20px;border-bottom:1px solid #eeeeee;gap:15px}.modal-title{font-size:20px;letter-spacing:-.6px;font-weight:650}.modal-subtitle{font-size:11px;color:#666666;margin-top:7px}.modal-body{padding:25px 28px}.modal-footer{padding:18px 28px;border-top:1px solid #eeeeee;display:flex;justify-content:flex-end;gap:9px;background:#fafafa;position:sticky;bottom:0;z-index:2}.modal-footer .hint{margin-right:auto;align-self:center}.modal .form-grid{margin-bottom:0}.line-items{margin-top:25px}.line-items h3{margin-bottom:15px}.line-row{display:grid;grid-template-columns:minmax(150px,1fr) 65px 120px 30px;gap:9px;align-items:end;margin-bottom:11px}.line-row .field input{padding:10px}.quote-total{display:flex;justify-content:flex-end;gap:20px;align-items:center;padding:20px 0 0;color:#666666;font-size:12px}.quote-total strong{font-size:25px;color:#555555;letter-spacing:-.8px}.toast-stack{position:fixed;bottom:25px;right:25px;z-index:100;display:flex;flex-direction:column;gap:9px;max-width:calc(100vw - 40px)}.toast{background:#333333;color:#f5f5f5;padding:14px 20px;border-radius:9px;box-shadow:0 8px 35px #22222222;font-size:12px;line-height:1.6;max-width:430px}.toast-error{background:#555555}.info-note{display:flex;gap:10px;align-items:flex-start;color:#666666;background:#f5f5f5;padding:14px;border-radius:8px;font-size:11px;line-height:1.7;margin:18px 0}.info-note svg{width:17px;height:17px;flex-shrink:0;margin-top:1px}.danger-zone{background:#fafafa;border:1px solid #e6e6e6;padding:16px;border-radius:8px;color:#777777;font-size:11px;line-height:1.8}.menu-backdrop{display:none}#print-document{display:none}
.report-period{display:flex;align-items:flex-end;gap:12px;padding:18px 20px;border:1px solid var(--line);background:#ffffff;border-radius:12px;margin-bottom:23px;flex-wrap:wrap}.report-period .field{flex:1;min-width:150px;max-width:240px}.cell-sub,.hint,.stat-note,.list-footer,.panel-subtitle{color:#777777}.field input::placeholder,.search-input input::placeholder{color:#666666}.sidebar{scrollbar-width:thin;scrollbar-color:#555555 var(--sidebar)}.sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-track{background:var(--sidebar)}.sidebar::-webkit-scrollbar-thumb{background:#555555;border-radius:5px}.topbar .mobile-menu{display:none}@media(max-width:760px){.topbar .mobile-menu{display:inline-flex}}
@media(min-width:1600px){.content{padding-top:40px}.welcome-card{min-height:190px}.stats-grid{gap:22px}.stat-card{padding:25px}.topbar{padding:0 50px}}
@media(max-width:1200px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{width:215px}.content{padding:28px}.topbar{padding:0 28px}.stats-grid{gap:12px}.stat-card{padding:18px}.stat-value.money{font-size:20px}.dashboard-grid{grid-template-columns:1.25fr 1fr;gap:16px}.welcome-card{padding:23px}.welcome-art{width:150px}.card-grid{grid-template-columns:1fr 1fr}.panel-header{padding:20px}.panel-body{padding:0 20px 20px}.auth-brand-panel{padding:45px}.auth-message h1{font-size:40px}th,td{padding-left:15px;padding-right:15px}}
@media(max-width:1000px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{width:200px;padding-left:11px;padding-right:11px}.brand{gap:9px;padding-left:8px}.brand-name strong{font-size:12px}.brand-name{font-size:9px}.brand img{width:39px;height:39px}.nav-item{padding:10px 11px;font-size:12px}.content{padding:23px}.topbar{padding:0 23px}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr}.welcome-art{display:none}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.page-description{max-width:420px}.auth-brand-panel{padding:35px}.auth-message h1{font-size:36px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{width:245px;transform:translateX(-100%);transition:transform .2s}.nav-open .sidebar{transform:translateX(0)}.nav-open .menu-backdrop{position:fixed;inset:0;background:#22222270;z-index:25;display:block;border:0;width:100%;height:100%}.workspace{width:100%}.topbar{height:64px;padding:0 20px}.mobile-menu{display:inline-flex}.breadcrumb{display:none}.topbar-actions{margin-left:auto;gap:10px}.topbar-actions>.muted{display:none}.content{padding:24px 18px 36px}.page-heading{flex-direction:column;gap:17px;margin-bottom:21px}.heading-actions{justify-content:flex-start;width:100%}.page-description{font-size:12px}h1{font-size:28px}.welcome-card{padding:24px;margin-bottom:18px}.welcome-copy h2{font-size:22px}.stats-grid{gap:11px;margin-bottom:19px}.stat-card{padding:16px}.stat-value{font-size:25px}.stat-value.money{font-size:21px}.stat-note{font-size:9px}.stat-label{font-size:11px}.stat-top{margin-bottom:11px}.stat-icon{width:26px;height:26px}.dashboard-grid{gap:18px}.panel-header{padding:20px}.panel-body{padding:0 20px 20px}.toolbar{align-items:stretch;gap:12px}.search-input{width:100%}.filter-tabs{width:max-content;max-width:100%}.filter-tab{padding:6px 10px}.card-grid{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-brand-panel{padding:28px;min-height:auto}.auth-message,.auth-footer{display:none}.auth-brand strong{font-size:11px}.auth-logo{width:42px;height:42px}.auth-form-panel{padding:40px 26px;align-items:flex-start}.auth-card{max-width:420px}.auth-card h2{font-size:27px}.demo-banner{font-size:10px;margin-bottom:20px;align-items:flex-start}.demo-banner svg{margin-top:2px}.form-grid{gap:15px}.modal-header,.modal-body{padding:21px}.modal-footer{padding:17px 21px}.modal-title{font-size:18px}.line-row{grid-template-columns:minmax(90px,1fr) 55px 90px 25px;gap:6px}.line-row .field input{font-size:11px;padding:8px}.line-row .field label{font-size:9px}.modal{max-height:92vh}.table-wrap{border-radius:11px}.event-row{gap:11px}.event-row .badge{font-size:8px;padding:4px 5px}.stat-value{overflow-wrap:anywhere}.toast-stack{bottom:17px;right:17px}.user-pill small{font-size:9px}}
@media(max-width:420px){.stat-value.money{font-size:18px}.stat-icon{display:none}.user-pill strong{max-width:110px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.detail-grid{grid-template-columns:1fr}.modal-body{padding:18px}.line-row{grid-template-columns:minmax(90px,1fr) 50px 80px 24px}.line-description{grid-column:1/-1}.line-qty{grid-column:1}.line-price{grid-column:2/4}.line-row>.icon-btn{grid-column:4}.content{padding-left:15px;padding-right:15px}.stat-card{padding:15px}.page-description{line-height:1.7}.event-row .badge{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body>*{display:none!important}#print-document{display:block!important;color:#222222;background:#ffffff;padding:25px;font:12px Arial,sans-serif}#print-document header{display:flex;justify-content:space-between;border-bottom:2px solid #222222;padding-bottom:20px;margin-bottom:25px}#print-document img{width:65px}#print-document h1{font-size:24px;margin-bottom:7px}#print-document h2{margin:25px 0 12px;font-size:17px}#print-document table{font-size:12px;width:100%;margin:25px 0;border-collapse:collapse}#print-document td,#print-document th{padding:12px 8px;border-bottom:1px solid #dddddd;color:#333333}#print-document .print-total{text-align:right;font-size:20px;font-weight:bold;margin-top:20px}#print-document p{line-height:1.8}#print-document footer{border-top:1px solid #dddddd;margin-top:50px;padding-top:15px;font-size:10px;color:#777777}}
@page{size:A4;margin:18mm}

/* Identidad monocroma: contraste, jerarquía y estados sin depender del color. */
:root{--ink:#171717;--muted:#666666;--line:#dedede;--paper:#f6f6f6;--white:#ffffff;--accent:#111111;--accent-contrast:#ffffff;--sidebar:#0d0d0d;color-scheme:light}
::selection{background:#171717;color:#ffffff}
input,select,textarea,button{accent-color:#111111}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #111111;outline-offset:3px}
.sidebar :focus-visible,.auth-brand-panel :focus-visible{outline-color:#ffffff}
.sidebar{color:#c7c7c7;scrollbar-color:#555555 #0d0d0d}
.sidebar::-webkit-scrollbar-track{background:#0d0d0d}
.sidebar::-webkit-scrollbar-thumb{background:#555555}
.brand,.sidebar .brand-name{color:#ffffff}
.nav-group-title{color:#a3a3a3}
.nav-item:hover{background:#292929;color:#ffffff}
.nav-item.active,.nav-item.active:hover{background:#ffffff;color:#111111}
.sidebar-bottom{border-color:#333333}
.sidebar .user-avatar{background:#eeeeee;color:#222222}
.sidebar .icon-btn{color:#bcbcbc}
.sidebar .icon-btn:hover{background:#333333;color:#ffffff}
.topbar{background:#ffffff}
.breadcrumb,.breadcrumb strong,.eyebrow,.page-description{color:#666666}
.btn-primary{background:#111111;color:#ffffff;border-color:#111111}
.btn-primary:hover{background:#333333;color:#ffffff;border-color:#333333}
.btn-secondary{background:#ffffff;color:#333333;border-color:#c9c9c9}
.btn-secondary:hover{background:#eeeeee;color:#111111}
.btn-ghost,.icon-btn{color:#555555}
.btn-ghost:hover,.icon-btn:hover{background:#eeeeee;color:#111111}
.btn-danger{background:#ffffff;color:#111111;border:1px solid #555555}
.btn-danger:hover{background:#e6e6e6;border-color:#111111}
.demo-banner,.info-note{background:#f2f2f2;border-color:#d9d9d9;color:#555555}
.welcome-card{background:#eeeeee;border-color:#dddddd}
.welcome-copy p{color:#555555}
.welcome-copy .btn{background:#111111;color:#ffffff}
.welcome-copy .btn:hover{background:#333333}
.art-disc{background:#111111;color:#ffffff;box-shadow:0 16px 35px #00000026}
.art-orbit{border-color:#bdbdbd}
.art-spark{background:#555555;border-color:#eeeeee}
.stat-icon,.entity-avatar,.user-avatar,.activity-icon{background:#eeeeee;color:#555555}
.stat-note,.stat-note strong,.stat-label,.cell-sub,.hint,.list-footer,.panel-subtitle,.detail-label,.event-info small,.event-date small,.auth-note{color:#666666}
.cell-main,.detail-value,.metric-row strong,.empty-state h3{color:#333333}
.text-green,.text-red{color:#333333}
.text-red{font-weight:600}
.chart-bar,.chart-legend i{background:#222222}
.chart-bar.expense,.chart-legend i.expense{background:repeating-linear-gradient(135deg,#dddddd 0,#dddddd 3px,#999999 3px,#999999 4px)}
.progress-track{background:#e6e6e6}
.progress-bar{background:#444444}
.task-check{border-color:#999999;color:#111111}
.task-check:hover{background:#eeeeee}
.filter-tabs{background:#eeeeee;border-color:#dddddd}
.filter-tab{color:#666666}
.filter-tab.active{background:#ffffff;color:#111111;box-shadow:0 1px 4px #0000000d}
.badge{background:#f2f2f2;color:#555555;border:1px solid #d2d2d2}
.badge-green{background:#222222;color:#ffffff;border-color:#222222}
.badge-amber{background:#ffffff;color:#333333;border:1px dashed #777777}
.badge-blue{background:#eeeeee;color:#333333;border-color:#999999}
.badge-red{background:repeating-linear-gradient(135deg,#e6e6e6 0,#e6e6e6 4px,#f5f5f5 4px,#f5f5f5 8px);color:#333333;border-color:#888888}
.badge-gray{background:#f7f7f7;color:#666666;border-color:#cccccc}
.auth-brand-panel{background:#111111;color:#ffffff}
.auth-brand-panel:after{border-color:#ffffff26;box-shadow:0 0 0 80px #ffffff08,0 0 0 160px #ffffff04}
.auth-brand small,.auth-label,.auth-feature,.auth-message p,.auth-footer{color:#bcbcbc}
.auth-message h1,.auth-message h1 em,.auth-feature svg{color:#ffffff}
.auth-card>p,.auth-separator{color:#666666}
.field label{color:#555555}
.field input,.field select,.field textarea{background:#ffffff;color:#333333;border-color:#cccccc}
.field input::placeholder,.field textarea::placeholder,.search-input input::placeholder{color:#777777}
.quote-total{color:#666666}
.quote-total strong{color:#222222}
.form-error,.danger-zone{background:#f0f0f0;color:#333333;border:1px solid #999999}
.toast{background:#222222;color:#ffffff;box-shadow:0 8px 35px #00000026}
.toast-error{background:#333333;color:#ffffff;border:1px solid #ffffff}

/* Cuenta personal: datos de acceso y contraseña, disponibles para cada perfil. */
.account-profile-button{border:1px solid transparent;background:transparent;border-radius:10px;padding:5px 8px 5px 5px;text-align:left;cursor:pointer;min-width:0;color:#333333}
.account-profile-button:hover{background:#f2f2f2;border-color:#dedede}
.account-profile-button>.user-avatar{flex-shrink:0}
.account-profile-button>svg{width:14px;height:14px;color:#777777;flex-shrink:0}
.account-profile-label{min-width:0}
.account-profile-label strong{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-profile-label small{display:block;margin-top:3px}
.sidebar-bottom .spacer{min-width:0}
.sidebar-bottom [data-account-name]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-profile-row{display:flex;align-items:center;gap:3px}
.sidebar-profile-summary{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:8px 5px;margin-left:-5px;color:#eeeeee}


.sidebar-profile-copy{flex:1;min-width:0}
.sidebar-profile-copy strong{font-size:11px;line-height:1.5;color:#eeeeee}
.sidebar-profile-copy [data-account-name]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow-wrap:anywhere}
.sidebar-profile-copy small{display:block;font-size:9px;color:#aaaaaa;line-height:1.5;margin-top:4px}

.sidebar-profile-row>[data-action="logout"]{flex-shrink:0}
.account-summary{display:flex;align-items:center;gap:17px;padding:25px 28px;border:1px solid #dedede;background:#eeeeee;border-radius:15px;margin-bottom:23px;min-width:0}
.account-avatar{display:grid;place-items:center;flex-shrink:0;width:57px;height:57px;background:#222222;color:#ffffff;border-radius:15px;font-size:19px;font-weight:600;letter-spacing:-.4px}
.account-summary-person{flex:1;min-width:0}
.account-summary-person h2{font-size:19px;font-weight:650;line-height:1.5;letter-spacing:-.3px;overflow-wrap:anywhere}
.account-summary-person p{font-size:11px;color:#666666;line-height:1.7;margin-top:4px;overflow-wrap:anywhere}
.account-context{display:flex;gap:27px;margin:0;padding-left:24px;border-left:1px solid #cccccc;flex-wrap:wrap}
.account-context>div{min-width:0}
.account-context dt{font-size:9px;color:#666666;margin-bottom:7px}
.account-context dd{font-size:11px;font-weight:600;color:#333333;margin:0;line-height:1.6}
.account-context dd span{display:block;font-size:9px;font-weight:400;color:#666666;margin-top:2px}
.account-demo-note{margin-top:0;margin-bottom:23px}
.account-demo-note p{margin-top:3px}
.account-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;align-items:start}
.account-panel{min-width:0;overflow:hidden}
.account-panel-heading{display:flex;align-items:flex-start;gap:12px;padding:25px 27px 22px;border-bottom:1px solid #eeeeee}
.account-panel-heading .stat-icon{flex-shrink:0;width:35px;height:35px;margin-top:1px}
.account-panel-heading h2{font-size:16px;letter-spacing:-.2px;line-height:1.5;font-weight:600}
.account-panel-heading p{font-size:11px;color:#666666;line-height:1.7;margin-top:5px}
.account-panel form,.account-panel fieldset{min-width:0;margin:0;padding:0;border:0}
.account-fields{display:flex;flex-direction:column;gap:19px;padding:25px 27px}
.account-fields>div[hidden]{display:none}
.account-password-control{display:flex;align-items:stretch;border:1px solid #cccccc;border-radius:7px;min-width:0;overflow:visible;background:#ffffff}
.account-password-control input{flex:1;min-width:0;width:0;border:0;background:transparent;border-radius:7px 0 0 7px}
.account-password-control input:focus-visible{outline-offset:0}
.account-password-toggle{display:flex;align-items:center;gap:5px;flex-shrink:0;border:0;border-left:1px solid #eeeeee;border-radius:0 6px 6px 0;background:#fafafa;color:#555555;font-size:10px;padding:0 10px;cursor:pointer}
.account-password-toggle svg{width:15px;height:15px}
.account-password-toggle:hover{background:#eeeeee;color:#111111}
.account-session-note{display:flex;gap:10px;align-items:flex-start;background:#f5f5f5;border:1px solid #e6e6e6;border-radius:8px;padding:13px 14px;color:#555555}
.account-session-note svg{width:17px;height:17px;flex-shrink:0;margin-top:2px}
.account-session-note p{font-size:10px;line-height:1.8}
.account-form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px 27px;background:#fafafa;border-top:1px solid #eeeeee}
.account-form-footer>span{font-size:9px;color:#666666;line-height:1.7;flex:1;min-width:130px}
.account-form-footer .btn{flex-shrink:0}
.account-feedback{margin:0;overflow-wrap:anywhere}
.account-success{border:1px solid #999999;background:#f5f5f5;color:#333333;padding:12px;border-radius:7px;font-size:12px;line-height:1.7}
.account-success:empty{display:none}
.account-panel fieldset:disabled input,.account-panel fieldset:disabled .account-password-control{background:#f5f5f5;color:#666666}
.account-panel fieldset:disabled button{cursor:not-allowed;opacity:.6}
.account-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1250px){.account-summary{flex-wrap:wrap}.account-context{flex-basis:100%;border-left:0;border-top:1px solid #cccccc;padding:17px 0 0;margin-top:2px;justify-content:space-between;gap:15px}.account-panel-heading,.account-fields{padding:22px}.account-form-footer{padding:18px 22px}}
@media(max-width:1000px){.account-layout{grid-template-columns:minmax(0,1fr);gap:20px}.account-context{gap:20px;justify-content:flex-start}.account-summary{padding:23px}}
@media(max-width:760px){.account-profile-button{padding:4px}.account-profile-label strong{max-width:135px}.account-profile-button>svg{width:12px}.account-summary{padding:20px;gap:13px;margin-bottom:20px}.account-avatar{width:48px;height:48px;font-size:17px;border-radius:12px}.account-summary-person h2{font-size:17px}.account-context{gap:16px 24px}.account-panel-heading{padding:21px}.account-fields{padding:21px;gap:18px}.account-form-footer{padding:18px 21px}.account-form-footer>span{flex-basis:100%}.account-form-footer .btn{width:100%;justify-content:center}.account-session-note p{font-size:10px}.account-password-toggle{padding:0 9px}}
@media(max-width:420px){.account-profile-label strong{max-width:110px}.account-summary{padding:19px 17px}.account-context{gap:16px}.account-context>div:first-child{flex-basis:100%}.account-panel-heading,.account-fields{padding:19px 17px}.account-panel-heading{gap:10px}.account-form-footer{padding:17px}.account-password-toggle{font-size:9px;gap:4px;padding:0 8px}.account-password-toggle svg{width:13px;height:13px}}
