﻿.soft-page { width: 100%; }
    .soft-hero {
        display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
        background: linear-gradient(135deg, #ffffff 0%, #f0fbff 55%, #e8f8fd 100%);
        border-radius: 1.25rem; padding: 1.25rem 1.4rem; margin-bottom: 1rem;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    }
    .soft-hero h1 {
        margin: 0 0 .2rem; font-size: 1.55rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.02em; line-height: 1.15;
    }
    .soft-hero p { margin: 0; color: #64748b; font-size: .95rem; }
    .soft-btn {
        display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
        padding: .55rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
        text-decoration: none; border: 0; cursor: pointer;
        background: rgba(255,255,255,.9); color: #334155;
        box-shadow: 0 1px 3px rgba(15,23,42,.08);
        transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    }
    .soft-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,.1); color: #0f172a; }
    .soft-btn--primary {
        background: linear-gradient(135deg, #00b3e6, #0099c7); color: #fff;
        box-shadow: 0 6px 16px rgba(0, 179, 230, 0.35);
    }
    .soft-btn--primary:hover { color: #fff; }
    .soft-btn--ghost { background: transparent; box-shadow: none; color: #64748b; }
    .soft-btn--ghost:hover { background: rgba(0,179,230,.08); color: #0891b2; box-shadow: none; transform: none; }
    .soft-btn--danger { background: transparent; box-shadow: none; color: #f43f5e; }
    .soft-btn--danger:hover { background: rgba(244,63,94,.08); color: #e11d48; box-shadow: none; transform: none; }
    .soft-toolbar {
        display: flex; gap: .65rem; align-items: stretch; flex-wrap: wrap;
        margin-bottom: 1rem; padding: .85rem; background: #fff; border-radius: 1rem;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    }
    .soft-search { flex: 1 1 220px; position: relative; }
    .soft-search svg {
        position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
        color: #94a3b8; pointer-events: none;
    }
    .soft-search input {
        width: 100%; border: 0; border-radius: .8rem; padding: .7rem .9rem .7rem 2.5rem;
        font-size: .95rem; background: #f1f5f9; color: #0f172a;
    }
    .soft-search input:focus {
        outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(0,179,230,.22);
    }
    .soft-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; color: #64748b; font-size: .9rem; }
    .soft-meta strong { color: #0f172a; }
    .soft-list {
        display: flex; flex-direction: column; gap: .65rem;
    }
    .soft-row {
        display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
        background: #fff; border-radius: 1rem; padding: .95rem 1.1rem;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
        transition: transform .15s ease, box-shadow .15s ease;
    }
    .soft-row:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }
    @media (max-width: 640px) {
        .soft-row { grid-template-columns: auto 1fr; }
        .soft-row-actions { grid-column: 1 / -1; justify-content: flex-start; }
    }
    .soft-thumb {
        width: 3rem; height: 3rem; border-radius: .85rem; overflow: hidden; flex-shrink: 0;
        background: linear-gradient(145deg, rgba(0,179,230,.2), rgba(0,179,230,.08));
        display: flex; align-items: center; justify-content: center;
        box-shadow: inset 0 0 0 1px rgba(0,179,230,.12);
    }
    .soft-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .soft-thumb span { font-weight: 800; color: #0891b2; font-size: .9rem; }
    .soft-row-title { margin: 0 0 .15rem; font-size: 1.02rem; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; }
    .soft-row-meta { margin: 0; font-size: .86rem; color: #64748b; }
    .soft-chip {
        display: inline-flex; align-items: center; margin-top: .35rem;
        padding: .22rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 750;
        background: #ecfeff; color: #0e7490;
    }
    .soft-row-actions { display: inline-flex; gap: .3rem; align-items: center; flex-wrap: wrap; }

    /* Segmented row actions (View / Edit / Delete) */
    .soft-actions {
        display: inline-flex; align-items: stretch; flex-wrap: nowrap;
        border-radius: .65rem; overflow: hidden;
        background: #f8fafc;
        box-shadow: inset 0 0 0 1px #e2e8f0;
    }
    .soft-actions form { display: contents; }
    .soft-action {
        display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
        padding: .42rem .7rem; min-height: 2rem;
        font-size: .78rem; font-weight: 750; line-height: 1; letter-spacing: .01em;
        color: #475569; background: transparent; border: 0;
        border-right: 1px solid #e2e8f0; text-decoration: none; cursor: pointer;
        white-space: nowrap; transition: background .12s ease, color .12s ease;
    }
    .soft-action:last-child { border-right: 0; }
    .soft-action svg { width: .95rem; height: .95rem; flex-shrink: 0; opacity: .85; }
    .soft-action:hover { background: #fff; color: #0f172a; }
    .soft-action:hover svg { opacity: 1; }
    .soft-action--view:hover { color: #0891b2; background: #ecfeff; }
    .soft-action--edit:hover { color: #0369a1; background: #f0f9ff; }
    .soft-action--danger { color: #e11d48; }
    .soft-action--danger:hover { background: #fff1f2; color: #be123c; }
    .soft-action--muted:hover { color: #334155; background: #fff; }
    .soft-action--solid {
        background: #fff; color: #0f172a;
    }
    .soft-action--confirm {
        color: #047857; font-weight: 800;
    }
    .soft-action--confirm:hover { background: #ecfdf5; color: #065f46; }
    .soft-empty {
        text-align: center; padding: 2.5rem 1.25rem; color: #64748b;
        background: #fff; border-radius: 1.1rem; box-shadow: 0 8px 22px rgba(15,23,42,.05);
    }
    .soft-empty strong { display: block; color: #0f172a; font-size: 1.05rem; margin-bottom: .35rem; }
    .soft-form-card {
        background: #fff; border-radius: 1.25rem; padding: 1.4rem 1.5rem;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); max-width: 42rem;
    }
    .soft-field { margin-bottom: 1rem; }
    .soft-field label {
        display: block; font-size: .82rem; font-weight: 700; color: #64748b; margin-bottom: .4rem;
    }
    .soft-field input, .soft-field textarea, .soft-field select {
        width: 100%; border: 0; border-radius: .8rem; padding: .75rem .9rem;
        font-size: .95rem; line-height: 1.4; background-color: #f1f5f9; color: #0f172a;
        box-sizing: border-box; transition: background-color .15s ease, box-shadow .15s ease;
    }
    .soft-field select {
        appearance: none; -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right .85rem center; background-size: 1rem;
        padding-right: 2.5rem;
    }
    .soft-field input:focus, .soft-field textarea:focus, .soft-field select:focus {
        outline: none; background-color: #fff; box-shadow: 0 0 0 3px rgba(0,179,230,.22);
    }
    .soft-field input:disabled,
    .soft-field input[readonly],
    .soft-field textarea:disabled,
    .soft-field select:disabled {
        background-color: #e8edf2; color: #64748b; cursor: not-allowed; box-shadow: none;
    }
    .soft-field-hint { margin: .35rem 0 0; font-size: .8rem; color: #94a3b8; }
    .soft-field-error { margin: .35rem 0 0; font-size: .85rem; font-weight: 600; color: #f43f5e; }
    .soft-form-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; }
    .soft-flash {
        background: linear-gradient(135deg, #ecfdf5, #f0fdfa); color: #047857;
        border-radius: .9rem; padding: .8rem 1rem; margin-bottom: .95rem;
        font-size: .92rem; font-weight: 700; box-shadow: 0 6px 16px rgba(16,185,129,.12);
    }
    .soft-flash--error {
        background: linear-gradient(135deg, #fff1f2, #fff7ed); color: #be123c;
        box-shadow: 0 6px 16px rgba(244,63,94,.12);
    }
    .soft-form-card--wide { max-width: 56rem; }
    .soft-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
    .soft-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .85rem; }
    @media (max-width: 720px) {
        .soft-grid-2, .soft-grid-3 { grid-template-columns: 1fr; }
    }
    .soft-badge {
        display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px;
        font-size: .72rem; font-weight: 750; letter-spacing: .01em;
    }
    .soft-badge--ok { background: #ecfdf5; color: #047857; }
    .soft-badge--warn { background: #fffbeb; color: #b45309; }
    .soft-badge--muted { background: #f1f5f9; color: #64748b; }
    .soft-filter-select {
        border: 0; border-radius: .8rem; padding: .7rem .9rem; font-size: .9rem;
        background: #f1f5f9; color: #0f172a; min-width: 8.5rem;
    }
    .soft-filter-select:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(0,179,230,.22); }
    .soft-check {
        width: 1.1rem; height: 1.1rem; accent-color: #00b3e6; cursor: pointer;
    }
    .soft-plan-box {
        background: #f8fafc; border-radius: .9rem; padding: 1rem;
        box-shadow: inset 0 0 0 1px #e2e8f0;
    }
    .session-plan-host {
        background: transparent;
        border-radius: 0;
        padding: 0;
    }
    .soft-hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
    .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;
    }

    /* List filter / pagination summary */
    .ss-meta-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: .75rem;
        flex-wrap: wrap;
        margin-bottom: .85rem;
    }
    .ss-meta-chips {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .4rem;
        min-width: 0;
    }
    .ss-meta-chip {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        min-height: 1.85rem;
        padding: .28rem .7rem;
        border-radius: .65rem;
        background: #fff;
        color: #334155;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: -.01em;
        box-shadow: inset 0 0 0 1px #e2e8f0;
        white-space: nowrap;
    }
    .ss-meta-chip strong {
        color: #0f172a;
        font-weight: 800;
    }
    .ss-meta-chip--scope {
        background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 100%);
        color: #0e7490;
        box-shadow: inset 0 0 0 1px #bae6fd;
    }
    .ss-meta-chip--scope strong { color: #0e7490; }
    .ss-meta-chip--muted {
        background: #f8fafc;
        color: #64748b;
        font-weight: 650;
        box-shadow: inset 0 0 0 1px #eef2f7;
    }
    .ss-meta-chip--muted strong { color: #475569; }

    /* Dense table layout for long lists */
    .soft-table-wrap {
        background: #fff; border-radius: 1rem; overflow: hidden;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    }
    .soft-table {
        width: 100%; border-collapse: collapse; font-size: .88rem;
    }
    .soft-table thead th {
        position: sticky; top: 0; z-index: 1;
        text-align: left; font-size: .72rem; font-weight: 750; letter-spacing: .04em;
        text-transform: uppercase; color: #64748b; background: #f8fafc;
        padding: .65rem .85rem; border-bottom: 1px solid #e2e8f0; white-space: nowrap;
    }
    .soft-table tbody td {
        padding: .55rem .85rem; border-bottom: 1px solid #f1f5f9;
        color: #334155; vertical-align: middle;
    }
    .soft-table tbody tr:last-child td { border-bottom: 0; }
    .soft-table tbody tr:hover td { background: #f8fafc; }
    .soft-table a.soft-table-link {
        color: #0f172a; font-weight: 750; text-decoration: none;
    }
    .soft-table a.soft-table-link:hover { color: #0891b2; }
    .soft-table .soft-table-muted { color: #94a3b8; font-size: .8rem; }
    .soft-table .soft-table-actions {
        display: inline-flex; gap: .35rem; align-items: center; flex-wrap: nowrap; justify-content: flex-end;
    }
    .soft-table .soft-btn { padding: .35rem .65rem; font-size: .78rem; }
    .soft-table .soft-actions { box-shadow: inset 0 0 0 1px #e2e8f0; }
    .soft-table .soft-chip { margin-top: 0; }
    .soft-table-group {
        font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
        color: #0891b2; background: #ecfeff; padding: .45rem .85rem;
        border-bottom: 1px solid #e2e8f0;
    }
    .soft-table-scroll {
        max-height: min(70vh, 42rem); overflow: auto;
    }
    @media (max-width: 820px) {
        .soft-table-scroll { max-height: none; }
        .soft-table thead { display: none; }
        .soft-table, .soft-table tbody, .soft-table tr, .soft-table td { display: block; width: 100%; }
        .soft-table tbody tr {
            padding: .75rem .85rem; border-bottom: 1px solid #f1f5f9;
        }
        .soft-table tbody tr:has(.soft-table-group) {
            padding: 0; border-bottom: 0;
        }
        .soft-table tbody td {
            padding: .15rem 0; border: 0;
        }
        .soft-table tbody td::before {
            content: attr(data-label);
            display: block; font-size: .68rem; font-weight: 750; letter-spacing: .04em;
            text-transform: uppercase; color: #94a3b8; margin-bottom: .1rem;
        }
        .soft-table tbody td[data-label=""]::before,
        .soft-table tbody td:not([data-label])::before { display: none; }
        .soft-table .soft-table-actions { justify-content: flex-start; margin-top: .35rem; flex-wrap: wrap; }
    }

    /* Exercise library — mobile cards / desktop table */
    .exlib-mobile { display: none; }
    .exlib-desktop { display: block; }
    .exlib-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        flex-wrap: wrap;
    }
    .exlib-meta-actions {
        display: inline-flex;
        gap: .35rem;
    }
    .exlib-meta-btn {
        border: 0;
        background: #fff;
        color: #64748b;
        font-size: .78rem;
        font-weight: 700;
        padding: .4rem .65rem;
        border-radius: .55rem;
        box-shadow: inset 0 0 0 1px #e2e8f0;
        cursor: pointer;
        min-height: 36px;
    }
    .exlib-meta-btn:hover { color: #0891b2; background: #ecfeff; }
    .exlib-group {
        margin-bottom: .65rem;
        background: #fff;
        border-radius: .95rem;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
        overflow: hidden;
    }
    .exlib-group:last-child { margin-bottom: 0; }
    .exlib-group-toggle {
        display: flex;
        align-items: center;
        gap: .55rem;
        width: 100%;
        padding: .9rem 1rem;
        min-height: 48px;
        cursor: pointer;
        list-style: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    .exlib-group-toggle::-webkit-details-marker { display: none; }
    .exlib-group-title {
        margin: 0;
        flex: 1;
        font-size: .9rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        color: #0f172a;
    }
    .exlib-group-count {
        font-size: .72rem;
        font-weight: 750;
        color: #0e7490;
        background: #ecfeff;
        padding: .2rem .5rem;
        border-radius: 999px;
        min-width: 1.5rem;
        text-align: center;
    }
    .exlib-group-chevron {
        color: #94a3b8;
        flex-shrink: 0;
        transition: transform .15s ease;
        transform: rotate(90deg);
    }
    details.exlib-group:not([open]) .exlib-group-chevron {
        transform: rotate(0deg);
    }
    .exlib-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 .55rem .55rem;
        border-top: 1px solid #f1f5f9;
    }
    .exlib-card {
        display: flex;
        align-items: center;
        gap: .75rem;
        min-height: 52px;
        padding: .75rem .55rem;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        text-decoration: none;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }
    .exlib-card:last-child { border-bottom: 0; }
    .exlib-card:hover,
    .exlib-card:focus {
        text-decoration: none;
        color: inherit;
        background: #f8fafc;
        box-shadow: none;
    }
    .exlib-card-main {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }
    .exlib-card-name {
        font-size: .95rem;
        font-weight: 750;
        color: #0f172a;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }
    .exlib-card-meta {
        font-size: .78rem;
        color: #64748b;
        line-height: 1.35;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .exlib-card-side {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: .3rem;
    }
    .exlib-weight {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 3.1rem;
        padding: .25rem .45rem;
        border-radius: 999px;
        font-size: .7rem;
        font-weight: 750;
        background: #ecfeff;
        color: #0e7490;
        white-space: nowrap;
    }
    .exlib-weight--empty {
        background: #f1f5f9;
        color: #94a3b8;
    }
    .exlib-chevron {
        color: #cbd5e1;
        flex-shrink: 0;
    }
    .exlib-table-group-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        width: 100%;
        border: 0;
        text-align: left;
        cursor: pointer;
        font: inherit;
    }
    .exlib-table-group-btn .exlib-group-chevron {
        transform: rotate(90deg);
    }
    .exlib-table-group-btn[aria-expanded="false"] .exlib-group-chevron {
        transform: rotate(0deg);
    }

    .soft-combobox { position: relative; width: 100%; }
    .soft-combobox.is-enhanced select {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .soft-combobox-input {
        width: 100%;
        border: 0;
        border-radius: .8rem;
        padding: .75rem .9rem .75rem 2.5rem;
        font-size: .95rem;
        background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") no-repeat .85rem 50%;
        color: #0f172a;
    }
    .soft-field .soft-combobox-input {
        padding: .75rem .9rem .75rem 2.5rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: .85rem 50%;
        background-color: #f1f5f9;
    }
    .soft-combobox-input:focus,
    .soft-field .soft-combobox-input:focus {
        outline: none;
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(0,179,230,.22);
    }
    .soft-combobox-list {
        position: absolute;
        z-index: 40;
        left: 0;
        right: 0;
        top: calc(100% + .35rem);
        margin: 0;
        padding: .35rem;
        list-style: none;
        max-height: 18rem;
        overflow-y: auto;
        background: #fff;
        border-radius: .9rem;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    }
    .soft-combobox-item {
        display: flex;
        align-items: center;
        gap: .7rem;
        width: 100%;
        padding: .5rem .6rem;
        border: 0;
        border-radius: .7rem;
        background: transparent;
        text-align: left;
        cursor: pointer;
        font: inherit;
        color: inherit;
    }
    .soft-combobox-item:hover,
    .soft-combobox-item.is-active {
        background: #ecfeff;
    }
    .soft-combobox-item-thumb {
        width: 2rem;
        height: 2rem;
        border-radius: .6rem;
        overflow: hidden;
        flex-shrink: 0;
        background: linear-gradient(145deg, rgba(0,179,230,.2), rgba(0,179,230,.08));
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: inset 0 0 0 1px rgba(0,179,230,.12);
    }
    .soft-combobox-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .soft-combobox-item-thumb span { font-weight: 800; color: #0891b2; font-size: .72rem; }
    .soft-combobox-item-name { margin: 0; font-size: .92rem; font-weight: 750; color: #0f172a; }
    .soft-combobox-item-meta { margin: .1rem 0 0; font-size: .78rem; color: #64748b; }
    .soft-combobox-empty {
        padding: .75rem .7rem;
        font-size: .86rem;
        font-weight: 650;
        color: #94a3b8;
    }
    .soft-combobox-more {
        padding: .35rem .7rem .5rem;
        font-size: .75rem;
        font-weight: 650;
        color: #94a3b8;
    }
    @media (max-width: 820px) {
        .exlib-mobile { display: block; }
        .exlib-desktop { display: none !important; }
        .exlib-page .soft-hero p { font-size: .875rem; }
        .exlib-page .soft-meta { margin-bottom: .65rem; }
        .exlib-meta-btn { min-height: 40px; }
    }

/* Cross-device: touch targets, forms, wide layouts */
.soft-page { max-width: none; }
.soft-form-card--wide,
.soft-form-card { width: 100%; }
@media (min-width: 1024px) {
    .soft-form-card { max-width: 48rem; }
    .soft-form-card--wide { max-width: none; }
}
@media (max-width: 768px) {
    .soft-hero {
        padding: 1rem 1.05rem;
        border-radius: 1rem;
        gap: .75rem;
    }
    .soft-hero h1 { font-size: 1.35rem; }
    .soft-btn {
        min-height: 44px;
        padding: .65rem 1rem;
        -webkit-tap-highlight-color: transparent;
    }
    .soft-action {
        min-height: 44px;
        padding: .55rem .8rem;
    }
    .soft-actions {
        width: 100%;
        justify-content: stretch;
    }
    .soft-actions .soft-action { flex: 1; }
    .soft-toolbar {
        padding: .7rem;
        gap: .5rem;
    }
    .soft-search { flex: 1 1 100%; }
    .soft-filter-select {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        font-size: 16px; /* prevent iOS input zoom */
    }
    .soft-field input,
    .soft-field textarea,
    .soft-field select,
    .soft-search input,
    .soft-combobox-input {
        min-height: 44px;
        font-size: 16px;
    }
    .soft-form-card {
        max-width: none;
        padding: 1.1rem 1rem;
        border-radius: 1rem;
    }
    .soft-form-actions .soft-btn { flex: 1 1 auto; }
    .soft-row {
        padding: .85rem .9rem;
        gap: .7rem;
    }
    .soft-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: .35rem;
    }
}
