/* Design tokens mirror the "solarpunk_light_mode_panel" / "solarpunk_dark_mode_panel"
   frames in Figma (Feniks UI). Every surface colour flows through a token so the
   dark theme is a variable swap rather than a parallel stylesheet. */
:root {
    /* Both schemes are declared so Chrome's Auto Dark Theme leaves the panel
       alone; the dark palette below is applied from `prefers-color-scheme`. */
    color-scheme: light dark;

    --green: #7ed672;
    --green-dark: #5fbd55;
    --green-soft: #e3fadc;
    --green-line: #acea9e;
    --green-line-strong: #9bf47d;
    --yellow: #ffc85c;
    --yellow-soft: #fff3d4;
    --yellow-deep: #d4a13f;
    --blue-soft: #dcf0fa;
    --blue-line: #7dcef4;

    --canvas: #fff8ec;
    --surface: #fffcf7;
    --surface-raised: #fff;
    --surface-sunken: #f3eee4;
    --nav-bg: rgba(255, 248, 236, .92);
    --footer-bg: rgba(255, 255, 255, .65);

    --text: #272727;
    --text-strong: #1f1f1f;
    --muted: #3c3c3c;
    --on-accent: #1f1f1f;
    --link: #136c43;

    --line: #ffe08c;
    --line-soft: rgba(60, 60, 60, .16);
    --field-line: #d4a13f;

    --success: #18794e;
    --success-soft: #e3fadc;
    --success-line: #9bf47d;
    --warning-text: #8a5600;
    --warning-soft: #fff3d4;
    --warning-line: #ffc85c;
    --danger-text: #7f1d1d;
    --danger-soft: #fff1f2;
    --danger-line: #fecaca;

    --segment-active-text: #1f1f1f;

    --shadow: 0 4px 8px rgba(34, 37, 40, .16);
    --shadow-lg: 0 8px 16px rgba(34, 37, 40, .22);
    --glow: 0 0 40px 4px rgba(172, 234, 158, .24);
    --radius: 16px;
    --radius-lg: 24px;
}

/* Dark tokens come from the "solarpunk_dark_mode_panel" frame: #222528 canvas,
   #2D3035 cards, #FFC85C accents kept identical across themes. Driven by the
   OS/browser preference — the panel ships no manual switcher. */
@media (prefers-color-scheme: dark) {
    :root {
        --green-soft: #31432f;
        --green-line: #9bf47d;
        --yellow-soft: #4a3d21;
        --blue-soft: #2c3c45;

        --canvas: #222528;
        --surface: #2d3035;
        --surface-raised: #2d3035;
        --surface-sunken: #34383e;
        --nav-bg: rgba(34, 37, 40, .92);
        --footer-bg: rgba(45, 48, 53, .65);

        --text: #d9d9d9;
        --text-strong: #f1f1f1;
        --muted: #b8b8b8;
        --link: #9bf47d;

        --line: #635332;
        --line-soft: rgba(217, 217, 217, .16);
        --field-line: #635332;

        --success: #9bf47d;
        --success-soft: #31432f;
        --success-line: #9bf47d;
        --warning-text: #ffd98a;
        --warning-soft: #4a3d21;
        --warning-line: #d4a13f;
        --danger-text: #ffb4b4;
        --danger-soft: #3a2828;
        --danger-line: #7f3b3b;

        --segment-active-text: #fff3d4;

        --shadow: 0 4px 8px rgba(0, 0, 0, .4);
        --shadow-lg: 0 8px 16px rgba(0, 0, 0, .48);
        --glow: 0 0 40px 4px rgba(155, 244, 125, .18);
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: var(--canvas);
    font-family: Poppins, system-ui, sans-serif;
    line-height: 1.55;
}
/* Keeps the footer at the bottom on short pages such as login. */
main.container { flex: 1 0 auto; }
.site-footer { flex: none; }
button, input, select { font: inherit; }
a { color: inherit; }
form { margin: 0; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
}
.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; text-decoration: none; }
.brand picture, .logo picture { display: block; }
/* Dark surfaces get a dedicated logo export with light lettering, so the cream
   plate that used to sit behind the dark-lettered logo is gone. */
