.mkt-page { padding: 8px 2px 36px; color: #172033; }
.mkt-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 8px 0 20px; }
.mkt-heading h1 { margin: 2px 0 4px; font-size: 28px; font-weight: 900; }
.mkt-heading p, .mkt-section-title p { margin: 0; color: #667085; }
.mkt-eyebrow { color: #0f9d72; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.mkt-btn { border: 1px solid #dce2ea; background: #fff; color: #344054; padding: 10px 14px; border-radius: 11px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.mkt-btn:hover:not(:disabled) { background: #f7f9fb; color: #172033; }
.mkt-btn.primary { background: #13a477; border-color: #13a477; color: #fff; }
.mkt-btn.primary:hover:not(:disabled) { background: #0d8d66; color: #fff; }
.mkt-btn:disabled { opacity: .55; cursor: not-allowed; }
.mkt-btn.compact { padding: 7px 10px; border-radius: 9px; font-size: 12px; white-space: nowrap; }
.mkt-card { background: #fff; border: 1px solid #e5e9ef; border-radius: 16px; box-shadow: 0 5px 18px rgba(16,24,40,.04); padding: 20px; margin-bottom: 16px; }
.mkt-card.flush { padding: 0; overflow: hidden; }
.mkt-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mkt-section-title > span { width: 31px; height: 31px; border-radius: 50%; background: #e9f8f2; color: #07855f; display: grid; place-items: center; font-weight: 900; }
.mkt-section-title h2, .mkt-next-step h2 { margin: 0 0 3px; font-size: 17px; font-weight: 900; }
.mkt-section-title.plain { padding-bottom: 14px; border-bottom: 1px solid #edf0f4; }
.mkt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mkt-field.span-2 { grid-column: 1 / -1; }
.mkt-field label { display: block; color: #344054; font-size: 12px; font-weight: 900; margin-bottom: 6px; }
.mkt-field input, .mkt-field select, .mkt-toolbar input, .mkt-toolbar select { width: 100%; border: 1px solid #d9e0e8; border-radius: 10px; padding: 10px 11px; color: #172033; background: #fff; outline: none; font: inherit; }
.mkt-field input:focus, .mkt-field select:focus, .mkt-toolbar input:focus, .mkt-toolbar select:focus { border-color: #13a477; box-shadow: 0 0 0 3px rgba(19,164,119,.12); }
.mkt-field small, .mkt-table small { display: block; color: #98a2b3; margin-top: 4px; }
.mkt-validation, .validation-message { color: #b42318; font-size: 12px; }
.mkt-alert { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.mkt-alert.ok { color: #087759; background: #ecfdf5; border: 1px solid #a7f3d0; }
.mkt-alert.error { color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; }
.mkt-upload { position: relative; min-height: 100px; border: 1.5px dashed #96d7bf; border-radius: 14px; background: #f5fcf9; display: flex; align-items: center; gap: 14px; padding: 18px; }
.mkt-upload.disabled { opacity: .55; }
.mkt-upload > i { color: #07855f; font-size: 30px; }
.mkt-upload strong, .mkt-upload small { display: block; }
.mkt-upload small { color: #667085; margin-top: 3px; }
.mkt-upload input[type=file] { margin-left: auto; max-width: 360px; }
.mkt-processing, .mkt-table-note { color: #667085; font-size: 13px; margin-top: 12px; }
.mkt-spinner { width: 18px; height: 18px; display: inline-block; border: 2px solid #d0d5dd; border-top-color: #13a477; border-radius: 50%; animation: mkt-spin .7s linear infinite; vertical-align: middle; }
.mkt-spinner.small { width: 14px; height: 14px; border-color: rgba(255,255,255,.45); border-top-color: #fff; }
@keyframes mkt-spin { to { transform: rotate(360deg); } }
.mkt-stats { display: grid; gap: 12px; margin: 14px 0; }
.mkt-stats.two { grid-template-columns: repeat(2, 1fr); }
.mkt-stats.three { grid-template-columns: repeat(3, 1fr); }
.mkt-stats.four { grid-template-columns: repeat(4, 1fr); }
.mkt-stats > div { padding: 15px 17px; border: 1px solid #e5e9ef; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: space-between; }
.mkt-stats span { color: #667085; font-size: 13px; font-weight: 700; }
.mkt-stats strong { font-size: 23px; }
.mkt-stats .good strong { color: #07855f; }
.mkt-stats .bad strong { color: #c2415d; }
.mkt-table-wrap { overflow-x: auto; }
.mkt-table-wrap.preview { border: 1px solid #e5e9ef; border-radius: 12px; margin-top: 14px; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mkt-table th { text-align: left; padding: 12px 15px; background: #f8fafb; color: #667085; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid #e5e9ef; }
.mkt-table td { padding: 14px 15px; border-bottom: 1px solid #edf0f4; vertical-align: top; }
.mkt-table tbody tr:last-child td { border-bottom: 0; }
.mkt-table tbody tr:hover { background: #fbfcfd; }
.mkt-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.mkt-status.valid { background: #dff8ed; color: #087759; }
.mkt-status.invalid { background: #ffe5e9; color: #b4233f; }
.mkt-status.ready { background: #e0f2fe; color: #0369a1; }
.mkt-status.processing { background: #fff5d6; color: #946200; }
.mkt-status.draft { background: #eef1f5; color: #475467; }
.mkt-valid-count { color: #087759; font-weight: 800; }
.mkt-error-count { color: #b42318 !important; }
.mkt-muted { color: #98a2b3; }
.mkt-actions { display: flex; justify-content: flex-end; gap: 10px; }
.mkt-toolbar { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 12px; }
.mkt-toolbar > select { width: 220px; }
.mkt-search { position: relative; flex: 1; max-width: 520px; }
.mkt-search i { position: absolute; left: 12px; top: 11px; color: #98a2b3; }
.mkt-search input { padding-left: 36px; }
.mkt-empty { padding: 46px 20px; text-align: center; color: #667085; }
.mkt-empty > i { display: block; color: #13a477; font-size: 36px; }
.mkt-empty h3 { color: #344054; margin: 8px 0 3px; }
.mkt-empty p { margin: 0; }
.mkt-delivery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mkt-delivery-grid > div { border: 1px solid #e5e9ef; border-radius: 12px; padding: 15px; display: grid; gap: 5px; }
.mkt-delivery-grid i { color: #07855f; font-size: 19px; }
.mkt-delivery-grid span { color: #667085; font-size: 12px; }
.mkt-delivery-grid strong { font-size: 22px; }
.mkt-delivery-grid .bad i, .mkt-delivery-grid .bad strong { color: #c2415d; }
.mkt-next-step { display: flex; align-items: flex-start; gap: 14px; }
.mkt-next-step > i { color: #07855f; font-size: 25px; }
.mkt-next-step p { color: #667085; margin: 0; }
.mkt-modal-backdrop { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; background: rgba(15, 23, 42, .56); backdrop-filter: blur(2px); }
.mkt-modal { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); }
.mkt-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 15px; border-bottom: 1px solid #edf0f4; }
.mkt-modal h2 { margin: 2px 0 0; font-size: 21px; font-weight: 900; }
.mkt-modal > footer { padding: 16px 22px 20px; border-top: 1px solid #edf0f4; }
.mkt-icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #e5e9ef; border-radius: 10px; background: #fff; color: #667085; cursor: pointer; }
.mkt-icon-btn:disabled { opacity: .55; cursor: not-allowed; }
.mkt-confirm-warning { display: flex; align-items: flex-start; gap: 12px; margin: 18px 22px 0; padding: 14px; border: 1px solid #fedf89; border-radius: 12px; color: #854a0e; background: #fffaeb; }
.mkt-confirm-warning i { font-size: 20px; }
.mkt-confirm-warning p { margin: 0; }
.mkt-confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 22px; }
.mkt-confirm-grid > div { padding: 13px 14px; border: 1px solid #e5e9ef; border-radius: 12px; background: #f8fafb; }
.mkt-confirm-grid dt { color: #667085; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.mkt-confirm-grid dd { margin: 4px 0 0; color: #172033; font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 900px) { .mkt-stats.four, .mkt-delivery-grid { grid-template-columns: repeat(2, 1fr); } .mkt-upload { align-items: flex-start; flex-wrap: wrap; } .mkt-upload input[type=file] { width: 100%; max-width: none; margin-left: 44px; } }
@media (max-width: 600px) { .mkt-heading, .mkt-toolbar { align-items: stretch; flex-direction: column; } .mkt-form-grid, .mkt-stats.two, .mkt-stats.three, .mkt-stats.four, .mkt-delivery-grid, .mkt-confirm-grid { grid-template-columns: 1fr; } .mkt-field.span-2 { grid-column: auto; } .mkt-toolbar > select, .mkt-search { width: 100%; max-width: none; } .mkt-actions { flex-direction: column-reverse; } .mkt-actions .mkt-btn { width: 100%; } }
