:root {
    --ieco-red: #d81e3f;
    --ieco-black: #101010;
    --ieco-gray: #f4f6f8;
}
body {
    background: var(--ieco-gray);
}
.company-banner {
    border-bottom: 1px solid #dee2e6;
}
.company-banner-image {
    display: block;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    background: #fff;
}
.ieco-nav {
    background: linear-gradient(90deg, #000 0%, #1e1e1e 100%);
}
.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    background: #000;
    border-radius: 6px;
    padding: 2px;
}
.card-stat {
    border: 0;
    border-left: 5px solid var(--ieco-red);
}
.section-title {
    color: var(--ieco-red);
    font-weight: 700;
}
.table thead th {
    background: #111;
    color: #fff;
    vertical-align: middle;
}
.btn-ieco {
    background: var(--ieco-red);
    color: #fff;
}
.btn-ieco:hover {
    background: #b81835;
    color: #fff;
}
.print-sheet {
    background: #fff;
    padding: 28px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.print-header {
    border-bottom: 4px solid var(--accent-color, var(--ieco-red));
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.print-banner {
    margin-bottom: 14px;
}
.print-banner img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
}
.letterhead-meta {
    font-size: .92rem;
    color: #6c757d;
}
.signature-box {
    min-height: 80px;
    padding-top: 28px;
    border-top: 1px solid #111;
}
.layout-chip {
    display: inline-flex;
    align-items: center;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #f1f3f5;
    font-size: .82rem;
    color: #495057;
}
.locked-banner {
    border-left: 4px solid var(--ieco-red);
    background: #fff5f7;
}
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111 0%, #2d2d2d 100%);
    padding: 1.5rem;
}
.login-shell {
    width: min(980px, 96vw);
}
.login-card {
    width: min(480px, 100%);
    border: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.form-help {
    font-size: .85rem;
    color: #6c757d;
}
.permission-grid th,
.permission-grid td {
    vertical-align: middle;
}
.permission-grid .form-check {
    display: flex;
    justify-content: center;
}
.table-compact td,
.table-compact th {
    padding-top: .45rem;
    padding-bottom: .45rem;
}
.summary-tile {
    border-left: 4px solid var(--ieco-red);
    background: #fff;
}
@page {
    size: letter;
    margin: 12mm;
}
@media print {
    nav, .no-print, .btn, .alert, .print-toolbar, .company-banner { display: none !important; }
    body { background: #fff; }
    main, .container, .container-fluid { padding: 0 !important; margin: 0 !important; }
    .print-sheet { border: 0; padding: 0; box-shadow: none; }
}
