:root {
    --primary-color: #000;
    /* Slate 900 */
    --secondary-color: #334155;
    /* Slate 700 */
    --accent-color: #3b82f6;
    /* Blue 500 */
    --accent-hover: #2563eb;
    /* Blue 600 */
    --bg-gradient-start: #f8fafc;
    /* Slate 50 */
    --bg-gradient-end: #e2e8f0;
    /* Slate 200 */
    --card-bg: #ffffff;
    --text-main: #000;
    /* Slate 800 */
    --text-sub: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --success-color: #10b981;
    /* Emerald 500 */
    --warning-color: #f59e0b;
    /* Amber 500 */
    --danger-color: #ef4444;
    /* Red 500 */
    --radius: 16px;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #f7f7f7;
    color: var(--text-main);
    line-height: 1.6;
    /* Center vertically too */
    min-height: 100lvh;
}

ul,
ol {
    list-style-type: none;
    /* マーカー非表示 */
    margin: 0;
    padding: 0;
    /* 左のインデントも消したい場合 */
}

img {
    vertical-align: bottom;
    font-size: 0;
    line-height: 0;
}

.container {
    width: 100%;
    max-width: 900px;
    /* background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 50px;
    display: flex;
    flex-direction: column;
    min-height: 700px;
    position: relative; */
    margin-inline: auto;
    /* For any overflowing animations */
}

/* Header & Progress Bar */
.header {
    padding-top: 200px;
    margin-bottom: 40px;
    text-align: center;
}

.header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: -0.025em;

    .sub-title {
        color: var(--primary-color);
        display: inline-block;
        margin-bottom: 5px;

        &::before,
        &::after {
            content: "-";
            margin-inline: 5px;
            border-bottom: none;
            display: inline;
        }
    }
}

.progress-container {
    margin-bottom: 30px;
    position: relative;
    padding: 10px 0;
}

.progress-track {
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    position: relative;
    margin-bottom: 10px;
    cursor: default;
}

.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: absolute;
    top: 0;
    left: 2px;
    z-index: 1;
}

.progress-milestones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 2;
    pointer-events: none;
}

.milestone {
    width: 12px;
    height: 12px;
    background-color: white;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    cursor: default;
    transition: all 0.2s ease;
}

.milestone:hover {
    transform: scale(1.2);
    border-color: var(--primary-color);
}

.milestone.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.milestone.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.milestone.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.milestone.disabled:hover {
    transform: none;
}

