.lral-dxcc { max-width: 1200px; margin: 0 auto; }

.lral-dxcc-banner {
    background: #fff7e6; border: 1px solid #f0d9a8; color: #7a5a14;
    padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem;
}
.lral-dxcc-login { color: #6b7280; margin: 0 0 14px; }

.lral-dxcc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.lral-dxcc-tab {
    display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid #e5e7eb;
    background: #fff; color: #73281E; text-decoration: none; font-weight: 600;
}
.lral-dxcc-tab.is-active, .lral-dxcc-tab:hover { background: #73281E; border-color: #73281E; color: #fff; }

.lral-dxcc-note { color: #6b7280; font-size: .92rem; margin: 6px 0 16px; }

.lral-dxcc-section { margin: 26px 0; }
.lral-dxcc-section h3 { color: #73281E; margin: 0 0 10px; }
.lral-dxcc-empty { color: #94a3b8; }

/* Wide tables must scroll sideways on phones instead of being clipped. */
.lral-dxcc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.lral-dxcc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lral-dxcc-table th, .lral-dxcc-table td { padding: 8px 10px; text-align: center; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
.lral-dxcc-table thead th { background: #73281E; color: #fff; font-weight: 700; }
.lral-dxcc-table tbody tr:nth-child(even) { background: #fafbfc; }
.lral-dxcc-table td.lral-dxcc-call { text-align: left; font-weight: 700; }
.lral-dxcc-table td.lral-dxcc-total { font-weight: 800; color: #73281E; }
.lral-dxcc-table td.lral-dxcc-src { color: #2f7d32; font-size: .85rem; }

.lral-dxcc-upload {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px;
}
.lral-dxcc-upload > summary { cursor: pointer; font-weight: 700; color: #73281E; }
.lral-dxcc-steps { margin: 10px 0 14px 20px; padding: 0; line-height: 1.55; }
.lral-dxcc-progress { margin: 12px 0; }
.lral-dxcc-progress progress { width: min(320px, 70%); }
.lral-dxcc-msg { margin: 8px 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.lral-dxcc-msg.is-error { background: #fdecea; color: #8a1f17; }
.lral-dxcc-msg.is-warn { background: #fff7e6; color: #7a5a14; }
.lral-dxcc-msg.is-ok { background: #e8f5e9; color: #1b5e20; }
.lral-dxcc-msg.is-info { background: #f3f4f6; color: #374151; }
.lral-dxcc-row { margin: 12px 0 6px; }
.lral-dxcc-small { margin-top: 16px; font-size: .85rem; }
.lral-dxcc-delete { font-size: .85rem !important; padding: 6px 12px !important; }
.lral-dxcc-open { font-weight: 700; color: #73281E; }

.lral-dxcc-status.is-member { color: #1b5e20; font-weight: 700; }
.lral-dxcc-status.is-guest { color: #6b7280; }
.lral-dxcc-table td.lral-dxcc-status { font-size: .85rem; }
.lral-dxcc-legend { font-size: .85rem; color: #6b7280; margin: 0 0 14px; line-height: 1.7; }
.lral-dxcc-guest { margin: 0 0 18px; }
.lral-dxcc-guest > summary { cursor: pointer; color: #73281E; font-weight: 600; }
.lral-dxcc-guest form { margin-top: 10px; }
.lral-dxcc-guest input[type=text] { padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; text-transform: uppercase; }
.lral-dxcc-guest input[type=email] { padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; }
.lral-dxcc-hint { display: block; margin-top: 8px; color: #6b7280; }
.lral-dxcc-confirm { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.lral-dxcc-confirm.is-step { border: 2px solid #73281E; box-shadow: 0 6px 22px rgba(115, 40, 30, .18); padding: 22px 24px; text-align: center; }
.lral-dxcc-confirm.is-step h3 { margin: 4px 0 8px; font-size: 1.35rem; color: #73281E; }
.lral-dxcc-step { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a3412; }
.lral-dxcc-big { font-size: 1.1rem; padding: 12px 34px; margin-top: 6px; }
.lral-dxcc-logout { margin: -8px 0 18px; text-align: right; }

.lral-dxcc-subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.lral-dxcc-subtab { display: inline-block; padding: 5px 12px; border-radius: 8px; color: #73281E; text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; }
.lral-dxcc-subtab.is-active, .lral-dxcc-subtab:hover { border-bottom-color: #73281E; }

.lral-dxcc-personal h4 { color: #73281E; margin: 26px 0 8px; }
.lral-dxcc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 14px 0; }
.lral-dxcc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 14px; text-align: center; }
.lral-dxcc-card-label { color: #6b7280; font-size: .85rem; font-weight: 600; }
.lral-dxcc-card-num { color: #73281E; font-size: 2rem; font-weight: 800; line-height: 1.2; }
.lral-dxcc-card-num span { font-size: 1rem; color: #9ca3af; font-weight: 600; }
.lral-dxcc-card-sub { color: #9ca3af; font-size: .8rem; }
.lral-dxcc-progress-text { margin: 14px 0 6px; color: #374151; }
.lral-dxcc-bar { background: #f1f5f9; border-radius: 999px; height: 12px; overflow: hidden; }
.lral-dxcc-bar > div { background: linear-gradient(90deg, #73281E, #b85450); height: 100%; border-radius: 999px; }
.lral-dxcc-bar.is-thin { height: 8px; min-width: 120px; }
.lral-dxcc-barcell { min-width: 140px; }
.lral-dxcc-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.lral-dxcc-chip { background: #fdecea; color: #8a1f17; border-radius: 6px; padding: 1px 7px; font-weight: 700; font-size: .85rem; }
.lral-dxcc-filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 4px 0 10px; }
.lral-dxcc-filters input[type=search] { padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; min-width: 220px; }
.lral-dxcc-table tr.is-deleted td { color: #9ca3af; font-style: italic; }
.lral-dxcc-personal > h3 { color: #73281E; margin: 22px 0 6px; }

.lral-dxcc-table td.lral-dxcc-src.is-legacy { color: #6b7280; white-space: nowrap; cursor: help; }
.lral-dxcc-publish { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 14px; margin: 8px 0 12px; }
.lral-dxcc-publish label { font-weight: 600; cursor: pointer; }
.lral-dxcc-publish.is-prominent { border: 2px solid #73281E; background: #fdf7f5; padding: 14px 18px; margin: 12px 0 18px; }
.lral-dxcc-publish.is-prominent label { font-size: 1.05rem; color: #73281E; display: flex; gap: 10px; align-items: flex-start; }
.lral-dxcc-publish.is-prominent input[type=checkbox] { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: #73281E; }
#lral-dxcc-public-link { margin-top: 8px; }
#lral-dxcc-public-link input { width: min(520px, 100%); padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; font-size: .85rem; }
.lral-dxcc-table td.lral-dxcc-call a { color: #73281E; text-decoration: underline dotted; }
