
.col-set-table input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
}
.col-set-table .col-set-w input[type="number"] {
width: 56px;
padding: 2px 4px;
border: 1px solid #E8EAED;
border-radius: 0;
font: inherit;
font-size: 12px;
text-align: center;
color: #202124;
box-sizing: border-box;
}
.col-set-table .col-set-w input[type="number"]:focus {
border-color: #0d9488;
outline: none;
}
.col-set-table tr.locked .col-set-w input[type="number"] {
color: #0d9488;
font-weight: 600;
}
.col-set-hint {
margin: 0;
font-size: 11px;
color: #94a3b8;
}
.order-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 0;
padding: 14px;
text-align: left;
cursor: pointer;
width: 100%;
color: inherit;
font: inherit;
}
.order-card:active { background: #f0fdfa; }
.order-card .row1 {
display: flex;
justify-content: space-between;
gap: 8px;
margin-bottom: 6px;
}
.order-card .no {
font-weight: 700;
color: var(--primary-dark);
}
.order-card .cust { font-size: 12px; margin-bottom: 4px; }
.order-card .meta {
font-size: 12px;
color: var(--muted);
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
}
.detail-body {
background: var(--card);
border: 1px solid var(--border);
border-radius: 0;
padding: 8px 4px;
}
.kv {
display: grid;
grid-template-columns: 96px 1fr;
gap: 6px 10px;
padding: 10px 12px;
border-bottom: 1px solid #eef2f3;
font-size: 12px;
}
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
.kv .v { word-break: break-all; }
.empty {
text-align: center;
color: var(--muted);
padding: 40px 12px;
}
.empty.small { padding: 16px 8px; font-size: 12px; }
.toolbar-row { margin-bottom: 10px; }
.toolbar-row.dual {
display: flex;
gap: 8px;
}
.toolbar-row.dual .btn { flex: 1; }
input.masked, select:disabled {
background: #f1f5f4;
color: var(--muted);
}
.mes-subtabs {
display: flex;
gap: 2px;
flex-shrink: 0;
margin: 0;
padding: 6px 12px 0;
background: #F0F2F5;
border-bottom: 1px solid #e8eaed;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.mes-subtabs .tab,
.mes-subtabs .mes-subtab {
flex: 0 0 auto;
min-width: 72px;
padding: 8px 12px;
border: none;
border-radius: 0;
background: transparent;
color: #475569;
cursor: pointer;
font-size: 12px;
font-family: inherit;
white-space: nowrap;
}
.mes-subtabs .tab:hover,
.mes-subtabs .mes-subtab:hover {
background: #e6f4f2;
color: #0f766e;
}
.mes-subtabs .tab.active,
.mes-subtabs .mes-subtab.active {
background: #fff;
color: #0f766e;
border-color: transparent;
font-weight: 600;
box-shadow: 0 -1px 0 #fff;
}
#mes-std-hours-subtabs {
flex-wrap: wrap;
gap: 4px 2px;
padding-bottom: 4px;
}
#mes-std-hours-subtabs .std-proc-tab {
min-width: 0;
padding: 6px 10px;
border-radius: 0;
border: 1px solid transparent;
border-bottom-width: 2px;
font-size: 12px;
}
#mes-std-hours-subtabs .std-tone-weld { border-bottom-color: #0d9488; }
#mes-std-hours-subtabs .std-tone-motor { border-bottom-color: #2563eb; }
#mes-std-hours-subtabs .std-tone-laser { border-bottom-color: #7c3aed; }
#mes-std-hours-subtabs .std-tone-parts { border-bottom-color: #d97706; }
#mes-std-hours-subtabs .std-tone-assy { border-bottom-color: #059669; }
#mes-std-hours-subtabs .std-tone-aging { border-bottom-color: #e11d48; }
#mes-std-hours-subtabs .std-tone-packParts { border-bottom-color: #0891b2; }
#mes-std-hours-subtabs .std-tone-pack { border-bottom-color: #4f46e5; }
#mes-std-hours-subtabs .std-tone-extra { border-bottom-color: #64748b; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-weld { background: #f0fdfa; color: #0f766e; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-motor { background: #eff6ff; color: #1d4ed8; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-laser { background: #f5f3ff; color: #6d28d9; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-parts { background: #fffbeb; color: #b45309; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-assy { background: #ecfdf5; color: #047857; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-aging { background: #fff1f2; color: #be123c; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-packParts { background: #ecfeff; color: #0e7490; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-pack { background: #eef2ff; color: #4338ca; }
#mes-std-hours-subtabs .std-proc-tab.active.std-tone-extra { background: #f1f5f9; color: #334155; }
#mes-std-hours-table th.std-th-tone-base,
#mes-std-hours-table th.std-th-tone-extra { background: #0f766e; color: #fff; }
#mes-std-hours-table th.std-th-tone-weld { background: #0d9488; color: #fff; }
#mes-std-hours-table th.std-th-tone-motor { background: #2563eb; color: #fff; }
#mes-std-hours-table th.std-th-tone-laser { background: #7c3aed; color: #fff; }
#mes-std-hours-table th.std-th-tone-parts { background: #d97706; color: #fff; }
#mes-std-hours-table th.std-th-tone-assy { background: #059669; color: #fff; }
#mes-std-hours-table th.std-th-tone-aging { background: #e11d48; color: #fff; }
#mes-std-hours-table th.std-th-tone-packParts { background: #0891b2; color: #fff; }
#mes-std-hours-table th.std-th-tone-pack { background: #4f46e5; color: #fff; }
#mes-std-hours-table th.col-ops,
#mes-std-hours-table th[data-col="操作"] {
background: #0d9488 !important;
color: #fff !important;
font-weight: 600;
text-align: center;
}
#mes-std-hours-table td.std-td-tone-weld { background: rgba(240, 253, 250, 0.7); }
#mes-std-hours-table td.std-td-tone-motor { background: rgba(239, 246, 255, 0.7); }
#mes-std-hours-table td.std-td-tone-laser { background: rgba(245, 243, 255, 0.7); }
#mes-std-hours-table td.std-td-tone-parts { background: rgba(255, 251, 235, 0.75); }
#mes-std-hours-table td.std-td-tone-assy { background: rgba(236, 253, 245, 0.7); }
#mes-std-hours-table td.std-td-tone-aging { background: rgba(255, 241, 242, 0.7); }
#mes-std-hours-table td.std-td-tone-packParts { background: rgba(236, 254, 255, 0.7); }
#mes-std-hours-table td.std-td-tone-pack { background: rgba(238, 242, 255, 0.7); }
#mes-std-hours-table td.std-td-tone-extra { background: rgba(241, 245, 249, 0.8); }
#mes-std-hours-table tr.selected td[class*="std-td-tone-"] {
filter: saturate(1.05);
}
.data-table col.col-sel,
.data-table th.col-sel,
.data-table td.col-sel {
width: 44px !important;
min-width: 44px !important;
max-width: 44px !important;
padding-left: 4px !important;
padding-right: 4px !important;
box-sizing: border-box !important;
text-align: center;
overflow: visible;
text-overflow: clip;
vertical-align: middle;
}
.data-table th.col-sel {
background: #f3f4f6;
color: #374151;
}
.data-table td.col-sel input[type="checkbox"],
.data-table th.col-sel input[type="checkbox"] {
width: 16px;
height: 16px;
margin: 0;
vertical-align: middle;
cursor: pointer;
}
.mes-sch-edit {
width: 100%;
max-width: 100%;
box-sizing: border-box;
border: 1px solid #cbd5e1;
border-radius: 0;
padding: 2px 4px;
font-size: 12px;
font-family: inherit;
background: #fff;
color: var(--text);
}
.mes-sch-edit:focus {
outline: none;
border-color: var(--primary, #0d9488);
box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}
.mes-sch-date {
min-width: 0;
font-variant-numeric: tabular-nums;
}
.mes-sch-num {
text-align: center;
}
#mes-schedule-table td.td-sch-qty {
padding: 0;
}
#mes-schedule-table td.td-sch-qty .mes-sch-edit {
display: block;
width: 100%;
height: 100%;
min-height: 27px;
border: 0;
border-radius: 0;
background: transparent;
}
#mes-schedule-table td.td-sch-qty .mes-sch-edit:focus {
background: #f0fdfa;
box-shadow: inset 0 0 0 2px rgba(13, 148, 136, 0.35);
}
.mes-subpane {
flex: 1;
min-height: 0;
}
.mes-kpi {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 8px 12px;
background: #f8fffe;
border-bottom: 1px solid var(--border);
flex-shrink: 0;
}
.mes-kpi[hidden] { display: none !important; }
.mes-kpi-card {
min-width: 108px;
flex: 1 1 108px;
background: #fff;
border: 1px solid var(--border);
border-radius: 0;
padding: 8px 10px;
}
.mes-kpi-label {
font-size: 11px;
color: var(--muted);
margin-bottom: 2px;
}
.mes-kpi-value {
font-size: 16px;
font-weight: 700;
color: var(--primary-dark);
font-variant-numeric: tabular-nums;
}
.mes-attend-panel {
max-width: min(1280px, 100%);
padding: 12px 16px 24px;
}
.mes-attend-panel-wide {
max-width: none;
width: 100%;
box-sizing: border-box;
}
.mes-attend-panel h3 {
margin: 0 0 8px;
font-size: 15px;
font-weight: 650;
color: var(--text);
}
.mes-attend-hint {
margin: 0 0 14px;
font-size: 12px;
color: #64748b;
line-height: 1.45;
}
.mes-attend-section {
margin-bottom: 18px;
padding: 12px 14px;
border: 1px solid #e2e8f0;
border-radius: 0;
background: #fff;
}
.mes-attend-section-title {
margin: 0 0 10px;
font-size: 13px;
font-weight: 600;
color: var(--text);
}
.mes-attend-defaults {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 32px 40px;
align-items: stretch;
width: 100%;
}
.mes-attend-defaults .mes-attend-time-row {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 6px;
min-width: 0;
width: 100%;
white-space: normal;
margin: 0;
padding: 10px 8px 8px;
border-radius: 0;
border: 1px solid transparent;
border-top-width: 3px;
box-sizing: border-box;
background: #f8fafc;
}
.mes-attend-defaults .mes-attend-tone-label {
text-align: center;
font-weight: 700;
font-size: 12px;
letter-spacing: 0.02em;
line-height: 1.2;
}
.mes-attend-defaults .mes-attend-time-inputs {
display: flex;
width: 100%;
justify-content: space-between;
gap: 4px;
}
.mes-attend-defaults .mes-attend-time-inputs input[type="time"] {
flex: 1 1 0;
min-width: 0;
width: auto;
max-width: none;
box-sizing: border-box;
background: #fff;
}
.mes-attend-tone-work {
border-color: #99f6e4;
border-top-color: #0d9488;
background: #f0fdfa;
}
.mes-attend-tone-work .mes-attend-tone-label { color: #0f766e; }
.mes-attend-tone-am {
border-color: #bfdbfe;
border-top-color: #2563eb;
background: #eff6ff;
}
.mes-attend-tone-am .mes-attend-tone-label { color: #1d4ed8; }
.mes-attend-tone-noon {
border-color: #fde68a;
border-top-color: #d97706;
background: #fffbeb;
}
.mes-attend-tone-noon .mes-attend-tone-label { color: #b45309; }
.mes-attend-tone-pm {
border-color: #ddd6fe;
border-top-color: #7c3aed;
background: #f5f3ff;
}
.mes-attend-tone-pm .mes-attend-tone-label { color: #6d28d9; }
.mes-attend-tone-eve {
border-color: #fecdd3;
border-top-color: #e11d48;
background: #fff1f2;
}
.mes-attend-tone-eve .mes-attend-tone-label { color: #be123c; }
.mes-attend-tone-ot {
border-color: #fdba74;
border-top-color: #ea580c;
background: #fff7ed;
}
.mes-attend-tone-ot .mes-attend-tone-label { color: #c2410c; }
.mes-attend-day-table th.th-slot-work { color: #0f766e; background: #f0fdfa; }
.mes-attend-day-table th.th-slot-am { color: #1d4ed8; background: #eff6ff; }
.mes-attend-day-table th.th-slot-noon { color: #b45309; background: #fffbeb; }
.mes-attend-day-table th.th-slot-pm { color: #6d28d9; background: #f5f3ff; }
.mes-attend-day-table th.th-slot-eve { color: #be123c; background: #fff1f2; }
.mes-attend-day-table th.th-slot-ot { color: #c2410c; background: #fff7ed; }
.mes-attend-day-table td.col-slot-work { background: rgba(240, 253, 250, 0.45); }
.mes-attend-day-table td.col-slot-am { background: rgba(239, 246, 255, 0.45); }
.mes-attend-day-table td.col-slot-noon { background: rgba(255, 251, 235, 0.55); }
.mes-attend-day-table td.col-slot-pm { background: rgba(245, 243, 255, 0.5); }
.mes-attend-day-table td.col-slot-eve { background: rgba(255, 241, 242, 0.5); }
.mes-attend-day-table td.col-slot-ot { background: rgba(255, 247, 237, 0.55); }
@media (max-width: 1100px) {
.mes-attend-defaults {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.mes-attend-defaults {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.mes-attend-month-bar {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-bottom: 8px;
}
.mes-attend-month-bar strong {
min-width: 5.5em;
text-align: center;
font-size: 14px;
}
.mes-attend-month-summary {
margin: 0 0 8px;
font-size: 12px;
color: #64748b;
}
.mes-attend-day-list {
max-height: min(62vh, 560px);
overflow: auto;
border: 1px solid #e2e8f0;
border-radius: 0;
}
.mes-attend-day-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.mes-attend-day-table-wide {
min-width: 1100px;
}
.mes-attend-day-table th,
.mes-attend-day-table td {
padding: 4px 6px;
border-bottom: 1px solid #f1f5f9;
text-align: left;
white-space: nowrap;
vertical-align: middle;
}
.mes-attend-day-table th {
position: sticky;
top: 0;
background: #f8fafc;
z-index: 1;
font-weight: 600;
color: #475569;
}
.mes-attend-day-table tr.is-sunday {
background: #fff7ed;
}
.mes-attend-day-table tr.is-rest .col-flag {
color: #b45309;
}
.mes-attend-day-table tr.is-work .col-flag {
color: #0f766e;
}
.mes-attend-day-table tr.is-ot .col-ot {
color: #c2410c;
font-weight: 600;
}
.mes-attend-day-table tr.is-rest .col-slot {
opacity: 0.45;
}
.mes-attend-day-table td.col-ot .mes-attend-toggle input:disabled + span {
opacity: 0.55;
}
.mes-attend-toggle {
display: inline-flex;
align-items: center;
gap: 4px;
cursor: pointer;
user-select: none;
}
.mes-attend-toggle input {
width: 14px;
height: 14px;
margin: 0;
}
.mes-attend-slot {
display: inline-flex;
align-items: center;
gap: 2px;
}
.mes-attend-slot input[type="time"] {
padding: 2px 3px;
border: 1px solid #cbd5e1;
border-radius: 0;
font-size: 11px;
font-family: inherit;
background: #fff;
width: 6.6em;
}
.mes-attend-slot .tilde,
.mes-attend-time-inputs .tilde {
color: #94a3b8;
font-size: 12px;
}
.mes-attend-time-row {
display: inline-flex;
flex-direction: row;
align-items: center;
gap: 6px;
margin: 0;
white-space: nowrap;
}
.mes-attend-time-row > span:first-child {
font-size: 12px;
color: var(--muted, #64748b);
}
.mes-attend-time-inputs {
display: inline-flex;
align-items: center;
gap: 4px;
}
.mes-attend-time-inputs input[type="time"] {
padding: 4px 6px;
border: 1px solid #cbd5e1;
border-radius: 0;
font-size: 12px;
font-family: inherit;
background: #fff;
width: 7.2em;
}
.mes-filter-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 8px 12px;
border-bottom: 1px solid var(--border);
background: #fff;
flex-shrink: 0;
}
.mes-filter-input {
height: 32px;
border: 1px solid var(--border);
border-radius: 0;
padding: 0 10px;
font-size: 13px;
min-width: 160px;
background: #fff;
}
.mes-filter-input.mes-filter-sm {
min-width: 120px;
max-width: 150px;
}
.mes-filter-sep {
color: var(--muted);
font-size: 12px;
}
.mes-board-body {
flex: 1;
min-height: 0;
overflow: auto;
padding: 10px 12px 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.mes-board-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.mes-board-card,
.mes-board-section {
background: #fff;
border: 1px solid var(--border);
border-radius: 0;
padding: 10px 12px;
}
.mes-board-card-title {
font-size: 13px;
font-weight: 700;
color: var(--primary-dark);
margin-bottom: 8px;
}
.mes-board-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.mes-board-chip {
min-width: 88px;
background: #f8fffe;
border: 1px solid var(--border);
border-radius: 0;
padding: 8px 10px;
display: flex;
flex-direction: column;
gap: 2px;
}
.mes-board-chip span {
font-size: 11px;
color: var(--muted);
}
.mes-board-chip b {
font-size: 16px;
font-variant-numeric: tabular-nums;
}
.mes-board-section .table-wrap {
max-height: 320px;
overflow: auto;
}
.mes-board-table th,
.mes-board-table td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mes-board-table col.col-idx,
.mes-board-table th.col-idx,
.mes-board-table td.col-idx {
width: 56px !important;
min-width: 56px !important;
max-width: 56px !important;
}
#pane-plm .table-wrap,
#pane-wms .table-wrap {
overflow: auto;
}
.plm-table th,
.plm-table td,
.wms-table th,
.wms-table td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.plm-table col.col-idx,
.plm-table th.col-idx,
.plm-table td.col-idx,
.wms-table col.col-idx,
.wms-table th.col-idx,
.wms-table td.col-idx {
width: 56px !important;
min-width: 56px !important;
max-width: 56px !important;
}
.data-table th.col-ops,
.data-table td.col-ops,
.data-table th[data-col="操作"],
.data-table td[data-col="操作"] {
position: sticky !important;
right: 0 !important;
z-index: 6;
min-width: 40px;
max-width: none !important;
overflow: visible;
text-overflow: clip;
white-space: nowrap;
text-align: center;
background: #fff;
box-shadow: -4px 0 8px rgba(15, 23, 42, 0.06);
box-sizing: border-box;
}
.data-table th.col-ops,
.data-table th[data-col="操作"] {
top: 0;
z-index: 8;
background: #f3f4f6;
color: #374151;
font-weight: 600;
box-shadow: -4px 0 8px rgba(15, 23, 42, 0.12);
overflow: visible;
}
.data-table th.col-ops .col-resizer,
.data-table th[data-col="操作"] .col-resizer {
left: 0;
right: auto;
width: 10px;
z-index: 16;
cursor: col-resize;
}
.data-table th.col-ops .col-resizer::after,
.data-table th[data-col="操作"] .col-resizer::after {
left: 3px;
right: auto;
width: 3px;
background: rgba(255, 255, 255, 0.55);
}
.data-table th.col-ops .col-resizer:hover::after,
.data-table th[data-col="操作"] .col-resizer:hover::after,
body.col-resizing .data-table th.col-ops .col-resizer::after {
background: #fff;
}
.table-wrap > .ops-hover-rail {
display: none;
position: absolute;
top: 0;
right: 0;
width: 28px;
height: 100%;
z-index: 15;
cursor: pointer;
background: transparent;
}
.table-wrap.ops-rail-on > .ops-hover-rail {
display: block;
}
.data-table th.col-ops,
.data-table th[data-col="操作"] {
padding-left: 36px;
padding-right: 28px;
}
.data-table th.col-ops .ops-fold-btn,
.data-table th[data-col="操作"] .ops-fold-btn {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
min-width: 22px;
width: 22px;
height: 22px;
border: none;
border-radius: 0;
background: rgba(255, 255, 255, 0.18);
color: #fff;
font-size: 16px;
font-weight: 700;
line-height: 1;
cursor: pointer;
z-index: 13;
}
.data-table th.col-ops .ops-fold-btn:hover,
.data-table th[data-col="操作"] .ops-fold-btn:hover {
background: rgba(255, 255, 255, 0.32);
}
.data-table th.col-ops .ops-lock-btn,
.data-table th[data-col="操作"] .ops-lock-btn {
position: absolute;
right: 2px;
top: 50%;
transform: translateY(-50%);
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
min-width: 22px;
width: 22px;
height: 22px;
border: none;
border-radius: 0;
background: rgba(255, 255, 255, 0.14);
color: #fde68a;
font-size: 13px;
line-height: 1;
cursor: pointer;
z-index: 13;
opacity: 0.85;
}
.data-table th.col-ops .ops-lock-btn:hover,
.data-table th[data-col="操作"] .ops-lock-btn:hover {
background: rgba(255, 255, 255, 0.28);
opacity: 1;
}
.data-table th.col-ops .ops-lock-btn.is-locked,
.data-table th[data-col="操作"] .ops-lock-btn.is-locked,
.data-table.ops-fold-locked th.col-ops .ops-lock-btn,
.data-table.ops-fold-locked th[data-col="操作"] .ops-lock-btn {
background: rgba(253, 230, 138, 0.35);
opacity: 1;
box-shadow: inset 0 0 0 1px rgba(253, 230, 138, 0.55);
}
.data-table.ops-collapsed th.col-ops .ops-lock-btn,
.data-table.ops-collapsed th[data-col="操作"] .ops-lock-btn {
display: none;
}
.data-table.ops-collapsed th.col-ops,
.data-table.ops-collapsed td.col-ops,
.data-table.ops-collapsed th[data-col="操作"],
.data-table.ops-collapsed td[data-col="操作"] {
width: 28px !important;
min-width: 28px !important;
max-width: 28px !important;
padding: 0 !important;
overflow: hidden;
cursor: pointer;
}
.data-table.ops-collapsed th.col-ops {
font-size: 0;
letter-spacing: 0;
padding-left: 0 !important;
}
.data-table.ops-collapsed th.col-ops .ops-fold-btn {
left: 0;
top: 0;
transform: none;
width: 100%;
height: 100%;
min-height: 28px;
border-radius: 0;
font-size: 18px;
}
.data-table.ops-collapsed td.col-ops .tb-btn,
.data-table.ops-collapsed td.col-ops .btn,
.data-table.ops-collapsed td[data-col="操作"] .tb-btn,
.data-table.ops-collapsed td[data-col="操作"] .btn {
display: none !important;
}
.data-table tbody tr:nth-child(even) td.col-ops,
.data-table tbody tr:nth-child(even) td[data-col="操作"] { background: #f8fffe; }
.data-table tbody tr:hover td.col-ops,
.data-table tbody tr:hover td[data-col="操作"] { background: #e6f4f2; }
.data-table tbody tr.selected td.col-ops,
.data-table tbody tr.selected td[data-col="操作"] { background: #99f6e4; }
.data-table td.col-ops .tb-btn,
.data-table td.col-ops .btn,
.data-table td.col-ops .btn.ghost,
.data-table td[data-col="操作"] .tb-btn,
.data-table td[data-col="操作"] .btn,
.data-table td[data-col="操作"] .btn.ghost {
margin: 0 2px;
padding: 2px 6px;
font-size: 12px;
font-weight: 400;
border: none;
background: transparent;
box-shadow: none;
color: var(--primary-dark, #0f766e);
border-radius: 0;
vertical-align: middle;
}
.data-table td.col-ops .tb-btn:hover,
.data-table td.col-ops .btn:hover,
.data-table td[data-col="操作"] .tb-btn:hover,
.data-table td[data-col="操作"] .btn:hover {
background: #e6f4f2;
color: var(--primary-dark, #0f766e);
}
.data-table td.col-ops .danger-text,
.data-table td[data-col="操作"] .danger-text {
color: #b91c1c !important;
}
.data-table td.col-ops .danger-text:hover,
.data-table td[data-col="操作"] .danger-text:hover {
background: #fef2f2;
color: #991b1b !important;
}
.data-table td.col-ops .tb-btn:disabled,
.data-table td.col-ops .btn:disabled,
.data-table td[data-col="操作"] .tb-btn:disabled,
.data-table td[data-col="操作"] .btn:disabled {
opacity: 0.4;
cursor: not-allowed;
color: #94a3b8 !important;
pointer-events: none;
}
[data-col-kind="users"] th.col-ops,
[data-col-kind="users"] th[data-col="操作"] {
position: sticky !important;
top: 0 !important;
right: auto !important;
left: auto !important;
box-shadow: none !important;
padding-left: 8px;
padding-right: 8px;
z-index: 8;
}
[data-col-kind="users"] td.col-ops,
[data-col-kind="users"] td[data-col="操作"] {
position: static !important;
right: auto !important;
left: auto !important;
box-shadow: none !important;
padding-left: 8px;
padding-right: 8px;
z-index: auto;
}
[data-col-kind="users"] th.col-ops .ops-fold-btn,
[data-col-kind="users"] th.col-ops .ops-lock-btn,
[data-col-kind="users"] th[data-col="操作"] .ops-fold-btn,
[data-col-kind="users"] th[data-col="操作"] .ops-lock-btn {
display: none !important;
}
[data-col-kind="users"] th.col-ops .col-resizer,
[data-col-kind="users"] th[data-col="操作"] .col-resizer {
left: auto;
right: 0;
}
.data-table td.col-ops .danger-text:disabled,
.data-table td[data-col="操作"] .danger-text:disabled {
color: #f1a8a8 !important;
}
[data-col-kind="users"] td[data-col="用户名"],
[data-col-kind="users"] td[data-col="部门"],
[data-col-kind="users"] td[data-col="角色"],
[data-col-kind="users"] td[data-col="状态"] {
padding: 2px 4px;
}
[data-col-kind="users"] .cell-inline {
display: block;
width: 100%;
height: 26px;
padding: 0 6px;
border: 1px solid transparent;
background: transparent;
border-radius: 0;
font: inherit;
font-size: 13px;
color: inherit;
outline: none;
box-sizing: border-box;
}
[data-col-kind="users"] .cell-inline-select {
padding: 0 2px;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: none;
text-indent: 0;
}
[data-col-kind="users"] .cell-inline:hover { border-color: #d5dde6; background: #fbfdff; }
[data-col-kind="users"] .cell-inline:focus {
border-color: #93c5fd;
background: #fff;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}
[data-col-kind="users"] .cell-inline.is-saving { opacity: 0.55; }
[data-col-kind="users"] .cell-inline.is-saved { border-color: #86efac; background: #f0fdf4; }
[data-col-kind="users"] .cell-ro { display: block; padding: 0 6px; line-height: 26px; color: #334155; }
[data-col-kind="users"] .cell-ro.masked { color: #94a3b8; letter-spacing: 1px; }
[data-col-kind="users"][data-readonly="1"] .cell-ro { color: #64748b; font-style: italic; }
[data-col-kind="users"][data-readonly="1"] .cell-ro.masked { color: #a3b0bf; font-style: normal; }
[data-col-kind="users"] thead th { text-align: center; }
[data-col-kind="users"] tbody tr.user-row > td:not(.col-rowops) { text-align: center; }
[data-col-kind="users"] tbody tr.user-row > td .cell-inline,
[data-col-kind="users"] tbody tr.user-row > td .cell-inline-select,
[data-col-kind="users"] tbody tr.user-row > td .cell-ro { text-align: center; }
[data-col-kind="users"] th.col-rowops {
position: sticky !important;
top: 0 !important;
z-index: 8;
padding: 0 10px;
white-space: nowrap;
text-align: left;
}
[data-col-kind="users"] td.col-rowops {
padding: 0 10px;
white-space: nowrap;
text-align: left;
}
[data-col-kind="users"] td.col-rowops .row-ico-btn,
[data-col-kind="users"] td.col-rowops .hw-bind-chip {
box-sizing: border-box;
text-align: center;
}
[data-col-kind="users"] td.col-rowops .user-reset-btn { width: 72px; }
[data-col-kind="users"] td.col-rowops .user-del-btn,
[data-col-kind="users"] td.col-rowops .user-unbind-btn { width: 48px; }
[data-col-kind="users"] td.col-rowops .hw-bind-chip { width: 96px; }
[data-col-kind="users"] td.col-rowops .rowops-slot {
display: inline-block;
width: 48px;
margin-left: 4px;
}
[data-col-kind="users"] .row-ico-btn {
display: inline-block;
min-width: 34px;
margin-left: 4px;
padding: 2px 10px;
border: 1px solid #4a90d9;
border-radius: 999px;
background: #eef5fd;
color: #2b6cb0;
font-size: 12px;
line-height: 1.4;
cursor: pointer;
vertical-align: middle;
transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
[data-col-kind="users"] .row-ico-btn:focus-visible { outline: 2px solid #93c5fd; outline-offset: 1px; }
[data-col-kind="users"] .row-ico-btn:hover { border-color: #2b6cb0; background: #dceafb; }
[data-col-kind="users"] .row-ico-btn.danger-text { border-color: #dc2626; background: #fef2f2; color: #b91c1c; }
[data-col-kind="users"] .row-ico-btn.danger-text:hover { border-color: #b91c1c; background: #fee2e2; }
[data-col-kind="users"] .hw-bind-chip {
display: inline-block;
margin-left: 4px;
padding: 2px 8px;
border-radius: 999px;
font-size: 11px;
line-height: 1.4;
vertical-align: middle;
border: 1px solid #cbd5e1;
background: #f1f5f9;
color: #475569;
}
[data-col-kind="users"] .hw-bind-chip.on { border-color: #16a34a; background: #f0fdf4; color: #15803d; }
[data-col-kind="users"] .hw-bind-chip.off { border-color: #cbd5e1; background: #f8fafc; color: #94a3b8; }
[data-col-kind="users"] .hw-bind-chip.hw-bind-toggle { cursor: pointer; }
[data-col-kind="users"] .hw-bind-chip.hw-bind-toggle:hover { box-shadow: 0 0 0 2px rgba(148,163,184,0.35); }
[data-col-kind="users"] .hw-bind-chip.hw-bind-toggle:focus-visible { outline: 2px solid #93c5fd; outline-offset: 1px; }
[data-col-kind="users"] .hw-bind-chip.hw-bind-toggle:active { transform: translateY(0.5px); }
.hw-bind-tip {
position: fixed;
z-index: 10000;
max-width: 380px;
padding: 8px 12px;
border-radius: 6px;
background: #0f172a;
color: #fff;
font-size: 12px !important;
line-height: 1.7;
white-space: pre-line;
word-break: break-all;
text-align: left;
pointer-events: none;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.hw-bind-tip[hidden] { display: none !important; }
#user-list-status,
#equipment-list-status {
position: fixed;
left: 50%;
bottom: 28px;
transform: translateX(-50%);
z-index: 10000;
margin: 0;
padding: 8px 16px;
border-radius: 6px;
background: #0f172a;
color: #fff !important;
font-size: 12px !important;
line-height: 1.7;
white-space: pre-line;
max-width: min(520px, calc(100vw - 48px));
text-align: center;
pointer-events: none;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
#user-list-status[hidden],
#equipment-list-status[hidden] { display: none !important; }
#user-list-status.is-inline-error,
#equipment-list-status.is-inline-error {
background: #7f1d1d;
color: #fff !important;
}
.empty-inline {
color: var(--muted);
font-size: 13px;
}
@media (max-width: 900px) {
.mes-board-grid { grid-template-columns: 1fr; }
}
.mes-status-select {
max-width: 110px;
font-size: 12px;
padding: 2px 4px;
}
.form-grid:not(.form-grid-2):not(.form-grid-3):not(.form-grid-4):not(.form-grid-5) {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px 12px;
}
.form-grid .field { margin: 0; }
.form-grid .field-span-2 { grid-column: 1 / -1; }
.form-grid.form-grid-2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 16px;
}
.form-grid.form-grid-3 {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px 12px;
}
@media (max-width: 640px) {
.form-grid:not(.form-grid-2):not(.form-grid-3):not(.form-grid-4):not(.form-grid-5),
.form-grid.form-grid-2,
.form-grid.form-grid-4 { grid-template-columns: 1fr; }
}
.tabs {
display: flex;
gap: 6px;
margin-bottom: 12px;
}
.tabs .tab {
flex: 1;
border: 1px solid var(--border);
background: #fff;
border-radius: 0;
padding: 10px 8px;
font-size: 12px;
color: var(--muted);
cursor: pointer;
}
.tabs .tab.active {
background: var(--primary);
border-color: var(--primary);
color: #fff;
font-weight: 600;
}
#view-perm.modal-lg .modal-card {
width: min(920px, 100%);
height: min(780px, 92vh);
max-height: min(780px, 92vh);
}
#view-perm .modal-body {
display: flex;
flex-direction: column;
min-height: 0;
}
#view-perm .perm-pane[hidden] {
display: none !important;
}
#view-perm #perm-pane-user:not([hidden]) {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
}
.perm-pane { margin-bottom: 12px; }
.perm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.perm-user-bar {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 10px 14px;
margin-bottom: 8px;
}
.perm-user-pick {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 12px;
color: #475569;
font-weight: 500;
flex: 1 1 220px;
min-width: 180px;
}
.perm-user-pick select {
width: 100%;
min-height: 36px;
border: 1px solid #d1d5db;
border-radius: 0;
padding: 6px 10px;
font-size: 13px;
font-family: inherit;
background: #fff;
}
.perm-user-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
}
.perm-user-status {
margin: 0 0 10px;
font-size: 12px;
color: #64748b;
line-height: 1.45;
}
.perm-badge {
display: inline-block;
font-size: 11px;
font-weight: 600;
padding: 1px 8px;
border-radius: 999px;
background: #e2e8f0;
color: #334155;
margin-right: 6px;
vertical-align: middle;
}
.perm-badge-ov {
background: #ffedd5;
color: #c2410c;
}
.perm-user-body {
min-height: 120px;
}
.sales-scope-page-body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 12px 16px 16px;
gap: 10px;
-webkit-overflow-scrolling: touch;
}
.sales-scope-page-body > .sales-scope-hint,
.sales-scope-page-body > .error {
flex: 0 0 auto;
}
.sales-scope-page-body .sales-scope-matrix {
flex: 1 1 auto;
min-height: 280px;
max-height: none;
}
.sales-scope-body {
display: flex;
flex-direction: column;
gap: 10px;
min-height: 0;
}
.sales-scope-hint {
margin: 0;
font-size: 13px;
color: #475569;
line-height: 1.5;
}
.sales-scope-matrix {
flex: 1 1 auto;
min-height: 320px;
max-height: min(62vh, 560px);
overflow: auto;
border: 1px solid #e2e8f0;
border-radius: 0;
padding: 0 10px 10px;
background: #f1f4f6;
-webkit-overflow-scrolling: touch;
}
.sales-scope-matrix .sales-scope-empty {
padding: 24px 16px;
color: #94a3b8;
font-size: 13px;
}
.ss-cards {
display: flex;
flex-direction: column;
gap: 12px;
}
.ss-cards.is-folded .ssc-body {
display: none;
}
.ssc-card {
border: 1px solid #d4e8e7;
background: #fff;
}
.ssc-card.ssc-card-sel {
border-color: #34d399;
box-shadow: inset 0 0 0 1px #34d399;
}
.ssc-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 6px 10px;
background: #f1f9f8;
border-bottom: 1px solid #d6edeb;
}
.ssc-card-sel .ssc-head {
background: #e7fbf3;
border-bottom-color: #a7f3d0;
}
.ssc-pick {
display: inline-flex;
align-items: center;
cursor: pointer;
}
.ssc-avatar {
flex: 0 0 auto;
width: 20px;
height: 20px;
line-height: 20px;
text-align: center;
background: #0f766e;
color: #fff;
font-size: 11px;
font-weight: 600;
overflow: hidden;
}
.ssc-name {
font-size: 13px;
font-weight: 600;
color: #0f172a;
max-width: 240px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ssc-region {
padding: 0 5px;
border: 1px solid #cbd5e1;
background: #fff;
color: #64748b;
font-size: 10px;
line-height: 15px;
white-space: nowrap;
}
.ssc-region-empty {
color: #94a3b8;
font-style: italic;
}
.ssc-stat {
margin-left: auto;
font-size: 11px;
color: #64748b;
}
.ssc-stat b {
color: #0f766e;
font-size: 12px;
}
.ssc-ops {
display: inline-flex;
gap: 6px;
}
.ssc-btn {
border: 1px solid #cbeae5;
background: #fff;
color: #0f766e;
font-family: inherit;
font-size: 11px;
line-height: 20px;
padding: 0 8px;
cursor: pointer;
}
.ssc-btn:hover {
background: #e6f4f2;
border-color: #99f6e4;
}
.ssc-card:not(.ss-picking) .ssc-chip:not(.is-on) { display: none !important; }
.ssc-card:not(.ss-picking) .ssc-group[hidden] { display: none !important; }
.ssc-card.ss-picking .ssc-body { display: flex !important; }
.ss-pick-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
border: 1px dashed #cbeae5;
background: #f8fffe;
font-size: 11px;
color: #0f766e;
}
.ss-pick-bar[hidden] { display: none !important; }
.ss-pick-bar input[type="search"] {
height: 24px;
border: 1px solid #cbd5e1;
background: #fff;
font-family: inherit;
font-size: 12px;
padding: 0 6px;
min-width: 180px;
}
.ssc-empty {
font-size: 11px;
color: #94a3b8;
padding: 2px 0 4px;
}
.ssc-body {
display: flex;
flex-direction: column;
gap: 8px;
padding: 8px 10px 10px;
}
.ssc-group-head {
display: flex;
align-items: center;
gap: 6px;
padding-bottom: 4px;
border-bottom: 1px dashed #e6eef0;
font-size: 11px;
color: #0f766e;
}
.ssc-group-region {
font-weight: 600;
}
.ssc-group-count {
font-weight: 400;
color: #94a3b8;
}
.ssc-group-btn {
border: 0;
background: transparent;
color: #0f766e;
font-family: inherit;
font-size: 11px;
padding: 0;
cursor: pointer;
}
.ssc-group-btn:hover {
text-decoration: underline;
}
.ssc-chips {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
gap: 6px;
padding-top: 6px;
}
.ssc-chip {
display: inline-flex;
align-items: center;
gap: 5px;
border: 1px solid #e2e8f0;
background: #fff;
padding: 3px 8px;
font-size: 12px;
color: #334155;
cursor: pointer;
user-select: none;
-webkit-user-select: none;
}
.ssc-chip:hover {
border-color: #99f6e4;
background: #f7fffd;
}
.ssc-chip.is-on {
border-color: #34d399;
background: #ecfdf5;
color: #047857;
font-weight: 600;
}
.ssc-chip.is-full {
border-color: #0f766e;
background: #e6f4f2;
color: #0f766e;
}
.ssc-chip input[type="checkbox"] {
width: 14px;
height: 14px;
margin: 0;
cursor: pointer;
}
.ssc-chip-dept {
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #94a3b8;
font-size: 10px;
line-height: 14px;
padding: 0 4px;
}
.ssc-head input[type="checkbox"] {
width: 16px;
height: 16px;
margin: 0;
cursor: pointer;
}
#menu-perm-matrix.perm-pane.mp-mode {
display: block;
overflow: auto;
padding-right: 2px;
}
.mp-cards {
display: flex;
flex-direction: column;
gap: 12px;
}
.mpc-card {
border: 1px solid #d4e8e7;
background: #fff;
}
.mpc-card[hidden] { display: none !important; }
.mpc-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 6px 10px;
background: #f1f9f8;
border-bottom: 1px solid #d6edeb;
}
.mpc-name {
font-size: 13px;
font-weight: 600;
color: #0f172a;
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mpc-stat {
margin-left: auto;
font-size: 11px;
color: #64748b;
}
.mpc-stat b {
color: #0f766e;
font-size: 12px;
}
.mpc-ops {
display: inline-flex;
gap: 6px;
}
.mpc-btn {
border: 1px solid #cbeae5;
background: #fff;
color: #0f766e;
font-family: inherit;
font-size: 11px;
line-height: 20px;
padding: 0 8px;
cursor: pointer;
}
.mpc-btn:hover {
background: #e6f4f2;
border-color: #99f6e4;
}
.mp-copy-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
border: 1px dashed #cbeae5;
background: #f8fffe;
font-size: 11px;
color: #0f766e;
}
.mp-copy-bar[hidden] { display: none !important; }
.mp-copy-lbl { white-space: nowrap; }
.mp-select.mp-copy-src {
max-width: none;
min-width: 220px;
width: auto;
}
.mpc-lock {
font-size: 11px;
color: #94a3b8;
}
.mpc-body {
display: flex;
flex-direction: column;
gap: 8px;
padding: 8px 10px 10px;
}
.mpc-group-head {
display: flex;
align-items: center;
gap: 6px;
padding-bottom: 4px;
border-bottom: 1px dashed #e6eef0;
font-size: 11px;
color: #0f766e;
}
.mpc-group-region {
font-weight: 600;
}
.mpc-group-count {
font-weight: 400;
color: #94a3b8;
}
.mpc-group-btn {
border: 0;
background: transparent;
color: #0f766e;
font-family: inherit;
font-size: 11px;
padding: 0;
cursor: pointer;
}
.mpc-group-btn:hover {
text-decoration: underline;
}
.mpc-chips {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
gap: 6px;
padding-top: 6px;
}
.mpc-chip {
display: inline-flex;
align-items: center;
gap: 5px;
border: 1px solid #e2e8f0;
background: #fff;
padding: 3px 8px;
font-size: 12px;
color: #334155;
cursor: pointer;
user-select: none;
-webkit-user-select: none;
}
.mpc-chip:hover {
border-color: #99f6e4;
background: #f7fffd;
}
.mpc-chip.is-on {
border-color: #34d399;
background: #ecfdf5;
color: #047857;
font-weight: 600;
}
.mpc-chip.is-admin {
border-color: #cbd5e1;
}
.mpc-chip.is-lock {
background: #f8fafc;
color: #94a3b8;
cursor: default;
}
.mpc-chip input[type="checkbox"] {
width: 14px;
height: 14px;
margin: 0;
cursor: pointer;
}
.mpc-chip.is-lock input[type="checkbox"] {
cursor: not-allowed;
opacity: 0.45;
}
.mpc-chip-meta {
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #94a3b8;
font-size: 10px;
line-height: 14px;
padding: 0 4px;
}
.mpc-user-region {
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #94a3b8;
font-size: 10px;
line-height: 14px;
padding: 0 4px;
}
.mpc-empty {
font-size: 12px;
color: #94a3b8;
padding: 4px 0 2px;
}
.mpc-empty[hidden] {
display: none !important;
}
.mp-pick-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
padding: 6px 8px;
border: 1px dashed #99f6e4;
background: #f7fffd;
}
.mp-pick-bar[hidden] {
display: none !important;
}
.mp-pick-search {
flex: 0 1 220px;
height: 26px;
padding: 0 8px;
border: 1px solid #cbd5e1;
border-radius: 0;
background: #fff;
color: #0f172a;
font-family: inherit;
font-size: 12px;
}
.mp-pick-search:focus {
outline: none;
border-color: #0f766e;
}
.mp-pick-hint {
font-size: 11px;
color: #64748b;
}
.mp-tools {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 10px;
}
.mp-tools-lbl {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: #64748b;
}
.mp-tools .mp-select {
max-width: 220px;
}
.mp-dept-baselines {
border: 1px solid #cfe0f2;
border-radius: 8px;
background: #f5f9fe;
padding: 10px 12px;
margin: 0 0 12px;
}
.mp-db-head {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 8px;
}
.mp-db-title {
font-weight: 700;
font-size: 14px;
color: #1f4e79;
}
.mp-db-tip {
font-size: 12px;
color: #64748b;
}
.mp-db-list .mp-cards {
display: flex;
flex-direction: column;
gap: 8px;
}
.db-page-body { padding: 12px 14px; }
#dept-baseline-view {
display: block;
overflow-y: auto;
}
.db-tip { font-size: 12px; color: #64748b; margin: 0 0 12px; }
#mp-dept-baseline-list .mp-cards { display: flex; flex-direction: column; gap: 8px; }
.mp-db-card {
border: 1px solid #9ec5ec !important;
border-left: 4px solid #4a90d9 !important;
background: #ffffff;
border-radius: 8px;
padding: 8px 10px;
box-shadow: none;
}
.mp-db-card .mpc-head {
background: transparent;
border-bottom: 1px dashed #d8e6f5;
margin: -8px -10px 8px;
padding: 8px 10px;
}
.mp-db-card .mpc-stat {
color: #1f4e79;
}
.mpc-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 16px;
height: 16px;
padding: 0 4px;
margin-left: 4px;
font-size: 11px;
line-height: 1;
font-weight: 700;
border-radius: 8px;
}
.mp-badge-special { background: #4a90d9; color: #fff; }
.mp-badge-revoked { background: #f0a020; color: #fff; }
.mpc-stat2 { font-size: 12px; color: #4a90d9; margin-left: 8px; }
.mpc-stat2 b { color: #4a90d9; }
.mpc-card:not(.mp-picking) .mpc-chip.is-revoked { display: inline-flex !important; }
.mpc-chip.is-revoked { opacity: .9; }
.mpc-chip.is-revoked .mpc-chip-name { text-decoration: line-through; color: #94a3b8; }
.mpc-chip.is-special { border-color: #4a90d9; box-shadow: 0 0 0 1px #4a90d9 inset; }
.mpc-card:not(.mp-picking) .mpc-chip:not(.is-on) {
display: none !important;
}
.menu-perm-body > .mp-bulk {
flex: 0 0 auto;
margin: 0 0 10px;
}
.mp-bulk {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
}
.mp-bulk-count {
font-size: 12px;
color: #94a3b8;
}
.col-mp-perm { text-align: center; }
.mp-inline-btn {
display: inline-block; padding: 2px 10px; border: 1px solid #4a90d9; border-radius: 999px;
background: #eef5fd; color: #2b6cb0; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.mp-inline-btn:hover { background: #dceafb; }
.mp-inline-btn-ghost { border-color: #d7dee7; background: #fff; color: #7b8794; }
.mp-inline-btn-ghost:hover { background: #f1f4f8; color: #2b6cb0; border-color: #4a90d9; }
.mp-cell-tag { font-size: 12px; color: #94a3b8; }
.ss-auto-tag {
display: inline-block; margin-right: 4px; padding: 0 4px; vertical-align: 1px;
font-style: normal; font-size: 10px; line-height: 15px; color: #0f766e;
background: #ecfdf5; border: 1px solid #cdeae4; white-space: nowrap;
}
.mp-cell-muted { color: #c0c7d1; }
.mp-inline-row > .mp-inline-cell { padding: 0 !important; background: #f7f9fc; }
.mp-inline-grid { padding: 12px 16px; border-top: 2px solid #4a90d9; border-bottom: 2px solid #4a90d9; }
.mp-inline-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.mp-inline-bar .mpc-btn { font-size: 12px; padding: 2px 10px; }
.mp-inline-stat { margin-left: auto; font-size: 12px; color: #64748b; }
.mp-inline-stat b { color: #2b6cb0; }
.mp-inline-hint { font-size: 12px; color: #94a3b8; }
.mp-inline-sec { margin-bottom: 10px; }
.mp-inline-sec:last-child { margin-bottom: 0; }
.mp-inline-sec-t { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.col-ss-scope { text-align: center; }
.ss-inline-row > .ss-inline-cell { padding: 0 !important; background: #f7f9fc; }
.ss-inline-grid { padding: 12px 16px; border-top: 2px solid #4a90d9; border-bottom: 2px solid #4a90d9; }
.ss-inline-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.ss-inline-bar .mpc-btn { font-size: 12px; padding: 2px 10px; }
.ss-inline-stat { margin-left: auto; font-size: 12px; color: #64748b; }
.ss-inline-stat b { color: #2b6cb0; }
.mp-bulk-count b {
font-size: 13px;
color: #0f766e;
}
.mp-bulk-btn {
height: 26px;
padding: 0 10px;
border: 1px solid #cbd5e1;
border-radius: 0;
background: #fff;
color: #334155;
font-family: inherit;
font-size: 12px;
cursor: pointer;
}
.mp-bulk-btn:hover {
border-color: #0f766e;
color: #0f766e;
}
.mp-bulk-sep {
width: 1px;
align-self: stretch;
margin: 0 2px;
background: #e2e8f0;
}
.mp-bulk-user {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: #475569;
}
.mp-select {
height: 24px;
border: 1px solid #cbd5e1;
background: #fff;
color: #1e293b;
font-family: inherit;
font-size: 12px;
padding: 0 4px;
max-width: 160px;
}
.ss-tools {
flex: 0 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.ss-search {
flex: 0 1 260px;
height: 28px;
padding: 0 8px;
border: 1px solid #cbd5e1;
border-radius: 0;
background: #fff;
color: #0f172a;
font-family: inherit;
font-size: 12px;
}
.ss-search:focus {
outline: none;
border-color: #0f766e;
}
.ss-bulk {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
}
.ss-bulk-count {
font-size: 12px;
color: #94a3b8;
}
.ss-bulk.has-sel .ss-bulk-count {
color: #0f766e;
}
.ss-bulk-count b {
font-size: 13px;
}
.ss-bulk-btn {
height: 26px;
padding: 0 10px;
border: 1px solid #cbd5e1;
border-radius: 0;
background: #fff;
color: #334155;
font-family: inherit;
font-size: 12px;
cursor: pointer;
}
.ss-bulk-btn:hover:not(:disabled) {
border-color: #0f766e;
color: #0f766e;
}
.ss-bulk-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.ss-bulk-sep {
width: 1px;
align-self: stretch;
margin: 0 2px;
background: #e2e8f0;
}
.ss-bulk-viewer {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: #475569;
}
.ss-select {
height: 24px;
border: 1px solid #cbd5e1;
background: #fff;
color: #1e293b;
font-family: inherit;
font-size: 12px;
padding: 0 4px;
max-width: 160px;
}
@media (max-width: 720px) {
.sales-scope-matrix {
max-height: min(70vh, 480px);
}
.ssc-head {
gap: 6px;
}
.ssc-avatar {
display: none;
}
.ssc-stat {
margin-left: 0;
}
}
.perm-user-table th.perm-col-allow,
.perm-user-table td.perm-col-allow,
.perm-user-table th.perm-col-role,
.perm-user-table td.perm-col-role {
text-align: center;
width: 88px;
}
.perm-user-table td.perm-col-role {
color: #64748b;
}
.perm-user-sens-title {
margin: 14px 0 8px;
font-size: 13px;
font-weight: 600;
color: #334155;
}
.perm-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
background: var(--card);
border: 1px solid var(--border);
border-radius: 0;
}
.perm-table.menu-user-matrix {
width: max-content;
min-width: 100%;
table-layout: auto;
border: none;
border-radius: 0;
}
.perm-table th, .perm-table td {
border-bottom: 1px solid var(--border);
padding: 8px 6px;
text-align: center;
white-space: nowrap;
}
.perm-table.menu-user-matrix th:first-child,
.perm-table.menu-user-matrix td:first-child {
text-align: left;
position: sticky;
left: 0;
min-width: 120px;
max-width: 160px;
background: #f8fffe;
z-index: 2;
box-shadow: 2px 0 4px rgba(15, 23, 42, 0.06);
}
.perm-table.menu-user-matrix thead tr:first-child th {
position: sticky;
top: 0;
z-index: 4;
background: #e6f4f2;
}
.perm-table.menu-user-matrix thead tr:nth-child(2) th {
position: sticky;
top: var(--mp-head1, 34px);
z-index: 4;
background: #f8fffe;
box-shadow: 0 1px 0 var(--border);
}
.perm-table.menu-user-matrix thead tr:first-child th:first-child {
left: 0;
z-index: 6;
background: #d8efe9;
}
.perm-table.menu-user-matrix thead tr:nth-child(2) th:first-child {
left: 0;
z-index: 6;
background: #eef8f6;
}
.perm-table.menu-user-matrix th.mp-user {
min-width: 72px;
max-width: 96px;
vertical-align: bottom;
font-weight: 500;
line-height: 1.25;
padding: 8px 4px;
}
.perm-table.menu-user-matrix th.mp-user .mp-user-name {
display: block;
white-space: normal;
word-break: break-all;
font-size: 12px;
color: var(--text);
}
.perm-table.menu-user-matrix th.mp-user .mp-user-meta {
display: block;
margin-top: 2px;
font-size: 10px;
color: var(--muted);
font-weight: 400;
}
.perm-table.menu-user-matrix th.mp-region {
background: #e6f4f2;
color: #0f766e;
font-weight: 600;
border-bottom: 1px solid #b6e2dc;
}
.perm-table.menu-user-matrix th.mp-admin,
.perm-table.menu-user-matrix td.mp-admin {
background: #f1f5f9;
}
.perm-table.menu-user-matrix .mp-col-all,
.perm-table.menu-user-matrix .mp-row-all {
margin-top: 4px;
font-size: 11px;
color: var(--primary);
cursor: pointer;
border: none;
background: none;
padding: 0;
text-decoration: underline;
}
.perm-table.menu-user-matrix td.mp-menu-label {
white-space: normal;
line-height: 1.3;
}
.perm-table.menu-user-matrix .mp-menu-name {
display: block;
}
.perm-table.menu-user-matrix .mp-row-all {
display: inline-block;
margin-top: 2px;
}
.check-row {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 4px;
font-size: 12px;
}
.form-section {
background: var(--card);
border: 1px solid var(--border);
border-radius: 0;
padding: 12px 14px 10px;
margin-bottom: 10px;
}
#view-form .form-top-row {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 10px;
margin-bottom: 10px;
align-items: stretch;
}
#view-form .form-top-row > .form-section {
margin-bottom: 0;
min-width: 0;
display: flex;
flex-direction: column;
}
#view-plm-form .plm-form-top-row {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
margin-bottom: 0;
align-items: stretch;
}
#view-plm-form .plm-form-top-row > .form-section {
margin-bottom: 0;
min-width: 0;
display: flex;
flex-direction: column;
}
#view-plm-form .plm-form-top-row > .form-section.form-section-basic {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 10px;
position: relative;
align-items: stretch;
}
#view-plm-form #plm-bom-detail-section {
margin-top: 14px;
}#view-plm-form .form-section-basic > .plm-basic-fields {
min-width: 0;
display: flex;
flex-direction: column;
}
#view-plm-form .form-section-basic > .plm-basic-fields > .plm-material-wrap {
flex: none;
min-width: 0;
}
#view-plm-form .form-section-basic > #plm-attach-section {
position: absolute;
top: 12px;
right: 0;
bottom: 10px;
left: calc(66.6667% + 3.34px);
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--card);
border: none;
border-radius: 0;
padding: 0 12px 12px;
margin: 0;
box-sizing: border-box;
}
#view-plm-form #plm-attach-section .section-bar {
align-items: flex-start;
margin-bottom: 0;
}
#view-wms-txn.modal-lg .modal-card {
width: min(1600px, 100%) !important;
}
#view-wms-txn .wms-txn-top-row {
display: grid;
grid-template-columns: 4fr 1fr;
gap: 10px;
margin-bottom: 10px;
align-items: stretch;
}
#view-wms-txn .wms-txn-top-row > .form-section {
margin-bottom: 0;
min-width: 0;
display: flex;
flex-direction: column;
}
#view-wms-txn #wms-attach-section .attach-list {
flex: 1;
min-height: 120px;
max-height: 258px;
overflow: auto;
}
#view-wms-txn #wms-attach-section .attach-item {
flex-direction: column;
align-items: stretch;
gap: 6px;
padding: 8px;
}
#view-wms-txn #wms-attach-section .attach-actions {
width: 100%;
justify-content: flex-end;
}
#view-wms-txn #wms-attach-section .attach-thumb {
display: block;
width: 100%;
max-height: 140px;
object-fit: contain;
background: #fff;
}
#view-plm-form .plm-material-wrap {
margin: 0;
padding: 0;
border: none;
background: transparent;
display: flex;
flex-direction: column;
}
#view-plm-form .plm-material-wrap[hidden] {
display: none !important;
}
#view-plm-form .plm-material-wrap > .form-grid {
flex: none;
min-height: 0;
align-content: start;
}
#view-plm-form #plm-attach-section .attach-list {
flex: 1;
min-height: 0;
overflow: auto;
}
#view-plm-form #plm-attach-section.attach-empty .attach-list {
flex: 0;
display: none;
}
#view-plm-form #plm-attach-section .attach-drop-hint {
display: none;
margin: 0;
flex: 1;
align-items: center;
justify-content: center;
text-align: center;
font-size: 13px;
color: #94a3b8;
line-height: 1.5;
}
#view-plm-form #plm-attach-section.attach-empty .attach-drop-hint {
display: flex;
}
#view-plm-form #plm-attach-section .attach-item {
flex-direction: column;
align-items: stretch;
gap: 6px;
padding: 8px;
}
#view-plm-form #plm-attach-section .attach-actions {
width: 100%;
justify-content: flex-end;
}
#view-plm-form #plm-attach-section .attach-preview {
display: block;
border-radius: 0;
overflow: hidden;
background: #f1f5f9;
border: 1px solid var(--border);
}
#view-plm-form #plm-attach-section .attach-thumb {
display: block;
width: 100%;
max-height: 220px;
object-fit: contain;
background: #fff;
}
#view-plm-form .plm-material-wrap > .form-grid-2,
#view-plm-form #plm-form-bom > .form-grid-2 {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 1px;
background: var(--border);
border: 1px solid var(--border);
border-radius: 0;
overflow: hidden;
padding: 0;
margin: 0;
grid-auto-rows: 34px;
align-content: start;
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field,
#view-plm-form #plm-form-bom > .form-grid-2 > .field {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
gap: 1px;
background: var(--border);
margin: 0;
min-height: 0;
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field > span,
#view-plm-form #plm-form-bom > .form-grid-2 > .field > span {
display: flex;
align-items: center;
justify-content: flex-end;
padding: 8px 10px;
background: #f1f5f9;
color: var(--muted);
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: right;
margin: 0;
min-height: 34px;
box-sizing: border-box;
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field > input,
#view-plm-form .plm-material-wrap > .form-grid-2 > .field > select,
#view-plm-form #plm-form-bom > .form-grid-2 > .field > input,
#view-plm-form #plm-form-bom > .form-grid-2 > .field > select {
width: 100%;
min-width: 0;
padding: 8px 10px;
font-size: 12px;
border: 0;
border-radius: 0;
background: #fff;
color: #000;
text-align: center;
box-sizing: border-box;
min-height: 34px;
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field.field-span-2,
#view-plm-form #plm-form-bom > .form-grid-2 > .field.field-span-2 {
grid-column: 1 / -1;
}
@media (max-width: 640px) {
#view-plm-form .plm-material-wrap > .form-grid-2,
#view-plm-form #plm-form-bom > .form-grid-2 {
grid-template-columns: 1fr;
}
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field > input[readonly],
#view-plm-form .plm-material-wrap > .form-grid-2 > .field > input:disabled,
#view-plm-form .plm-material-wrap > .form-grid-2 > .field > select:disabled,
#view-plm-form #plm-form-bom > .form-grid-2 > .field > input[readonly],
#view-plm-form #plm-form-bom > .form-grid-2 > .field > input:disabled,
#view-plm-form #plm-form-bom > .form-grid-2 > .field > select:disabled {
background: #f1f5f9;
color: #000;
cursor: default;
}
#view-plm-form #plm-form-bom > .form-grid-2 > .field > input[type="date"] {
min-height: 34px;
color-scheme: light;
}
#view-plm-form .field .plm-creator:read-only {
background: #eef2f7;
color: #000;
cursor: default;
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field:has(#btn-plm-derive:not([hidden])) {
position: relative;
}
#view-plm-form .plm-material-wrap > .form-grid-2 > .field:has(#btn-plm-derive:not([hidden])) > input {
padding-right: 66px;
}
#view-plm-form .field #btn-plm-derive {
position: absolute;
right: 6px;
bottom: 6px;
margin: 0;
padding: 6px 12px;
font-size: 12px;
line-height: 1;
z-index: 2;
}
#view-plm-form #plm-form-bom > .form-grid-2 > .field:has(#btn-plm-derive-bom:not([hidden])) {
position: relative;
}
#view-plm-form #plm-form-bom > .form-grid-2 > .field:has(#btn-plm-derive-bom:not([hidden])) > input {
padding-right: 66px;
}
#view-plm-form #plm-form-bom .field #btn-plm-derive-bom {
position: absolute;
right: 6px;
bottom: 6px;
margin: 0;
padding: 6px 12px;
font-size: 12px;
line-height: 1;
z-index: 2;
}
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-plm-derive-material:not([hidden])) {
position: relative;
}
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-plm-derive-material:not([hidden])) > input,
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-m-create-bom:not([hidden])) > input {
flex: 0 0 150px;
width: 150px;
padding-right: 10px;
}
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-plm-derive-material:not([hidden])),
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-m-create-bom:not([hidden])) {
display: flex !important;
align-items: center !important;
flex-wrap: nowrap !important;
}
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-plm-derive-material:not([hidden])) > span,
#view-plm-form #plm-form-material > .form-grid-2 > .field:has(#btn-m-create-bom:not([hidden])) > span {
flex: 0 0 92px;
width: 92px;
}
#view-plm-form #plm-form-material .field #btn-plm-derive-material {
position: static;
margin: 0 0 0 100px;
padding: 6px 12px;
font-size: 12px;
line-height: 1;
}
#view-plm-form #plm-form-material .field #btn-m-create-bom {
position: static;
margin: 0 0 0 100px;
padding: 6px 12px;
font-size: 12px;
line-height: 1;
}
#view-plm-form #plm-form-material .field #btn-plm-derive-material:not([hidden]) ~ #btn-m-create-bom {
margin-left: 10px;
}
#view-plm-form #plm-form-material,
#view-plm-form #plm-form-product,
#view-plm-form #plm-form-bom {
--border: #e5e7eb;
}
#plm-split-right-head #plm-form-actions-row {
--border: #e5e7eb;
}
#view-plm-form #plm-form-material .section-title,
#view-plm-form #plm-form-product .section-title,
#view-plm-form #plm-form-bom .section-title,
#plm-split-right-head #plm-form-card-title {
color: #374151;
}
#view-form #attach-section .attach-list {
flex: 1;
min-height: 120px;
max-height: 260px;
overflow: auto;
}
#view-form #attach-section .attach-item {
flex-direction: column;
align-items: stretch;
gap: 6px;
padding: 8px;
}
#view-form #attach-section .attach-actions {
width: 100%;
justify-content: flex-end;
}
#view-form #attach-section .attach-preview {
display: block;
border-radius: 0;
overflow: hidden;
background: #f1f5f9;
border: 1px solid var(--border);
}
#view-form #attach-section .attach-thumb {
display: block;
width: 100%;
max-height: 160px;
object-fit: contain;
cursor: pointer;
background: #f8fafc;
}
#view-form #attach-section .attach-thumb-fail {
min-height: 48px;
padding: 12px;
text-align: center;
color: var(--muted);
}
#view-form #attach-section .attach-name-row {
display: flex;
align-items: flex-start;
gap: 4px;
}
#view-form #attach-section .attach-name-row > a {
flex: 1;
min-width: 0;
}
#view-form #attach-section .btn-rename-att {
flex-shrink: 0;
padding: 0 4px;
font-size: 12px;
color: var(--primary-dark);
}
#view-form #attach-section .attach-open,
#view-form #attach-section .attach-name-plain {
display: block;
font-size: 12px;
color: var(--text);
text-decoration: none;
word-break: break-all;
line-height: 1.35;
}
#view-form #attach-section .attach-open {
color: var(--primary-dark);
cursor: pointer;
}
#view-form #attach-section .attach-open:hover {
text-decoration: underline;
}
#view-form #attach-section .attach-size {
color: var(--muted);
}
#view-form #attach-section .attach-item.is-file .attach-open {
padding: 4px 2px;
}
@media (max-width: 860px) {
#view-form .form-top-row,
#view-plm-form .plm-form-top-row,
#view-plm-form .form-section-basic,
#view-wms-txn .wms-txn-top-row {
grid-template-columns: 1fr;
}
#view-plm-form .form-section-basic > #plm-attach-section {
position: static;
left: auto;
right: auto;
top: auto;
bottom: auto;
width: auto;
}
}
.section-title {
font-weight: 700;
margin-bottom: 10px;
color: var(--primary-dark);
}
.section-bar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.section-bar .section-title { margin-bottom: 0; }
.readonly-hint {
font-size: 12px;
color: var(--muted);
margin: 0 0 10px;
padding: 8px 10px;
background: #f0fdfa;
border-radius: 0;
}
.line-list { margin-bottom: 8px; }
.detail-table-wrap {
max-height: 320px;
border-radius: 0;
}
.detail-table {
min-width: 100%;
width: 100%;
}
.detail-table th {
background: #0f766e;
}
.detail-table td {
padding: 4px 6px;
}
.detail-table col.col-idx,
.detail-table th.col-idx,
.detail-table td.col-idx {
width: 50px !important;
min-width: 50px !important;
max-width: 50px !important;
overflow: hidden;
text-overflow: clip;
white-space: nowrap;
text-align: center;
padding-left: 4px;
padding-right: 4px;
box-sizing: border-box;
}
.detail-table td.col-idx {
color: var(--muted);
font-variant-numeric: tabular-nums;
background: #f0fdfa;
}
#view-wms-txn .detail-table {
min-width: 960px;
}
#view-wms-txn .detail-table .wms-mat-name,
#view-wms-txn .detail-table .wms-mat-model,
#view-wms-txn .detail-table .wms-mat-spec {
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #334155;
font-size: 13px;
}
#view-wms-txn .detail-table .wms-mat-name {
max-width: 220px;
}
.detail-table input {
width: 100%;
min-width: 0;
padding: 0;
margin: 0;
border: none;
border-radius: 0;
outline: none;
box-shadow: none;
font: inherit;
font-size: 12px;
line-height: inherit;
text-align: center;
background: transparent;
color: var(--text);
}
.detail-table input:focus {
outline: none;
background: #e6f4f2;
}
.detail-table select {
width: 100%;
min-width: 0;
padding: 0;
margin: 0;
border: none;
border-radius: 0;
outline: none;
box-shadow: none;
font: inherit;
font-size: 12px;
line-height: inherit;
text-align: center;
text-align-last: center;
background: transparent;
color: var(--text);
cursor: pointer;
}
.detail-table select:focus {
outline: none;
background: #e6f4f2;
}
#sales-orders-table th[data-col="排产"] {
white-space: normal;
line-height: 1.2;
padding-left: 3px;
padding-right: 3px;
}
#sales-orders-table td[data-col="排产"] {
padding-left: 2px;
padding-right: 2px;
}
.detail-table input.masked {
background: transparent;
color: var(--muted);
}
.detail-table tbody tr { cursor: default; }
.detail-table tbody tr:hover { background: #f8fffe; }
.detail-table .btn-del-line {
padding: 4px 8px;
font-size: 12px;
}
.line-card {
background: var(--card);
border: 1px dashed var(--border);
border-radius: 0;
padding: 10px 10px 2px;
background: #fafefe;
}
.line-head {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
color: var(--muted);
margin-bottom: 6px;
}
.danger-text { color: var(--danger) !important; }
.link-btn {
border: 0;
background: transparent;
color: var(--primary-dark, #0f766e);
cursor: pointer;
padding: 0 4px;
font: inherit;
text-decoration: underline;
}
.link-btn.danger,
.link-btn.danger-text { color: var(--danger) !important; }
.attach-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.attach-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
padding: 10px;
border: 1px solid var(--border);
border-radius: 0;
background: #fff;
}
.attach-drop-hint {
margin: 4px 0 0;
font-size: 12px;
color: #64748b;
line-height: 1.4;
}
.mf-attach-dropzone {
outline: none;
border: 2px solid transparent;
border-radius: 0;
box-sizing: border-box;
transition: none !important;
transform: none !important;
filter: none !important;
backdrop-filter: none !important;
}
.mf-attach-dropzone.is-dragover {
border-color: #0d9488;
background: #f0fdfa;
}
.mf-attach-dropzone.is-dragover .attach-drop-hint {
color: #0f766e;
font-weight: 600;
}
.attach-name { font-size: 12px; word-break: break-all; flex: 1; }
.attach-actions { display: flex; gap: 4px; flex-shrink: 0; }
.file-btn { display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
.form-footer {
position: sticky;
bottom: 0;
padding: 12px 0 calc(8px + var(--safe-bottom));
background: linear-gradient(transparent, var(--bg) 30%);
}
@media (min-width: 640px) {
}
:root {
--font: "Microsoft YaHei";
font-family: "Microsoft YaHei";
font-size: 12px;
}
html, body, #app,
#app *:not(script):not(style) {
font-family: "Microsoft YaHei" !important;
font-size: 12px !important;
font-weight: 400 !important;
line-height: 1.4 !important;
}
button, input, select, textarea, table, th, td, label, a, span, p, div,
.shell-foot, .shell-menu-btn, .nav-popup, .nav-item, .btn, .page-footer,
.data-table, .data-table th, .data-table td, .modal, .modal-title, .tab {
font-family: "Microsoft YaHei" !important;
font-size: 12px !important;
font-weight: 400 !important;
}
.list-pane .page-header,
.list-pane .page-header .toolbar,
.list-pane .page-header .tb-btn,
.list-pane .page-header .btn {
font-family: "Microsoft YaHei" !important;
font-size: 13px !important;
font-weight: 400 !important;
}
.list-pane .page-header .page-title {
font-family: "Microsoft YaHei" !important;
font-size: 15px !important;
font-weight: 400 !important;
}
#view-login .login-mark {
font-size: inherit !important;
font-weight: inherit !important;
}
#view-login .login-hero-title {
font-size: 28px !important;
font-weight: 700 !important;
}
#view-login .login-hero-mods {
font-size: 16px !important;
font-weight: 650 !important;
}
#view-login .login-hero-desc {
font-size: 14px !important;
font-weight: 400 !important;
line-height: 1.7 !important;
}
#view-login .login-card .brand {
font-size: 22px !important;
font-weight: 700 !important;
}
#view-login .login-card .sub {
font-size: 13px !important;
}
#view-login .btn-login {
font-size: 15px !important;
font-weight: 700 !important;
color: #fff !important;
background: linear-gradient(135deg, #ff8a3d 0%, #fe661a 55%, #e05510 100%) !important;
}
.home-intro-brand {
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
font-size: clamp(1.85rem, 4.2vw, 2.55rem) !important;
font-weight: 800 !important;
line-height: 1.1 !important;
}
.home-intro-kicker { font-size: 10px !important; font-weight: 700 !important; line-height: 1.4 !important; }
.home-intro-lead { font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; }
.home-intro-flow span { font-size: 11px !important; font-weight: 800 !important; line-height: 1.4 !important; }
.home-intro-orbit b { font-size: 28px !important; font-weight: 800 !important; line-height: 1 !important; }
.home-intro-orbit small { font-size: 10px !important; font-weight: 400 !important; line-height: 1.4 !important; }
.home-intro-sec-head strong { font-size: 15px !important; font-weight: 800 !important; line-height: 1.4 !important; }
.home-intro-sec-head span { font-size: 13px !important; font-weight: 400 !important; line-height: 1.4 !important; }
.home-intro-card-title { font-size: 18px !important; font-weight: 800 !important; line-height: 1.4 !important; }
.home-intro-card.is-primary .home-intro-card-title { font-size: 21px !important; }
.home-intro-card-desc { font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.55 !important; }
.home-intro-mark { font-size: 13px !important; font-weight: 800 !important; line-height: 1.4 !important; }
.home-intro-card.is-primary .home-intro-mark { font-size: 14px !important; }
.home-intro-step { font-size: 12px !important; font-weight: 800 !important; line-height: 1.4 !important; }
.home-intro-tip { font-size: 13px !important; font-weight: 650 !important; line-height: 1.4 !important; }
.home-intro-tags em { font-size: 11px !important; font-weight: 650 !important; line-height: 1.4 !important; }
.home-intro-card-go { font-size: 13px !important; font-weight: 750 !important; line-height: 1.4 !important; }
.home-intro-sub { font-size: 13px !important; font-weight: 400 !important; line-height: 1.45 !important; }
.nav-item { font-size: 13px !important; }
.nav-item.active { font-weight: 600 !important; }
.nav-sub-item { font-size: 12.5px !important; }
.nav-group-toggle { font-size: 13px !important; font-weight: 600 !important; }
@media (max-width: 640px) {
.home-intro-brand { font-size: 1.7rem !important; }
}
.mes-gantt {
display: flex;
flex-direction: column;
gap: 10px;
min-height: 0;
height: 100%;
}
.mes-gantt-legend {
display: flex;
flex-wrap: wrap;
gap: 10px 14px;
align-items: center;
padding: 0 2px;
color: #64748b;
}
.mes-gantt-legend span {
display: inline-flex;
align-items: center;
gap: 5px;
white-space: nowrap;
}
.mes-gantt-hint {
color: #94a3b8;
margin-left: auto;
}
.mes-gantt-swatch,
.mes-gantt-due-mark {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 0;
flex: 0 0 auto;
}
.mes-gantt-due-mark {
width: 8px;
height: 8px;
border-radius: 50%;
background: #e11d48;
box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.25);
}
.mes-gantt-swatch.tone-base { background: #94a3b8; }
.mes-gantt-swatch.tone-weld { background: #0d9488; }
.mes-gantt-swatch.tone-motor { background: #2563eb; }
.mes-gantt-swatch.tone-laser { background: #7c3aed; }
.mes-gantt-swatch.tone-parts { background: #d97706; }
.mes-gantt-swatch.tone-assy { background: #059669; }
.mes-gantt-swatch.tone-aging { background: #e11d48; }
.mes-gantt-swatch.tone-packParts { background: #0891b2; }
.mes-gantt-swatch.tone-pack { background: #4f46e5; }
.mes-gantt-scroll {
position: relative;
overflow: auto;
border: 1px solid #e2e8f0;
border-radius: 0;
background: #fff;
flex: 1;
min-height: 280px;
}
.mes-gantt-head {
display: flex;
position: sticky;
top: 0;
z-index: 3;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
min-width: max-content;
}
.mes-gantt-corner {
position: sticky;
left: 0;
z-index: 4;
width: var(--gantt-label-w, 612px);
min-width: var(--gantt-label-w, 612px);
display: flex;
align-items: stretch;
padding: 0;
background: #f1f5f9;
border-right: 1px solid #e2e8f0;
color: #334155;
box-sizing: border-box;
}
.mes-gantt-label {
position: sticky;
left: 0;
z-index: 2;
width: var(--gantt-label-w, 612px);
min-width: var(--gantt-label-w, 612px);
display: flex;
align-items: stretch;
padding: 0;
background: #fff;
border-right: 1px solid #e2e8f0;
box-sizing: border-box;
}
.mes-gantt-col {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3px 8px;
box-sizing: border-box;
border-right: 1px solid #e2e8f0;
overflow: hidden;
min-width: 0;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
}
.mes-gantt-col:last-child {
border-right: none;
}
.mes-gantt-col.col-line {
width: 56px;
min-width: 56px;
flex: 0 0 56px;
color: #0f766e;
font-weight: 600;
}
.mes-gantt-col.col-drag {
width: 36px;
min-width: 36px;
flex: 0 0 36px;
padding: 4px 2px;
color: #94a3b8;
}
.mes-gantt-drag {
display: inline-block;
cursor: grab;
user-select: none;
letter-spacing: -1px;
font-size: 14px;
line-height: 1;
padding: 6px 4px;
border-radius: 0;
color: #64748b;
}
.mes-gantt-drag:hover {
color: #0f766e;
background: #ecfdf5;
}
.mes-gantt-drag:active {
cursor: grabbing;
}
.mes-gantt-row.dragging {
opacity: 0.45;
}
.mes-gantt-row.drag-over-before .mes-gantt-label,
.mes-gantt-row.drag-over-before .mes-gantt-track {
box-shadow: inset 0 2px 0 #0d9488;
}
.mes-gantt-row.drag-over-after .mes-gantt-label,
.mes-gantt-row.drag-over-after .mes-gantt-track {
box-shadow: inset 0 -2px 0 #0d9488;
}
.mes-gantt-col.col-proc {
width: 56px;
min-width: 56px;
flex: 0 0 56px;
color: #334155;
}
.mes-gantt-col.col-cap {
width: 56px;
min-width: 56px;
flex: 0 0 56px;
color: #334155;
line-height: 1.15;
}
.mes-gantt-col.col-wo {
width: 100px;
min-width: 100px;
flex: 0 0 100px;
color: #0f172a;
}
.mes-gantt-col.col-product {
flex: 0 0 var(--gantt-product-w, 140px);
width: var(--gantt-product-w, 140px);
min-width: var(--gantt-product-w, 140px);
color: #334155;
text-align: left;
}
.mes-gantt-col.col-code {
flex: 1 1 0;
min-width: 0;
color: #475569;
}
.mes-gantt-col.col-qty {
width: 56px;
min-width: 56px;
flex: 0 0 56px;
color: #475569;
line-height: 1.15;
padding: 0;
}
.mes-gantt-col.col-kit {
width: 30px;
min-width: 30px;
flex: 0 0 30px;
color: #475569;
line-height: 1.15;
padding: 0;
text-align: center;
}
.mes-gantt-col.col-kit .mfp-kit-ok {
display: inline-block;
min-width: 18px;
margin: 0 auto;
padding: 1px 4px;
border-radius: 9px;
font-size: 11px;
line-height: 16px;
color: #fff;
background: #16a34a;
}
.mes-gantt-col.col-kit .mfp-kit-no {
color: #dc2626;
font-weight: 600;
}
.mfp-kit-ok {
display: inline-block;
min-width: 18px;
padding: 1px 4px;
border-radius: 9px;
font-size: 11px;
line-height: 16px;
color: #fff;
background: #16a34a;
text-align: center;
}
.mfp-kit-no {
color: #dc2626;
font-weight: 600;
}
.mf-stocklive-tbl th,
.mf-stocklive-tbl td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mf-stocklive-tbl td.nw {
font-variant-numeric: tabular-nums;
}
.mes-gantt-corner .mes-gantt-col.col-kit {
padding: 8px 0;
}
.mes-gantt-col.col-color {
width: var(--gantt-color-w, 56px);
min-width: var(--gantt-color-w, 56px);
flex: 0 0 var(--gantt-color-w, 56px);
color: #475569;
}
.mes-gantt-col.col-swap {
width: 56px;
min-width: 56px;
flex: 0 0 56px;
color: #475569;
padding: 0;
}
.mes-gantt-corner .mes-gantt-col {
font-weight: 600;
color: #334155;
padding: 8px;
}
.mes-gantt-days {
display: flex;
}
.mes-gantt-day-h {
width: 54px;
min-width: 54px;
box-sizing: border-box;
padding: 4px 0;
text-align: center;
border-right: 1px solid #e2e8f0;
color: #475569;
line-height: 1.2;
}
.mes-gantt-day-h small {
display: block;
color: #94a3b8;
}
.mes-gantt-day-h.is-sun,
.mes-gantt-day-h.is-rest {
background: #fff1f2;
color: #be123c;
}
.mes-gantt-day-h.is-today {
background: #ecfdf5;
color: #0f766e;
}
.mes-gantt-body {
position: relative;
min-width: max-content;
}
.mes-gantt-today-line {
display: none;
}
.mes-gantt-row {
display: flex;
min-height: 34px;
border-bottom: 1px solid #e2e8f0;
cursor: pointer;
}
.mes-gantt-row:hover {
background: #f8fafc;
}
.mes-gantt-row.selected {
background: #f0fdfa;
}
.mes-gantt-row:hover .mes-gantt-label,
.mes-gantt-row.selected .mes-gantt-label {
background: inherit;
}
.mes-gantt-label-main {
color: #0f172a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mes-gantt-label-sub {
color: #64748b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mes-gantt-track {
position: relative;
display: flex;
flex: 0 0 auto;
align-items: stretch;
min-height: 34px;
}
.mes-gantt-cell {
width: 54px;
min-width: 54px;
box-sizing: border-box;
border-right: 1px solid #e2e8f0;
}
.mes-gantt-cell.is-sun,
.mes-gantt-cell.is-rest { background: rgba(255, 241, 242, 0.55); }
.mes-gantt-cell.is-today { background: rgba(236, 253, 245, 0.7); }
.mes-gantt-cell.is-late { background: #fecaca !important; }
.mes-gantt-span {
display: none;
}
.mes-gantt-span.tone-base,
.mes-gantt-span.tone-weld,
.mes-gantt-span.tone-motor,
.mes-gantt-span.tone-laser,
.mes-gantt-span.tone-parts,
.mes-gantt-span.tone-assy,
.mes-gantt-span.tone-aging,
.mes-gantt-span.tone-packParts,
.mes-gantt-span.tone-pack,
.mes-gantt-span.is-overdue { display: none; }
.mes-gantt-row.is-mismatch .mes-gantt-label-sub { color: #b91c1c; }
.mes-gantt-row.is-excluded {
opacity: 0.45;
}
.mes-gantt-row.is-excluded .mes-gantt-label-sub { color: #94a3b8; }
.mes-gantt-row.is-summary {
background: #f1f5f9;
font-weight: 700;
border-bottom: 1px solid #cbd5e1;
pointer-events: none;
user-select: none;
}
.mes-gantt-row.is-summary .mes-gantt-label {
background: #f1f5f9;
color: #0f172a;
}
.mes-gantt-row.is-summary .mes-gantt-col.col-proc,
.mes-gantt-row.is-summary .mes-gantt-col.col-wo {
color: #0f766e;
}
.mes-gantt-row.is-summary .mes-gantt-col.col-model {
color: #b45309;
font-variant-numeric: tabular-nums;
}
.mes-gantt-line-sep {
display: flex;
align-items: center;
min-height: 14px;
pointer-events: none;
user-select: none;
min-width: max-content;
}
.mes-gantt-sep-rule-full {
height: 0;
border-top: 1px dashed #94a3b8;
margin: 4px 0;
}
.mes-gantt-sep-label {
position: sticky;
left: 0;
z-index: 1;
width: 200px;
min-width: 200px;
padding: 2px 10px;
background: #fff;
border-right: 1px solid #e2e8f0;
color: #94a3b8;
letter-spacing: 0;
white-space: nowrap;
overflow: hidden;
}
.mes-gantt-sep-track {
position: relative;
display: flex;
align-items: center;
min-height: 22px;
}
.mes-gantt-sep-rule {
height: 0;
border-top: 1px dashed #cbd5e1;
}
.mes-sch-no-aps td {
background: #f8fafc;
color: #94a3b8;
}
.mes-sch-no-aps .mes-sch-edit {
opacity: 0.85;
}
.mes-gantt-day-qty {
position: absolute;
top: 50%;
transform: translateY(-50%);
height: auto;
min-height: 0;
border-radius: 0;
background: transparent !important;
color: #0f172a;
text-align: center;
line-height: 1.2;
font-weight: 700;
font-variant-numeric: tabular-nums;
z-index: 1;
box-shadow: none !important;
border: none !important;
outline: none !important;
overflow: visible;
display: flex;
align-items: center;
justify-content: center;
}
.mes-gantt-day-qty.tone-base,
.mes-gantt-day-qty.tone-weld,
.mes-gantt-day-qty.tone-motor,
.mes-gantt-day-qty.tone-laser,
.mes-gantt-day-qty.tone-parts,
.mes-gantt-day-qty.tone-assy,
.mes-gantt-day-qty.tone-aging,
.mes-gantt-day-qty.tone-packParts,
.mes-gantt-day-qty.tone-pack {
background: transparent !important;
color: #0f172a;
}
.mes-gantt-day-qty.is-overdue {
color: #b91c1c;
outline: none;
outline-offset: 0;
}
.mes-gantt-day-qty.is-sum,
.mes-gantt-day-qty.is-sum.is-today-sum {
background: transparent !important;
color: #0f172a;
font-weight: 800;
box-shadow: none !important;
border: none !important;
border-radius: 0 !important;
outline: none !important;
}
.mes-gantt-day-qty.is-sum.is-today-sum {
color: #0f766e;
}
.mes-gantt-bar {
position: absolute;
top: 50%;
transform: translateY(-50%);
height: auto;
border-radius: 0;
background: transparent !important;
color: #64748b;
padding: 0 2px;
box-sizing: border-box;
overflow: visible;
white-space: nowrap;
text-overflow: clip;
line-height: 1.2;
z-index: 1;
box-shadow: none !important;
border: none !important;
display: flex;
align-items: center;
justify-content: center;
}
.mes-gantt-bar.tone-base,
.mes-gantt-bar.tone-weld,
.mes-gantt-bar.tone-motor,
.mes-gantt-bar.tone-laser,
.mes-gantt-bar.tone-parts,
.mes-gantt-bar.tone-assy,
.mes-gantt-bar.tone-aging,
.mes-gantt-bar.tone-packParts,
.mes-gantt-bar.tone-pack {
background: transparent !important;
color: #64748b;
}
.mes-gantt-bar.is-overdue {
color: #b91c1c;
outline: none;
outline-offset: 0;
}
.mes-gantt-due {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 10px;
height: 10px;
border-radius: 50%;
background: #e11d48;
box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);
z-index: 2;
pointer-events: none;
}
.mes-sch-line-sep td {
padding: 6px 0 !important;
background: #fff;
border-bottom: none;
}
.mes-sch-drag-cell {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
white-space: nowrap;
}
.mes-sch-drag {
color: #64748b;
letter-spacing: -1px;
cursor: grab;
user-select: none;
font-size: 14px;
line-height: 1;
padding: 4px 6px;
flex: 0 0 auto;
border-radius: 0;
}
.mes-sch-drag:hover {
color: #0f766e;
background: #ecfdf5;
}
.mes-sch-drag:active {
cursor: grabbing;
}
.mes-sch-rowno {
flex: 0 0 auto;
min-width: 1.2em;
text-align: center;
}
.mes-sch-row.dragging {
opacity: 0.45;
}
.mes-sch-row.drag-over-before td {
box-shadow: inset 0 2px 0 #0d9488;
}
.mes-sch-row.drag-over-after td {
box-shadow: inset 0 -2px 0 #0d9488;
}
.mes-line-pri-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.mes-line-pri-row {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
border: 1px solid #e2e8f0;
border-radius: 0;
background: #f8fafc;
}
.mes-line-pri-rank {
width: 22px;
height: 22px;
border-radius: 50%;
background: #0d9488;
color: #fff;
text-align: center;
line-height: 22px;
flex: 0 0 auto;
}
.mes-line-pri-name {
flex: 1;
color: #0f172a;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.mes-line-pri-name strong {
font-weight: 600;
}
.mes-wo-pri-meta {
color: #64748b;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mes-wo-pri-line-head {
margin: 10px 0 4px;
padding: 4px 2px;
color: #0f766e;
font-weight: 600;
font-size: 13px;
border-bottom: 1px dashed #99f6e4;
}
.mes-wo-pri-line-head:first-child {
margin-top: 0;
}
.mes-line-pri-up,
.mes-line-pri-down {
min-width: 36px;
}
.mes-aging-defect-title {
margin: 12px 0 8px;
font-weight: 600;
color: var(--text);
}
.modal-card-wide {
width: min(960px, 100%);
max-width: 960px;
}
#view-mes-std-hours .msh-modal-card,
#view-mes-std-hours .modal-card-wide {
width: min(680px, 100%);
max-width: 680px;
max-height: min(92vh, 900px);
}
#view-mes-std-hours .modal-body {
padding: 12px 14px 8px;
overflow: auto;
}
#view-mes-std-hours .modal-foot {
padding: 10px 14px;
}
#view-mes-std-hours #btn-mes-std-save {
background: #0d9488;
color: #fff;
border-color: #0d9488;
}
#view-mes-std-hours #btn-mes-std-save:hover {
background: #0f766e;
border-color: #0f766e;
color: #fff;
}
.msh-form {
display: flex;
flex-direction: column;
gap: 12px;
}
.msh-form-base {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px 12px;
padding: 10px 12px;
background: #f8fafc;
border: 1px solid #e8eef0;
border-radius: 0;
}
.msh-field {
display: flex;
flex-direction: column;
gap: 5px;
margin: 0;
min-width: 0;
}
.msh-field > span {
font-size: 12px;
color: #64748b;
line-height: 1.3;
white-space: nowrap;
}
.msh-field > span em {
color: #e11d48;
font-style: normal;
margin-left: 2px;
}
.msh-field > input,
.msh-field > select,
.msh-date {
width: 100%;
box-sizing: border-box;
}
.msh-field > input,
.msh-field > select,
.msh-date > input[type="text"] {
width: 100%;
box-sizing: border-box;
min-height: 34px;
padding: 7px 10px;
border: 1px solid #dbe3e8;
border-radius: 0;
font-size: 12px;
background: #fff;
color: var(--text);
}
.msh-field > select {
cursor: pointer;
appearance: auto;
}
.msh-field > input:focus,
.msh-field > select:focus,
.msh-date > input[type="text"]:focus {
outline: 2px solid rgba(13, 148, 136, 0.28);
border-color: #0d9488;
}
.msh-date {
position: relative;
display: flex;
align-items: center;
}
.msh-date > input[type="text"] {
padding-right: 34px;
}
.msh-date-btn {
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
width: 28px;
height: 28px;
border: none;
background: transparent;
border-radius: 0;
cursor: pointer;
font-size: 14px;
line-height: 1;
padding: 0;
color: #64748b;
}
.msh-date-btn:hover {
background: #eef6f5;
color: #0f766e;
}
.msh-date-native {
position: absolute;
opacity: 0;
pointer-events: none;
width: 0;
height: 0;
border: 0;
padding: 0;
}
.msh-form-matrix {
display: flex;
flex-direction: column;
gap: 0;
border: 1px solid #dbe7e4;
border-radius: 0;
overflow: hidden;
background: #fff;
}
.msh-form-head,
.msh-form-row {
display: grid;
grid-template-columns: 118px repeat(3, minmax(0, 1fr));
align-items: center;
gap: 8px;
padding: 7px 10px;
min-height: 40px;
}
.msh-form-head {
background: #f0fafa;
border-bottom: 1px solid #dbe7e4;
font-size: 11px;
font-weight: 600;
color: #0f766e;
min-height: 34px;
padding-top: 6px;
padding-bottom: 6px;
}
.msh-form-head > span {
text-align: center;
}
.msh-form-head > span:first-child {
text-align: left;
padding-left: 2px;
}
.msh-form-row {
border-bottom: 1px solid #eef4f2;
}
.msh-form-row:last-child {
border-bottom: none;
}
.msh-form-row:nth-child(even) {
background: #fafcfb;
}
.msh-proc {
font-size: 12px;
font-weight: 600;
color: var(--text, #0f172a);
line-height: 1.25;
padding-right: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.msh-cell {
display: block;
margin: 0;
min-width: 0;
}
.msh-cell-label {
display: none;
}
.msh-cell > input {
width: 100%;
box-sizing: border-box;
min-height: 30px;
padding: 5px 8px;
border: 1px solid #e2e8f0;
border-radius: 0;
font-size: 12px;
text-align: center;
background: #fff;
color: var(--text);
}
.msh-cell > input:focus {
outline: 2px solid rgba(13, 148, 136, 0.28);
border-color: #0d9488;
}
.msh-form-row.std-tone-weld .msh-proc { color: #0f766e; }
.msh-form-row.std-tone-motor .msh-proc { color: #1d4ed8; }
.msh-form-row.std-tone-laser .msh-proc { color: #6d28d9; }
.msh-form-row.std-tone-parts .msh-proc { color: #b45309; }
.msh-form-row.std-tone-assy .msh-proc { color: #047857; }
.msh-form-row.std-tone-aging .msh-proc { color: #be123c; }
.msh-form-row.std-tone-packParts .msh-proc { color: #0e7490; }
.msh-form-row.std-tone-pack .msh-proc { color: #4338ca; }
@media (max-width: 640px) {
.msh-form-base {
grid-template-columns: 1fr;
}
.msh-form-head {
display: none;
}
.msh-form-row {
grid-template-columns: 1fr;
gap: 6px;
padding: 10px;
min-height: 0;
}
.msh-proc {
margin-bottom: 2px;
white-space: normal;
}
.msh-cell-label {
display: block;
font-size: 11px;
color: var(--muted, #64748b);
margin-bottom: 2px;
}
.msh-cell > input {
text-align: left;
}
}
.wms-mobile-pane {
width: 100%;
max-width: none;
}
.wms-mobile-pane .wms-mobile-body {
width: 100%;
max-width: none;
margin: 0;
padding: 12px 12px 28px;
overflow: auto;
box-sizing: border-box;
}
body.wms-mobile-active #pane-wms-mobile,
body.wms-mobile-active #pane-wms-mobile .wms-mobile-body {
width: 100%;
max-width: none;
}
.wms-m-type {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 14px;
}
.wms-m-type-btn {
min-height: 48px;
border: 1px solid #cbd5e1;
border-radius: 0;
background: #fff;
font-size: 17px;
font-weight: 600;
color: #334155;
cursor: pointer;
}
.wms-m-type-btn.active {
background: #0f766e;
border-color: #0f766e;
color: #fff;
}
.wms-m-type-btn[data-type="出库"].active {
background: #b45309;
border-color: #b45309;
}
.wms-m-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: 10px;
}
.wms-m-grid[hidden] {
display: none !important;
}
.wms-mobile-pane .field {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 10px;
}
.wms-mobile-pane .field[hidden] {
display: none !important;
}
.wms-mobile-pane .field > span {
font-size: 13px;
color: #64748b;
font-weight: 600;
}
.wms-mobile-pane .field input:not(.mf-dt-native),
.wms-mobile-pane .field select {
min-height: 46px;
font-size: 16px;
border-radius: 0;
border: 1px solid #cbd5e1;
padding: 8px 12px;
width: 100%;
box-sizing: border-box;
}
.wms-m-code-field input,
.wms-m-qty-field input {
min-height: 54px !important;
font-size: 20px !important;
font-weight: 600;
}
.wms-m-meta {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 0;
padding: 10px 12px;
margin-bottom: 12px;
display: grid;
gap: 6px;
font-size: 14px;
color: #0f172a;
}
.wms-m-meta .wms-m-k {
display: inline-block;
min-width: 2.5em;
color: #64748b;
margin-right: 8px;
}
.wms-m-stock {
color: #0f766e;
font-weight: 600;
}
.wms-m-msg {
margin: 8px 0 12px;
padding: 10px 12px;
border-radius: 0;
font-size: 15px;
font-weight: 600;
}
.wms-m-msg.is-ok {
background: #ecfdf5;
color: #047857;
}
.wms-m-msg.is-error {
background: #fef2f2;
color: #b91c1c;
}
.wms-m-actions {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 10px;
margin-top: 8px;
}
.wms-m-actions .tb-btn {
min-height: 52px;
font-size: 17px;
border-radius: 0;
}
.wms-m-submit {
background: #0f766e !important;
color: #fff !important;
border-color: #0f766e !important;
}
body.wms-mobile-active #pane-wms-mobile .page-header {
padding-bottom: 6px;
}
@media (max-width: 640px) {
.wms-mobile-pane .wms-mobile-body {
padding: 10px 10px 28px;
}
}
.wms-m-code-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
align-items: stretch;
}
.wms-m-code-row .mf-suggest {
min-width: 0;
}
.wms-m-code-row .mf-suggest > input {
min-height: 54px;
font-size: 16px;
}
.mf-suggest-menu.wms-m-code-menu {
max-width: none;
}
.mf-suggest-menu.wms-m-code-menu .mf-suggest-item {
white-space: normal;
word-break: break-all;
font-size: 13px;
padding: 12px;
}
.wms-m-scan-btn {
min-width: 72px;
min-height: 54px !important;
font-size: 16px !important;
font-weight: 700;
background: #0f766e !important;
color: #fff !important;
border-color: #0f766e !important;
border-radius: 0 !important;
}
.wms-scan-modal .wms-scan-card {
width: min(560px, 100%);
}
.wms-scan-reader {
position: relative;
width: 100%;
min-height: 320px;
background: #0f172a;
border-radius: 0;
overflow: hidden;
}
.wms-scan-reader video,
#wms-scan-video {
width: 100% !important;
max-height: 70vh;
object-fit: cover;
border-radius: 0;
display: block;
background: #000;
}
.wms-scan-hint {
margin: 10px 0 0;
text-align: center;
color: #0f766e;
font-size: 14px;
font-weight: 700;
}
.wms-m-context {
display: grid;
grid-template-columns: 88px 1fr;
gap: 10px;
align-items: center;
margin-bottom: 12px;
padding: 10px 12px;
border-radius: 0;
border: 2px solid #0f766e;
background: #ecfdf5;
z-index: 5;
}
.wms-m-context[hidden] {
display: none !important;
}
#pane-wms-mobile[data-txn="出库"] .wms-m-context {
border-color: #c2410c;
background: #fff7ed;
}
.wms-m-ctx-type {
min-height: 56px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0;
font-size: 22px;
font-weight: 800;
color: #fff;
background: #0f766e;
}
.wms-m-ctx-type.is-out {
background: #c2410c;
}
.wms-m-ctx-wh {
font-size: 18px;
font-weight: 800;
color: #0f172a;
line-height: 1.25;
}
.wms-m-ctx-loc {
margin-top: 2px;
font-size: 13px;
color: #64748b;
}
.wms-m-context.flash,
.wms-m-place-box.flash {
animation: wms-m-flash 0.7s ease;
}
@keyframes wms-m-flash {
0%, 100% { box-shadow: none; }
40% { box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.45); }
}
#pane-wms-mobile[data-txn="出库"] .wms-m-context.flash,
#pane-wms-mobile[data-txn="出库"] .wms-m-place-box.flash {
animation-name: wms-m-flash-out;
}
@keyframes wms-m-flash-out {
0%, 100% { box-shadow: none; }
40% { box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.45); }
}
.wms-m-place-box {
margin-bottom: 12px;
padding: 10px;
border-radius: 0;
border: 1px dashed #94a3b8;
background: #f8fafc;
}
.wms-m-place-title {
font-size: 13px;
font-weight: 700;
color: #b45309;
margin-bottom: 8px;
}
#pane-wms-mobile[data-txn="出库"] .wms-m-place-title {
color: #c2410c;
}
.wms-m-wh-field select {
font-weight: 700;
border-color: #f59e0b !important;
background: #fffbeb !important;
}
#pane-wms-mobile[data-txn="出库"] {
background: linear-gradient(180deg, #fff7ed 0, transparent 120px);
}
#pane-wms-mobile[data-txn="入库"] {
background: linear-gradient(180deg, #ecfdf5 0, transparent 120px);
}
#pane-wms-mobile[data-txn="调整"] {
background: linear-gradient(180deg, #e0f2fe 0, transparent 120px);
}
#pane-wms-mobile[data-txn="出库"] .wms-m-type-btn.active {
background: #c2410c;
border-color: #c2410c;
}
#pane-wms-mobile .wms-m-submit.is-out,
#pane-wms-mobile .wms-m-confirm-ok.is-out {
background: #c2410c !important;
border-color: #c2410c !important;
color: #fff !important;
}
#pane-wms-mobile .wms-m-submit.is-in {
background: #0f766e !important;
border-color: #0f766e !important;
}
#pane-wms-mobile .wms-m-submit.is-corr,
#pane-wms-mobile .wms-m-confirm-ok.is-corr {
background: #0369a1 !important;
border-color: #0369a1 !important;
color: #fff !important;
}
#pane-wms-mobile .wms-m-submit.is-adj,
#pane-wms-mobile .wms-m-confirm-ok.is-adj {
background: #a16207 !important;
border-color: #a16207 !important;
color: #fff !important;
}
.wms-m-meta.has-product {
border-color: #0f766e;
background: #f0fdfa;
}
.wms-m-meta strong {
font-size: 15px;
color: #0f172a;
}
.wms-m-stock.is-zero {
color: #b91c1c;
}
.wms-m-confirm-modal .wms-m-confirm-card {
width: min(440px, 100%);
}
.wms-m-confirm-type {
text-align: center;
font-size: 36px;
font-weight: 900;
letter-spacing: 0.12em;
padding: 12px;
border-radius: 0;
color: #fff;
background: #0f766e;
margin-bottom: 12px;
}
.wms-m-confirm-type.is-out {
background: #c2410c;
}
.wms-m-confirm-type.is-corr {
background: #0369a1;
}
.wms-m-confirm-type.is-adj {
background: #a16207;
}
.wms-m-confirm-dl {
margin: 0;
display: grid;
gap: 8px;
}
.wms-m-confirm-dl > div {
display: grid;
grid-template-columns: 72px 1fr;
gap: 8px;
padding: 8px 10px;
border-radius: 0;
background: #f8fafc;
}
.wms-m-confirm-dl dt {
margin: 0;
color: #64748b;
font-size: 13px;
}
.wms-m-confirm-dl dd {
margin: 0;
font-weight: 700;
font-size: 15px;
color: #0f172a;
word-break: break-all;
}
.wms-m-confirm-warn {
margin: 12px 0 0;
padding: 10px 12px;
border-radius: 0;
background: #ecfdf5;
color: #047857;
font-size: 14px;
font-weight: 600;
}
.wms-m-confirm-warn.is-danger {
background: #fef2f2;
color: #b91c1c;
}
.wms-m-confirm-check {
display: flex;
gap: 8px;
align-items: flex-start;
margin-top: 12px;
font-size: 14px;
font-weight: 600;
color: #334155;
}
.wms-m-confirm-check input {
width: 18px;
height: 18px;
margin-top: 2px;
}
.wms-m-grid .field-span-2 {
grid-column: 1 / -1;
}
.wms-m-home {
padding: 2px 0 16px;
width: 100%;
box-sizing: border-box;
}
.wms-m-home-tip {
font-size: 14px;
font-weight: 600;
color: #64748b;
margin-bottom: 12px;
text-align: center;
}
.wms-m-home-grid {
display: flex;
flex-direction: column;
gap: 18px;
width: 100%;
}
.wms-m-home-section {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
}
.wms-m-home-col {
display: block;
text-align: center;
font-size: 18px;
font-weight: 800;
color: #0f172a;
padding: 12px 0;
border-radius: 0;
background: #e2e8f0;
letter-spacing: 0.12em;
}
.wms-m-home-cards {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
width: 100%;
}
.wms-m-home-cell {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 0;
padding: 12px 12px 14px;
display: grid;
grid-template-columns: 72px 1fr;
gap: 10px;
align-items: center;
width: 100%;
box-sizing: border-box;
}
.wms-m-home-cat {
font-size: 16px;
font-weight: 800;
color: #334155;
text-align: center;
}
.wms-m-home-pair {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.wms-m-home-btn {
min-height: 52px;
border-radius: 0;
border: 2px solid #0f766e;
background: #ecfdf5;
padding: 10px 6px;
cursor: pointer;
text-align: center;
font-size: 16px;
font-weight: 800;
color: #0f766e;
line-height: 1.2;
}
.wms-m-home-btn.is-out {
border-color: #c2410c;
background: #fff7ed;
color: #c2410c;
}
.wms-m-home-btn.is-corr {
border-color: #0369a1;
background: #e0f2fe;
color: #0369a1;
}
.wms-m-home-btn.is-adj {
border-color: #a16207;
background: #fefce8;
color: #a16207;
}
.wms-m-home-btn:active {
transform: scale(0.97);
filter: brightness(0.96);
}
.wms-m-home-region,
.wms-m-home-main {
display: none;
}
@media (min-width: 720px) {
.wms-m-home-cards {
grid-template-columns: 1fr 1fr;
}
.wms-m-home-cell {
grid-template-columns: 1fr;
gap: 10px;
}
.wms-m-home-cat {
text-align: center;
}
}
.wms-m-ops-bar {
display: grid;
grid-template-columns: auto 1fr;
gap: 8px;
align-items: center;
margin-bottom: 10px;
}
.wms-m-ops-mode {
font-size: 15px;
font-weight: 800;
color: #0f766e;
text-align: right;
}
.wms-m-ops-mode.is-out {
color: #c2410c;
}
.wms-m-ops-mode.is-corr {
color: #0369a1;
}
.wms-m-ops-mode.is-adj {
color: #a16207;
}
.wms-m-ctx-type.is-corr {
background: #0369a1;
}
.wms-m-ctx-type.is-adj {
background: #a16207;
}
.wms-m-ctx-loc-row {
display: flex;
align-items: center;
gap: 8px;
margin-top: 6px;
}
.wms-m-ctx-loc-lab {
font-size: 13px;
color: #64748b;
font-weight: 600;
flex: 0 0 auto;
}
.wms-m-loc-inline {
flex: 1;
min-height: 36px;
border: 1px solid #cbd5e1;
border-radius: 0;
padding: 4px 8px;
font-size: 15px;
font-weight: 600;
background: #fff;
}
.mes-mobile-pane .mes-mobile-body {
padding: 12px;
overflow: auto;
}
body.mes-mobile-active #pane-mes-mobile,
body.mes-mobile-active #pane-mes-mobile .mes-mobile-body {
max-width: none;
}
.mes-mobile-pane .field {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 10px;
}
.mes-mobile-pane .field > span {
font-size: 13px;
font-weight: 700;
color: #475569;
}
.mes-mobile-pane .field input:not(.mf-dt-native),
.mes-mobile-pane .field select {
min-height: 44px;
font-size: 16px;
border: 1px solid #cbd5e1;
border-radius: 0;
padding: 8px 12px;
background: #fff;
}
.mes-m-search-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
margin-bottom: 10px;
}
.mes-m-search-row input {
min-height: 44px;
font-size: 16px;
border: 1px solid #cbd5e1;
border-radius: 0;
padding: 8px 12px;
}
.mes-m-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.mes-m-card {
text-align: left;
width: 100%;
border: 1px solid #e2e8f0;
border-radius: 0;
background: #fff;
padding: 12px;
cursor: pointer;
}
.mes-m-card:active {
background: #f8fafc;
}
.mes-m-card-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
margin-bottom: 4px;
}
.mes-m-card-top strong {
font-size: 16px;
color: #0f172a;
}
.mes-m-pill {
font-size: 12px;
font-weight: 700;
color: #0f766e;
background: #ccfbf1;
border-radius: 999px;
padding: 2px 8px;
}
.mes-m-card-row {
font-size: 14px;
color: #334155;
margin-bottom: 6px;
}
.mes-m-card-meta {
display: flex;
flex-wrap: wrap;
gap: 10px;
font-size: 13px;
color: #64748b;
}
.mes-m-card-meta .is-remain,
.mes-m-meta-qty .is-remain {
color: #c2410c;
font-weight: 700;
}
.mes-m-ops-bar {
margin-bottom: 10px;
}
.mes-m-meta {
border: 1px solid #e2e8f0;
border-radius: 0;
background: #f8fafc;
padding: 12px;
margin-bottom: 12px;
display: grid;
gap: 6px;
}
.mes-m-meta .mes-m-k {
display: inline-block;
min-width: 3.2em;
color: #64748b;
font-size: 13px;
font-weight: 600;
margin-right: 6px;
}
.mes-m-meta-qty {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 4px;
font-size: 14px;
color: #475569;
}
.mes-m-row2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.mes-m-qty-field input {
font-size: 22px;
font-weight: 800;
}
.mes-m-msg {
margin: 4px 0 10px;
padding: 8px 10px;
border-radius: 0;
font-size: 14px;
background: #f1f5f9;
color: #334155;
}
.mes-m-msg.is-ok {
background: #ecfdf5;
color: #047857;
}
.mes-m-msg.is-error {
background: #fef2f2;
color: #b91c1c;
}
.mes-m-actions {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 8px;
margin-bottom: 16px;
}
.mes-m-actions .tb-btn {
min-height: 46px;
font-size: 16px;
}
.mes-m-submit {
background: #0f766e !important;
color: #fff !important;
border-color: #0f766e !important;
font-weight: 800;
}
.mes-m-recent-title {
font-size: 13px;
font-weight: 800;
color: #64748b;
margin-bottom: 8px;
}
.mes-m-recent {
display: flex;
flex-direction: column;
gap: 6px;
padding-bottom: 24px;
}
.mes-m-recent-item {
border: 1px solid #e2e8f0;
border-radius: 0;
padding: 8px 10px;
background: #fff;
}
.mes-m-recent-main {
display: flex;
justify-content: space-between;
gap: 8px;
font-size: 14px;
}
.mes-m-recent-main strong {
color: #0f766e;
font-size: 16px;
}
.mes-m-recent-sub {
margin-top: 2px;
font-size: 12px;
color: #94a3b8;
}
.mes-m-recent-empty {
font-size: 13px;
color: #94a3b8;
padding: 8px 0;
}
body.mes-mobile-active #pane-mes-mobile .page-header {
position: sticky;
top: 0;
z-index: 5;
background: #fff;
}
@keyframes home-hero-in {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes home-card-in {
from { opacity: 0; transform: translateY(20px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes home-flow-pulse {
0%, 100% { opacity: 0.35; transform: scaleX(0.8); }
50% { opacity: 1; transform: scaleX(1); }
}
@keyframes home-orbit-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes home-shine {
0% { transform: translateX(-120%) skewX(-18deg); }
100% { transform: translateX(220%) skewX(-18deg); }
}
.home-intro-body {
padding: 0 0 28px;
background:
radial-gradient(ellipse 70% 36% at 90% 8%, rgba(254, 102, 26, 0.12), transparent 55%),
radial-gradient(ellipse 50% 30% at 10% 70%, rgba(224, 85, 16, 0.08), transparent 50%),
linear-gradient(180deg, #fff7ed 0%, #fffaf5 22%, #ffffff 100%);
position: relative;
overflow: auto;
}
.home-intro-stage {
position: relative;
display: grid;
grid-template-columns: 1fr auto;
gap: 18px;
align-items: center;
padding: 18px 22px 16px;
margin: 0;
background:
radial-gradient(ellipse 65% 140% at -5% 40%, rgba(255, 180, 120, 0.28), transparent 55%),
radial-gradient(ellipse 45% 90% at 100% -20%, rgba(255, 140, 60, 0.22), transparent 50%),
linear-gradient(125deg, #e05510 0%, #fe661a 48%, #ff8a3d 100%);
color: #fff;
overflow: hidden;
animation: home-hero-in 0.5s ease both;
}
.home-intro-stage::before {
content: "";
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
background-size: 28px 28px;
mask-image: linear-gradient(100deg, rgba(0,0,0,0.5), transparent 70%);
pointer-events: none;
}
.home-intro-stage::after {
content: "";
position: absolute;
width: 220px;
height: 220px;
right: -40px;
top: -70px;
border-radius: 50%;
background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 68%);
pointer-events: none;
}
.home-intro-hero {
position: relative;
z-index: 1;
max-width: 720px;
}
.home-intro-kicker {
margin: 0 0 6px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.28em;
color: rgba(204, 251, 241, 0.92);
text-transform: uppercase;
}
.home-intro-brand {
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
font-size: clamp(1.85rem, 4.2vw, 2.55rem);
font-weight: 800;
letter-spacing: 0.01em;
color: #fff;
line-height: 1.1;
text-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.home-intro-brand span {
color: #99f6e4;
}
.home-intro-lead {
margin: 8px 0 0;
font-size: 14px;
color: rgba(240, 253, 250, 0.92);
line-height: 1.5;
max-width: 34em;
}
.home-intro-flow {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 7px;
margin: 14px 0 0;
}
.home-intro-flow span {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 50px;
padding: 6px 11px;
border-radius: 999px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
color: #0f766e;
background: rgba(255, 255, 255, 0.94);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.home-intro-flow i {
width: 16px;
height: 3px;
border-radius: 0;
background: linear-gradient(90deg, rgba(153,246,228,0.3), #99f6e4, rgba(153,246,228,0.3));
animation: home-flow-pulse 1.6s ease-in-out infinite;
}
.home-intro-flow i:nth-child(4) { animation-delay: 0.12s; }
.home-intro-flow i:nth-child(6) { animation-delay: 0.24s; }
.home-intro-flow i:nth-child(8) { animation-delay: 0.36s; }
.home-intro-flow i:nth-child(10) { animation-delay: 0.48s; }
.home-intro-hero-aside {
position: relative;
z-index: 1;
padding-right: 6px;
}
.home-intro-orbit {
width: 88px;
height: 88px;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.14);
border: 1px solid rgba(255, 255, 255, 0.35);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
position: relative;
}
.home-intro-orbit::before {
content: "";
position: absolute;
inset: -7px;
border-radius: 50%;
border: 1px dashed rgba(255, 255, 255, 0.4);
animation: home-orbit-spin 16s linear infinite;
}
.home-intro-orbit b {
font-size: 28px;
font-weight: 800;
line-height: 1;
color: #fff;
}
.home-intro-orbit small {
margin-top: 3px;
font-size: 10px;
letter-spacing: 0.08em;
color: rgba(236, 253, 245, 0.9);
}
.home-intro-panels {
position: relative;
width: min(1720px, calc(100% - 32px));
max-width: 1720px;
margin: 0 auto;
padding: 20px 0 0;
}
.home-intro-panel + .home-intro-panel {
margin-top: 22px;
}
.home-intro-sec-head {
display: flex;
align-items: baseline;
justify-content: center;
gap: 12px;
margin: 0 0 14px;
}
.home-intro-sec-head strong {
font-size: 15px;
font-weight: 800;
color: #0f172a;
letter-spacing: 0.02em;
}
.home-intro-sec-head span {
font-size: 13px;
color: #64748b;
}
.home-intro-sub {
margin: 18px 0 0;
font-size: 13px;
color: #94a3b8;
line-height: 1.45;
text-align: center;
}
.home-intro-grid {
position: relative;
display: grid;
gap: 18px;
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-auto-flow: row dense;
}
.home-intro-grid.is-primary,
.home-intro-grid.is-support {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-intro-card {
--accent: #0d9488;
--accent-deep: #0f766e;
--accent-soft: rgba(13, 148, 136, 0.14);
display: flex;
flex-direction: column;
align-items: stretch;
text-align: left;
padding: 0;
border: 1px solid rgba(15, 23, 42, 0.06);
border-radius: 0;
background: #fff;
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
cursor: pointer;
color: inherit;
font: inherit;
position: relative;
overflow: hidden;
transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
animation: home-card-in 0.48s ease both;
animation-delay: calc(var(--i, 0) * 0.06s + 0.1s);
}
.home-intro-card.is-primary {
min-height: 268px;
box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.home-intro-card.is-support {
min-height: 228px;
}
.home-intro-card-shine {
position: absolute;
inset: 0;
width: 40%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
transform: translateX(-120%) skewX(-18deg);
pointer-events: none;
z-index: 2;
opacity: 0;
}
.home-intro-card:hover .home-intro-card-shine {
opacity: 1;
animation: home-shine 0.7s ease;
}
.home-intro-card:hover {
transform: translateY(-7px) scale(1.01);
border-color: var(--accent);
box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}
.home-intro-card:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.home-intro-card.accent-crm { --accent: #14b8a6; --accent-deep: #0f766e; --accent-soft: rgba(20, 184, 166, 0.16); }
.home-intro-card.accent-mes { --accent: #0ea5e9; --accent-deep: #0369a1; --accent-soft: rgba(14, 165, 233, 0.16); }
.home-intro-card.accent-srm { --accent: #f97316; --accent-deep: #c2410c; --accent-soft: rgba(249, 115, 22, 0.16); }
.home-intro-card.accent-wms { --accent: #10b981; --accent-deep: #047857; --accent-soft: rgba(16, 185, 129, 0.16); }
.home-intro-card.accent-plm { --accent: #2dd4bf; --accent-deep: #0f766e; --accent-soft: rgba(45, 212, 191, 0.16); }
.home-intro-card.accent-qms { --accent: #f59e0b; --accent-deep: #b45309; --accent-soft: rgba(245, 158, 11, 0.16); }
.home-intro-card.accent-usr { --accent: #64748b; --accent-deep: #334155; --accent-soft: rgba(100, 116, 139, 0.14); }
.home-intro-card-band {
display: flex;
align-items: center;
gap: 10px;
min-height: 64px;
padding: 14px 16px;
background:
radial-gradient(circle at 100% 0%, rgba(255,255,255,0.26), transparent 42%),
linear-gradient(135deg, var(--accent-deep), var(--accent));
color: #fff;
}
.home-intro-card.is-primary .home-intro-card-band {
min-height: 88px;
padding: 18px 20px;
}
.home-intro-step {
font-size: 12px;
font-weight: 800;
letter-spacing: 0.12em;
color: rgba(255, 255, 255, 0.75);
min-width: 24px;
}
.home-intro-mark {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 60px;
height: 34px;
padding: 0 12px;
border-radius: 0;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.1em;
color: var(--accent-deep);
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.home-intro-card.is-primary .home-intro-mark {
min-width: 68px;
height: 36px;
font-size: 14px;
}
.home-intro-tip {
margin-left: auto;
font-size: 13px;
font-weight: 650;
letter-spacing: 0.06em;
color: rgba(255, 255, 255, 0.92);
}
.home-intro-card-body {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 9px;
padding: 16px 18px 18px;
flex: 1;
}
.home-intro-card.is-primary .home-intro-card-body {
padding: 18px 20px 20px;
}
.home-intro-card-title {
font-size: 18px;
font-weight: 800;
color: #0f172a;
letter-spacing: 0.01em;
}
.home-intro-card.is-primary .home-intro-card-title {
font-size: 21px;
}
.home-intro-card-desc {
font-size: 13.5px;
color: #64748b;
line-height: 1.55;
flex: 1;
}
.home-intro-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.home-intro-tags em {
font-style: normal;
font-size: 11px;
font-weight: 650;
padding: 3px 8px;
border-radius: 999px;
color: var(--accent-deep);
background: var(--accent-soft);
}
.home-intro-card-go {
margin-top: 2px;
font-size: 13px;
font-weight: 750;
color: var(--accent-deep);
letter-spacing: 0.02em;
}
.home-intro-links {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.home-intro-card-link {
font-size: 12px;
font-weight: 700;
padding: 4px 10px;
border-radius: 999px;
color: #fff;
background: var(--accent-deep, #2563eb);
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-intro-card-link:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
text-decoration: underline;
}
.home-intro-card-go::after {
content: " →";
display: inline-block;
transition: transform 0.2s ease;
}
.home-intro-card:hover .home-intro-card-go::after {
transform: translateX(5px);
}
.home-intro-grid.is-primary {
position: relative;
}
.home-intro-grid.is-primary::before,
.home-intro-grid.is-primary::after {
display: none;
}
@media (max-width: 1100px) {
.home-intro-grid.is-primary,
.home-intro-grid.is-support {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 960px) {
.home-intro-grid.is-primary,
.home-intro-grid.is-support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-intro-hero-aside { display: none; }
.home-intro-stage { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
.home-intro-stage { padding: 16px 14px 14px; }
.home-intro-panels {
width: calc(100% - 24px);
padding: 14px 0 0;
}
.home-intro-sec-head { justify-content: flex-start; flex-wrap: wrap; }
.home-intro-sub { text-align: left; }
.home-intro-grid.is-primary,
.home-intro-grid.is-support { grid-template-columns: 1fr; gap: 10px; }
.home-intro-brand { font-size: 1.7rem; }
.home-intro-card.is-primary,
.home-intro-card.is-support { min-height: 0; }
}
#view-sample-slip {
--ss-line: #111;
--ss-border: 1px solid var(--ss-line);
}
#view-sample-slip.modal-sample-slip {
z-index: 2900;
}
#view-sample-slip .sample-slip-card {
width: min(1600px, 100%) !important;
height: min(900px, 94vh) !important;
max-height: min(900px, 94vh) !important;
display: flex;
flex-direction: column;
padding: 0;
overflow: hidden;
border-radius: 0;
border: 1px solid #DADCE0;
box-shadow: 0 8px 28px rgba(32, 33, 36, 0.28);
background: #fff;
}
#view-sample-slip.mf-desk .ss-form-foot {
justify-content: flex-end;
overflow: visible;
max-height: none;
}
#view-sample-slip.mf-desk .ss-form-foot-right {
display: flex;
align-items: center;
gap: 12px;
height: 100%;
}
#view-sample-slip.mf-desk .ss-form-foot .tb-btn {
height: 28px;
padding: 0 12px;
font-size: 13px;
line-height: 1;
}
#view-sample-slip .sample-slip-form-body {
flex: 1;
min-height: 0;
overflow: auto;
padding: 10px 14px 12px;
background: #e7e5e4;
}
.ss-paper {
background: #fff;
border: var(--ss-border);
padding: 12px 14px 16px;
max-width: 1180px;
margin: 0 auto;
color: #1c1917;
font-size: 13px;
}
.ss-doc-head {
display: grid;
grid-template-columns: 168px minmax(0, 1fr) auto;
align-items: center;
gap: 12px 16px;
min-height: 88px;
padding: 10px 0 12px;
margin-bottom: 10px;
border-bottom: var(--ss-border);
box-sizing: border-box;
}
.ss-logo {
width: 160px;
height: auto;
max-height: 72px;
object-fit: contain;
object-position: left center;
opacity: 1;
justify-self: start;
}
#view-sample-slip .ss-doc-titles {
text-align: center;
min-width: 0;
}
#view-sample-slip .ss-co {
font-size: 30px !important;
font-weight: 700;
letter-spacing: 2px;
line-height: 1.2;
color: #111;
}
#view-sample-slip .ss-doc-title {
font-size: 30px !important;
font-weight: 700;
margin-top: 4px;
letter-spacing: 4px;
line-height: 1.2;
color: #111;
}
.ss-doc-codes {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
justify-self: end;
}
.ss-barcode {
max-width: 260px;
height: 56px;
}
.ss-print-time {
font-size: 12px;
color: #44403c;
}
.ss-sys-row {
display: flex;
flex-wrap: wrap;
gap: 8px 14px;
margin-bottom: 8px;
font-size: 12px;
color: #57534e;
}
.ss-sys-row label {
display: flex;
align-items: center;
gap: 6px;
}
.ss-sys-row .ss-grow {
flex: 1 1 auto;
min-width: 180px;
width: 100%;
}
.ss-sys-row .ss-grow input {
flex: 1 1 auto;
min-width: 0;
width: 100%;
}
.ss-sys-row input,
.ss-sys-row select {
height: 28px;
border: var(--ss-border);
border-radius: 0;
padding: 0 8px;
font-size: 12px;
text-align: center;
background: #fff;
}
.ss-sheet {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
background: #fff;
margin-bottom: 0;
border: 0;
}
.ss-sheet td,
.ss-sheet th {
border: var(--ss-border);
padding: 4px 6px;
vertical-align: middle;
}
.ss-sheet th {
background: #f5f5f4;
font-weight: 600;
text-align: center;
}
.ss-lab {
background: #fafaf9;
font-weight: 600;
white-space: nowrap;
width: 96px;
}
.ss-c,
.ss-sheet input.ss-c,
.ss-sheet input.ss-test {
text-align: center;
}
.ss-sheet input,
.ss-sheet select,
.ss-sheet textarea {
width: 100%;
border: none;
outline: none;
background: transparent;
font-size: 13px;
padding: 2px 0;
box-sizing: border-box;
text-align: center;
}
.ss-sheet select { height: 28px; }
.ss-head-sheet col {
width: 16.6667%;
}
.ss-head-sheet .ss-lab {
width: auto;
text-align: center;
}
.ss-head-sheet td {
text-align: center;
}
.ss-head-sheet input,
.ss-head-sheet select {
text-align: center;
}
.ss-sec-title {
display: flex;
align-items: center;
justify-content: space-between;
border: var(--ss-border);
border-bottom: none;
margin-top: 8px;
padding: 6px 8px;
font-weight: 700;
background: #fafaf9;
}
.ss-product-blocks { margin-top: 0; }
.ss-product-lines-table {
margin: 0;
border: none;
}
.ss-product-lines-table > colgroup > col { width: 18%; }
.ss-product-lines-table > colgroup > col.ss-col-idx { width: 56px; }
.ss-product-lines-table > colgroup > col.ss-col-unit,
.ss-product-lines-table > colgroup > col.ss-col-qty { width: 72px; }
.ss-product-units { margin-top: 0; }
.ss-product-unit {
margin: 0;
border: none;
background: #fff;
}
.ss-product-unit + .ss-product-unit {
margin-top: 8px;
}
.ss-product-unit .ss-product-unit-table {
margin: 0;
border: none;
}
.ss-product-unit-table > colgroup > col {
width: 20%;
}
#view-sample-slip .ss-head-sheet td {
overflow: visible;
}
#view-sample-slip .ss-head-sheet td:has(.ss-customer-suggest) {
text-align: left;
}
#view-sample-slip .ss-customer-suggest {
position: relative;
width: 100%;
text-align: left;
}
#view-sample-slip .ss-customer-suggest > input {
width: 100%;
text-align: left !important;
padding: 2px 6px;
}
#view-sample-slip .ss-customer-menu {
z-index: 220;
border-radius: 0;
border: var(--ss-border);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
max-height: min(320px, 46vh);
text-align: left;
}
#view-sample-slip .ss-customer-menu .mf-suggest-item {
text-align: left !important;
}
#view-sample-slip.ss-exporting .ss-customer-menu {
display: none !important;
}
.ss-split-head {
padding: 0 !important;
}
.ss-split-head-wrap,
.ss-split-wrap {
display: flex;
align-items: stretch;
width: 100%;
min-height: 100%;
}
.ss-split-head-wrap span,
.ss-split-wrap input {
flex: 1 1 0;
width: 0;
min-width: 0;
box-sizing: border-box;
padding: 4px 6px;
}
.ss-split-head-wrap span {
text-align: center;
}
.ss-split-wrap input {
border: none !important;
outline: none !important;
box-shadow: none !important;
background: transparent !important;
padding: 4px 6px !important;
}
.ss-split-v {
flex: 0 0 1px;
width: 1px;
align-self: stretch;
margin: 0;
padding: 0;
border: 0;
background: var(--ss-line);
font-style: normal;
}
.ss-split-cell {
padding: 0 !important;
}
.ss-r,
.ss-sheet input.ss-r {
text-align: right;
}
.ss-test-lab {
text-align: left;
padding-left: 8px !important;
padding-right: 4px !important;
}
.ss-remark-cell {
position: relative;
padding-right: 28px !important;
}
.ss-rm-line {
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
opacity: 0;
pointer-events: none;
transition: opacity 0.12s ease;
}
.ss-line-row:hover .ss-rm-line,
.ss-remark-cell:hover .ss-rm-line,
.ss-rm-line:focus {
opacity: 1;
pointer-events: auto;
}
.ss-test-groups { margin-top: 8px; }
.ss-test-block { margin-top: 0; }
.ss-test-block col {
width: 20%;
}
.ss-note-cell input {
font-size: 12px;
color: #44403c;
}
.ss-sw-lab { width: auto; text-align: center; }
.ss-proto-cell {
width: 22%;
background: #fafaf9;
vertical-align: top;
padding: 4px !important;
height: 1px;
}
.ss-proto-wrap {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 4px;
height: 100%;
min-height: 100%;
box-sizing: border-box;
}
.ss-proto-lab {
writing-mode: horizontal-tb;
letter-spacing: 0;
font-size: 12px;
color: #57534e;
font-weight: 600;
text-align: center;
flex: 0 0 auto;
}
.ss-proto-img-box {
flex: 1 1 auto;
width: 100%;
min-height: 220px;
height: 100%;
border: var(--ss-border);
border-radius: 0;
padding: 6px;
background: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
box-sizing: border-box;
cursor: pointer;
position: relative;
transition: border-color 0.15s ease, background 0.15s ease;
}
.ss-proto-img-box:hover,
.ss-proto-img-box.drag-over {
border-color: #3b82f6;
background: #eff6ff;
}
.ss-proto-img-box.has-img {
border: var(--ss-border);
cursor: default;
}
.ss-proto-img-box.has-img.drag-over {
border-color: #3b82f6;
background: #eff6ff;
}
.ss-proto-preview {
flex: 1 1 auto;
width: 100%;
max-width: 100%;
min-height: 0;
height: 100%;
object-fit: contain;
display: block;
}
.ss-proto-empty {
font-size: 12px;
color: #a8a29e;
text-align: center;
padding: 12px 4px;
line-height: 1.5;
pointer-events: none;
}
.ss-proto-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
justify-content: center;
flex: 0 0 auto;
}
.ss-proto-up-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 10px;
font-size: 12px;
color: #1d4ed8;
border: 1px solid #93c5fd;
border-radius: 0;
background: #eff6ff;
cursor: pointer;
user-select: none;
}
.ss-proto-up-btn:hover {
background: #dbeafe;
}
.ss-tg-proto {
display: none;
}
.ss-model-head { width: auto; }
.ss-tg-model {
width: calc(100% - 40px);
border: none !important;
border-bottom: none !important;
margin-left: 2px;
outline: none;
background: transparent;
}
.ss-test-lab {
white-space: nowrap;
background: #fafaf9;
width: auto;
text-align: left;
padding-left: 8px;
}
.ss-foot-sheet { margin-top: 8px; }
.ss-foot-sheet col {
width: 20%;
}
.ss-foot-sheet .ss-lab {
width: auto;
}
.ss-ship-cell {
height: 88px;
vertical-align: top;
background: #fafaf9;
}
.ss-ship-hint {
font-size: 12px;
color: #78716c;
margin-bottom: 6px;
}
.ss-ship-cell input {
background: #fff !important;
border: var(--ss-border) !important;
border-radius: 0;
padding: 4px 6px !important;
margin-bottom: 4px;
text-align: center;
}
.ss-sign-cell {
vertical-align: top;
text-align: center;
min-height: 88px;
}
.ss-sign-tip {
font-size: 11px;
color: #78716c;
margin-bottom: 4px;
}
.ss-sign-display {
white-space: pre-line;
font-size: 13px;
font-weight: 600;
color: #1c1917;
min-height: 36px;
line-height: 1.35;
margin-bottom: 4px;
}
.ss-sign-actions {
display: flex;
gap: 8px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.ss-sign-btn {
height: 26px !important;
padding: 0 10px !important;
font-size: 12px !important;
}
.ss-sign-set-card {
width: min(640px, 100%);
max-width: 640px;
}
.ss-sign-set-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.ss-sign-set-row {
display: flex;
flex-direction: column;
gap: 8px;
}
.ss-sign-set-lab {
font-size: 13px;
font-weight: 600;
color: #292524;
}
.ss-sign-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
min-height: 34px;
padding: 8px;
border: 1px solid #e7e5e4;
border-radius: 0;
background: #fafaf9;
}
.ss-sign-empty {
font-size: 12px;
color: #a8a29e;
line-height: 18px;
}
.ss-sign-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border-radius: 999px;
background: #fff;
border: 1px solid #d6d3d1;
font-size: 12px;
color: #1c1917;
}
.ss-sign-chip-x {
border: none;
background: transparent;
color: #78716c;
cursor: pointer;
font-size: 14px;
line-height: 1;
padding: 0 2px;
}
.ss-sign-chip-x:hover { color: #b91c1c; }
.ss-sign-set-add {
width: 100%;
height: 34px;
border: 1px solid #d6d3d1;
border-radius: 0;
padding: 0 8px;
font-size: 13px;
background: #fff;
box-sizing: border-box;
}
@media (max-width: 900px) {
.ss-doc-head {
grid-template-columns: 1fr;
justify-items: center;
gap: 8px;
}
.ss-logo {
width: 120px;
max-height: 56px;
justify-self: center;
}
#view-sample-slip .ss-co,
#view-sample-slip .ss-doc-title {
font-size: 30px !important;
}
.ss-doc-codes { justify-self: center; }
.ss-proto-lab { writing-mode: horizontal-tb; }
}
#view-sample-slip .ss-form-foot {
justify-content: flex-end;
}
#view-sample-slip .ss-form-foot-right {
display: flex;
align-items: center;
gap: 12px;
}
#view-sample-slip .ss-export-wrap {
position: relative;
}
#view-sample-slip .ss-export-menu {
position: absolute;
right: 0;
bottom: calc(100% + 6px);
min-width: 128px;
padding: 4px;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 0;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
z-index: 80;
}
#view-sample-slip .ss-export-menu button {
display: block;
width: 100%;
text-align: left;
padding: 8px 12px;
border: none !important;
background: transparent !important;
border-radius: 0;
cursor: pointer;
font-size: 13px;
color: #0f172a !important;
}
#view-sample-slip .ss-export-menu button:hover {
background: #e6f4f2 !important;
color: var(--primary-dark) !important;
}
#view-sample-slip.ss-exporting #btn-ss-add-line,
#view-sample-slip.ss-exporting .ss-rm-line,
#view-sample-slip.ss-exporting .ss-sign-actions,
#view-sample-slip.ss-exporting .ss-proto-actions,
#view-sample-slip.ss-exporting .ss-proto-empty {
display: none !important;
}
#view-sample-slip.ss-exporting .ss-sys-row input,
#view-sample-slip.ss-exporting .ss-sys-row select,
#view-sample-slip.ss-exporting .ss-ship-cell input {
border: var(--ss-border) !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none !important;
}
#view-sample-slip.ss-exporting .ss-proto-img-box {
border: var(--ss-border) !important;
border-radius: 0 !important;
box-shadow: none !important;
background: #fff !important;
}
#view-sample-slip.ss-exporting .ss-sheet {
border: 0 !important;
border-collapse: collapse !important;
}
#view-sample-slip.ss-exporting .ss-sheet td,
#view-sample-slip.ss-exporting .ss-sheet th {
border: var(--ss-border) !important;
outline: 0 !important;
box-shadow: none !important;
}
#view-sample-slip.ss-exporting .ss-sec-title {
border: var(--ss-border) !important;
border-bottom: none !important;
}
#view-sample-slip.ss-exporting .ss-paper {
border: var(--ss-border) !important;
}
#view-sample-slip.ss-exporting .ss-doc-head {
border-bottom: var(--ss-border) !important;
}
#view-sample-slip.ss-exporting .ss-split-v {
background: var(--ss-line) !important;
width: 1px !important;
flex-basis: 1px !important;
}
.modal.mf-desk .modal-card-desk.modal-card-desk-wf {
width: max-content;
max-width: min(100%, 1400px);
min-width: min(560px, 100%);
height: auto;
max-height: min(92vh, 900px);
display: flex;
flex-direction: column;
}
.modal.mf-desk .modal-card-desk-wf .modal-body-desk {
padding: 12px 20px 14px;
}
.modal.mf-desk .modal-card-desk.modal-wf-sensitive {
width: min(760px, 100%);
height: auto;
max-height: min(92vh, 900px);
display: flex;
flex-direction: column;
}
.modal.mf-desk .modal-wf-sensitive .modal-body-desk {
padding: 12px 20px 14px;
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
min-height: 0;
background: #F0F2F5;
}
.modal.mf-desk .modal-wf-sensitive .wf-banner {
margin: 0;
flex: 0 0 auto;
}
.modal.mf-desk .modal-foot .desk-btn-primary {
color: #fff !important;
background: #0d9488 !important;
border: none !important;
font-weight: 500;
padding: 4px 14px;
border-radius: 0;
font-size: 13px;
cursor: pointer;
font-family: inherit;
}
.modal.mf-desk .modal-foot .desk-btn-primary:hover {
background: #0f766e !important;
color: #fff !important;
}
.modal.mf-desk .modal-foot .desk-btn-secondary {
color: #334155;
background: transparent;
border: 1px solid #cbd5e1;
font-weight: 500;
padding: 4px 12px;
border-radius: 0;
font-size: 13px;
cursor: pointer;
font-family: inherit;
}
.modal.mf-desk .modal-foot .desk-btn-secondary:hover {
background: #f1f5f9;
}
.wf-banner {
margin: 0 0 8px;
padding: 6px 10px;
background: #E8F0FE;
color: #174EA6;
border-radius: 0;
line-height: 1.45;
font-size: 13px;
}
.wf-matrix-wrap {
max-height: min(48vh, 420px);
overflow: auto;
border: 1px solid #C5CDD6;
border-radius: 0;
background: #fff;
}
.wf-matrix {
border-collapse: separate;
border-spacing: 0;
width: max-content;
min-width: 100%;
font-size: 13px;
}
.wf-matrix th,
.wf-matrix td {
border-bottom: 1px solid #E8ECF0;
border-right: 1px solid #E8ECF0;
padding: 4px 6px;
text-align: center;
white-space: nowrap;
vertical-align: middle;
}
.wf-matrix thead th {
position: sticky;
top: 0;
z-index: 2;
background: #EEF1F6;
font-weight: 700;
color: #3C4043;
padding: 8px 6px;
}
.wf-matrix .wf-user-th {
position: sticky;
left: 0;
z-index: 1;
text-align: left;
min-width: 96px;
max-width: 160px;
padding-left: 12px;
padding-right: 8px;
overflow: hidden;
text-overflow: ellipsis;
background: #fff;
font-weight: 500;
color: #202124;
}
.wf-matrix thead .wf-user-th {
z-index: 3;
background: #EEF1F6;
color: #3C4043;
font-weight: 700;
}
.wf-feat-th {
min-width: 72px;
}
.wf-feat-name {
font-weight: 700;
color: #3C4043;
}
.wf-matrix tbody tr.wf-row-odd td,
.wf-matrix tbody tr.wf-row-odd .wf-user-th {
background: #F5F7FA;
}
.wf-matrix tbody tr:hover td,
.wf-matrix tbody tr:hover .wf-user-th {
background: #E8F0FE;
}
.wf-ck {
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
margin: 0;
position: relative;
}
.wf-ck input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
pointer-events: none;
}
.wf-ck-box {
display: inline-flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
box-sizing: border-box;
border: 1px solid #B0B6BE;
background: #fff;
border-radius: 0;
flex: 0 0 16px;
}
.wf-ck-box::after {
content: "";
font-size: 12px;
font-weight: 700;
line-height: 1;
color: #fff;
}
.wf-ck input:checked + .wf-ck-box {
background: #1A73E8;
border-color: #1A73E8;
}
.wf-ck input:checked + .wf-ck-box::after {
content: "✓";
}
.wf-ck-row {
display: flex;
justify-content: flex-start;
gap: 8px;
padding: 4px 0;
width: 100%;
}
.wf-ck-text {
color: #202124;
font-size: 13px;
line-height: 1.4;
}
.wf-hint {
margin: 6px 0 0;
font-size: 12px;
color: #5F6368;
line-height: 1.45;
word-break: break-word;
}
.wf-sens-matrix {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
align-items: stretch;
flex: 1;
min-height: 0;
}
.wf-sens-col {
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
border: 1px solid #C5CDD6;
background: #fff;
}
.wf-sens-col-head {
flex: 0 0 auto;
padding: 8px 12px;
background: #EEF1F6;
border-bottom: 1px solid #C5CDD6;
font-weight: 700;
font-size: 13px;
color: #3C4043;
}
.wf-sens-col-body {
flex: 1;
min-height: 220px;
max-height: min(56vh, 520px);
overflow: auto;
background: #fff;
}
.wf-sens-row {
padding: 2px 8px;
border-bottom: 1px solid #E8ECF0;
background: #fff;
}
.wf-sens-row.wf-sens-row-odd {
background: #F5F7FA;
}
.wf-sens-row:hover {
background: #E8F0FE;
}
.wf-sens-row .wf-ck-row {
padding: 4px 0;
width: 100%;
}
#modal-workflow .modal-body .error,
#modal-workflow .modal-body-desk .error {
margin: 8px 0 0;
color: #dc2626;
font-size: 13px;
display: none;
}
#modal-workflow .error[hidden] {
display: none;
}
#modal-workflow .error:not([hidden]) {
display: block;
}
#modal-workflow .empty {
padding: 24px;
text-align: center;
color: #94a3b8;
font-size: 13px;
}
#pane-plm.is-plm-split-page .plm-split {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: row;
align-items: stretch;
overflow: hidden;
}
#pane-plm:not(.is-plm-split-page) .plm-split {
flex: 1 1 auto;
min-height: 0;
display: block;
overflow: hidden;
}
#pane-plm:not(.is-plm-split-page) .plm-split-left {
height: 100%;
flex: 1 1 auto;
min-height: 0;
}
#pane-plm .plm-split-left {
flex: 0 0 var(--plm-split-left-w, 600px);
width: var(--plm-split-left-w, 600px);
max-width: calc(100% - 320px);
min-width: 260px;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
background: #fff;
}
#pane-plm .plm-split-left #plm-body,
#pane-plm .plm-split-left .plm-tree,
#pane-plm .plm-split-left .table-wrap {
background: transparent;
}
#pane-plm .plm-split-left #plm-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 0;
}
#pane-plm .plm-split-left #plm-body .table-wrap {
flex: 1 1 auto;
height: auto;
min-height: 0;
overflow: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
}
#pane-plm .plm-split-resizer {
display: block;
flex: 0 0 5px;
width: 5px;
cursor: col-resize;
background: transparent;
border: 0;
padding: 0;
pointer-events: auto;
touch-action: none;
}
#pane-plm .plm-split-resizer:hover,
body.plm-split-dragging #pane-plm .plm-split-resizer {
background: #7dd3fc;
}
#pane-plm .plm-split-right {
flex: 1 1 var(--plm-split-right, 42%);
min-width: 0;
min-height: 0;
overflow: hidden;
background: #fff;
border-left: 1px solid #cfd6de;
display: flex;
flex-direction: column;
}
#pane-plm .plm-split-right .plm-split-right-head {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 12px;
background: linear-gradient(180deg, #f7fffe 0%, #eef9f7 100%);
border-bottom: 1px solid #e2e8f0;
}
#pane-plm .plm-split-right .plm-split-right-title {
font-size: 14px;
font-weight: 600;
color: #0f766e;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 0 1 auto;
min-width: 0;
}
#pane-plm .plm-split-right .plm-split-right-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
margin-left: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
white-space: nowrap;
}
#pane-plm .plm-split-right .plm-split-right-actions .tb-btn {
margin-left: 0;
}
#pane-plm #plm-toolbar .plm-ct-btn {
font-size: 12px;
line-height: 1.2;
padding: 5px 9px;
border: 1px solid transparent;
border-radius: 0;
color: #0f766e;
background: transparent;
}
#pane-plm #plm-toolbar .plm-ct-btn:hover { background: #e6f4f2; }
#pane-plm #plm-toolbar .plm-ct-btn[hidden] { display: none !important; }
#pane-plm #plm-toolbar #plm-ct-del { color: #dc2626; }
#pane-plm #plm-toolbar #plm-ct-del:hover { background: #fef2f2; }
#pane-plm .plm-split-right .plm-split-right-body {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
overflow-anchor: none;
padding: 0 10px 10px;
}
#pane-plm .plm-split-right .plm-split-right-empty {
padding: 40px 16px;
text-align: center;
color: #94a3b8;
font-size: 13px;
}
#pane-plm .plm-split-right #view-plm-form {
position: static;
inset: auto;
background: transparent;
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
padding: 0;
z-index: auto;
justify-content: flex-start;
align-items: stretch;
height: auto;
min-height: 100%;
}
#pane-plm .plm-split-right #view-plm-form[hidden] { display: none !important; }
#pane-plm .plm-split-right #view-plm-form .modal-card {
width: 100%;
max-height: none;
border-radius: 0;
border: 1px solid #e2e8f0;
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
flex: 1 1 auto;
display: flex;
flex-direction: column;
overflow: clip;
}
#pane-plm .plm-split-right #view-plm-form .modal-head {
display: none;
}
#pane-plm .plm-split-right #view-plm-form .modal-body {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
overflow-anchor: none;
}
#pane-plm .plm-split-right #view-plm-form .modal-foot {
display: none;
}
#pane-plm.is-plm-split-page:not(.is-plm-doc-page) .plm-split-left {
flex: 0 0 var(--plm-split-left-w, 600px);
width: var(--plm-split-left-w, 600px);
max-width: calc(100% - 320px);
min-width: 260px;
}
#pane-plm.is-plm-split-page:not(.is-plm-doc-page) .plm-split-left .plm-tree {
scrollbar-gutter: stable;
}
#pane-plm .plm-split-right .plm-split-right-empty {
height: 100%;
box-sizing: border-box;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
}
#pane-plm .plm-split-right .plm-split-right-empty[hidden] {
display: none !important;
}
#pane-plm .plm-split-right #btn-plm-new-center {
padding: 16px 52px;
font-size: 16px;
letter-spacing: 2px;
border: 1px solid var(--primary-dark);
background: #fff;
color: var(--primary-dark);
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}
#pane-plm .plm-split-right #btn-plm-new-center:hover {
background: #e6f4f2;
}
#pane-plm .plm-split-right #btn-plm-new-center[hidden] {
display: none !important;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card {
width: min(297mm, 100%, calc((100vh - 240px) * 1.4143));
aspect-ratio: 297 / 210;
height: auto;
max-height: none;
flex: 0 0 auto;
margin: auto;
background: #fff;
border: 1px solid #dbe2ea;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
overflow: hidden;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row {
position: relative;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #plm-form-card-title {
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
margin: 0;
height: 36px;
line-height: 36px !important;
font-size: 30px !important;
font-weight: 400 !important;
color: #111;
white-space: nowrap;
pointer-events: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-body {
display: flex;
flex-direction: column;
gap: 0;
padding: 8px 0 0;
overflow: hidden;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-body > #plm-form-error:not([hidden]) {
flex: 0 0 auto;
margin: 0;
padding: 6px 12px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row {
flex: 0 0 auto;
height: 36px;
padding: 0 12px;
margin: 0 !important;
background: #fff;
border-bottom: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-approve,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-unapprove,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-delete {
order: 2;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-new {
order: 1;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-print {
order: 3;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-cancel {
order: 4;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-save {
order: 5;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-save {
height: 24px;
padding: 0 14px;
background: var(--primary);
border: 1px solid var(--primary);
color: #fff;
font-weight: 600;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-save:hover {
background: var(--primary-dark);
border-color: var(--primary-dark);
color: #fff;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-cancel {
height: 24px;
padding: 0 14px;
background: #fff;
border: 1px solid #d5dde6;
color: #334155;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row > #btn-plm-form-cancel:hover {
background: #f8fafc;
border-color: #b8c4d2;
color: #1e293b;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-top-row.plm-form-top-row {
flex: 1 1 auto;
min-height: 0;
gap: 0;
margin: 0;
grid-template-rows: minmax(0, 1fr);
align-content: stretch;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic {
min-height: 0;
padding: 16px 18px 18px;
gap: 0;
grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
background: transparent;
border: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-basic-fields {
flex: 1 1 auto;
min-height: 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap[hidden] {
display: none !important;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .section-title {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 12px;
height: 20px;
line-height: 20px;
margin: 0 0 10px;
letter-spacing: 0.5px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .section-title > #btn-plm-form-mat-types {
flex: 0 0 auto;
height: 20px;
line-height: 20px !important;
padding: 0 6px;
margin: 0 0 0 auto;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 {
flex: 1 1 auto;
min-height: 0;
margin: 0;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: 44px;
gap: 0;
background-color: #fff;
background-image: repeating-linear-gradient(
180deg,
transparent 0,
transparent 43px,
#000 43px,
#000 44px
);
background-repeat: no-repeat;
background-size: 100% 264px;
border: 1px solid #000;
border-right: none;
overflow: visible;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-material > .form-grid-2 {
flex: 0 0 auto;
background-image: none;
flex: 0 0 auto;
background-image: none;
grid-template-rows: repeat(9, minmax(44px, auto));
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.modal-card {
width: min(297mm, 100%);
aspect-ratio: auto;
height: auto;
max-height: none;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.modal-card {
width: min(297mm, 60%);
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 {
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows: repeat(7, minmax(44px, auto));
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field.plm-span-2:has(#plm-m-warehouse) {
grid-column: auto;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-customer) {
grid-column: 1 / -1;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-code) { order: 1; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-old-code) { order: 2; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-model) { order: 3; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-name) { order: 4; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-spec) { order: 5; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-type) { order: 6; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-warehouse) { order: 7; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-safety) { order: 8; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-maxstock) { order: 9; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-unit) { order: 10; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-status) { order: 11; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-supplier) { order: 12; }
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field:has(#plm-m-note) { order: 13; }
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-material > .form-grid-2 > .field {
border-bottom: 1px solid #000;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-material > .form-grid-2 > .field:last-child {
border-bottom: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-product > .form-grid-2,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-bom > .form-grid-2 {
grid-template-rows: repeat(5, 44px) minmax(44px, 1fr);
background-size: 100% 220px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
align-items: stretch;
gap: 0;
margin: 0;
min-height: 0;
background: transparent;
border-right: 1px solid #000;
box-shadow: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field.plm-span-2 {
grid-column: 1 / -1;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field.field-span-2 > textarea {
align-self: center;
height: auto;
max-height: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field.field-span-2 > span {
align-items: center;
padding-top: 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > span {
align-self: stretch;
justify-content: center;
padding: 0 6px;
background: transparent;
color: #111;
font-weight: 400;
border-right: 1px solid #000;
margin: 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > input,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > select,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > textarea {
align-self: stretch;
background: transparent;
border: none;
box-shadow: none;
color: #000;
text-align: center;
padding: 0 8px;
min-height: 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > textarea {
width: 100%;
min-width: 0;
height: auto;
padding: 5px 8px;
margin: 0;
font: inherit;
line-height: 1.35;
resize: none;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: thin;
white-space: pre-wrap;
word-break: break-word;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field.plm-span-2 > textarea {
align-self: center;
height: auto;
max-height: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > input[readonly],
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > input:disabled,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > select:disabled,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field > textarea[readonly] {
background: transparent;
color: #000;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 > .field:has(#plm-m-code) > input {
text-align: center;
color: #000;
font-size: 12px !important;
font-weight: 700 !important;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: none;
grid-auto-rows: minmax(30px, auto);
gap: 0;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.plm-material-wrap > .form-grid-2 {
border: none;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field {
border-right: none;
border-bottom: none;
padding: 0;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.plm-material-wrap > .form-grid-2 > .field > span {
border-right: none;
justify-content: flex-end;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.plm-material-wrap > .form-grid-2 > .field > input,
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.plm-material-wrap > .form-grid-2 > .field > select,
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.plm-material-wrap > .form-grid-2 > .field > textarea {
text-align: left;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
.plm-material-wrap > .form-grid-2 > .field:has(#plm-m-code) > input {
text-align: left;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field > span {
min-height: 30px;
padding: 4px 10px;
}
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field > input,
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field > select,
#pane-plm .plm-split-right
#view-plm-form:has(#plm-form-material:not([hidden]))
#plm-form-material > .form-grid-2 > .field > textarea {
min-height: 30px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic > #plm-attach-section {
position: static;
inset: auto;
padding: 0 0 0 18px;
margin: 0 0 0 -1px;
border: none;
border-left: 1px solid #000;
background: transparent;
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic > #plm-attach-section.is-dragover {
border-left-color: var(--primary);
background: #fff7f0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .section-bar {
flex: 0 0 auto;
height: 30px;
box-sizing: border-box;
align-items: flex-start;
margin: 0 0 10px;
padding-bottom: 0;
background: transparent;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .section-bar .section-title {
line-height: 20px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-list {
min-height: 0;
margin: 0 0 8px;
overflow: auto;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-drop-hint {
margin: 0;
color: #94a3b8;
letter-spacing: 0.5px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section.attach-empty .attach-drop-hint {
border: 1px dashed #000;
background: transparent;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section #plm-attach-status {
flex: 0 0 auto;
margin: 4px 0 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.section-title,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.section-bar,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-list,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-item {
background: transparent;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-list {
display: flex;
flex-direction: column;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-item {
flex: 1 1 auto;
min-height: 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-preview {
flex: 1 1 auto;
min-height: 0;
display: flex;
align-items: center;
justify-content: center;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-thumb {
max-height: none;
max-width: 100%;
height: 100%;
width: auto;
object-fit: contain;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-name-row {
display: flex;
align-items: center;
gap: 8px;
overflow: hidden;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-name-row > a {
flex: 1 1 auto;
min-width: 0;
display: flex;
align-items: center;
gap: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-actions-inline {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 8px;
margin-left: auto;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-body,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic {
background: #fff;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic {
grid-template-columns: 3fr 2fr;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card,
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card * {
font-size: 10px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card .section-title {
font-weight: 700;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card #plm-form-actions-row > #btn-plm-form-save {
font-weight: 600;
}
@media (max-width: 1200px) {
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-card {
width: 100%;
aspect-ratio: auto;
height: auto;
flex: 1 1 auto;
margin: 0;
border: none;
box-shadow: none;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-form-actions-row {
height: auto;
padding: 6px 12px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.modal-body {
display: block;
padding: 10px 14px;
overflow: auto;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: auto;
padding: 0;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.plm-material-wrap > .form-grid-2 {
grid-template-columns: minmax(0, 1fr);
grid-auto-rows: 40px;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic > #plm-attach-section {
padding: 14px 0 0;
margin-top: 16px;
border-left: none;
border-top: 1px solid #e8edf3;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section .attach-list {
min-height: 120px;
}
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: auto auto;
}
#view-plm-form .plm-form-top-row > .form-section.form-section-basic {
grid-template-columns: minmax(0, 1fr);
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
.form-section-basic > #plm-attach-section {
position: static;
inset: auto;
margin: 14px 0 0;
padding: 14px 0 0;
border: none;
border-top: 1px solid #000;
}
#view-plm-form .form-section-basic > #plm-attach-section {
position: static;
inset: auto;
margin: 14px 0 0;
padding: 14px 0 0;
border: none;
border-top: 1px solid #000;
}
#pane-plm .plm-split-right
#view-plm-form:not(:has(#plm-bom-detail-section:not([hidden])))
#plm-attach-section.attach-empty .attach-drop-hint,
#view-plm-form #plm-attach-section.attach-empty .attach-drop-hint {
min-height: 180px;
}
#pane-plm .plm-split-resizer[hidden],
#pane-plm .plm-split-right[hidden] {
display: none !important;
}
#pane-plm .plm-tree {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
padding: 6px 8px 14px;
}
#pane-plm .plm-tree .pt-children {
margin-left: 14px;
}
#pane-plm .plm-tree .pt-row {
display: flex;
align-items: center;
gap: 6px;
height: 28px;
padding: 0 6px;
border-radius: 0;
cursor: pointer;
user-select: none;
color: #334155;
white-space: nowrap;
}
#pane-plm .plm-tree .pt-row:hover {
background: #e6f4f2;
}
#pane-plm .plm-tree .pt-cat-row .pt-label {
color: #1e293b;
}
#pane-plm .plm-tree .pt-arrow {
flex: 0 0 auto;
width: 7px;
height: 7px;
margin-left: 2px;
border-right: 1.5px solid #94a3b8;
border-bottom: 1.5px solid #94a3b8;
transform: rotate(-45deg);
transition: transform 0.12s;
}
#pane-plm .plm-tree .pt-node[data-open="1"] > .pt-row > .pt-arrow {
transform: rotate(45deg);
}
#pane-plm .plm-tree .pt-folder {
flex: 0 0 auto;
width: 14px;
height: 14px;
color: var(--primary);
}
#pane-plm .plm-tree .pt-label {
flex: 0 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
#pane-plm .plm-tree .pt-cnt {
flex: 0 0 auto;
margin-left: auto;
padding-left: 8px;
font-size: 11px;
color: #94a3b8;
}
#pane-plm .plm-tree .pt-leaf {
display: flex;
align-items: center;
gap: 0;
height: 28px;
padding: 0 8px;
border-radius: 0;
cursor: pointer;
color: #475569;
white-space: nowrap;
overflow: hidden;
}
#pane-plm .plm-tree .pt-leaf:hover {
background: #e6f4f2;
}
#pane-plm .plm-tree .pt-leaf .pt-code {
flex: 0 0 92px;
max-width: 46%;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: Consolas, "Courier New", monospace;
color: var(--primary-dark);
}
#pane-plm .plm-tree .pt-leaf .pt-name {
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: #64748b;
}
#pane-plm .plm-tree .pt-leaf .pt-bom {
flex: 0 0 auto;
margin-left: 8px;
font-size: 11px;
line-height: 1;
padding: 3px 8px;
border-radius: 999px;
border: 0;
background: transparent;
color: #cbd5e1;
white-space: nowrap;
}
#pane-plm .plm-tree .pt-leaf .pt-bom.is-none {
color: #cbd5e1;
}
#plm-bom-detail-table tr.bom-row-repl > td { color: #059669; }
#plm-bom-detail-table tr.bom-row-repl > td .bom-row-no,
#plm-bom-detail-table tr.bom-row-repl > td .bom-row-drag { color: #059669; }
#plm-bom-detail-table tr.bom-row-repl > td input,
#plm-bom-detail-table tr.bom-row-repl > td textarea { color: #059669; }
.bom-line-ctx {
position: fixed;
z-index: 12000;
min-width: 128px;
padding: 4px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.bom-line-ctx .bom-line-ctx-item {
padding: 7px 12px;
font-size: 13px;
color: #334155;
border-radius: 6px;
cursor: pointer;
white-space: nowrap;
}
.bom-line-ctx .bom-line-ctx-item:hover { background: #e6f4f2; color: #0f766e; }
.bom-line-ctx .bom-line-ctx-item.is-disabled { color: #cbd5e1; cursor: default; }
.bom-line-ctx .bom-line-ctx-item.is-disabled:hover { background: transparent; color: #cbd5e1; }
#view-quick-bom #btn-plm-derive-bom { display: none !important; }
#view-quick-bom .field:has(#btn-plm-derive-bom) > input { padding-right: 8px; }
#pane-plm .plm-tree .pt-leaf .pt-bom.is-pub {
background: transparent;
color: #059669;
padding: 4px 9px;
}
#pane-plm .plm-tree .pt-leaf .pt-bom.is-draft {
background: transparent;
color: #b45309;
padding: 4px 9px;
}
#pane-plm .plm-tree .pt-leaf .pt-bom.is-stop {
background: transparent;
color: #64748b;
padding: 4px 9px;
}
.plm-tree-ctx {
position: fixed;
z-index: 12000;
min-width: 132px;
padding: 4px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.plm-tree-ctx .plm-tree-ctx-item {
padding: 7px 12px;
border-radius: 6px;
font-size: 13px;
color: #374151;
cursor: pointer;
white-space: nowrap;
}
.plm-tree-ctx .plm-tree-ctx-item:hover {
background: #ecfdf5;
color: #047857;
}
.plm-tree-ctx .plm-ctx-ico {
display: inline-block;
width: 20px;
text-align: center;
}
#pane-plm .plm-tree .pt-leaf .pt-sep {
flex: 0 0 16px;
text-align: center;
color: #cbd5e1;
}
#pane-plm .plm-tree .pt-leaf .pt-old {
flex: 0 0 110px;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: #94a3b8;
}
#pane-plm .plm-tree .pt-leaf .pt-sup {
flex: 0 0 130px;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: #94a3b8;
}
#pane-plm .plm-tree .pt-leaf.selected {
background: #99f6e4;
}
#pane-plm .plm-tree .pt-leaf.selected .pt-name {
color: #334155;
}
#pane-plm .plm-tree.plm-doc-tree .pt-doc-all-arrow {
flex: 0 0 auto;
width: 7px;
height: 7px;
margin-left: 2px;
}
#pane-plm .plm-tree .pt-cat-row.selected {
background: #99f6e4;
}
#pane-plm .plm-tree .pt-cat-row.selected .pt-label {
color: #0f766e;
}
#pane-plm .plm-tree .pt-leaf .pt-doc-title {
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: #334155;
}
#pane-plm .plm-tree .pt-leaf .pt-doc-model {
flex: 0 0 auto;
margin-left: 8px;
color: #94a3b8;
font-size: 11px;
}
#pane-plm.is-plm-doc-page .plm-split-right .plm-split-right-body {
display: flex;
flex-direction: column;
overflow: hidden;
}
#pane-plm .plm-split-right .plm-doc-list {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
#pane-plm .plm-split-right .plm-doc-list .table-wrap {
flex: 1 1 auto;
min-height: 0;
max-height: none;
}
#pane-plm .plm-tree-search {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 6px;
margin: 8px 8px 0;
padding: 0 10px;
height: 34px;
border: 1px solid #e2e8f0;
border-radius: 0;
background: #fff;
box-shadow: none;
}
#pane-plm .plm-tree-search:focus-within {
border-color: #5eead4;
box-shadow: none;
}
#pane-plm .plm-tree-search .pt-search-icon {
flex: 0 0 auto;
width: 15px;
height: 15px;
color: #94a3b8;
}
#pane-plm .plm-tree-search input {
flex: 1 1 auto;
min-width: 0;
border: 0;
outline: none;
background: transparent;
font-size: 12px;
color: #002FA7;
height: 100%;
padding: 0;
}
#pane-plm .plm-tree-search input::placeholder {
color: #94a3b8;
}
#pane-plm .plm-tree-search .pt-search-clear {
flex: 0 0 auto;
border: 0;
background: transparent;
color: #94a3b8;
font-size: 12px;
line-height: 1;
padding: 4px 6px;
cursor: pointer;
border-radius: 0;
}
#pane-plm .plm-tree-search .pt-search-clear:hover {
color: #475569;
background: #f1f5f9;
}
#pane-plm .plm-tree .pt-empty {
padding: 28px 12px;
text-align: center;
color: #94a3b8;
font-size: 13px;
}
#pane-wms.is-wms-split-page .wms-split {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: row;
align-items: stretch;
overflow: hidden;
}
#pane-wms:not(.is-wms-split-page) .wms-split {
flex: 1 1 auto;
min-height: 0;
display: block;
overflow: hidden;
}
#pane-wms:not(.is-wms-split-page) .wms-split-left {
height: 100%;
flex: 1 1 auto;
min-height: 0;
}
#pane-wms .wms-split-left {
flex: 1 1 var(--wms-split-left, 55%);
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
background: #fff;
}
#pane-wms .wms-split-left #wms-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 0;
}
#pane-wms .wms-split-left #wms-body .table-wrap {
flex: 1 1 auto;
height: auto;
min-height: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#pane-wms .wms-split-resizer {
flex: 0 0 6px;
cursor: col-resize;
background: #d7dde4;
border-left: 1px solid #cfd6de;
border-right: 1px solid #cfd6de;
touch-action: none;
}
#pane-wms .wms-split-resizer:hover,
body.wms-split-dragging #pane-wms .wms-split-resizer {
background: #7dd3fc;
}
#pane-wms .wms-split-right {
flex: 1 1 var(--wms-split-right, 45%);
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
border-left: 1px solid #cfd6de;
}
#pane-wms .wms-split-right .wms-split-right-head {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 12px;
background: linear-gradient(180deg, #f7fffe 0%, #eef9f7 100%);
border-bottom: 1px solid #e2e8f0;
}
#pane-wms .wms-split-right .wms-split-right-title {
font-size: 14px;
font-weight: 600;
color: #0f766e;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 0 1 auto;
min-width: 0;
}
#pane-wms .wms-split-right .wms-split-right-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
margin-left: auto;
flex: 0 0 auto;
flex-wrap: nowrap;
white-space: nowrap;
}
#pane-wms .wms-split-right .wms-split-right-actions .tb-btn {
margin-left: 0;
}
#pane-wms .wms-split-right .wms-split-right-body {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
padding: 0;
}
#pane-wms .wms-split-right .wms-split-right-empty {
padding: 40px 16px;
text-align: center;
color: #94a3b8;
font-size: 13px;
}
#pane-wms .wms-split-right #view-wms-txn {
position: static;
inset: auto;
background: transparent;
display: flex;
align-items: stretch;
justify-content: flex-start;
flex-direction: column;
height: 100%;
min-height: 0;
padding: 0;
z-index: auto;
}
#pane-wms .wms-split-right #view-wms-txn[hidden] { display: none !important; }
#pane-wms .wms-split-right #view-wms-txn .modal-card {
width: 100% !important;
max-width: 100%;
max-height: none;
border-radius: 0;
border: 1px solid #e2e8f0;
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
flex: 1 1 auto;
display: flex;
flex-direction: column;
overflow: hidden;
}
#pane-wms .wms-split-right #view-wms-txn .modal-head {
display: none;
}
#pane-wms .wms-split-right #view-wms-txn .modal-body {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#pane-wms .wms-split-right #view-wms-txn .modal-foot {
display: none;
}
#pane-wms .wms-split-resizer[hidden],
#pane-wms .wms-split-right[hidden] {
display: none !important;
}
#pane-wms .wms-split-left #wms-body .wms-stock-tree {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
padding: 6px 8px 14px;
}
#pane-wms .wms-stock-tree .pt-children {
margin-left: 16px;
}
#pane-wms .wms-stock-tree .pt-row {
display: flex;
align-items: center;
gap: 6px;
height: 28px;
padding: 0 6px;
border-radius: 0;
cursor: pointer;
user-select: none;
color: #334155;
white-space: nowrap;
}