.brand img { display: block; width: auto; height: 48px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > a {
    padding: 10px 13px;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.nav-links > a:hover,
.nav-links > a.active { color: var(--text); border-color: var(--yellow); background: var(--yellow-soft); }

main.container { padding-bottom: 64px; }
.page-header { padding: 42px 0 24px; }
.dashboard-header { padding: 28px 0 12px; }
.dashboard-header .eyebrow { margin: 0; }
.eyebrow {
    margin: 0 0 8px;
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.page-title {
    max-width: 22ch;
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -.01em;
}
.page-lead { max-width: 680px; margin: 12px 0 0; color: var(--muted); font-size: 18px; }

.notice {
    display: flex;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 2px solid var(--green-line-strong);
    border-radius: 12px;
    background: var(--green-soft);
}
.notice.warning { border-color: var(--warning-line); background: var(--warning-soft); }
.notice-dot { width: 10px; height: 10px; margin-top: 7px; flex: none; border-radius: 50%; background: var(--green-dark); }
.notice.warning .notice-dot { background: var(--yellow-deep); }

.layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .72fr); gap: 32px; align-items: start; }
.layout > *, .stack, .card { min-width: 0; }
.stack > * + * { margin-top: 32px; }
.device-link-qr-card { max-width: 100%; overflow: hidden; text-align: center; }
.device-link-qr-card .card-header,
.device-link-qr-card .item-copy { text-align: left; }
.device-link-qr-canvas {
    display: block;
    width: min(100%, 240px);
    height: auto;
    margin: 18px auto;
    border-radius: 12px;
    background: #fff;
    image-rendering: pixelated;
}

.card {
    padding: clamp(20px, 2.5vw, 32px);
    border: 2px solid var(--yellow);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.card.highlight { border-color: var(--green); box-shadow: var(--glow); }
.card-header { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.card-title { margin: 0; color: var(--text); font-size: 24px; font-weight: 700; line-height: 1.33; letter-spacing: -.01em; }
.card-copy { margin: 6px 0 0; color: var(--muted); font-size: 16px; }

.activation {
    position: relative;
    overflow: hidden;
}
.activation::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: var(--yellow-soft);
}
.activation-content { position: relative; z-index: 1; }
.activation h2 { max-width: 20ch; margin: 0; color: var(--text); font-size: clamp(25px, 3.5vw, 32px); line-height: 1.25; letter-spacing: -.01em; }
.activation p { max-width: 62ch; margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.benefits { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.pill,
.badge { display: inline-flex; align-items: center; border-radius: 12px; font-weight: 600; }
.pill { padding: 12px; border: 2px solid var(--blue-line); background: var(--blue-soft); color: var(--text); font-size: 16px; }
.badge { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--success); background: var(--success-soft); }
.badge.warning { color: var(--warning-text); background: var(--warning-soft); }
.badge.danger { color: var(--danger-text); background: var(--danger-soft); }
.badge.info { color: var(--muted); background: var(--surface-sunken); }

.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.package-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--yellow);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}
.package-card.featured { border: 6px solid var(--green); box-shadow: var(--glow); }
.package-card h3 { margin: 0; color: var(--text); font-size: 18px; font-weight: 800; text-transform: uppercase; }
.package-card p { margin: 0; color: var(--muted); font-size: 16px; }
.package-card .btn { width: 100%; margin-top: auto; }
.package-price { margin-top: auto; color: var(--text-strong); font-size: 28px; font-weight: 700; }
.package-note { font-size: 16px; color: var(--text); font-weight: 600; }
.package-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.package-action-grid.single { grid-template-columns: minmax(0, 430px); }
.package-action { min-height: 280px; display: flex; flex-direction: column; gap: 16px; padding: 16px; border: 1px solid var(--yellow); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.package-action.featured { border: 6px solid var(--green); box-shadow: var(--glow); }
.package-action h3 { margin: 0; color: var(--text); font-size: 18px; font-weight: 800; text-transform: uppercase; line-height: 1.33; }
.package-action p { margin: 0; color: var(--muted); font-size: 16px; }
.package-action .btn { width: 100%; margin-top: auto; }

.renewal-form { display: grid; gap: 8px; }
.renewal-form .control-label { margin-bottom: -2px; }
.renewal-form .btn { width: 100%; }
.variant-controls { display: grid; gap: 8px; margin-top: 4px; }
.control-label { display: block; margin-bottom: 4px; color: var(--text); font-size: 16px; font-weight: 600; }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 0; border: 2px solid var(--yellow); border-radius: 12px; background: var(--canvas); overflow: hidden; }
.segmented button { min-height: 48px; padding: 12px 8px; border: 0; border-radius: 8px; color: var(--text-strong); background: transparent; cursor: pointer; font-size: 16px; font-weight: 600; }
.segmented button.active { color: var(--segment-active-text); background: var(--line); box-shadow: inset 0 0 0 2px var(--yellow); }
.segmented button:focus-visible { outline: 2px solid var(--yellow); outline-offset: -3px; }
.promo-form { display: flex; gap: 8px; margin-top: 14px; }
.promo-form input { flex: 1; }
.promotion-code-badge { margin-left: 6px; color: var(--warning-text); background: var(--warning-soft); }
.package-original-price { margin-top: -8px; color: var(--muted); font-size: .82rem; text-decoration: line-through; }
.active-promotion-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2px solid var(--yellow); border-radius: 12px; background: var(--warning-soft); }
.active-promotion-code span { color: var(--muted); font-size: .88rem; }

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--on-accent); border-color: var(--green); background: var(--green); }
.btn-primary:hover { border-color: var(--green-dark); background: var(--green-dark); }
.btn-secondary { color: var(--text); border-color: var(--yellow); background: var(--yellow-soft); }
.btn-danger { color: var(--danger-text); border-color: var(--danger-line); background: var(--danger-soft); }
.btn-small { min-height: 40px; padding: 8px 12px; font-size: 16px; border-radius: 12px; }
.btn-quiet { color: var(--text); border-color: transparent; background: transparent; }
.btn-quiet:hover { border-color: var(--yellow); background: var(--yellow-soft); }

