/* Overview of the existing management modules; all stock totals count catalog codes. */ .dashboard-page { color: #263449; background: #f7f9fc; scrollbar-gutter: stable; } .dashboard-shell { max-width: 1680px; margin: 0 auto; padding-bottom: 12px; } .dashboard-shell .dashboard-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; } .dashboard-eyebrow { margin-bottom: 7px; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: #62708a; } .dashboard-header h1 { font-size: 25px; line-height: 1.3; font-weight: 800; letter-spacing: -0.035em; } .dashboard-header p { margin-top: 6px; font-size: 12px; line-height: 1.6; color: #64748b; } .dashboard-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; } .dashboard-updated { font-size: 11px; color: #64748b; } .dashboard-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 13px; border: 1px solid #dce3ee; border-radius: 8px; background: white; font-size: 12px; font-weight: 700; box-shadow: 0 1px 2px #172a4610; } .dashboard-refresh:hover { background: #eef2ff; border-color: #b9c7f4; } .dashboard-refresh:disabled { opacity: 0.6; cursor: wait; } .dashboard-refresh .material-symbols-outlined { font-size: 18px; } .dashboard-warning { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; border: 1px solid #f4d59c; border-radius: 10px; padding: 12px 16px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.6; } .dashboard-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; } .dashboard-metric { display: block; min-width: 0; padding: 19px 20px 16px; background: white; border: 1px solid #e3e9f1; border-radius: 12px; box-shadow: 0 2px 4px #172a4603; transition: border-color 0.15s, box-shadow 0.15s; } .dashboard-metric:hover { border-color: #b8c6e8; box-shadow: 0 4px 14px #263f7110; } .dashboard-metric-top { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: #536176; } .dashboard-metric-top > .material-symbols-outlined { margin-left: auto; font-size: 16px; color: #94a3b8; } .dashboard-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 10px; color: var(--dashboard-accent, #3755c3); background: var(--dashboard-soft, #edf1ff); } .dashboard-icon .material-symbols-outlined { font-size: 20px; } .dashboard-tone-blue { --dashboard-accent: #3755c3; --dashboard-soft: #edf1ff; } .dashboard-tone-green { --dashboard-accent: #087f69; --dashboard-soft: #e8f7f0; } .dashboard-tone-purple { --dashboard-accent: #7c51c5; --dashboard-soft: #f2edfb; } .dashboard-tone-amber { --dashboard-accent: #a66313; --dashboard-soft: #fff5e2; } .dashboard-tone-rose { --dashboard-accent: #be4658; --dashboard-soft: #fff0f2; } .dashboard-metric-value { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; margin-top: 16px; font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; } .dashboard-metric-value > span { color: #718096; font-size: 11px; font-weight: 500; letter-spacing: 0; } .dashboard-metric > p { margin-top: 10px; padding-top: 12px; border-top: 1px solid #f0f3f8; color: #64748b; font-size: 11px; line-height: 1.6; } .dashboard-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); align-items: start; gap: 20px; } .dashboard-main-column, .dashboard-side-column { display: grid; min-width: 0; gap: 20px; } .dashboard-stock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .dashboard-panel { min-width: 0; padding: 20px; background: white; border: 1px solid #e3e9f1; border-radius: 12px; } .dashboard-panel-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; } .dashboard-panel-heading h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; } .dashboard-panel-heading h2 .material-symbols-outlined { font-size: 18px; color: #6a7eaa; } .dashboard-panel-heading > a { display: inline-flex; align-items: center; gap: 4px; color: #3755c3; font-size: 11px; font-weight: 700; } .dashboard-panel-heading > a .material-symbols-outlined { font-size: 15px; } .dashboard-panel-note { color: #7a8799; font-size: 10px; line-height: 1.6; } p.dashboard-panel-note { margin-top: 6px; } .dashboard-stock-row { margin-top: 20px; } .dashboard-stock-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; font-size: 11px; } .dashboard-stock-row > div:first-child > span { display: inline-flex; align-items: center; gap: 7px; color: #5f6e82; } .dashboard-stock-row strong { font-size: 13px; white-space: nowrap; } .dashboard-stock-row small { font-size: 10px; font-weight: 400; color: #7a8799; } .dashboard-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; } .dashboard-track { height: 6px; overflow: hidden; background: #f0f3f8; border-radius: 4px; } .dashboard-track > span { display: block; height: 100%; border-radius: inherit; } .dashboard-fill-blue { background: #5a79d5; } .dashboard-fill-purple { background: #a285d5; } .dashboard-fill-green { background: #43a78d; } .dashboard-fill-amber { background: #e4b05f; } .dashboard-fill-rose { background: #dd8190; } .dashboard-inline-link { display: flex; align-items: center; gap: 6px; margin-top: 19px; color: #3755c3; font-size: 11px; font-weight: 600; } .dashboard-inline-link .material-symbols-outlined { font-size: 17px; } .dashboard-inline-link > .material-symbols-outlined:last-child { margin-left: auto; } .dashboard-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; padding: 20px 8px; text-align: center; color: #7a8799; font-size: 12px; line-height: 1.7; } .dashboard-empty > .material-symbols-outlined { font-size: 28px; color: #c3cddd; } .dashboard-recent-list { margin-top: 12px; } .dashboard-recent-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto 14px; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f3f8; } .dashboard-recent-row:last-child { border-bottom: 0; padding-bottom: 0; } .dashboard-recent-name { min-width: 0; } .dashboard-recent-name strong, .dashboard-robot-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; } .dashboard-recent-name small, .dashboard-robot-row small { display: block; margin-top: 4px; color: #7a8799; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dashboard-recent-row time { color: #7a8799; font-size: 10px; white-space: nowrap; } .dashboard-recent-row > .material-symbols-outlined, .dashboard-robot-row > .material-symbols-outlined { color: #a5b0c1; font-size: 16px; } .dashboard-tag { display: inline-flex; align-items: center; justify-content: center; padding: 4px 7px; border-radius: 5px; font-size: 10px; font-weight: 600; color: var(--dashboard-accent); background: var(--dashboard-soft); white-space: nowrap; } .dashboard-attention-row { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; text-align: left; } .dashboard-attention-row > span:nth-child(2) { min-width: 0; flex: 1; } .dashboard-attention-row strong { display: block; font-size: 11px; font-weight: 600; line-height: 1.5; } .dashboard-attention-row small { display: block; margin-top: 3px; color: #7a8799; font-size: 10px; line-height: 1.5; } .dashboard-attention-row > b { font-size: 16px; color: #a66313; } .dashboard-attention-row > .material-symbols-outlined { font-size: 15px; color: #a5b0c1; } .dashboard-shortage-list { display: grid; gap: 10px; margin: 14px 0 0 46px; padding-left: 12px; border-left: 2px solid #f0f3f8; } .dashboard-shortage-list a { display: flex; justify-content: space-between; gap: 12px; min-width: 0; font-size: 11px; } .dashboard-shortage-list a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #64748b; } .dashboard-shortage-list small { flex-shrink: 0; font-size: 10px; color: #be4658; } .dashboard-shortage-list .dashboard-inline-link { margin-top: 0; } .dashboard-robot-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; } .dashboard-robot-row > div:first-child { height: 54px; width: 54px; border-radius: 9px; } .dashboard-robot-row > span:nth-child(2) { flex: 1; min-width: 0; } .dashboard-resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .dashboard-resource { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 16px; background: white; border: 1px solid #e3e9f1; border-radius: 10px; font-size: 12px; color: #64748b; } .dashboard-resource > .material-symbols-outlined { font-size: 19px; color: #8997b2; } .dashboard-resource strong { margin-left: auto; font-size: 16px; color: #334155; } .dashboard-resource > .material-symbols-outlined:last-child { font-size: 14px; } .dashboard-shell a:hover strong, .dashboard-attention-row:hover strong { color: #3755c3; } .dashboard-shell :is(a, button):focus-visible { outline: 2px solid #3755c3; outline-offset: 4px; border-radius: 6px; } @media (max-width: 1200px) { .dashboard-layout { grid-template-columns: minmax(0, 1fr); } .dashboard-side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .dashboard-metric { padding: 16px; } .dashboard-metric-top { gap: 7px; font-size: 11px; } } @media (max-width: 600px) { .dashboard-shell .dashboard-header { align-items: flex-start; gap: 12px; margin-bottom: 18px; } .dashboard-actions { width: 100%; justify-content: space-between; gap: 8px; } .dashboard-updated { font-size: 10px; } .dashboard-refresh { min-height: 40px; } .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; } .dashboard-metric { padding: 12px; } .dashboard-metric-top { flex-wrap: wrap; gap: 7px; font-size: 11px; } .dashboard-metric-top > .material-symbols-outlined { display: none; } .dashboard-metric .dashboard-icon { height: 28px; width: 28px; border-radius: 8px; } .dashboard-metric .dashboard-icon .material-symbols-outlined { font-size: 17px; } .dashboard-metric-value { font-size: 28px; margin-top: 12px; gap: 5px; } .dashboard-metric-value > span { font-size: 10px; } .dashboard-metric > p { min-height: 39px; margin-top: 9px; padding-top: 9px; font-size: 10px; } .dashboard-stock-grid, .dashboard-side-column { grid-template-columns: minmax(0, 1fr); gap: 14px; } .dashboard-layout, .dashboard-main-column { gap: 14px; } .dashboard-panel { padding: 16px; } .dashboard-recent-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; } .dashboard-recent-row > .dashboard-icon { width: 32px; height: 32px; grid-row: span 2; } .dashboard-recent-row time { grid-column: 2 / 4; } .dashboard-recent-row > .material-symbols-outlined { display: none; } .dashboard-resource { padding: 12px; gap: 7px; font-size: 11px; } .dashboard-resource > .material-symbols-outlined:last-child { display: none; } .dashboard-resources { gap: 10px; } }