:root {
    --bg: #f4f7f8;
    --surface: #ffffff;
    --surface-2: #edf3f4;
    --text: #203034;
    --muted: #64767b;
    --border: #d9e2e4;
    --primary: #0e7c86;
    --primary-dark: #0a6269;
    --accent: #e58b3c;
    --danger: #b8434b;
    --success: #3f8f5b;
    --warning: #b7792f;
    --shadow: 0 8px 24px rgba(28, 47, 52, 0.08);
    --radius: 8px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, select, textarea { font: inherit; }

input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 9px 10px;
    background: #fff;
    color: var(--text);
}

textarea { resize: vertical; }
label { display: grid; gap: 5px; color: #42565b; font-weight: 600; font-size: 13px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary { background: #fff; color: var(--primary); border-color: var(--border); }
.btn.ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn.danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn.small { min-height: 30px; padding: 4px 9px; font-size: 12px; }
.btn.wide { width: 100%; }

.stack { display: grid; gap: 16px; }
.grid { display: grid; gap: 14px; }
.grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.muted { color: var(--muted); }
.muted-link { color: var(--muted); text-align: center; font-size: 13px; }
.strong { font-weight: 700; }
.empty { text-align: center; color: var(--muted); padding: 28px !important; }
.count-badge {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--primary);
    font-weight: 700;
}

.red-dot {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #d34a55;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    padding: 0 5px;
}

