:root {
    color-scheme: light;
    --bg: #f3f6f2;
    --surface: #ffffff;
    --ink: #17211f;
    --muted: #66736f;
    --line: #d9e3dd;
    --brand: #143d3a;
    --brand-2: #1d6f63;
    --lime: #b9e769;
    --amber: #f2a93b;
    --red: #d4493f;
    --shadow: 0 16px 34px rgba(20, 61, 58, .12);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(185, 231, 105, .18), transparent 360px),
        var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

a {
    color: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
    padding: 12px clamp(16px, 4vw, 42px);
    border-bottom: 1px solid rgba(217, 227, 221, .85);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand span,
.lock-logo {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand);
    color: var(--lime);
    font-weight: 950;
}

.topbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.topbar nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.topbar nav .danger-link {
    border-color: #f1c3bf;
    color: var(--red);
}

.app-shell {
    width: min(1420px, 100%);
    margin: 0 auto;
    padding: 24px;
}

.lock-body {
    display: grid;
    place-items: center;
    padding: 20px;
}

.lock-panel,
.form-card,
.customer-panel {
    width: min(520px, 100%);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.lock-panel {
    display: grid;
    gap: 14px;
    text-align: center;
}

.lock-panel .lock-logo {
    margin: 0 auto;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.02;
}

h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.15;
}

h3 {
    margin-bottom: 5px;
    font-size: 19px;
    line-height: 1.2;
}

.eyebrow {
    margin-bottom: 7px;
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero,
.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #c9ddd3;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7fff0, #ffffff 62%);
    box-shadow: var(--shadow);
}

.hero p,
.dashboard-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-card,
.metric-grid article,
.panel,
.order-card,
.feature-grid article,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-card {
    display: grid;
    align-content: center;
    gap: 9px;
    padding: 22px;
}

.hero-card strong {
    color: var(--brand);
    font-size: 24px;
}

.hero-card span {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f2f8ee;
    color: #36534c;
    font-weight: 850;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 850;
    line-height: 1.18;
    cursor: pointer;
}

.btn-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.primary-action .btn-icon {
    width: 20px;
    height: 20px;
}

.primary-action {
    background: var(--brand);
    color: #fff;
}

.secondary-action {
    border-color: var(--line);
    background: #fff;
    color: var(--brand);
}

.money-action {
    border-color: #b7dfaa;
    background: #edf7df;
    color: #2d5f24;
}

.feature-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.feature-grid {
    margin-bottom: 18px;
}

.quick-start {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.quick-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid #c9ddd3;
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow);
}

.quick-card span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 950;
}

.quick-card strong {
    display: block;
    color: var(--brand);
    font-size: 17px;
}

.quick-card small {
    grid-column: 2;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.35;
}

.cash-panel {
    margin-bottom: 18px;
}

.cash-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.cash-grid article {
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #fbfdfb;
}

.cash-grid span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.cash-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--brand);
    font-size: 22px;
    line-height: 1.05;
}

.cash-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.cash-actions span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.rider-summary-panel {
    margin-bottom: 18px;
}

.rider-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rider-summary-grid article {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #fbfdfb;
}

.rider-summary-grid strong {
    color: var(--brand);
}

.rider-summary-grid span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.feature-grid article,
.metric-grid article {
    min-width: 0;
    padding: 18px;
}

.feature-grid strong,
.metric-grid span,
.metric-grid strong {
    display: block;
}

.feature-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.metric-grid strong {
    margin-top: 7px;
    color: var(--brand);
    font-size: 34px;
    line-height: 1;
}

.dashboard-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
}

.rider-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
}

.owner-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1.15fr) repeat(3, minmax(240px, .55fr));
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
}

.panel {
    min-width: 0;
    padding: 18px;
}

.collapsible-panel,
.collapsible-list {
    overflow: hidden;
}

.collapsible-panel {
    padding: 0;
}

.collapsible-list {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: var(--brand);
    cursor: pointer;
    list-style: none;
}

.section-summary::-webkit-details-marker {
    display: none;
}

.section-summary::after {
    content: "+";
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #edf7df;
    color: var(--brand);
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
}

details[open] > .section-summary::after {
    content: "-";
}

.section-summary > span:first-child,
.section-summary h2 {
    margin: 0;
    color: var(--brand);
    font-size: 20px;
    font-weight: 950;
}

.section-summary small {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.35;
}

.section-summary.panel-title-row {
    margin-bottom: 0;
}

