.clbs-portal { max-width: 960px; margin: 0 auto; font-size: 16px; line-height: 1.5; }
.clbs-portal * { box-sizing: border-box; }
.clbs-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.clbs-header h2 { margin: 0 0 2px; }
.clbs-small { font-size: 14px; color: #555; margin: 0; }
.clbs-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #e2e4e7; margin-bottom: 18px; }
.clbs-tab { padding: 10px 16px; text-decoration: none; color: #1d2327; border-radius: 6px 6px 0 0; }
.clbs-tab.is-active { background: #1d3557; color: #fff; }
.clbs-tab:hover:not(.is-active) { background: #f0f2f5; }
.clbs-badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #c0392b; color: #fff; font-size: 12px; text-align: center; }
.clbs-card { background: #fff; border: 1px solid #e2e4e7; border-radius: 8px; padding: 18px 20px; margin-bottom: 18px; }
.clbs-card h3 { margin-top: 0; }
.clbs-table { width: 100%; border-collapse: collapse; }
.clbs-table th, .clbs-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eceef1; vertical-align: middle; }
.clbs-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #555; }
.clbs-table .clbs-right { text-align: right; }
.clbs-actions { text-align: right; white-space: nowrap; }
.clbs-btn { display: inline-block; padding: 8px 16px; border: 0; border-radius: 6px; background: #1d3557; color: #fff; text-decoration: none; cursor: pointer; font-size: 15px; }
.clbs-btn:hover { background: #274b7a; color: #fff; }
.clbs-btn-small { padding: 4px 12px; font-size: 14px; }
.clbs-form input[type="text"], .clbs-form textarea { width: 100%; max-width: 640px; padding: 8px; border: 1px solid #b4b9be; border-radius: 4px; }
.clbs-notice { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; border-left: 4px solid #1d3557; background: #eef3f8; }
.clbs-notice p { margin: 0; }
.clbs-notice-success { border-color: #2e7d32; background: #eaf5ea; }
.clbs-notice-error { border-color: #c0392b; background: #fbeceb; }
.clbs-empty { color: #666; }
.clbs-crumbs { margin-top: 0; }
.clbs-msg { max-width: 720px; margin: 10px 0; padding: 10px 14px; border-radius: 10px; background: #f0f2f5; }
.clbs-msg-mine { background: #e3edf8; margin-left: 40px; }
.clbs-msg-meta { font-size: 13px; color: #555; margin-bottom: 4px; }
.clbs-invoice-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.clbs-invoice-from { text-align: right; font-size: 14px; }
.clbs-status { display: inline-block; padding: 2px 10px; border-radius: 12px; background: #e2e4e7; font-size: 13px; }
.clbs-status-paid { background: #c6e1c6; }
.clbs-status-sent { background: #f8e3a6; }
.clbs-status-void { background: #e6b6b6; }
.clbs-paid { color: #1a6e2e; }
.clbs-pay { background: #f6f7f7; padding: 10px 14px; border-left: 4px solid #1d3557; margin-top: 12px; }
.clbs-right { text-align: right; }
.clbs-login { max-width: 420px; margin: 0 auto; }
.clbs-login input[type="text"], .clbs-login input[type="password"] { width: 100%; padding: 8px; }
@media (max-width: 600px) { .clbs-table th:nth-child(3), .clbs-table td:nth-child(3) { display: none; } .clbs-msg-mine { margin-left: 0; } }