.alert {
    padding: 12px 14px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    background: #eaf5f6;
    color: var(--text);
}
.alert.error { border-color: var(--danger); background: #fbecec; }
.alert.warning { border-color: var(--warning); background: #fff5e8; }

/* Login */
.login-page { display: grid; place-items: center; padding: 28px; min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: 1fr 420px; gap: 36px; width: min(960px, 100%); align-items: center; }
.auth-brand h1 { margin: 0 0 10px; font-size: 42px; letter-spacing: 0; }
.auth-brand p { margin: 0; color: var(--muted); font-size: 18px; }
.auth-card, .wide-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.wide-card { width: min(720px, 100%); }
.auth-lang { position: absolute; top: 18px; right: 18px; width: auto; min-width: 110px; }
.auth-card { position: relative; }
.register-page .auth-shell { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.forgot-page .auth-shell { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.forgot-page .auth-card { width: min(460px, 100%); padding: 34px; }
.reset-page .auth-shell { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.reset-page .auth-card { width: min(460px, 100%); padding: 34px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface-2); border-radius: 8px; padding: 4px; margin-bottom: 22px; }
.segment { border: 0; background: transparent; padding: 9px; border-radius: 6px; cursor: pointer; font-weight: 700; color: var(--muted); }
.segment.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(30,60,65,.1); }

.login-main-page { display: block; padding: 0; min-height: 100vh; background: #fff; }
.login-lang { position: fixed; top: 24px; right: 24px; z-index: 30; width: auto; min-width: 120px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); }
.login-lang option { color: var(--text); }
.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(560px, 44%); width: 100%; min-height: 100vh; padding-left: 90px; box-sizing: border-box; }
.login-showcase { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px; padding: 72px 72px 72px 120px; background: #fff; color: var(--text); text-align: center; }
.login-eyebrow { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.login-copy h1 { margin: 0; font-size: 46px; line-height: 1.08; letter-spacing: 0; color: var(--text); }
.login-copy p { margin: 18px 0 0; color: var(--muted); font-size: 19px; line-height: 1.8; max-width: 580px; }
.login-logo-area { display: flex; align-items: center; justify-content: center; margin-top: 6px; }
.login-logo-area img { width: 280px; height: 280px; object-fit: contain; }
.login-logo-placeholder { width: 280px; height: 280px; display: grid; place-items: center; border: 1px dashed #b9c9cc; border-radius: 20px; color: #8da0a4; font-weight: 700; font-size: 20px; background: #f7fafa; }
.login-logo-fallback { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: 0; }
.login-form-column { display: flex; align-items: center; justify-content: flex-start; padding: 40px 32px 40px 0; background: #fff; }
.login-card { width: min(420px, 100%); position: relative; padding: 30px; box-shadow: var(--shadow); }

/* Navigation */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 62px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
    background: #123c42;
    color: #fff;
}
.topbar.admin { background: #15323a; }
.topbar .brand { color: #fff; font-weight: 800; font-size: 18px; }
.topnav { display: flex; align-items: center; gap: 4px; overflow-x: auto; flex: 1; }
.topnav a { color: #d9e7e9; padding: 8px 10px; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.topnav a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.user-chip { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 13px; }
.user-chip a { color: #ffd39e; }
.lang-switch { width: auto; min-width: 110px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; background: transparent; color: #fff; }
.lang-switch option { color: var(--text); }
[dir="rtl"] .layout.with-cart { grid-template-columns: 340px minmax(0, 1fr); }
[dir="rtl"] .topbar, [dir="rtl"] .topnav, [dir="rtl"] .user-chip { direction: rtl; }

/* General layout */
.layout { max-width: none; margin: 0; padding: 24px; width: 100%; min-height: calc(100vh - 62px); }
.admin-layout { max-width: none; margin: 0; padding: 24px; }
.layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
.layout.with-cart { grid-template-columns: minmax(0, 1fr) 340px; }
.content { min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 26px; letter-spacing: 0; }
.page-head p { margin: 6px 0 0; color: var(--muted); }

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 18px; }

.filter-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { width: auto; min-width: 180px; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table.compact { min-width: 620px; }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.data-table th { background: #f0f5f5; color: #455d62; font-size: 12px; text-transform: uppercase; letter-spacing: 0; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #f9fbfb; }
.data-table td small { color: var(--muted); }

.inline-form { display: flex; gap: 6px; align-items: center; }
.qty-input { width: 76px; }
.product-desc-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.product-thumb { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: var(--surface-2); cursor: zoom-in; }
.product-image-modal { width: min(760px, calc(100vw - 30px)); }
.product-image-preview { display: grid; place-items: center; padding: 18px; }
.product-image-preview img { max-width: 100%; max-height: 70vh; object-fit: contain; }

.side-panel { position: sticky; top: 86px; height: calc(100vh - 110px); max-height: calc(100vh - 110px); overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.cart-lines { display: grid; gap: 12px; margin: 14px 0; }
.cart-line { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--border); font-size: 13px; }
.cart-line > div:last-child { text-align: right; }
.cart-line-info { min-width: 0; }
.cart-line-info strong { display: block; }
.cart-line-info span { display: block; color: var(--muted); }
.cart-line-info small { display: block; color: var(--muted); margin-top: 4px; }
.cart-line-actions { display: grid; gap: 8px; justify-items: end; }
.cart-line-total { font-weight: 700; }
.cart-edit-form { display: flex; align-items: center; gap: 6px; }
.cart-edit-form .qty-input { width: 74px; }

.pagination { display: flex; gap: 8px; margin: 18px 0; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; }
.status-pending { background: #fff0d7; color: #a55b0c; }
.status-confirmed { background: #e6f2f4; color: #0d6c75; }
.status-processing { background: #e7eefc; color: #33548f; }
.status-shipped { background: #ede7f7; color: #65488c; }
.status-completed, .status-active { background: #e8f4eb; color: #2f7547; }
.status-cancelled, .status-disabled { background: #f7e3e4; color: #a5373f; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kpi span { display: block; color: var(--muted); font-size: 13px; }
.kpi strong { display: block; margin-top: 8px; font-size: 28px; letter-spacing: 0; }

.modal { width: min(720px, calc(100vw - 30px)); border: 0; border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); background: var(--surface); }
.modal::backdrop { background: rgba(12, 28, 31, .45); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; font-size: 20px; }
.modal > form, .modal > .detail-grid { padding: 20px; }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 25px; line-height: 1; color: var(--muted); }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.detail-grid p { margin: 0; }

.import-panel input[type=file] { padding: 7px; }

/* Chat */
.message-center { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 10px; max-width: none; width: 100%; margin: 0; padding: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 0; overflow: hidden; min-height: calc(100vh - 62px); }
.conversation-list { border-right: 0; border-radius: var(--radius); background: #f8fbfb; padding: 16px; min-width: 0; }
.start-conversation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 12px; }
.start-conversation select { min-width: 0; }
.broadcast-customer-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; margin-bottom: 8px; }
.broadcast-customer-tools input { min-width: 0; }
.broadcast-customer-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--border); border-radius: 6px; background: #fff; padding: 6px; }
.customer-check-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 6px; cursor: pointer; }
.customer-check-item:hover { background: var(--surface-2); }
.customer-check-item input { width: auto; margin-top: 2px; }
.customer-check-item span { min-width: 0; }
.customer-check-item strong { display: block; }
.customer-check-item small { display: block; color: var(--muted); }
.customer-check-item:has(input:checked) { background: #e8f3f4; border: 1px solid #bcdde0; }
.conversation-items { display: grid; gap: 8px; max-height: calc(100vh - 170px); overflow-y: auto; }
.conversation-item { display: block; padding: 12px; border-radius: 6px; border: 1px solid transparent; background: #fff; color: var(--text); }
.conversation-item.active { border-color: var(--primary); background: #edf7f8; }
.conversation-item:hover { text-decoration: none; border-color: var(--border); }
.conversation-item span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.conversation-item .red-dot { float: right; }
.chat-page .page-head { margin-bottom: 12px; }
.chat-shell { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: calc(100vh - 190px); min-height: 420px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-messages { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 16px; background: #f8fbfb; }
.message-row { display: flex; gap: 10px; align-items: flex-start; max-width: 82%; }
.message-row.self { align-self: flex-end; flex-direction: row-reverse; }
.avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; background: #c6d9dc; color: #244b50; font-weight: 800; }
.message-row.self .avatar { background: var(--primary); color: #fff; }
.message-body { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; min-width: 120px; }
.message-row.self .message-body { background: #e5f4f5; border-color: #bcdde0; }
.message-meta { display: flex; gap: 10px; align-items: baseline; font-size: 12px; color: var(--muted); }
.message-meta strong { color: var(--text); }
.message-text { margin: 8px 0 0; white-space: pre-wrap; }
.order-card { display: block; margin-top: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text); }
.order-card span, .order-card small { display: block; color: var(--muted); }
.order-card strong { display: block; margin: 3px 0; color: var(--primary); }
.chat-composer { display: grid; grid-template-columns: minmax(0,1fr) 220px auto; gap: 10px; padding: 14px; background: #fff; border-top: 1px solid var(--border); }
.chat-composer textarea { min-height: 58px; }

/* PI */
.pi-page { background: #fff; padding: 24px; }
.pi-toolbar { max-width: 960px; margin: 0 auto 18px; display: flex; justify-content: space-between; gap: 12px; }
.pi-document { max-width: 960px; margin: 0 auto; padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.pi-header { display: flex; justify-content: space-between; gap: 24px; border-bottom: 3px solid var(--primary); padding-bottom: 18px; }
.pi-header h1 { margin: 0; font-size: 26px; }
.pi-header p { margin: 4px 0 0; color: var(--muted); }
.pi-title { text-align: right; }
.pi-title h2 { margin: 0; color: var(--primary); }
.pi-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; }
.pi-parties h3 { margin-top: 0; }
.pi-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.pi-table th, .pi-table td { padding: 10px; border: 1px solid var(--border); text-align: left; }
.pi-table th { background: #f0f5f5; }
.pi-table tfoot td { font-weight: 800; }
.pi-terms { margin-top: 22px; }

/* Confirm order */
.confirm-layout { align-items: stretch; }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.confirm-summary-panel,
.confirm-details-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.confirm-summary-panel .panel-head,
.confirm-details-panel .panel-head { padding: 18px 20px; border-bottom: 1px solid var(--border); margin: 0; }
.confirm-details-panel form { padding: 20px; }
.confirm-order-total { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 0 20px 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.confirm-order-total span { color: var(--muted); font-size: 14px; }
.confirm-order-total strong { font-size: 24px; letter-spacing: 0; }
.pi-confirm-modal { width: min(820px, calc(100vw - 30px)); }
.pi-preview { padding: 20px; }
.pi-preview-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.pi-preview-parties h3 { margin: 0 0 8px; }
.pi-preview-parties p { margin: 4px 0; }
.pi-confirm-actions { padding: 0 20px 20px; }

.chart-scroll { overflow-x: auto; }
.bar-chart { width: 100%; height: auto; min-width: 420px; }
.bar-chart rect { fill: var(--primary); }
.bar-chart rect:hover { fill: var(--accent); }
.bar-chart text { fill: #52666a; font-size: 11px; }
.chart-panel .panel-head { align-items: flex-end; }
.chart-kpis { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.chart-kpis strong { display: block; color: var(--text); font-size: 18px; }

/* Reports */
.reports-page .page-head { margin-bottom: 22px; }
.report-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.report-summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.report-summary-card span { display: block; color: var(--muted); font-size: 13px; }
.report-summary-card strong { display: block; margin-top: 10px; font-size: 24px; letter-spacing: 0; }
.report-summary-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: stretch; }
.report-chart { grid-column: 1 / 2; grid-row: 1 / span 2; max-width: none; width: 100%; }
.report-chart .chart-scroll { padding: 4px 12px 8px; }
.report-chart .bar-chart { max-width: none; }
.month-table-wrap { max-height: 300px; overflow-y: auto; margin: 8px 14px 14px; border: 1px solid var(--border); border-radius: 6px; }
.monthly-table { min-width: 100%; }
.side-ranking { grid-column: 2 / 3; }
.chart-legend { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--primary); display: inline-block; }
.bar-chart .grid-line { stroke: #e7eef0; stroke-width: 1; }
.bar-chart .bar { fill: var(--primary); transition: fill .15s ease; }
.bar-chart .bar:hover { fill: var(--accent); }
.bar-chart .bar-label { fill: #52666a; font-size: 10px; }
.bar-chart .axis-label { fill: #64767b; font-size: 11px; }
.ranking-panel { padding: 0; overflow: hidden; }
.ranking-panel .panel-head { padding: 18px 18px 12px; border-bottom: 1px solid var(--border); }
.top-list { display: grid; gap: 0; padding: 6px 18px 14px; }
.top-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.top-row:last-child { border-bottom: 0; }
.rank { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-weight: 800; }
.rank-top { background: #e8f3f4; color: var(--primary); }
.top-info { min-width: 0; }
.top-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-info small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-bar { display: block; height: 5px; margin-top: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.top-value { text-align: right; }
.top-value strong { display: block; font-size: 15px; }
.top-value small { display: block; color: var(--muted); margin-top: 3px; }

@media (max-width: 900px) {
    .auth-shell, .layout { grid-template-columns: 1fr; }
    .layout.with-cart { grid-template-columns: 1fr; }
    .side-panel { position: static; height: auto; max-height: none; }
    .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .message-center { grid-template-columns: 1fr; }
    .conversation-list { border-right: 0; border-bottom: 1px solid var(--border); }
    .chat-composer { grid-template-columns: 1fr; }
    .grid.two-col, .grid.three-col, .detail-grid { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: span 1; }
    .report-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-grid { grid-template-columns: 1fr; }
    .report-chart { grid-column: auto; grid-row: auto; }
    .side-ranking { grid-column: auto; }
    .confirm-grid { grid-template-columns: 1fr; }
    .pi-preview-parties { grid-template-columns: 1fr; }
    .login-shell { grid-template-columns: 1fr; }
    .login-shell { padding-left: 0; }
    .login-showcase { display: none; }
    .login-lang { top: 16px; right: 16px; }
    .login-card { padding: 32px 24px; }
    .login-form-column { justify-content: center; padding: 32px 24px; }
}

@media print {
    .no-print, .topbar { display: none !important; }
    .pi-page { padding: 0; }
    .pi-document { border: 0; box-shadow: none; }
}
