.marad-app {
  --marad-ink: #101526;
  --marad-muted: #69708a;
  --marad-line: #dfe3ed;
  --marad-soft: #f5f7fb;
  --marad-blue: #2059f4;
  --marad-blue-dark: #1543c6;
  --marad-violet: #7839ee;
  --marad-green: #0a9f71;
  --marad-red: #d64250;
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  margin: 36px auto 64px;
  color: var(--marad-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.marad-app *, .marad-app *::before, .marad-app *::after { box-sizing: border-box; }
.marad-app button, .marad-app input, .marad-app textarea, .marad-app select { font: inherit; }

.marad-app__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  color: #fff;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 78% -25%, rgba(106, 170, 255, .68), transparent 38%),
    linear-gradient(125deg, var(--marad-header-start, #0b163b) 0%, var(--marad-header-end, #5424b8) 100%);
  box-shadow: 0 22px 54px rgba(20, 39, 104, .18);
}

.marad-app__brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.marad-app__logo { display: block; width: auto; max-width: 180px; height: 62px; object-fit: contain; object-position: left center; }
.marad-wallet { display: grid; min-width: 145px; gap: 2px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; background: rgba(7,13,42,.27); backdrop-filter: blur(10px); }
.marad-wallet span { color: rgba(255,255,255,.73); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.marad-wallet strong { color: #fff; font-size: 16px; }

.marad-eyebrow { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; letter-spacing: .18em; opacity: .74; }
.marad-app__header h1 { margin: 0; color: #fff; font-size: clamp(27px, 4vw, 43px); line-height: 1; letter-spacing: -.045em; }
.marad-app__header h1 em { color: #9fc1ff; font-style: normal; font-weight: 500; }
.marad-api-state { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(7,13,42,.28); color: #fff; font-size: 14px; font-weight: 700; backdrop-filter: blur(10px); }
.marad-api-state span { width: 9px; height: 9px; border-radius: 50%; background: #ffbd3e; box-shadow: 0 0 0 4px rgba(255,189,62,.17); }
.marad-api-state.is-ready span { background: #42e8aa; box-shadow: 0 0 0 4px rgba(66,232,170,.17); }

.marad-tabs { display: flex; gap: 6px; padding: 12px 18px 0; border-right: 1px solid var(--marad-line); border-left: 1px solid var(--marad-line); background: #fff; }
.marad-tab { appearance: none; padding: 12px 20px; border: 0; border-radius: 10px 10px 0 0; color: var(--marad-muted); background: transparent; cursor: pointer; font-size: 15px; font-weight: 800; }
.marad-tab:hover { color: var(--marad-blue); background: #f2f5ff; }
.marad-tab.is-active { color: var(--marad-blue); background: var(--marad-soft); }

.marad-panel { display: none; padding: 28px; border: 1px solid var(--marad-line); border-top: 0; border-radius: 0 0 24px 24px; background: var(--marad-soft); box-shadow: 0 22px 54px rgba(20, 39, 104, .12); }
.marad-panel.is-active { display: block; }
.marad-workspace { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .72fr); gap: 22px; align-items: start; }
.marad-composer, .marad-controls { padding: 26px; border: 1px solid var(--marad-line); border-radius: 18px; background: #fff; }
.marad-controls { position: sticky; top: 24px; }

.marad-section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.marad-section-heading > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--marad-blue); background: #e9efff; font-size: 13px; font-weight: 900; }
.marad-section-heading h2, .marad-history-header h2, .marad-live-jobs__heading h2 { margin: 0; color: var(--marad-ink); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.marad-section-heading p, .marad-history-header p { margin: 4px 0 0; color: var(--marad-muted); font-size: 14px; }
.marad-section-heading--prompt { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--marad-line); }

.marad-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.marad-dropzone { display: flex; min-height: 112px; flex-direction: column; align-items: center; justify-content: center; padding: 16px; border: 1.5px dashed #b7c2da; border-radius: 14px; color: var(--marad-muted); background: #fafbfe; text-align: center; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.marad-dropzone:hover { border-color: var(--marad-blue); background: #f1f5ff; transform: translateY(-2px); }
.marad-dropzone::before { content: "+"; display: grid; width: 30px; height: 30px; margin-bottom: 8px; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--marad-blue), var(--marad-violet)); font-size: 22px; font-weight: 500; line-height: 1; }
.marad-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.marad-dropzone strong { color: var(--marad-ink); font-size: 15px; }
.marad-dropzone small { margin-top: 2px; font-size: 12px; }

.marad-file-list { display: grid; gap: 8px; margin-top: 12px; }
.marad-file { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--marad-line); border-radius: 10px; background: #fff; font-size: 13px; }
.marad-file__type { padding: 4px 6px; border-radius: 6px; color: var(--marad-blue); background: #edf2ff; font-size: 10px; font-weight: 900; }
.marad-file__name { overflow: hidden; color: var(--marad-ink); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.marad-file__status { color: var(--marad-green); font-weight: 700; }
.marad-file.is-uploading .marad-file__status { color: var(--marad-blue); }
.marad-file button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: var(--marad-muted); background: transparent; cursor: pointer; font-size: 19px; }
.marad-file button:hover { color: var(--marad-red); background: #fff0f2; }

.marad-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.marad-presets button { padding: 8px 11px; border: 1px solid #d6dff2; border-radius: 999px; color: #34405d; background: #f8faff; cursor: pointer; font-size: 13px; font-weight: 700; }
.marad-presets button:hover { border-color: var(--marad-blue); color: var(--marad-blue); background: #edf2ff; }

.marad-field { display: grid; gap: 8px; margin-bottom: 19px; }
.marad-field > span { color: #30374c; font-size: 14px; font-weight: 800; }
.marad-field > span small { color: var(--marad-muted); font-weight: 500; }
.marad-field input, .marad-field textarea, .marad-field select { width: 100%; min-height: 45px; margin: 0; padding: 10px 12px; border: 1px solid #cbd3e3; border-radius: 10px; color: var(--marad-ink); background: #fff; outline: none; }
.marad-field textarea { min-height: 190px; resize: vertical; line-height: 1.55; }
.marad-field input:focus, .marad-field textarea:focus, .marad-field select:focus { border-color: var(--marad-blue); box-shadow: 0 0 0 3px rgba(32,89,244,.12); }
.marad-field--prompt { position: relative; margin-bottom: 0; }
.marad-field--prompt > small { position: absolute; right: 10px; bottom: 9px; padding: 3px 7px; border-radius: 6px; color: var(--marad-muted); background: rgba(255,255,255,.9); font-size: 11px; }
.marad-range-row { display: grid; grid-template-columns: minmax(0,1fr) 52px; align-items: center; gap: 10px; }
.marad-range-row input { min-height: 28px; padding: 0; border: 0; box-shadow: none; accent-color: var(--marad-blue); }
.marad-range-row output { padding: 7px 8px; border-radius: 8px; color: var(--marad-blue); background: #edf2ff; text-align: center; font-size: 14px; font-weight: 900; }

.marad-switch { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #30374c; cursor: pointer; font-size: 14px; }
.marad-switch input { position: absolute; opacity: 0; pointer-events: none; }
.marad-switch span { position: relative; flex: 0 0 42px; width: 42px; height: 24px; border-radius: 999px; background: #cbd2e0; transition: background .18s; }
.marad-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .18s; }
.marad-switch input:checked + span { background: var(--marad-blue); }
.marad-switch input:checked + span::after { transform: translateX(18px); }
.marad-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(32,89,244,.18); }

.marad-continuation-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 12px; border: 1px solid #b8d8cd; border-radius: 10px; color: #087652; background: #edfaf5; font-size: 13px; font-weight: 700; }
.marad-continuation-chip[hidden] { display: none; }
.marad-continuation-chip button { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; color: #087652; background: transparent; cursor: pointer; font-size: 20px; }

.marad-generate-button { display: flex; width: 100%; min-height: 62px; margin-top: 24px; flex-direction: column; align-items: center; justify-content: center; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--marad-blue), var(--marad-violet)); box-shadow: 0 12px 28px rgba(41,74,220,.28); cursor: pointer; transition: transform .18s, box-shadow .18s, opacity .18s; }
.marad-generate-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 15px 34px rgba(41,74,220,.34); }
.marad-generate-button:disabled { opacity: .56; cursor: not-allowed; }
.marad-generate-button span { font-size: 17px; font-weight: 900; }
.marad-generate-button small { margin-top: 2px; font-size: 12px; opacity: .75; }
.marad-generate-button.is-loading span::after { content: "…"; }
.marad-generate-button.has-insufficient-balance { background: linear-gradient(135deg, #667085, #344054); box-shadow: none; }
.marad-config-link { display: block; margin-top: 12px; color: var(--marad-blue); text-align: center; font-size: 13px; font-weight: 800; }

.marad-content-policy { margin-top: 15px; padding: 12px 14px; border: 1px solid #f0cf86; border-radius: 11px; color: #6c4b00; background: #fff9ea; font-size: 13px; }
.marad-content-policy strong { display: block; margin-bottom: 2px; }
.marad-legal-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; padding: 12px; border: 1px solid #d7dce8; border-radius: 11px; color: #424a60; background: #f8f9fc; cursor: pointer; font-size: 12px; line-height: 1.4; }
.marad-legal-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--marad-blue); }
.marad-cost-box { display: grid; gap: 2px; margin-top: 16px; padding: 15px; border: 1px solid #cdd8f4; border-radius: 12px; background: #f2f6ff; }
.marad-cost-box > span { color: #58637b; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.marad-cost-box strong { color: var(--marad-blue); font-size: 22px; line-height: 1.2; }
.marad-cost-box small { color: #69708a; font-size: 11px; }

.marad-live-jobs { display: grid; gap: 14px; margin-top: 24px; }
.marad-live-jobs__heading { margin-top: 8px; }
.marad-job { padding: 18px; border: 1px solid var(--marad-line); border-radius: 16px; background: #fff; }
.marad-job__top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.marad-job__top h3 { margin: 8px 0 0; color: var(--marad-ink); font-size: 16px; }
.marad-job__summary { display: grid; max-width: 240px; justify-items: end; gap: 4px; }
.marad-job__summary small { max-width: 230px; overflow: hidden; color: var(--marad-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.marad-job__credits { color: var(--marad-blue); font-size: 12px; font-weight: 900; }
.marad-job__status { display: inline-flex; align-items: center; gap: 7px; color: var(--marad-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.marad-job__status i { width: 8px; height: 8px; border-radius: 50%; background: #98a0b4; }
.marad-job__status.is-running, .marad-job__status.is-queued { color: var(--marad-blue); }
.marad-job__status.is-running i, .marad-job__status.is-queued i { background: var(--marad-blue); }
.marad-job__status.is-succeeded { color: var(--marad-green); }
.marad-job__status.is-succeeded i { background: var(--marad-green); }
.marad-job__status.is-failed { color: var(--marad-red); }
.marad-job__status.is-failed i { background: var(--marad-red); }
.marad-progress { height: 6px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: #e7ebf4; }
.marad-progress span { display: block; width: 38%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--marad-blue), #a954ee); animation: marad-progress 1.4s ease-in-out infinite alternate; }
@keyframes marad-progress { from { transform: translateX(-35%); } to { transform: translateX(190%); } }
.marad-job video { width: 100%; max-height: 520px; margin-top: 16px; border-radius: 12px; background: #090b13; }
.marad-job__actions, .marad-history-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.marad-job__actions a, .marad-job__actions button, .marad-history-card__actions a, .marad-history-card__actions button { padding: 8px 11px; border: 1px solid #cdd5e5; border-radius: 9px; color: #2d3a58; background: #fff; cursor: pointer; font-size: 12px; font-weight: 800; text-decoration: none; }
.marad-job__actions a:hover, .marad-job__actions button:hover, .marad-history-card__actions a:hover, .marad-history-card__actions button:hover { border-color: var(--marad-blue); color: var(--marad-blue); }
.marad-saved { align-self: center; color: var(--marad-green); font-size: 12px; font-weight: 800; }
.marad-job__error { margin: 12px 0 0; color: var(--marad-red); font-size: 13px; }

.marad-history-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.marad-history-header button { padding: 9px 13px; border: 1px solid #ccd4e5; border-radius: 9px; color: var(--marad-blue); background: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
.marad-history { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.marad-history-card { overflow: hidden; border: 1px solid var(--marad-line); border-radius: 16px; background: #fff; }
.marad-history-card video { display: block; width: 100%; aspect-ratio: 16/9; background: #090b13; object-fit: contain; }
.marad-history-card__empty { display: grid; min-height: 190px; place-content: center; color: var(--marad-muted); background: #e9edf5; text-align: center; }
.marad-history-card__empty span { font-size: 32px; }
.marad-history-card__empty p { margin: 4px 0 0; font-size: 13px; }
.marad-history-card__body { padding: 16px; }
.marad-history-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--marad-muted); font-size: 11px; }
.marad-history-card__meta span { font-weight: 900; text-transform: uppercase; }
.marad-history-card__meta span.is-succeeded { color: var(--marad-green); }
.marad-history-card__meta span.is-failed { color: var(--marad-red); }
.marad-history-card__meta span.is-running, .marad-history-card__meta span.is-queued { color: var(--marad-blue); }
.marad-history-card h3 { margin: 10px 0 6px; color: var(--marad-ink); font-size: 16px; }
.marad-history-card__body > p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--marad-muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.marad-history-card__actions .is-danger { color: var(--marad-red); }

.marad-loading-state, .marad-empty-state { grid-column: 1/-1; display: grid; min-height: 230px; place-content: center; color: var(--marad-muted); text-align: center; }
.marad-loading-state { display: flex; align-items: center; justify-content: center; gap: 10px; }
.marad-loading-state span { width: 20px; height: 20px; border: 2px solid #d6dbea; border-top-color: var(--marad-blue); border-radius: 50%; animation: marad-spin .7s linear infinite; }
@keyframes marad-spin { to { transform: rotate(360deg); } }
.marad-empty-state strong { color: var(--marad-ink); font-size: 18px; }
.marad-empty-state p { margin: 5px 0 0; font-size: 14px; }

.marad-toast { position: fixed; z-index: 99999; right: 24px; bottom: 24px; max-width: min(380px, calc(100vw - 48px)); padding: 13px 16px; border-radius: 11px; color: #fff; background: #20283c; box-shadow: 0 16px 40px rgba(0,0,0,.23); opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity .2s, transform .2s; font-size: 14px; font-weight: 700; }
.marad-toast.is-visible { opacity: 1; transform: translateY(0); }
.marad-toast.is-success { background: #087652; }
.marad-toast.is-error { background: #ae2d3a; }
.marad-toast.is-warning { background: #875900; }

.marad-login-card { max-width: 520px; margin: 70px auto; padding: 38px; border: 1px solid #dfe3ed; border-radius: 20px; background: #fff; box-shadow: 0 20px 55px rgba(20,39,104,.12); text-align: center; }
.marad-login-card h2 { margin: 0; color: #101526; font-size: 27px; }
.marad-login-card p { margin: 10px 0 22px; color: #69708a; }
.marad-login-button { display: inline-block; padding: 11px 18px; border-radius: 10px; color: #fff !important; background: #2059f4; font-weight: 800; text-decoration: none !important; }
.marad-login-logo { display: block; width: auto; max-width: 220px; height: 75px; margin: 0 auto 20px; object-fit: contain; }
.marad-login-secondary { display: block; margin-top: 14px; color: var(--marad-blue); font-size: 14px; font-weight: 800; text-decoration: none; }

.marad-public, .marad-plans {
  --marad-ink: #101526;
  --marad-muted: #69708a;
  width: min(1180px, calc(100vw - 32px));
  margin: 36px auto 64px;
  color: var(--marad-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.marad-public *, .marad-plans * { box-sizing: border-box; }
.marad-public__hero { padding: clamp(45px, 8vw, 92px) clamp(24px, 7vw, 82px); border-radius: 28px; color: #fff; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.22), transparent 32%), linear-gradient(125deg, var(--marad-header-start, #0b163b), var(--marad-header-end, #5424b8)); box-shadow: 0 24px 60px rgba(19,39,99,.2); }
.marad-public__logo { display: block; width: auto; max-width: 230px; height: 80px; margin-bottom: 27px; object-fit: contain; object-position: left center; }
.marad-public__hero > span, .marad-plans__heading > span { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 900; letter-spacing: .17em; opacity: .78; }
.marad-public__hero h1 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(38px, 7vw, 72px); line-height: .98; letter-spacing: -.055em; }
.marad-public__hero p { max-width: 650px; margin: 20px 0 28px; color: rgba(255,255,255,.84); font-size: clamp(17px, 2.5vw, 23px); }
.marad-public__hero div { display: flex; flex-wrap: wrap; gap: 11px; }
.marad-public__hero a { display: inline-block; padding: 13px 19px; border: 1px solid rgba(255,255,255,.7); border-radius: 11px; font-weight: 900; text-decoration: none !important; }
.marad-public__primary { color: var(--marad-blue) !important; background: #fff; }
.marad-public__secondary { color: #fff !important; background: rgba(255,255,255,.1); }
.marad-public__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 22px; }
.marad-public__features article { padding: 27px; border: 1px solid #e0e4ed; border-radius: 17px; background: #fff; box-shadow: 0 14px 38px rgba(20,39,104,.07); }
.marad-public__features article > strong { color: var(--marad-blue); font-size: 12px; }
.marad-public__features h2 { margin: 12px 0 7px; color: var(--marad-ink); font-size: 20px; }
.marad-public__features p { margin: 0; color: var(--marad-muted); font-size: 14px; }
.marad-public__notice { margin-top: 18px; padding: 18px 22px; border: 1px solid #f0cf86; border-radius: 14px; color: #6c4b00; background: #fff9ea; }
.marad-public__notice p { margin: 3px 0 0; }

.marad-plans__heading { margin-bottom: 27px; text-align: center; }
.marad-plans__heading > span { color: var(--marad-blue); }
.marad-plans__heading h1 { margin: 0; color: var(--marad-ink); font-size: clamp(34px, 5vw, 52px); letter-spacing: -.045em; }
.marad-plans__heading p { margin: 9px 0 0; color: var(--marad-muted); }
.marad-plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.marad-plans__grid article { display: flex; min-height: 285px; flex-direction: column; padding: 27px; border: 1px solid #dfe3ed; border-radius: 18px; background: #fff; box-shadow: 0 16px 42px rgba(20,39,104,.08); }
.marad-plans__grid article > span { color: var(--marad-blue); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.marad-plans__grid h2 { margin: 13px 0 7px; color: var(--marad-ink); font-size: 22px; }
.marad-plans__grid article > strong { color: #34405d; font-size: 16px; }
.marad-plans__price { margin: 24px 0 17px; color: var(--marad-ink); font-size: 26px; font-weight: 900; }
.marad-plans__grid article > a { display: block; margin-top: auto; padding: 12px 15px; border-radius: 10px; color: #fff !important; background: var(--marad-blue); text-align: center; font-weight: 900; text-decoration: none !important; }
.marad-plans__empty { grid-column: 1/-1; padding: 48px 25px; border: 1px dashed #cbd3e3; border-radius: 17px; color: var(--marad-muted); background: #fafbfe; text-align: center; }
.marad-plans__empty strong { color: var(--marad-ink); font-size: 19px; }
.marad-plans__empty p { margin: 5px 0 0; }
.marad-balance-widget { display: inline-grid; min-width: 170px; gap: 2px; padding: 10px 14px; border: 1px solid #dce2f0; border-radius: 11px; background: #f6f8fd; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.marad-balance-widget span { color: #69708a; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.marad-balance-widget strong { color: var(--marad-blue, #2059f4); font-size: 16px; }
.marad-account-box { margin-top: 24px; padding: 22px; border: 1px solid #dce2f0; border-radius: 14px; background: #f7f9fd; }
.marad-account-box h2 { margin: 0 0 8px; color: #101526; }
.marad-account-box p { margin: 8px 0 0; }
.marad-account-box .button { margin: 4px 7px 0 0; }

@media (max-width: 860px) {
  .marad-workspace { grid-template-columns: 1fr; }
  .marad-controls { position: static; }
  .marad-history { grid-template-columns: 1fr; }
  .marad-public__features { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .marad-app { width: min(100% - 20px, 1180px); margin-top: 18px; }
  .marad-app__header { align-items: flex-start; flex-direction: column; padding: 24px 20px; border-radius: 18px 18px 0 0; }
  .marad-app__brand { align-items: flex-start; flex-direction: column; }
  .marad-app__logo { max-width: 145px; height: 52px; }
  .marad-wallet { width: 100%; }
  .marad-panel { padding: 12px; border-radius: 0 0 18px 18px; }
  .marad-composer, .marad-controls { padding: 18px; border-radius: 14px; }
  .marad-upload-grid { grid-template-columns: 1fr; }
  .marad-dropzone { min-height: 86px; }
  .marad-history-header { align-items: flex-start; flex-direction: column; }
  .marad-job__top { flex-direction: column; }
  .marad-job__summary { max-width: 100%; justify-items: start; }
  .marad-file { grid-template-columns: auto minmax(0,1fr) auto; }
  .marad-file__status { display: none; }
  .marad-public, .marad-plans { width: calc(100% - 20px); margin-top: 18px; }
  .marad-public__hero { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .marad-app *, .marad-app *::before, .marad-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