.collapsible-body {
    padding: 0 18px 18px;
}

.list-body {
    padding-top: 0;
}

#nuevo-pedido,
#pedidos {
    scroll-margin-top: 92px;
}

.panel-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.panel-title-row h2 {
    margin-bottom: 4px;
}

.panel-title-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.panel-title-row > span {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf7df;
    color: #385f26;
    font-size: 12px;
    font-weight: 950;
}

.stack-form {
    display: grid;
    gap: 12px;
}

.simple-order-form {
    gap: 10px;
}

.form-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid #dce7de;
    border-radius: 10px;
    background: #fbfdfb;
}

.form-step > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--brand-2);
    color: #fff;
    font-weight: 950;
}

.form-step-body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.form-step-body > strong {
    color: var(--brand);
    font-size: 16px;
}

.form-step-body small {
    color: var(--muted);
    font-weight: 750;
}

.advanced-options {
    border: 1px solid #dce7de;
    border-radius: 10px;
    background: #f7faf7;
}

.advanced-options summary {
    min-height: 44px;
    padding: 12px;
    color: var(--brand);
    font-weight: 950;
    cursor: pointer;
}

.advanced-grid {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
}

.big-submit {
    min-height: 52px;
    font-size: 16px;
}

.compact-form {
    gap: 9px;
}

.verify-card {
    margin: 0 auto;
}

.verify-form,
.resend-form {
    display: grid;
    gap: 12px;
}

.resend-form {
    margin-top: 12px;
}

.code-input {
    min-height: 62px;
    text-align: center;
    color: var(--brand);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: 8px;
}

label {
    display: grid;
    gap: 6px;
    color: #3c4c48;
    font-size: 13px;
    font-weight: 850;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cfdcd5;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

textarea {
    resize: vertical;
    line-height: 1.4;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.three-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.filters-panel {
    margin-bottom: 18px;
}

.filters-form {
    display: grid;
    grid-template-columns: minmax(140px, .6fr) minmax(150px, .7fr) minmax(150px, .7fr) minmax(150px, .8fr) minmax(140px, .7fr) minmax(220px, 1.2fr) auto;
    gap: 10px;
    align-items: end;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mini-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbf8;
}

.mini-list span,
.muted {
    color: var(--muted);
    font-size: 13px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-list span,
.quick-fill {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: #edf7df;
    color: #385f26;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.quick-pick-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.quick-pick-list .quick-fill {
    background: #f2f8ee;
}

.customer-list > div {
    grid-template-columns: minmax(0, 1fr);
}

.mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-actions form {
    margin: 0;
}

.orders-section {
    margin-top: 18px;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.collapsible-list > .section-title {
    margin-bottom: 0;
}

.section-title span {
    color: var(--muted);
    font-weight: 800;
}

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

.rider-orders {
    grid-template-columns: 1fr;
}

.order-card {
    min-width: 0;
    padding: 16px;
    border-left: 6px solid var(--amber);
}

.status-delivered {
    border-left-color: var(--brand-2);
}

.status-on_route,
.status-picked_up {
    border-left-color: var(--lime);
}

.status-failed,
.status-cancelled {
    border-left-color: var(--red);
}

.priority-urgent {
    box-shadow: 0 16px 34px rgba(212, 73, 63, .14);
}

.is-overdue {
    border-color: #f1bbb5;
    background: #fffafa;
}

.order-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.order-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
}

.order-meta {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 4px;
    min-width: 120px;
}

.order-meta span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.order-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}

.status-badge,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #edf7df;
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
}

.pill {
    background: #f2f6f4;
    color: #40534e;
}

.urgent-pill {
    background: #fff0df;
    color: #9b5604;
}

.overdue-pill {
    background: #ffe9e6;
    color: #a7362d;
}

.payment-paid,
.payment-transferred {
    background: #e8f8e2;
    color: #315c28;
}

.payment-unpaid {
    background: #fff3d9;
    color: #835909;
}

.payment-partial {
    background: #eef0ff;
    color: #39438a;
}

.money-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f1f8ed;
}

.money-strip strong {
    color: var(--brand);
    font-size: 22px;
    line-height: 1;
}

