.order-entry-body {
    background: var(--user-bg, #e8eef4);
    min-height: 100vh;
    margin: 0;
}

.order-entry-app {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
}

.customer-strip {
    width: 220px;
    background: var(--primary);
    color: #fff;
    padding: 1.25rem 1rem;
    flex-shrink: 0;
}

.strip-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
    margin-bottom: 0.5rem;
}

.strip-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    word-break: break-word;
}

.strip-details {
    font-size: 0.78rem;
    line-height: 1.55;
    opacity: 0.9;
}

.strip-details div {
    margin-bottom: 0.35rem;
}

.strip-details strong {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 600;
}

.order-entry-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    overflow: hidden;
    min-height: 0;
}

.oe-invoice-section {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.oe-entry-section {
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.oe-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.oe-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.oe-logo {
    width: 140px;
    max-height: 64px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.12));
}

.oe-product-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    min-width: 220px;
}
.oe-product-preview img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.oe-preview-info { display: flex; flex-direction: column; font-size: 0.82rem; }
.oe-preview-info span { color: var(--text-muted); font-size: 0.75rem; }

.oe-suggestions li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.oe-sugg-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    flex-shrink: 0;
}
.oe-sugg-text { display: flex; flex-direction: column; }
.oe-sugg-text small { color: var(--text-muted); font-size: 0.72rem; }

.oe-line-product { display: flex; align-items: center; gap: 0.5rem; }
.oe-line-thumb {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
}

.oe-totals {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.oe-totals .summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.2rem 0;
    color: var(--text-muted);
}

.oe-totals .summary-line.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.35rem;
}

.oe-header h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0;
}

.oe-shortcuts {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.oe-table tr.pending-line td {
    background: rgba(201, 162, 39, 0.12);
}

.oe-table tr.pending-line td:nth-child(2) {
    color: var(--primary);
    font-weight: 700;
}

.pending-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
}

.oe-shortcuts kbd {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    font-family: inherit;
    font-size: 0.75rem;
}

.oe-stage {
    background: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 1.25rem 1.5rem 1rem;
    min-height: 130px;
    position: relative;
}

.oe-entry-section .oe-status {
    margin-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
}

.oe-step-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.oe-input {
    width: 100%;
    font-size: 1.6rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s;
}

.oe-input:focus {
    border-color: var(--accent);
}

.oe-input.active {
    display: block;
}

.oe-suggestions {
    list-style: none;
    margin-top: 0.5rem;
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fafbfc;
}

.oe-suggestions li {
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.oe-suggestions li:hover,
.oe-suggestions li.active {
    background: #dbeafe;
}

.oe-suggestions li span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.oe-lines h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}

.oe-table th,
.oe-table td {
    font-size: 0.85rem;
    padding: 0.5rem 0.65rem;
}

.oe-total {
    text-align: right;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border);
}

.oe-status {
    margin-top: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.oe-status.show {
    display: block;
}

.oe-status.success {
    background: #d1fae5;
    color: #065f46;
}

.oe-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.oe-status.info {
    background: #dbeafe;
    color: #1e40af;
}