input[type='text'], input[type='email'], .form-input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px;
    border: 2px solid var(--field-line);
    border-radius: var(--radius);
    color: var(--text);
    background: var(--surface);
}
input::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus { outline: none; border-color: var(--blue-line); box-shadow: 0 0 0 3px rgba(125, 206, 244, .3); }
select { min-height: 48px; padding: 12px; border: 2px solid var(--field-line); border-radius: var(--radius); color: var(--text); background: var(--surface); }

.payment-methods { display: grid; gap: 16px; }
.payment-methods-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

.payment-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.payment-method-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid var(--yellow); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.payment-method-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: var(--glow); }
.payment-method-icon { width: 76px; height: 54px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--blue-line); border-radius: 12px; background: var(--blue-soft); }
.card-method-icon svg { width: 48px; height: 34px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.blik-method-icon { background: #fff; border-color: var(--yellow); }
.blik-method-icon img { display: block; width: 58px; height: 38px; object-fit: contain; }
.payment-method-copy { display: grid; gap: 4px; }
.payment-method-copy strong { color: var(--text); font-size: 18px; font-weight: 800; text-transform: uppercase; line-height: 1.33; }
.payment-method-copy span { color: var(--muted); font-size: 16px; line-height: 1.55; }
.payment-method-card .btn { min-height: 48px; margin-top: auto; }
.payment-availability-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 2px solid var(--blue-line); border-radius: 12px; color: var(--text); background: var(--blue-soft); font-size: 16px; }
.payment-availability-note .notice-dot { margin-top: 7px; }
.legal-copy { color: var(--muted); font-size: 14px; }
.legal-copy a, .bank-support a, .payment-card a, .legal-stack a { color: var(--link); font-weight: 600; }

.payment-shell { width: min(680px, 100%); margin: 0 auto; padding: 46px 0 72px; }
.payment-card { padding: clamp(24px, 5vw, 32px); border: 2px solid var(--yellow); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.payment-card h1 { margin: 0; color: var(--text); font-size: clamp(28px, 5vw, 32px); line-height: 1.4; letter-spacing: -.01em; }
.payment-card h2 { margin: 24px 0 12px; color: var(--text); font-size: 24px; letter-spacing: -.01em; }
.payment-intro { color: var(--muted); font-size: 18px; }
.payment-method-logo { display: block; width: 112px; max-height: 58px; object-fit: contain; margin-bottom: 18px; }
.payment-summary { margin: 24px 0; border: 2px solid var(--yellow); border-radius: 12px; background: var(--canvas); overflow: hidden; }
.payment-summary > div { display: grid; grid-template-columns: minmax(130px, .7fr) 1.3fr; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.payment-summary > div:last-child { border-bottom: 0; }
.payment-summary dt { color: var(--text); font-size: 16px; font-weight: 600; }
.payment-summary dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.payment-form { display: grid; gap: 16px; }
.secure-field { display: grid; gap: 6px; }
.secure-field-label, .blik-code-group > label { color: var(--text); font-size: 16px; font-weight: 600; }
.secure-field > div:not(.secure-field-label) { min-height: 48px; padding: 12px; border: 2px solid var(--field-line); border-radius: var(--radius); background: var(--surface); }
.secure-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent-box, .choice-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 2px solid var(--yellow); border-radius: 12px; color: var(--text); background: var(--warning-soft); font-size: 16px; }
.consent-box input, .choice-option input { margin-top: 4px; flex: none; accent-color: var(--green); }
.blik-code-group { display: grid; gap: 8px; margin-top: 6px; }
.blik-code-group p { margin: 0; color: var(--muted); font-size: 16px; }
.blik-code { width: 100%; min-height: 62px; border: 2px solid var(--field-line); border-radius: 13px; text-align: center; font-size: 30px; font-weight: 700; letter-spacing: .28em; }
.btn-wide { width: 100%; }
.form-status { min-height: 22px; margin: 0; color: var(--muted); font-size: 14px; }
.form-error { min-height: 24px; color: var(--danger-text); font-size: 14px; font-weight: 600; }
.btn:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: none; }
.bank-support { margin-top: 18px; padding: 12px 16px; border: 2px solid var(--blue-line); border-radius: 12px; background: var(--blue-soft); }
.bank-support p { color: var(--muted); font-size: 16px; }
.choice-list { display: grid; gap: 16px; }
.payment-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.legal-header { max-width: 760px; }
.legal-stack { display: grid; gap: 16px; max-width: 820px; }
.legal-stack h2 { margin-top: 0; color: var(--text); }
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--footer-bg); }
.footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner a { font-weight: 600; text-decoration: none; }