.money-strip span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.item-list {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.item-list span,
.item-list small {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f5f8f6;
    color: #33413e;
    font-weight: 800;
}

.item-list small {
    color: var(--muted);
    font-weight: 700;
}

.order-actions,
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tiny-form {
    display: inline-flex;
    margin: 0;
}

.route-panel {
    margin-top: 16px;
}

.route-panel h2 {
    margin-bottom: 4px;
}

.route-panel p {
    margin: 0;
    color: var(--muted);
    font-weight: 750;
}

.route-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .32);
}

.filters-panel .route-toolbar {
    border-top-color: var(--line);
}

.route-toolbar.compact {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: 0;
}

.route-toolbar span {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 800;
}

.route-panel .route-toolbar span {
    color: var(--muted);
}

.filters-panel .route-toolbar span {
    color: var(--muted);
}

.quick-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.quick-status form {
    margin: 0;
}

.quick-action {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: #edf4ef;
    color: var(--brand);
    font-weight: 950;
    cursor: pointer;
}

.quick-success {
    background: var(--brand-2);
    color: #fff;
}

.street-tools {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #f7faf7;
}

.street-message-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.change-tool {
    display: grid;
    grid-template-columns: auto minmax(140px, 1fr) auto;
    gap: 8px;
    align-items: end;
}

.change-tool strong {
    color: var(--brand);
}

.change-tool span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    background: #edf7df;
    color: #2d5f24;
    font-weight: 950;
}

.inline-form {
    margin-top: 10px;
}

.inline-form input,
.inline-form select {
    flex: 1 1 180px;
}

.management-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: end;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #f7faf7;
}

.messages-box {
    margin-top: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdfb;
}

.messages-box summary {
    color: var(--brand);
    font-weight: 950;
    cursor: pointer;
}

.message-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.message-list > div {
    padding: 10px;
    border-radius: 8px;
    background: #eef5ed;
}

.message-list strong,
.message-list span,
.message-list small {
    display: block;
}

.message-list span {
    margin: 4px 0;
    color: #33413e;
}

.message-list small {
    color: var(--muted);
    font-size: 12px;
}

.proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #fff7e6;
    color: #74500a;
}

.proof-strip a {
    font-weight: 950;
}

.delivery-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #dce7de;
    border-radius: 8px;
    background: #f7faf7;
}

.delivery-form .primary-action,
.signature-box {
    grid-column: 1 / -1;
}

.signature-box {
    display: grid;
    gap: 8px;
}

.signature-pad {
    width: 100%;
    height: 160px;
    border: 1px dashed #9ab1a6;
    border-radius: 8px;
    background: #fff;
    touch-action: none;
}

.alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 850;
}

.alert.success {
    border: 1px solid #acd7a0;
    background: #eef9e8;
    color: #315c28;
}

.alert.warning {
    border: 1px solid #efb5ae;
    background: #fff1ef;
    color: #92342e;
}

.empty-state {
    padding: 24px;
    color: var(--muted);
    font-weight: 850;
}

.customer-panel {
    width: min(720px, 100%);
    margin: 0 auto;
}

.customer-summary {
    display: grid;
    gap: 8px;
    margin: 14px 0;
}

.customer-summary span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f8f6;
    color: var(--muted);
    font-weight: 850;
}

.quick-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 60;
    transform: translateX(-50%);
    padding: 11px 14px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
    .owner-grid,
    .dashboard-hero,
    .hero,
    .filters-form {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .metric-grid,
    .cash-grid,
    .rider-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-start {
        grid-template-columns: 1fr;
    }

    .order-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .topbar nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

    .topbar nav a {
        justify-content: center;
    }

    .app-shell {
        padding: 14px;
    }

    .hero,
    .dashboard-hero,
    .panel,
    .order-card {
        padding: 14px;
    }

    .feature-grid,
    .metric-grid,
    .cash-grid,
    .rider-summary-grid,
    .street-message-grid,
    .change-tool,
    .two-cols,
    .three-cols,
    .delivery-form {
        grid-template-columns: 1fr;
    }

    .route-panel,
    .route-toolbar.compact {
        align-items: stretch;
        flex-direction: column;
    }

    .route-toolbar .primary-action,
    .route-toolbar .secondary-action,
    .quick-message-actions .secondary-action {
        justify-content: center;
        width: 100%;
    }

    .management-form {
        grid-template-columns: 1fr;
    }

    .panel-title-row {
        flex-direction: column;
    }

    .form-step {
        grid-template-columns: 1fr;
    }

    .form-step > span {
        width: 38px;
        height: 38px;
    }

    .order-head,
    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-meta {
        justify-items: start;
    }
}
