/* One typography and control language across access, workshop and administration. */
:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;color-scheme:light}
body{font-family:inherit;letter-spacing:-.012em}
button,input,select,textarea{font-family:inherit}
h1,h2,h3{font-family:inherit;font-weight:600;letter-spacing:-.035em;line-height:1.25}
.app-icon,#admin-tabs svg{stroke-width:1.65}
.eyebrow,.admin-nav-label{font-size:9px!important;font-weight:500;letter-spacing:1.15px;line-height:1.5}
body:not(.admin-mode) .panel,.admin-content .panel,.admin-content .reference-sheet{border-color:#e7e7ec;border-radius:16px;box-shadow:0 3px 16px #1d1d1f03}
.work-title-summary{display:flex;align-items:center;gap:12px;min-width:0}
.work-title-symbol{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:#fceff1;border:1px solid #f8e2e5;color:#bf1923}
.work-title-symbol svg{width:23px;height:23px}
.work-mode .work-heading h1{font-size:23px;line-height:1.2;margin:3px 0 7px;font-weight:600;letter-spacing:-.7px}
.work-mode .work-heading .eyebrow{font-size:8px!important;letter-spacing:1.2px}
.operator-chip{background:#fff;border:1px solid #e7e7ec;border-radius:7px;padding:4px 7px;line-height:1.2}
.work-mode .operator-chip{font-size:10px}
.work-mode .work-status{background:#fafafd;border-color:#e7e7ec;border-radius:12px}
.work-mode .panel-title h2{font-size:17px;font-weight:600;letter-spacing:-.45px}
.work-mode .reference-panel #part-description{font-weight:600;letter-spacing:-.65px}
.daily-heading h2{font-size:19px;font-weight:600;letter-spacing:-.5px}
body:not(.admin-mode) .camera-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
body:not(.admin-mode) .camera-actions button{min-height:34px!important;border-radius:9px;font-size:10px!important}
.camera-actions svg{width:14px;height:14px}
.scan-read-badge{display:flex;justify-content:center;gap:8px;align-items:center;font-size:13px;font-weight:600;color:#fff;border:1px solid #d71920;background:#d71920;border-radius:10px;padding:10px 14px;margin:0 0 14px}
.scan-read-badge svg{width:19px;height:19px;stroke-width:2}
.reference-panel,.camera-feedback{position:relative;isolation:isolate}
.reference-panel.scan-confirmed::after,.camera-feedback.scan-confirmed::after{content:"";position:absolute;inset:0;z-index:5;border-radius:inherit;background:#d71920;pointer-events:none;opacity:0;animation:pm-read-fill 1.6s ease-in-out}
@keyframes pm-read-fill{0%,38%,100%{opacity:0}8%,25%,50%,72%{opacity:.32}}
.admin-content>.admin-panel:not(.reference-sheet){padding:24px}
.admin-content .admin-panel>h2,.admin-content .panel>h2{font-size:21px;font-weight:600;letter-spacing:-.6px;margin:0 0 20px}
.admin-content h3{font-size:16px;font-weight:600;letter-spacing:-.35px;margin:22px 0 12px}
.admin-content p,.admin-content label{font-size:12px;line-height:1.6;color:#737378}
.admin-content small{color:#85858d}
.admin-content button:not(.sheet-table button):not(.sheet-toolbar button):not(.report-page-actions button){border-radius:9px;box-shadow:none;font-size:12px;letter-spacing:-.1px}
.admin-content input:not(.sheet-table input),.admin-content select{border-radius:9px;border-color:#e7e7ec;background:#fdfdff;font-size:13px;letter-spacing:-.1px}
.admin-content details{border:1px solid #e7e7ec;border-radius:12px;background:#fafafd;padding:16px;margin:14px 0}
.admin-content summary{font-size:13px;font-weight:500;line-height:1.5;color:#4d4d55}
#admin-tabs button{border-radius:10px;font-weight:500;letter-spacing:-.15px}
.admin-topbar{border-color:#e7e7ec}.admin-sidebar{border-color:#e7e7ec}
.admin-breadcrumb,.admin-account{font-size:12px;letter-spacing:-.1px}
.admin-content .sheet-heading h2,.report-heading h2{font-size:22px;letter-spacing:-.65px;font-weight:600}
.admin-mode .sheet-table,.report-table{letter-spacing:0}
body:not(.admin-mode) .auth-heading h1,body:not(.admin-mode) .auth-heading h2{font-weight:600;letter-spacing:-.65px}
.box-heading h1{font-weight:600;letter-spacing:-.65px}
/* Access is a compact account picker, using the same icon and card language. */
body.access-mode{background:#f6f6f8}
.access-mode .app-brand-header{height:104px;padding:14px;background:#fff;border-color:#ececf0}
.access-mode .app-brand-header img{width:178px;height:66px}
.access-mode .app-brand-header>span{display:none}
body.access-mode>main{max-width:780px;padding:38px 28px 100px}
.access-mode #access{max-width:640px;padding:0}
#access .box-heading{justify-content:flex-start;gap:13px;padding:0;margin:0 0 12px;border:0;border-radius:0;background:transparent;box-shadow:none}
#access .context-icon{width:44px;height:44px;border-radius:14px;background:#fff;border:1px solid #e7e7ec;color:#bf1923;box-shadow:0 2px 8px #1d1d1f03}
#access .context-icon svg{width:24px;height:24px;stroke-width:1.6}
#access .box-heading small{font-size:8px!important;font-weight:500;letter-spacing:1.1px;color:#8c8c94!important}
#access .box-heading h1{font-size:25px;font-weight:600;letter-spacing:-.8px;line-height:1.2;margin:4px 0 6px}
#access .box-heading strong{display:inline-block;font-size:10px;font-weight:500;letter-spacing:.4px;color:#737378;background:#ececf1;border-radius:5px;padding:3px 6px;line-height:1.2}
#access #device-assignment-message{font-size:12px;line-height:1.6;color:#85858d;margin:0 0 24px;padding-left:57px}
#access .users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px}
#access .users:has(>.user-card:only-child){grid-template-columns:minmax(0,1fr)}
#access .users .user-card{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:92px;padding:18px 16px;border:1px solid #e7e7ec;border-radius:16px;background:#fff;box-shadow:0 3px 12px #1d1d1f03;transform:none;text-align:left}
#access .users .user-card:hover{border-color:#d8d8e0;background:#fdfdff;box-shadow:0 4px 16px #1d1d1f05;transform:none}
#access .users .user-card[aria-pressed="true"]{background:#fff8f9;border-color:#e9a5ab;box-shadow:0 0 0 2px #d7192008}
#access .users .avatar{width:46px;height:46px;flex:none;border-radius:15px;background:#f3f3f7;color:#777780;font-size:18px;letter-spacing:-.6px;font-weight:500}
#access .users .user-card[aria-pressed="true"] .avatar{background:#fbe6e9;color:#bf1923}
#access .users .user-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
#access .users .user-info>span{font-size:14px;font-weight:600;line-height:1.35;letter-spacing:-.25px;overflow-wrap:anywhere;color:#1d1d1f}
#access .users .user-info small{font-size:10px;font-weight:400;line-height:1.4;color:#929299}
#access .user-card-chevron{width:16px;height:16px;flex:none;color:#b4b4bc}
#access .users .user-card[aria-pressed="true"] .user-card-chevron{color:#bf1923}
body.access-mode #login{max-width:none!important;margin:0;padding:22px;border-radius:16px;border:1px solid #e7e7ec;background:#fff;box-shadow:0 3px 16px #1d1d1f03}
#access .auth-heading{gap:12px;margin:0 0 20px}
#access .auth-icon{width:35px;height:35px;border-radius:11px;background:#f7f7fa;border-color:#ececf1;color:#85858d}
#access .auth-icon svg{width:19px;height:19px}
#access .auth-heading small{font-size:8px;letter-spacing:1px}
#access .auth-heading h2{font-size:20px!important;font-weight:600;letter-spacing:-.55px}
#access #login label{font-size:12px;font-weight:500;margin:0 0 8px}
#access #password{min-height:48px;border-radius:11px;background:#fafafd;font-size:16px;border-color:#e7e7ec}
#access .auth-submit{margin-top:16px;min-height:46px;font-size:13px;border-radius:11px;gap:9px}
#access .installation-entry{margin:20px 0 0;padding:0;text-align:left}
#access .installation-entry a{font-size:11px;padding:8px 0;color:#85858d;gap:7px}
#access footer button{font-size:11px;min-height:36px;padding:8px 10px;background:#fff;border:1px solid #e7e7ec;box-shadow:0 2px 8px #1d1d1f03;border-radius:10px;color:#85858d}
@media(max-width:600px){
 .access-mode .app-brand-header{height:88px;padding:10px}.access-mode .app-brand-header img{width:158px;height:60px}
 body.access-mode>main{padding:28px 20px 90px}
 #access .box-heading h1{font-size:23px;letter-spacing:-.65px}
 #access .users{grid-template-columns:minmax(0,1fr);gap:10px}
 #access .users .user-card{min-height:84px;padding:16px;gap:13px}
 #access .users .user-info>span{font-size:15px}
 #access .users .user-info small{font-size:11px}
 body.access-mode #login{padding:20px!important}
 #access #device-assignment-message{font-size:11px;margin-bottom:22px}
}
@media(max-width:600px){
 .work-title-summary{gap:10px}.work-title-symbol{width:35px;height:35px;border-radius:11px}.work-title-symbol svg{width:20px;height:20px}
 .work-mode .work-heading h1{font-size:21px}.work-mode .work-heading{gap:10px}
 .work-mode .work-heading .eyebrow{font-size:7px!important}
 .camera-feedback .camera-actions{width:100%;justify-content:flex-start}
 .admin-content>.admin-panel:not(.reference-sheet){padding:18px}
 .admin-content input:not(.sheet-table input),.admin-content select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.reference-panel.scan-confirmed::after,.camera-feedback.scan-confirmed::after{animation:none;opacity:.18}}

/* Automatic reader: square preview and a quiet status beside it. */
.work-mode .work-heading{margin-bottom:8px}
.work-mode .work-status{padding:6px 10px;margin-bottom:10px;gap:2px 14px}
.work-mode .work-grid{gap:10px}
.work-mode .work-grid>.scanner-panel{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:16px;padding:12px}
.work-mode .scanner-panel .camera{width:128px;height:128px;min-height:0;max-height:none;aspect-ratio:1;border-radius:13px}
.work-mode .scanner-panel .camera>span{inset:7%;width:auto;height:auto;transform:none;border-radius:10px}
.work-mode .scanner-panel .camera-feedback{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;margin:0;min-width:0}
.work-mode .scanner-panel .camera-feedback p{flex:none;margin:0;width:100%;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#85858d}
.work-mode .scanner-panel .camera-feedback p:empty{display:none}
.work-mode .scanner-panel .camera-feedback p button{display:block;max-width:100%;white-space:normal;min-height:44px!important;margin:6px 0 0;text-align:left}
.work-mode .scanner-panel #camera-retry{display:inline-flex;align-items:center;gap:6px;min-height:44px!important;font-size:11px!important;padding:8px 10px!important;white-space:normal;text-align:left}
@media(max-width:380px){
 .work-mode .work-grid>.scanner-panel{grid-template-columns:112px minmax(0,1fr);gap:12px}
 .work-mode .scanner-panel .camera{width:112px;height:112px}
}

/* Part identity beside the camera; a compact stock and movement card below. */
.work-mode .scanner-panel .camera-feedback{gap:7px;align-self:stretch}
.scan-summary{width:100%;border-radius:9px;padding:2px 0}
.work-mode .scan-summary .reference-code{display:block;padding:0;margin:0 0 5px;background:none;border:0;border-radius:0;color:#bf1923;font-size:10px;font-weight:500;letter-spacing:.1px;overflow-wrap:anywhere}
.work-mode .scan-summary #part-description{font-size:19px;font-weight:600;line-height:1.3;letter-spacing:-.45px;margin:0 0 6px;overflow-wrap:anywhere}
.work-mode .scan-summary #part-supplier{font-size:10px;line-height:1.5;color:#929299;overflow-wrap:anywhere}
.work-mode .scanner-panel:has(#scan-summary:not([hidden])) #camera-message{font-size:10px}
.work-mode .reference-panel:has(#part[hidden]){display:none}
.work-mode .reference-panel .part-details{border-bottom:1px solid #eeeeF2;padding-bottom:14px;margin-bottom:14px}
.work-mode .reference-panel .stock-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px}
.work-mode .reference-panel .stock-balance{order:-1;margin:0;padding:0;border:0}
.work-mode .stock-balance .amount{font-size:32px;line-height:1.15;font-weight:500;letter-spacing:-1.2px;font-variant-numeric:tabular-nums}
.work-mode .reference-panel .stock-balance small{font-size:9px!important;font-weight:400;color:#929299;line-height:1.5;margin-top:4px}
.work-mode .reference-panel #part-location{margin:0;padding:0;border:0;border-radius:0;background:none;font-size:11px;font-weight:500;line-height:1.5;color:#737378;overflow-wrap:anywhere}
.work-mode .reference-panel #part-location::before{content:"Ubicación";display:block;font-size:9px;font-weight:400;color:#a0a0a6;margin-bottom:4px}
.work-mode .reference-panel .scan-read-badge{display:inline-flex;width:auto;font-size:10px;font-weight:500;padding:5px 8px;margin:0 0 12px;gap:5px;border:0;border-radius:6px;background:#fdf0f2;color:#bf1923}
.work-mode .reference-panel .scan-read-badge svg{width:13px;height:13px}
.work-mode .modes{margin:0 0 14px}
.work-mode .reference-panel #qty-label{font-weight:500;font-size:11px}
.work-mode .reference-panel #confirm{margin-top:14px;font-size:13px;font-weight:500;border-radius:11px}
@media(max-width:600px){.work-mode .scan-summary #part-description{font-size:17px;letter-spacing:-.35px}.work-mode .scan-summary #part-supplier{font-size:9px}}

/* Selected app icon and a compact wordmark in every application header. */
body .app-brand-header{display:flex;align-items:center;justify-content:center;gap:12px;height:92px;padding:14px;background:#fff}
body .app-brand-header img{width:52px;height:52px;max-width:none;object-fit:contain;border-radius:13px}
.app-brand-copy{display:flex;flex-direction:column;text-align:left;gap:3px}
.app-brand-copy strong{font-size:22px;font-weight:600;letter-spacing:-.6px;color:#1d1d1f;line-height:1.2}
.app-brand-copy>span{font-size:10px;font-weight:400;color:#929299;letter-spacing:.1px;line-height:1.2}
body.access-mode .app-brand-header{height:104px;padding:18px;gap:12px}
body.access-mode .app-brand-header img{width:58px;height:58px}
body.work-mode>header.app-brand-header{height:54px;padding:7px;gap:9px}
body.work-mode>header.app-brand-header img{width:36px;height:36px;border-radius:9px}
.work-mode .app-brand-copy strong{font-size:16px;letter-spacing:-.35px}
.work-mode .app-brand-copy>span{font-size:8px}
body.admin-mode>header.app-brand-header{display:none}
.admin-brand{flex-direction:row;gap:10px;justify-content:center;text-align:left;padding:0 4px 20px}
.admin-brand img{width:42px;height:42px;object-fit:contain;border-radius:11px}
.admin-brand .app-brand-copy strong{font-size:18px}
.admin-brand .app-brand-copy>span{font-size:9px}
@media(max-width:900px){.admin-brand{padding:9px 0}.admin-brand img{width:36px;height:36px}.admin-brand .app-brand-copy strong{font-size:16px}}

/* Compact horizontal identity with safe-area space; never clip the installed logo. */
body .app-brand-header,body.access-mode .app-brand-header,body.work-mode>header.app-brand-header{flex-direction:row;height:auto;min-height:76px;padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top));gap:11px;align-items:center;overflow:visible;flex-wrap:nowrap}
body.access-mode .app-brand-header{min-height:104px}
body.work-mode>header.app-brand-header{min-height:64px;padding-bottom:10px;padding-top:calc(10px + env(safe-area-inset-top))}
body.work-mode>header.app-brand-header img{width:42px;height:42px;flex:none;object-fit:contain;object-position:center;border-radius:11px;display:block}
.app-brand-copy{flex:none}
.work-mode .app-brand-copy strong{font-size:17px;line-height:1.25;font-weight:600;letter-spacing:-.45px}
.work-mode .app-brand-copy>span{font-size:9px;line-height:1.4;color:#9a9aa2}
/* Workshop headings use a quieter system-title and secondary account line. */
.work-mode .work-heading{padding:3px 1px;margin-bottom:11px;align-items:center;gap:12px}
.work-mode .work-title-summary{gap:10px}
.work-mode .work-title-symbol{width:32px;height:32px;border-radius:10px;background:#fff;border-color:#ececf1;color:#9a9aa2}
.work-mode .work-title-symbol svg{width:18px;height:18px;stroke-width:1.5}
.work-mode .work-heading .eyebrow{display:none}
.work-mode .work-heading h1{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI Variable Display","Segoe UI",sans-serif;font-size:22px;line-height:1.25;font-weight:500;letter-spacing:-.6px;margin:0 0 4px;color:#252529}
.work-mode .operator-chip{background:none;border:0;border-radius:0;padding:0;font-size:10px;line-height:1.5;color:#97979f;gap:5px}
.work-mode .operator-chip svg{width:12px;height:12px;stroke-width:1.5}
.work-mode .work-heading>button{width:44px;height:44px;min-height:44px!important;padding:0!important;border:1px solid #e8e8ed;border-radius:14px!important;background:#fff;color:#92929a!important;flex:none}
.work-mode .work-heading>button span{display:none}
.work-mode .work-heading>button::after{content:none}
.work-mode .work-heading>button svg{width:17px;height:17px;stroke-width:1.5}
/* Scanned identity: description first, code and supplier as light metadata. */
.work-mode .scanner-panel .camera-feedback{gap:5px;padding:4px 0}
.work-mode .scan-summary{display:flex;flex-direction:column;gap:6px;padding:6px 0;border-radius:10px}
.work-mode .scan-summary #part-description{order:0;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI Variable Display","Segoe UI",sans-serif;font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.45px;color:#252529;margin:0}
.work-mode .scan-summary .reference-code{order:1;align-self:flex-start;width:auto;max-width:100%;font-size:10px;font-weight:400;line-height:1.5;letter-spacing:.1px;color:#777780;background:#f4f4f7;border:0;border-radius:5px;padding:3px 6px;margin:0}
.work-mode .scan-summary #part-supplier{order:2;font-size:10px;font-weight:400;line-height:1.5;color:#a0a0a8}
.work-mode .scanner-panel:has(#scan-summary:not([hidden])) #camera-message{font-size:9px;line-height:1.4;color:#a5a5ad}
@media(max-width:600px){.work-mode .work-heading h1{font-size:21px}.work-mode .scan-summary #part-description{font-size:17px;letter-spacing:-.35px}.work-mode .scan-summary #part-supplier{font-size:9px}}

/* Scanned part: a self-contained, softly inset product card. */
.work-mode .scanner-panel .camera-feedback:has(#scan-summary:not([hidden])){align-self:stretch;justify-content:center;background:linear-gradient(145deg,#fafafd,#f4f4f8);border:1px solid #ececf2;border-radius:15px;padding:13px 15px;box-shadow:inset 0 1px 0 #fff,0 1px 3px #1d1d1f03;gap:8px}
.work-mode .scan-summary{display:flex;flex-direction:column;gap:10px;padding:0;border-radius:12px;min-width:0}
.work-mode .scan-summary-top{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;order:0}
.work-mode .scan-code-chip{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;background:#fff;border:1px solid #e7e7ed;border-radius:6px;padding:4px 6px;color:#8e8e98}
.work-mode .scan-code-chip svg{width:11px;height:11px;flex:none}
.work-mode .scan-summary .reference-code{display:inline;align-self:auto;order:0;font-size:10px;line-height:1.25;letter-spacing:.1px;font-weight:500;padding:0;margin:0;border:0;background:none;color:#73737e;overflow-wrap:anywhere}
.work-mode .scan-summary #part-description{order:1;font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.65px;margin:0;color:#1d1d21}
.work-mode .scan-supplier-line{order:2;display:flex;align-items:flex-start;gap:6px;min-width:0;color:#a0a0aa}
.work-mode .scan-supplier-line svg{width:12px;height:12px;flex:none;margin-top:1px}
.work-mode .scan-summary #part-supplier{font-size:10px;font-weight:400;line-height:1.5;color:#92929e}
.work-mode .scan-summary .scan-read-badge{display:inline-flex;align-items:center;flex:none;gap:3px;width:auto;margin:0;padding:4px 6px;border:1px solid #f1dce0;border-radius:6px;background:#fff7f8;color:#bf1923;font-size:9px;font-weight:500;line-height:1.25;white-space:nowrap}
.work-mode .scan-summary .scan-read-badge svg{width:11px;height:11px;stroke-width:1.75}
@media(max-width:600px){.work-mode .scanner-panel .camera-feedback:has(#scan-summary:not([hidden])){padding:11px 12px;border-radius:13px}.work-mode .scan-summary{gap:8px}.work-mode .scan-summary #part-description{font-size:18px;line-height:1.25;letter-spacing:-.5px}.work-mode .scan-summary .reference-code{font-size:9px}.work-mode .scan-summary .scan-read-badge{font-size:8px;padding:4px;gap:2px}.work-mode .scan-summary #part-supplier{font-size:10px}}
@media(max-width:420px){.work-mode .scan-summary-top{flex-wrap:wrap;gap:5px}.work-mode .scan-summary #part-description{font-size:17px}}

/* Activity: readable columns, explicit movement types and responsive records. */
#history .history-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
#history .history-eyebrow{display:block;font-size:9px;font-weight:500;letter-spacing:1.3px;color:#9b9ba4;margin-bottom:8px}
#history .history-heading h2{font-size:25px;font-weight:600;letter-spacing:-.7px;margin:0 0 6px}
#history .history-heading p{font-size:11px;line-height:1.5;color:#97979f;margin:0}
#history .history-count{flex:none;background:#f4f4f8;border:1px solid #eeeef3;border-radius:9px;padding:7px 10px;color:#85858e;font-size:11px;font-variant-numeric:tabular-nums}
#history .history-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
#history label.history-search{display:flex;align-items:center;position:relative;flex:1;max-width:410px;margin:0}
#history .history-search>svg{position:absolute;left:12px;width:15px;height:15px;color:#a0a0aa;pointer-events:none}
#history #history-search{padding:10px 12px 10px 35px;width:100%;min-height:39px;background:#fafafd;font-size:12px}
#history .history-kinds{display:flex;flex:none;gap:3px;padding:3px;background:#f4f4f8;border:1px solid #eeeef3;border-radius:10px}
#history .history-kinds button{min-height:32px;padding:6px 11px;border:0;background:transparent;border-radius:7px;color:#8a8a94;font-size:11px;font-weight:500;white-space:nowrap}
#history .history-kinds button[aria-pressed="true"]{background:#fff;color:#29292f;box-shadow:0 1px 4px #1d1d1f10}
#history .history-table-wrap{margin:0;border:1px solid #eeeef3;border-radius:11px;overflow:hidden}
#history .history-table{width:100%;table-layout:fixed;margin:0;border-collapse:collapse}
#history .history-table th{font-size:10px;font-weight:500;letter-spacing:.2px;color:#9999a2;background:#fafafd;white-space:normal;padding:12px 14px}
#history .history-table th:nth-child(1){width:15%}#history .history-table th:nth-child(2){width:28%}#history .history-table th:nth-child(3){width:21%}#history .history-table th:nth-child(4){width:20%}#history .history-table th:nth-child(5){width:16%;text-align:right}
#history .history-table td{font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;padding:19px 14px;border-color:#eeeef3;color:#6c6c76}
#history .history-table tbody tr:last-child td{border-bottom:0}
#history .history-table tbody tr:hover{background:#fcfcfe}
#history .movement-date{display:block;font-size:11px;font-weight:500;color:#666670;white-space:nowrap}
#history .movement-time{display:block;margin-top:5px;font-size:10px;color:#a0a0aa;font-variant-numeric:tabular-nums;letter-spacing:.3px}
#history .movement-description{display:block;font-size:13px;font-weight:500;color:#303037;line-height:1.45}
#history .movement-code{display:block;font-size:10px;line-height:1.5;letter-spacing:.15px;color:#a0a0aa;margin-top:5px}
#history .movement-place{display:block;font-size:11px;color:#777781;line-height:1.5}
#history .movement-person{display:flex;align-items:center;gap:8px;min-width:0}
#history .movement-avatar{display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid #eeeef3;border-radius:50%;background:#f6f6f9;font-size:9px;font-weight:500;color:#9b9ba6}
#history .movement-actor{font-size:11px;color:#73737e}
#history .movement-operation-inner{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
#history .movement-kind{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:6px;font-size:9px;font-weight:500;line-height:1.3;white-space:nowrap}
#history .movement-direction{font-size:13px;line-height:1}
#history .movement-withdraw{background:#fff0f2;color:#b91c2b}
#history .movement-return{background:#f0f1f5;color:#686873}
#history .movement-quantity{font-size:16px;font-weight:500;letter-spacing:-.3px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
#history .movement-negative{color:#bd1927}#history .movement-positive{color:#41414b}
#history .history-status,#history .history-empty{padding:34px 12px;margin:0;text-align:center;font-size:12px;color:#8d8d97}
#history .history-status[data-error="true"]{color:#b91c2b;background:#fff7f8;border-radius:10px}
.history-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:761px) and (max-width:1200px){#history .history-table td,#history .history-table th{padding-left:10px;padding-right:10px}#history .movement-avatar{display:none}#history .movement-date{font-size:10px}#history .movement-description{font-size:12px}}
@media(max-width:760px){
 #history .history-heading{align-items:flex-start;gap:12px;margin-bottom:20px}
 #history .history-heading h2{font-size:23px}#history .history-heading p{max-width:240px;font-size:10px}#history .history-count{font-size:10px;padding:6px 8px}
 #history .history-tools{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:18px}#history label.history-search{max-width:none}
 #history .history-kinds button{flex:1;min-height:35px}
 #history .history-table-wrap{border:0;border-radius:0;overflow:visible}
 #history .history-table,#history .history-table tbody{display:block}
 #history .history-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 #history .movement-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding:18px 0;border-top:1px solid #eeeef3}
 #history .history-table td{display:block;border:0!important;padding:0;min-width:0}
 #history .movement-part{grid-column:1;grid-row:1}#history .movement-operation{grid-column:2;grid-row:1}
 #history .movement-when{grid-column:1;grid-row:3;display:flex!important;gap:8px;align-items:center}
 #history .movement-date{font-size:10px}#history .movement-time{margin:0}
 #history .movement-user{grid-column:1;grid-row:2}#history .movement-person{gap:6px}#history .movement-avatar{width:24px;height:24px;font-size:8px}
 #history .movement-location{grid-column:2;grid-row:2 / span 2;max-width:145px;text-align:right}
 #history .movement-location::before{content:"Ubicación";display:block;font-size:9px;color:#aaaab3;margin-bottom:4px}
 #history .movement-place{font-size:10px}#history .movement-location .movement-code{font-size:9px}
 #history .movement-description{font-size:13px}#history .movement-kind{font-size:9px}#history .movement-quantity{font-size:18px}
}
