:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button{font-family:inherit}#root{min-height:100vh}.app-shell{color:#1f2937;background:#f6f8fb;min-height:100vh;display:flex}.login-shell{background:#f6f8fb;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #e4e7ec;border-radius:8px;width:min(100%,440px);padding:30px;box-shadow:0 14px 30px #0f172a0f}.login-brand{margin-bottom:28px}.login-brand h1{color:#111827}.login-brand p{color:#667085}.login-form{flex-direction:column;gap:18px;display:flex}.login-form h2{color:#111827;margin:0;font-size:28px;line-height:1.15}.main-content{box-sizing:border-box;flex:1;padding:40px}.page-header{justify-content:space-between;align-items:flex-start;margin-bottom:28px;display:flex}.eyebrow{color:#16a3a6;text-transform:uppercase;letter-spacing:0;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.page-header h2,.workspace-panel h3,.document-card h3{color:#111827;letter-spacing:0;margin:0;font-weight:800}.page-header h2{font-size:34px;line-height:1.15}.page-header p,.workspace-panel p,.summary-card p,.document-card p{color:#667085;margin:0;line-height:1.6}.page-header p{max-width:640px;margin-top:10px}.documents-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.document-card{box-sizing:border-box;text-align:left;cursor:pointer;background:#fff;border:1px solid #e4e7ec;border-radius:8px;min-height:132px;padding:22px;box-shadow:0 14px 30px #0f172a0f}.document-card:hover{border-color:#16a3a6}.document-card h3{margin-bottom:12px;font-size:18px;line-height:1.25}.document-card p{font-size:14px}.workspace-panel{box-sizing:border-box;background:#fff;border:1px solid #e4e7ec;border-radius:8px;padding:28px}.workspace-panel h3{margin-bottom:10px;font-size:24px}.sidebar{color:#fff;box-sizing:border-box;background:#101828;flex-direction:column;flex:0 0 280px;gap:36px;width:280px;padding:32px 24px;display:flex}.brand{align-items:center;gap:14px;display:flex}.brand-mark{color:#fff;background:#16a3a6;border-radius:8px;place-items:center;width:48px;height:48px;font-size:22px;font-weight:800;display:grid}.brand h1{color:#fff;letter-spacing:0;margin:0;font-size:30px;font-weight:800;line-height:1}.brand p{color:#cbd5e1;max-width:170px;margin:8px 0 0;font-size:13px;line-height:1.35}.sidebar-nav{flex-direction:column;gap:8px;display:flex}.session-box{border-top:1px solid #26354a;flex-direction:column;gap:8px;margin-top:auto;padding-top:20px;display:flex}.session-box span{color:#98a2b3;text-transform:uppercase;font-size:12px;font-weight:700}.session-box strong{color:#fff;overflow-wrap:anywhere;font-size:14px;line-height:1.4}.logout-button{color:#d0d7e2;min-height:38px;font:inherit;cursor:pointer;background:0 0;border:1px solid #344054;border-radius:8px;margin-top:6px;font-size:14px;font-weight:800}.logout-button:hover{color:#fff;border-color:#16a3a6}.nav-item{color:#d0d7e2;width:100%;min-height:44px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:0 14px;font-size:15px;display:flex}.nav-item:hover,.nav-item.active{color:#fff;background:#1d2939}.nav-dot{background:#64748b;border-radius:999px;width:8px;height:8px}.nav-item.active .nav-dot{background:#16a3a6}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.summary-card{box-sizing:border-box;background:#fff;border:1px solid #e4e7ec;border-radius:8px;min-height:150px;padding:22px;box-shadow:0 14px 30px #0f172a0f}.summary-card span{color:#475467;font-size:14px;font-weight:700;display:block}.summary-card strong{color:#111827;margin:18px 0 8px;font-size:38px;line-height:1;display:block}.summary-card p{font-size:14px}.purchase-order-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.purchase-order-metric-card{background:#f9fafb;border:1px solid #e4e7ec;border-radius:8px;min-height:132px;padding:18px}.purchase-order-metric-card span{color:#475467;font-size:13px;font-weight:800;display:block}.purchase-order-metric-card strong{color:#111827;overflow-wrap:anywhere;margin:14px 0 8px;font-size:28px;line-height:1.1;display:block}.purchase-order-metric-card p{color:#667085;margin:0;font-size:13px;line-height:1.45}.dashboard-latest-panel{border-top:1px solid #e4e7ec;margin-top:22px;padding-top:20px}.compact-heading{margin-bottom:12px}.compact-heading h3{font-size:20px}.latest-orders-list{gap:10px;display:grid}.latest-order-item{background:#fff;border:1px solid #e4e7ec;border-radius:8px;justify-content:space-between;gap:16px;padding:14px;display:flex}.latest-order-item div{flex-direction:column;gap:4px;display:flex}.latest-order-item div:last-child{text-align:right;align-items:flex-end}.latest-order-item span{color:#667085;font-size:13px;font-weight:700}.latest-order-item strong{color:#111827;overflow-wrap:anywhere;font-size:15px}.module-toolbar{background:#fff;border:1px solid #d0d5dd;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;padding:14px;display:flex}.new-order-button,.module-toolbar .primary-button,.module-toolbar .secondary-button{white-space:nowrap;flex:none}.dashboard-access-button{border-color:#16a3a6}.purchase-order-form{flex-direction:column;gap:18px;display:flex}.form-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;display:flex}.form-panel{background:#fff;border:1px solid #e4e7ec;border-radius:8px;padding:24px;box-shadow:0 14px 30px #0f172a0f}.latest-purchase-orders-panel{background:#f9fafb;border:1px solid #d0d5dd;border-radius:8px;padding:18px 20px}.latest-purchase-orders-panel .panel-heading{margin-bottom:10px}.latest-purchase-orders-list{gap:8px;margin:0;padding-left:20px;display:grid}.latest-purchase-orders-list li{color:#344054;font-size:15px;line-height:1.4}.latest-purchase-orders-list strong{color:#111827}.latest-purchase-orders-list span{color:#667085;margin-left:6px;font-weight:700}.latest-purchase-orders-empty{color:#667085;margin:0;font-size:14px;font-weight:700}.form-panel h3{color:#111827;margin:0 0 18px;font-size:22px;line-height:1.2}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.field{color:#475467;flex-direction:column;gap:8px;font-size:14px;font-weight:700;display:flex}.field-full{grid-column:1/-1}.field input,.field select,.field textarea,.history-filters input,.history-filters select,.products-table input{color:#111827;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:10px 12px;font-size:14px}.field input:disabled,.field select:disabled,.field textarea:disabled,.history-filters input:disabled,.history-filters select:disabled,.products-table input:disabled{cursor:not-allowed;color:#667085;background:#f9fafb}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.history-filters input:focus,.history-filters select:focus,.products-table input:focus{border-color:#16a3a6;outline:2px solid #16a3a633}.field input.input-error,.field select.input-error,.field textarea.input-error,.products-table input.input-error{background:#fff8f7;border-color:#f04438}.field-hint{color:#667085;font-size:12px;font-weight:700}.field-error{color:#b42318;font-size:12px;font-weight:700;line-height:1.4}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.panel-heading h3{margin-bottom:6px}.panel-heading p{color:#667085;margin:0}.panel-heading span{color:#0f766e;background:#eef7f7;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800}.detail-actions{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.detail-grid div{background:#f9fafb;border-radius:8px;padding:14px}.detail-grid span{color:#667085;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.detail-grid strong{color:#111827;overflow-wrap:anywhere;font-size:14px}.detail-field-full{grid-column:1/-1}.form-actions{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.history-filters{grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(120px,1fr));align-items:end;gap:14px;margin-bottom:22px;display:grid}.dashboard-filters{grid-template-columns:repeat(4,minmax(120px,1fr)) minmax(220px,auto)}.filter-actions{gap:10px;display:flex}.primary-button,.secondary-button{min-height:42px;font:inherit;cursor:pointer;border-radius:8px;padding:0 16px;font-size:14px;font-weight:800}.primary-button{color:#fff;background:#16a3a6;border:1px solid #16a3a6}.secondary-button{color:#344054;background:#fff;border:1px solid #d0d5dd}.secondary-button[aria-current=page]{color:#0f766e;background:#eef7f7;border-color:#16a3a6}.trash-access-button{color:#92400e;border-color:#fdb022}.danger-button{color:#b42318;border-color:#fda29b}.danger-button:hover{background:#fff8f7;border-color:#f04438}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.45}.download-actions{flex-wrap:wrap;gap:10px;margin-top:6px;display:flex}.products-table-wrap{border:1px solid #e4e7ec;border-radius:8px;overflow-x:auto}.products-table,.history-table{border-collapse:collapse;width:100%;min-width:900px}.products-table th,.products-table td,.history-table th,.history-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e4e7ec;padding:12px}.products-table th,.history-table th{color:#475467;background:#f9fafb;font-size:13px;font-weight:800}.products-table tr:last-child td,.history-table tr:last-child td{border-bottom:0}.history-table-wrap{border:1px solid #e4e7ec;border-radius:8px;overflow-x:auto}.history-table td{color:#344054;font-size:14px}.history-table td:first-child,.history-table td:nth-child(4){color:#111827;font-weight:800}.compact-button{min-height:34px;padding:0 12px}.table-actions{flex-wrap:wrap;gap:8px;display:flex}.table-sort-button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800}.table-sort-button:disabled{cursor:default;opacity:.6}.filename-list{color:#475467;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45;display:inline-block}.loading-dot{background:currentColor;border-radius:999px;width:8px;height:8px;margin-right:8px;animation:1s ease-in-out infinite pulse-loading;display:inline-block}@keyframes pulse-loading{0%,to{opacity:.35}50%{opacity:1}}.status-message{border-radius:8px;flex-direction:column;gap:6px;margin-top:16px;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.status-message span{font-weight:600}.form-mode-message{margin-top:0}.status-message.success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.session-message{margin:-10px 0 24px}.status-message.loading{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd}.status-message.warning{color:#92400e;background:#fffbeb;border:1px solid #fedf89}.status-message.error{color:#b42318;background:#fef2f2;border:1px solid #fecaca}.products-table td:first-child{width:140px}.products-table td:nth-child(3),.products-table td:nth-child(4){width:180px}.line-total{color:#111827;font-weight:800}.totals-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.totals-panel div{background:#f9fafb;border-radius:8px;padding:16px}.totals-panel span{color:#667085;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.totals-panel strong{color:#111827;font-size:20px}.rrhh-dashboard{gap:24px;display:grid}.rrhh-status-panel{gap:18px;display:grid}.rrhh-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.rrhh-status-group{box-sizing:border-box;background:#f9fafb;border:1px solid #e4e7ec;border-radius:8px;min-height:132px;padding:18px}.rrhh-status-group h4{color:#111827;margin:0 0 12px;font-size:15px;line-height:1.3}.rrhh-status-list{flex-wrap:wrap;gap:8px;display:flex}.rrhh-status-pill{color:#475467;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;min-height:30px;padding:6px 10px;font-size:13px;font-weight:700;line-height:1.2;display:inline-flex}.rrhh-card-action{margin-top:16px}.rrhh-expiring-panel{gap:16px;display:grid}.rrhh-alert-total{box-sizing:border-box;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;width:min(220px,100%);padding:12px 14px;display:inline-flex}.rrhh-alert-total span{color:#9a3412;text-transform:uppercase;font-size:12px;font-weight:900}.rrhh-alert-total strong{color:#111827;font-size:24px;line-height:1}.rrhh-expiring-list{gap:12px;display:grid}.rrhh-expiring-item{background:#fffaf5;border:1px solid #fed7aa;border-radius:8px;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:16px;padding:16px;display:grid}.rrhh-expiring-item span{color:#9a3412;text-transform:uppercase;font-size:12px;font-weight:900;display:block}.rrhh-expiring-item strong{color:#111827;overflow-wrap:anywhere;margin-top:4px;font-size:16px;display:block}.rrhh-expiring-item small{color:#667085;margin-top:6px;font-size:13px;font-weight:800;display:block}.rrhh-expiring-item dl{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;display:grid}.rrhh-expiring-item dt{color:#667085;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:900}.rrhh-expiring-item dd{color:#111827;overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:800}.rrhh-workers-page,.rrhh-worker-detail-page{gap:18px;display:grid}.rrhh-workers-filters,.rrhh-workers-panel,.rrhh-worker-form{gap:16px;display:grid}.rrhh-history-filters{grid-template-columns:minmax(220px,1fr) minmax(160px,220px) auto;margin-bottom:0}.rrhh-pagination{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.rrhh-pagination span{color:#475467;font-size:14px;font-weight:800}.rrhh-worker-card{gap:18px;display:grid}.rrhh-link-section{gap:16px;display:grid}.rrhh-empty-note{color:#667085;margin:0}.rrhh-link-list{gap:12px;display:grid}.rrhh-link-item{background:#f9fafb;border:1px solid #e4e7ec;border-radius:8px;padding:16px}.rrhh-link-item-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.rrhh-link-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.rrhh-link-item-heading span{color:#667085;text-transform:uppercase;font-size:12px;font-weight:800}.rrhh-link-item-heading h4{color:#111827;margin:4px 0 0;font-size:18px}.rrhh-link-status{text-align:center;border-radius:8px;align-items:center;min-height:30px;padding:6px 10px;font-size:12px;font-weight:900;line-height:1.2;display:inline-flex}.rrhh-status-vigente{color:#166534;background:#dcfce7}.rrhh-status-no-vigente{color:#991b1b;background:#fee2e2}.rrhh-status-terminado{color:#374151;background:#e5e7eb}.rrhh-status-pendiente{color:#92400e;background:#fef3c7}.rrhh-link-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;display:grid}.rrhh-link-grid div{background:#fff;border-radius:8px;padding:12px}.rrhh-link-grid dt{color:#667085;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800}.rrhh-link-grid dd{color:#111827;overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:800}.rrhh-modification-form,.rrhh-modifications-panel{gap:16px;display:grid}.rrhh-modification-list{gap:12px;display:grid}.rrhh-modification-groups{gap:18px;display:grid}.rrhh-modification-group{gap:10px;display:grid}.rrhh-modification-group h4{color:#111827;margin:0;font-size:15px;line-height:1.3}.rrhh-modification-item{background:#f9fafb;border:1px solid #e4e7ec;border-radius:8px;gap:12px;padding:16px;display:grid}.rrhh-modification-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.rrhh-modification-heading span{color:#667085;text-transform:uppercase;font-size:12px;font-weight:900;display:block}.rrhh-modification-heading strong{color:#111827;margin-top:4px;font-size:15px;line-height:1.3;display:block}.rrhh-modification-heading small{color:#667085;overflow-wrap:anywhere;margin-top:6px;font-size:13px;font-weight:800;display:block}.rrhh-modification-actions{flex-wrap:wrap;gap:8px;display:flex}.rrhh-modification-detail{gap:14px;display:grid}.rrhh-modification-metadata,.rrhh-modification-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.rrhh-modification-metadata div,.rrhh-modification-comparison div{background:#fff;border-radius:8px;padding:12px}.rrhh-modification-metadata dt,.rrhh-modification-comparison dt{color:#667085;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:900}.rrhh-modification-metadata dd,.rrhh-modification-comparison dd{color:#111827;overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:800}.rrhh-comparison-heading h4{color:#111827;margin:4px 0 0;font-size:15px}.rrhh-comparison-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.rrhh-comparison-row span{overflow-wrap:anywhere}.rrhh-comparison-row strong{color:#667085}@media (width<=760px){.rrhh-link-item-heading,.rrhh-modification-heading{display:grid}.rrhh-link-heading-actions{justify-content:flex-start}.rrhh-modification-metadata,.rrhh-modification-comparison{grid-template-columns:1fr}}@media (width<=980px){.app-shell{flex-direction:column}.sidebar{flex-basis:auto;gap:24px;width:100%}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.main-content{padding:28px 20px}.summary-grid,.documents-grid,.form-grid,.history-filters,.detail-grid,.purchase-order-dashboard-grid,.rrhh-expiring-item,.rrhh-expiring-item dl,.rrhh-history-filters,.rrhh-link-grid,.rrhh-status-grid,.totals-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.sidebar{padding:24px 18px}.brand{align-items:flex-start}.sidebar-nav,.summary-grid,.documents-grid,.form-grid,.history-filters,.detail-grid,.purchase-order-dashboard-grid,.rrhh-expiring-item,.rrhh-expiring-item dl,.rrhh-history-filters,.rrhh-link-grid,.rrhh-status-grid,.totals-panel{grid-template-columns:1fr}.latest-order-item{flex-direction:column}.latest-order-item div:last-child{text-align:left;align-items:flex-start}.page-header h2{font-size:28px}}
