/* Warehouse workspace: compact navigation, physical custody and readable records. */
.stock-toolbar{gap:12px;align-items:center}.stock-tabs{max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:thin;flex-wrap:wrap}.stock-tabs button{flex:0 0 auto!important;font-size:14px!important;white-space:nowrap!important;min-height:44px!important;padding:10px 14px!important}.stock-operation-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid #dbe8ec}.stock-operation-tabs[hidden]{display:none}.stock-operation-tabs button{font-size:14px;min-height:42px}.stock-operation-tabs [aria-pressed=true]{background:#e4ecff;color:#234fa0;border-color:#96b3ec}
.stock-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.stock-workspace-heading h2{font-size:clamp(24px,3vw,32px);margin:8px 0;color:#133f54;letter-spacing:-.04em}.stock-workspace-heading p{max-width:740px;color:#536b80;font-size:15px;line-height:1.6;margin:8px 0}.stock-workspace-heading .eyebrow{font-size:12px;color:#1c776d}.stock-live-label{font-size:13px;color:#126659;background:#e0f8ef;border:1px solid #abe1d0;padding:8px 12px;border-radius:24px;white-space:nowrap}
body[data-stock-view]:not([data-stock-view=balances]):not([data-stock-view=journal]):not([data-stock-view=supply]):not([data-stock-view=requests]) #stockContent{padding:24px}.stock-stats[hidden]{display:none}.stock-workspace-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.stock-workspace-shortcuts button{text-align:left;min-height:108px;display:grid;gap:10px;align-content:center;background:linear-gradient(125deg,#e4faf4,#f7fffc);border-color:#a9dfd1;padding:18px;color:#145d55;transition:transform .18s ease,box-shadow .18s ease}.stock-workspace-shortcuts button:nth-child(2){background:linear-gradient(125deg,#ede9ff,#f9f7ff);border-color:#c9bced;color:#5a458a}.stock-workspace-shortcuts button:nth-child(3){background:linear-gradient(125deg,#fff0d8,#fffaf0);border-color:#ebce98;color:#77511b}.stock-workspace-shortcuts button:nth-child(4){background:linear-gradient(125deg,#e2edff,#f7faff);border-color:#b0c9ed;color:#315787}.stock-workspace-shortcuts span{font-size:19px;font-weight:800}.stock-workspace-shortcuts small{font-size:14px;font-weight:500}.stock-workspace-shortcuts button:hover{transform:translateY(-3px);box-shadow:0 8px 24px #143e4d15}
.stock-workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.stock-workspace-grid>section{min-width:0;padding:20px;border:1px solid #dce9ec;border-radius:18px;background:linear-gradient(150deg,#fbfffe,#f5f9fd)}.stock-workspace-grid h3{margin-top:0;font-size:20px}.stock-workspace-grid p,.stock-integration-note p{font-size:15px;line-height:1.6;color:#4c6476}.stock-activity{display:grid;grid-template-columns:1fr auto;gap:8px;padding:15px 0;border-bottom:1px solid #dbe6ec}.stock-activity>b,.stock-activity>small{grid-column:1/-1}.stock-activity small{font-size:13px;color:#63768a}.stock-activity .stock-type{font-size:12px;justify-self:start}.stock-activity>span{font-size:16px;font-weight:700}.stock-workspace-empty{padding:28px 16px;text-align:center;border:1px dashed #b5cbd7;border-radius:18px;background:#f4f9fd;color:#536b80}.stock-workspace-empty>span{display:inline-grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#ddecfa;color:#2c698f;font-size:30px}.stock-workspace-empty h3{font-size:19px;color:#23455d}.stock-workspace-empty p{font-size:15px;line-height:1.6;max-width:580px;margin:auto}
.stock-workspace-table{overflow-x:auto;max-width:100%}.stock-workspace-table table{width:100%;font-size:14px}.stock-workspace-table th{font-size:13px;white-space:nowrap;background:#f0f6fc;color:#3d5b73}.stock-workspace-table :is(th,td){padding:13px 12px;vertical-align:top}.stock-workspace-table :is(b,small){display:block}.stock-workspace-table small{font-size:13px;color:#62788d;margin:5px 0;max-width:360px;overflow-wrap:anywhere}.stock-workspace-table td{min-width:90px}.stock-workspace-table td:first-child{min-width:170px}.stock-type.transfer{background:#ede6ff;color:#68439b}.stock-type.writeoff{background:#fff0e4;color:#8b4d21}.stock-type.asset-active{background:#e4efff;color:#325a94}
.stock-asset{margin-bottom:16px;border:1px solid #d4e1ee;border-left:4px solid #8b73c8;border-radius:18px;padding:20px;background:linear-gradient(110deg,#fff,#faf8ff)}.stock-asset>header{display:flex;justify-content:space-between;align-items:center;gap:15px}.stock-asset header small{color:#625386;font-size:12px;letter-spacing:.06em}.stock-asset h3{margin:6px 0;font-size:20px}.stock-asset dl{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}.stock-asset dt{font-size:13px;color:#64768c}.stock-asset dd{margin:4px 0 0;font-size:15px;font-weight:650}.stock-asset details{margin-top:15px;border-top:1px solid #e0e5ef;padding-top:12px;font-size:14px}.stock-asset details p{padding:12px;background:#f2f4fa;border-radius:10px;overflow-wrap:anywhere}.stock-asset summary{cursor:pointer;color:#5d4c84}.stock-reference{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #dce7ec;font-size:16px}.stock-reference small{font-size:14px;color:#657d8d}.stock-integration-note{border:1px solid #b9d2e9;background:linear-gradient(120deg,#edf7ff,#f3efff);padding:22px;border-radius:18px;margin-top:24px}.stock-integration-note h3{font-size:20px;margin-top:0}
.stock-report-period{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:18px 0 24px}.stock-report-period label{display:grid;gap:6px;font-size:14px;font-weight:600}.stock-report-period input{font:inherit;border:1px solid #bbccdb;border-radius:10px;padding:10px;background:white;color:#183b52;min-height:44px}.stock-report-period button{min-height:44px}
#stockWorkspaceDialog{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:0;border:1px solid #b9cedb;border-radius:22px;background:#fff;color:#183b52;box-shadow:0 24px 80px #102e4d44}#stockWorkspaceDialog::backdrop{background:#102a405c}#stockWorkspaceDialog header{display:flex;align-items:start;justify-content:space-between;gap:18px}#stockWorkspaceDialog h2{font-size:23px;margin:0}#stockWorkspaceDialog [data-workspace-fields]{padding:20px;display:grid;gap:16px}#stockWorkspaceDialog [role=alert]{padding:0 20px;color:#a32b3b}#stockWorkspaceDialog label{display:grid;gap:7px;font-size:15px;font-weight:600}#stockWorkspaceDialog :is(input,select,textarea){width:100%;font:inherit;color:#183b52;border:1px solid #aebfce;padding:12px;border-radius:11px;background:#fff;min-height:44px}#stockWorkspaceDialog p{font-size:15px;line-height:1.6;margin:0}#stockWorkspaceDialog small{font-size:13px;color:#5a7286}.stock-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}#stockWorkspaceDialog footer{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:#f5faff;z-index:1}#stockWorkspaceDialog button{min-height:44px}#stockWorkspaceDialog[open]{animation:stock-appear .18s ease-out}
@media(min-width:761px){body[data-stock-view]:not([data-stock-view=overview]) .stock-hero{padding:24px 30px;min-height:0}body[data-stock-view]:not([data-stock-view=overview]) .stock-hero h1{font-size:30px;line-height:1.15}body[data-stock-view]:not([data-stock-view=overview]) .stock-hero h1 br,body[data-stock-view]:not([data-stock-view=overview]) .stock-hero-art,body[data-stock-view]:not([data-stock-view=overview]) .stock-flow-labels{display:none}.stock-toolbar{flex-wrap:wrap}.stock-tabs{flex:1}.stock-row-actions{max-width:370px}.stock-actions{flex-wrap:wrap}}
@media(max-width:760px){.stock-toolbar{position:static!important;padding:12px!important}.stock-tabs{overflow-x:auto;flex-wrap:nowrap!important;max-width:100%;padding:4px!important}.stock-tabs button{font-size:14px!important;flex:none!important;padding:10px 13px!important}.stock-workspace-heading{align-items:start;flex-direction:column;gap:8px}.stock-workspace-shortcuts{grid-template-columns:1fr 1fr;gap:10px}.stock-workspace-shortcuts button{padding:14px;min-height:100px}.stock-workspace-shortcuts span{font-size:17px}.stock-workspace-shortcuts small{font-size:13px}.stock-workspace-grid{grid-template-columns:1fr;gap:16px}.stock-workspace-grid>section{padding:16px}.stock-asset{padding:16px}.stock-asset>header{align-items:start;flex-direction:column}.stock-asset dl{grid-template-columns:1fr;gap:12px}.stock-asset .stock-actions{display:flex!important;flex-wrap:wrap}.stock-asset .stock-actions button{font-size:14px!important}.stock-workspace-table table{display:table!important;min-width:650px}.stock-workspace-table :is(thead,tbody,tr){display:revert!important}.stock-workspace-table :is(td,th){display:table-cell!important;min-height:0}.stock-workspace-table td::before{display:none!important}.stock-operation-tabs{padding:12px;gap:6px}.stock-operation-tabs button{font-size:13px}body[data-stock-view]:not([data-stock-view=overview]) .stock-hero{padding:20px}body[data-stock-view]:not([data-stock-view=overview]) .stock-hero h1{font-size:26px}body[data-stock-view]:not([data-stock-view=overview]) .stock-flow-labels,body[data-stock-view]:not([data-stock-view=overview]) .stock-hero-art{display:none}body[data-stock-view] #stockContent{padding:16px!important}.stock-pagination{font-size:14px!important}.stock-pagination button{font-size:13px!important;min-height:44px}#stockWorkspaceDialog [data-workspace-fields]{padding:16px}.stock-field-pair{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.stock-workspace-shortcuts button,#stockWorkspaceDialog[open]{animation:none!important;transition:none!important}.stock-workspace-shortcuts button:hover{transform:none}}

body[data-stock-view]:not([data-stock-view=overview]) .stock-hero h1 em{margin-left:.2em}.stock-asset .stock-actions button{font-size:14px!important;min-height:44px}.stock-location-hint{font-size:14px;color:#256a61;background:#e7f7f0;padding:10px;border-radius:10px;margin:8px 0 0}.stock-tabs:has(#stockAssets[aria-pressed=true]) .kp-motion-marker{background:linear-gradient(110deg,#7860a8,#5a4790)}.stock-tabs:has(#stockReports[aria-pressed=true]) .kp-motion-marker{background:linear-gradient(110deg,#3869af,#375994)}.stock-hero .eyebrow{font-size:12px}.stock-hero p{font-size:14px}
@media(min-width:761px){body[data-stock-view=overview] .stock-hero{padding:24px 30px;min-height:0}body[data-stock-view=overview] .stock-hero h1{font-size:36px}.stock-stat span{font-size:14px}.stock-stat-top small{font-size:12px}}
@media(max-width:760px){body[data-stock-view]:not([data-stock-view=overview]) .stock-hero{padding:14px;margin-bottom:10px}body[data-stock-view]:not([data-stock-view=overview]) .stock-hero-copy h1,body[data-stock-view]:not([data-stock-view=overview]) .stock-hero-copy .eyebrow{display:none}body[data-stock-view] #stockAssistant{display:none}body[data-stock-view] .stock-context{margin-top:8px;padding:10px}body[data-stock-view] #stockTenant{font-size:14px;margin:0 0 8px}.stock-hero .eyebrow{font-size:11px}}

@media(max-width:760px){body[data-stock-view] .stock-assistant-dock{display:none!important}body[data-stock-view] .stock-hero-copy{padding-right:0!important}}

.stock-disposal-list{display:grid;gap:10px}.stock-disposal{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1.5fr) minmax(160px,1fr) minmax(160px,1fr) auto;gap:14px;padding:16px;border:1px solid #d5e3ed;border-left:4px solid #427aaf;border-radius:14px;background:#fff;align-items:start}.stock-disposal.is-writeoff{border-left-color:#a54c73}.stock-disposal :is(b,small){display:block;overflow-wrap:anywhere}.stock-disposal b{font-size:14px;color:#193d55;margin:5px 0}.stock-disposal small,.stock-disposal p{font-size:13px;line-height:1.5;color:#536c80;margin:4px 0}.stock-disposal-names b+b{margin-top:8px}.stock-disposal .stock-type{font-size:13px;white-space:normal;display:inline-block}.stock-disposal .stock-actions{min-width:0}.stock-disposal button{white-space:normal;text-align:left}@media(max-width:1100px){.stock-disposal{grid-template-columns:1fr 1.4fr 1fr}.stock-disposal>:nth-child(4){grid-column:1/3}}@media(max-width:760px){.stock-disposal{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:8px 14px}.stock-disposal>:nth-child(2){grid-column:1/-1;grid-row:2}.stock-disposal>:nth-child(3){grid-column:2;grid-row:1}.stock-disposal>:nth-child(4){grid-column:1/-1}.stock-disposal .stock-actions{grid-column:1/-1}.stock-disposal .stock-actions button{min-height:44px}}

.stock-disposal>div{min-width:0}.stock-disposal p{overflow-wrap:anywhere}