.status-name { margin: 0; color: var(--text); font-size: 28px; line-height: 1.15; }
.status-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.status-meta { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.list-item { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.list-item:last-child { border-bottom: 0; }
.list-item-info { min-width: 0; }
.item-title { color: var(--text); font-weight: 600; font-size: 16px; }
.item-copy { margin-top: 4px; color: var(--muted); font-size: 16px; }
.unlink-confirmation { position: relative; flex: none; }
.unlink-confirmation summary { list-style: none; }
.unlink-confirmation summary::-webkit-details-marker { display: none; }
.unlink-confirmation[open] summary { display: none; }
.unlink-confirmation-panel { width: min(390px, 70vw); padding: 16px; border: 2px solid var(--danger-line); border-radius: 12px; background: var(--danger-soft); }
.unlink-confirmation-panel p { margin: 6px 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.unlink-confirmation-actions { display: flex; justify-content: flex-end; gap: 8px; }
.item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-toggle { min-width: 112px; min-height: 44px; padding: 8px 14px; border: 2px solid; border-radius: 999px; color: var(--text); cursor: pointer; font-weight: 700; }
.consent-toggle.enabled { border-color: var(--success-line); background: var(--success-soft); }
.consent-toggle.disabled { border-color: var(--warning-line); background: var(--warning-soft); }
.consent-toggle:hover { box-shadow: var(--shadow); }

details summary { cursor: pointer; color: var(--text); font-weight: 600; }
.account-content { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.account-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.account-form input { min-width: 190px; flex: 1; }
.mt { margin-top: 16px; }
.empty-state { padding: 28px 12px; color: var(--muted); text-align: center; }

.login-shell { display: flex; justify-content: center; padding: 48px 0 24px; }
.login-card { width: min(440px, 100%); }
.logo { margin-bottom: 32px; text-align: center; }
.logo img { display: block; width: auto; height: 72px; margin: 0 auto; }
.logo p { margin: 8px 0 0; color: var(--muted); font-size: 18px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 8px; color: var(--text); font-size: 16px; font-weight: 600; }
.login-hint { margin: 24px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.error-message { margin-bottom: 16px; padding: 12px 14px; border: 2px solid var(--danger-line); border-radius: 12px; color: var(--danger-text); background: var(--danger-soft); font-size: 16px; }
.success-message { margin-bottom: 16px; padding: 12px 14px; border: 2px solid var(--success-line); border-radius: 12px; color: var(--text); background: var(--success-soft); font-size: 16px; }
.debug-panel { margin-top: 24px; padding: 16px; border: 2px solid var(--yellow); border-radius: 12px; background: var(--warning-soft); }
.debug-panel strong { color: var(--warning-text); }
.debug-panel p { margin: 8px 0 0; font-size: 14px; }
.debug-panel a { color: var(--link); word-break: break-all; }
#login-form-container { min-height: 150px; }
.btn-primary:disabled { border-color: var(--line-soft); background: var(--surface-sunken); color: var(--muted); cursor: not-allowed; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }
.htmx-request .btn-text { display: none; }

@media (max-width: 820px) {
    .layout { grid-template-columns: 1fr; }
    .nav-inner { padding: 10px 0; }
    .brand img { height: 40px; }
    .nav-links { max-width: 68%; overflow-x: auto; }
    .nav-links > a { white-space: nowrap; font-size: 14px; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 20px, 1120px); }
    /* Logo on its own row, every link in the row below — the layout stays the
       same signed in or out, so a lone "Zaloguj" is not stranded next to the
       logo while the full menu sits underneath. */
    .nav-inner { display: block; text-align: center; }
    .brand { display: flex; justify-content: center; margin-bottom: 8px; }
    .nav-links { max-width: none; justify-content: center; flex-wrap: wrap; }
    .nav-links > a { padding: 8px 11px; }
    .nav-links .btn-small { padding: 8px 11px; font-size: 14px; }
    .package-grid, .package-action-grid, .secure-field-grid, .payment-method-grid { grid-template-columns: 1fr; }
    .consent-shortcut { align-items: stretch; flex-direction: column; }
    .consent-toggle { width: 100%; }
    .promo-form, .status-row, .footer-inner, .payment-methods-header { flex-direction: column; }
    .footer-inner { justify-content: center; padding: 18px 0; text-align: center; }
    .footer-inner nav { justify-content: center; }
    .payment-shell { padding-top: 24px; }

    .payment-summary > div { grid-template-columns: 1fr; gap: 3px; }
    .payment-summary dd { text-align: left; }
    .promo-form .btn { width: 100%; }
    .list-item { align-items: flex-start; flex-direction: column; }
    .unlink-confirmation, .unlink-confirmation summary, .unlink-confirmation-panel, .unlink-confirmation-actions, .unlink-confirmation-actions form, .unlink-confirmation-panel .btn { width: 100%; }
    .unlink-confirmation-actions { flex-direction: column-reverse; }
    .item-actions, .item-actions .btn, .payment-actions, .payment-actions .btn { width: 100%; }
    .package-action-grid.single { grid-template-columns: 1fr; }
    .package-action { min-height: 0; }
    .active-promotion-code { align-items: stretch; flex-direction: column; }
    .active-promotion-code .btn { width: 100%; }
}