.progress-text {
    text-align: right;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Step Content */
.step-content {
    display: none;
    flex: 1;
    flex-direction: column;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 50px 50px 60px;
    position: relative;
    margin-bottom: 80px;
}

.step-content.active {
    display: flex;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-q {
    display: grid;
    place-content: center;
    margin-inline: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 100vmax;
    padding: 4px 14px 5px;
    width: fit-content;
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.4;
    color: var(--primary-color);
}

.sub-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    margin-top: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;

    &::after {
        content: "";
        display: block;
        /* width: 100%; */
        flex-grow: 1;
        height: 0;
        margin-left: 15px;
        border-bottom: #b6bcc4 solid 1px;
    }
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

.option-card {
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.option-card.selected {
    border-color: var(--accent-color);
    background-color: #eff6ff;
    box-shadow: 0 0 0 2px var(--accent-color), var(--shadow-md);
    transform: translateY(-2px);
}

.option-card .icon {
    font-size: 48px;
    color: var(--text-sub);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.option-card:hover .icon,
.option-card.selected .icon {
    color: var(--accent-color);
}

.option-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.sub-text {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-weight: 400;
    margin-top: 8px;
    display: block;
    line-height: 1.4;
}

/* Options List (Checkbox/Radio) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-option,
.radio-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
}

.checkbox-option:hover,
.radio-option:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.checkbox-option input,
.radio-option input {
    margin-right: 20px;
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.checkbox-label,
.radio-label {
    font-weight: 500;
    font-size: 1.05rem;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
}

.btn-back {
    background-color: transparent;
    border: none;
    color: var(--text-sub);
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-back:hover {
    background-color: #f1f5f9;
    color: var(--text-main);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    margin-left: auto;
    letter-spacing: 0.025em;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
}

.btn-next:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-sub);
    border: 2px solid var(--border-color);
    padding: 14px 32px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: #cbd5e1;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;

    .privacy-checkbox {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-weight: 500;
        margin-bottom: 5px;
        font-size: 14px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.required {
    color: var(--danger-color);
    font-size: 0.75rem;
    margin-left: 8px;
    background-color: #fef2f2;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.optional {
    color: var(--text-sub);
    font-size: 0.75rem;
    margin-left: 8px;
    background-color: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.privacy-checkbox input {
    width: 16px;
    height: 16px;
    display: inline-block;
    accent-color: var(--accent-color);
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.5;
    text-align: center;
}

.privacy-note a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Result Screen */
.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.result-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.result-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.result-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 500;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    /* flex-direction: column;
    align-items: center; */
    margin-bottom: 15px;
}

.price-range {
    font-size: 3.2rem;
    font-weight: 600;
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.price-currency {
    font-size: 0.5em;
    vertical-align: sub;
}

.tax-note {
    font-size: 1rem;
    opacity: 0.7;
    margin-left: 8px;
    white-space: nowrap;
}

.plan-type {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e8f0;
}

.result-breakdown {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .result-breakdown {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.breakdown-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
}

.breakdown-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.breakdown-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.breakdown-subtitle {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 16px;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-row-label {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.breakdown-row-detail {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--text-sub);
}

.breakdown-row-amount {
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}

.breakdown-math {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.breakdown-total-line {
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 4px;
    margin: 0;
    padding: 12px 0;
    color: var(--text-sub);
}

/* Edit Functionality Styles */
.summary-value-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-edit {
    background-color: #f1f5f9;
    border: none;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    line-height: 1;
}

.btn-edit:hover {
    background-color: #e2e8f0;
    color: var(--text-main);
}

.btn-edit .material-symbols-rounded {
    font-size: 14px;
}

.summary-content h4 {
    margin-bottom: 8px;
}

/* Accordion Edit Container */
.edit-container {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    animation: slideDown 0.3s ease-out;
}

.edit-container.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.edit-container .options-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.edit-container .option-card {
    padding: 10px 16px;
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    border-width: 1px;
}

.edit-container .option-card .icon {
    display: none;
}

.edit-container .option-label {
    font-size: 0.9rem;
    margin: 0;
}

.edit-container .sub-text {
    font-size: 0.75rem;
    margin-top: 0;
    margin-left: 8px;
    display: inline;
}

.edit-container .options-list {
    gap: 8px;
}

.edit-container .checkbox-option {
    padding: 10px 16px;
    border-width: 1px;
}

.edit-actions {
    margin-top: 12px;
    text-align: right;
}

/* Update Estimate Button */
.update-estimate-container {
    text-align: center;
    margin: 20px 0;
    padding: 16px;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
    animation: fadeIn 0.3s ease;
}

.btn-update-estimate {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-update-estimate:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(14, 165, 233, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Frontend Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 0;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-sub);
    padding: 4px;
    line-height: 1;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f1f5f9;
    color: var(--text-main);
}

.modal-body {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 10px;
}

.btn-modal-cancel {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-cancel:hover {
    background-color: #f8fafc;
    color: var(--text-main);
    border-color: #cbd5e1;
}

.btn-modal-confirm {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    transition: all 0.2s;
}

.btn-modal-confirm:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.4);
}

.btn-modal-confirm:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


.result-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background-color: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #eff6ff;
}

.result-note {
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-sub);
    text-align: center;
    line-height: 1.6;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 25px;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
    }

    .price-range {
        font-size: 2.5rem;
    }

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

    .step-title {
        font-size: 1.25rem;
    }

    .option-card {
        min-height: 120px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 20px;
    }

    .option-card .icon {
        margin-bottom: 0;
        margin-right: 20px;
        font-size: 32px;
    }

    .option-label {
        font-size: 1rem;
    }
}

/* Step 1 Layout */
.phase-section {
    margin-top: 20px;
}

/* Result Summary */
.result-summary {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
}

.result-summary h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 44px;
}

.summary-card.full-width {
    /* No special handling needed for column layout */
}

/* Icons removed */

.summary-content {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.summary-content h4 {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 20px;
}

.step-label {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.summary-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.2;
    text-align: right;
    margin: 0;
}

@media (max-width: 600px) {
    .summary-content {
        flex-direction: row;
        /* Keep row even on mobile if possible, or wrap if needed */
        flex-wrap: wrap;
        gap: 5px;
    }

    .summary-content p {
        text-align: right;
        margin-left: auto;
    }
}