
/* KRISEN KLAR V4 – interner Arbeitsbereich
   Fokus: ein Einsatz, vier Bereiche, kein Technik-Schnickschnack im Tagesgeschäft. */

.internal-v4 {
    background: #f2f2ef;
    color: #111;
}

.internal-v4 .header {
    min-height: 62px;
    background: #fff;
    border-bottom: 1px solid #d3d3ce;
}

.internal-v4 .header-inner {
    min-height: 62px;
}

.internal-v4 .header .nav,
.internal-v4 .header .menu-button {
    display: none !important;
}

.internal-v4 .header .logo-link img {
    width: 154px;
}

.internal-v4 .footer {
    display: none;
}

.internal-v4 input,
.internal-v4 textarea,
.internal-v4 select,
.internal-v4 button {
    font: inherit;
}

.internal-v4 input,
.internal-v4 textarea,
.internal-v4 select {
    color: #111;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 0;
}

.internal-v4 input:focus,
.internal-v4 textarea:focus,
.internal-v4 select:focus {
    outline: 2px solid #111;
    outline-offset: 1px;
}

.internal-v4 textarea {
    resize: vertical;
}

.v4-kicker {
    margin: 0 0 5px;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #6b6b66;
}

.v4-muted {
    color: #6b6b66;
}

.v4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
}

.v4-btn.primary {
    background: #111;
    color: #fff;
}

.v4-btn.quiet {
    background: #fff;
}

.v4-btn.large {
    min-height: 50px;
    padding: 13px 18px;
}

.v4-btn:disabled {
    opacity: .45;
    cursor: wait;
}

.v4-link {
    color: #111;
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.v4-alert {
    padding: 14px 16px;
    border: 1px solid #111;
    margin-bottom: 16px;
    background: #fff;
}

.v4-alert.error {
    border-left: 6px solid #111;
}

.v4-alert a {
    color: inherit;
    font-weight: 900;
    margin-left: 8px;
}

/* Login */
.v4-login {
    min-height: calc(100vh - 62px);
    display: grid;
    place-items: center;
    padding: 30px 18px;
}

.v4-login-card {
    width: min(480px, 100%);
    padding: 34px;
    background: #fff;
    border: 1px solid #cfcfca;
}

.v4-login-card img {
    width: 190px;
    margin-bottom: 38px;
}

.v4-login-card h1 {
    margin: 0 0 10px;
    font-size: clamp(2.5rem, 8vw, 4.4rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.v4-login-form {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.v4-login-form label {
    display: grid;
    gap: 6px;
    font-size: .78rem;
    font-weight: 900;
}

.v4-login-form input {
    padding: 12px 13px;
}

/* Dashboard */
.v4-appbar,
.v4-casebar {
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto;
}

.v4-appbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0 24px;
}

.v4-appbar h1 {
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 6.3rem);
    line-height: .83;
    letter-spacing: -.065em;
}

.v4-appbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: .78rem;
}

.v4-appbar-actions a {
    color: #111;
}

.v4-user {
    font-weight: 900;
}

.v4-shell,
.v4-case-shell {
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto;
    padding-bottom: 70px;
}

.v4-start {
    margin-bottom: 24px;
}

.v4-new-case {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 126px;
    padding: 24px;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.v4-new-case > span {
    font-size: 3.1rem;
    font-weight: 300;
    line-height: 1;
}

.v4-new-case strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1;
}

.v4-new-case small {
    display: block;
    margin-top: 8px;
    max-width: 720px;
    opacity: .68;
}

.v4-case-section,
.v4-closed,
.v4-tools {
    background: #fff;
    border: 1px solid #cfcfca;
    margin-bottom: 18px;
}

.v4-section-head {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 380px);
    gap: 28px;
    align-items: end;
    padding: 24px;
    border-bottom: 1px solid #d4d4cf;
}

.v4-section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: .95;
    letter-spacing: -.045em;
}

.v4-search {
    display: grid;
    gap: 6px;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.v4-search input {
    width: 100%;
    padding: 11px 12px;
    text-transform: none;
    letter-spacing: 0;
}

.v4-case-list {
    display: flex;
    flex-direction: column;
}

.v4-case-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 34px;
    align-items: center;
    gap: 24px;
    min-height: 105px;
    padding: 18px 22px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #d8d8d3;
}

.v4-case-row:last-child {
    border-bottom: 0;
}

.v4-case-row:hover {
    background: #f4f4f1;
}

.v4-case-row[hidden] {
    display: none;
}

.v4-case-main {
    min-width: 0;
}

.v4-case-place {
    display: block;
    margin-bottom: 5px;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #686863;
}

.v4-case-main strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.24rem;
    line-height: 1.1;
}

.v4-case-main small {
    display: block;
    margin-top: 7px;
    color: #71716b;
}

.v4-case-numbers {
    display: flex;
    gap: 8px;
}

.v4-case-numbers span {
    min-width: 80px;
    padding: 8px 10px;
    background: #f0f0ec;
    text-align: center;
    font-size: .68rem;
}

.v4-case-numbers b {
    display: block;
    font-size: 1.15rem;
    color: #111;
}

.v4-case-numbers .attention {
    border: 1px solid #111;
}

.v4-status {
    padding: 6px 9px;
    border: 1px solid #aaa;
    font-size: .67rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}

.v4-status.vor_ort {
    background: #111;
    color: #fff;
    border-color: #111;
}

.v4-status.anfahrt {
    border-style: dashed;
}

.v4-status.beendet {
    color: #6b6b66;
}

.v4-arrow {
    font-size: 1.6rem;
    font-weight: 900;
}

.v4-empty {
    display: grid;
    gap: 5px;
    padding: 35px 24px;
    color: #686863;
}

.v4-empty strong {
    color: #111;
    font-size: 1.1rem;
}

.v4-empty.small {
    padding: 22px 0;
}

.v4-closed > summary,
.v4-tools > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

.v4-closed > summary::-webkit-details-marker,
.v4-tools > summary::-webkit-details-marker {
    display: none;
}

.v4-closed > summary b,
.v4-tools > summary b {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.v4-tools > summary span {
    display: grid;
}

.v4-tools > summary small {
    margin-top: 3px;
    color: #70706a;
}

.v4-tool-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #d6d6d1;
}

.v4-tool-grid a {
    display: grid;
    gap: 5px;
    min-height: 110px;
    padding: 18px;
    color: #111;
    text-decoration: none;
    border-right: 1px solid #d6d6d1;
}

.v4-tool-grid a:last-child {
    border-right: 0;
}

.v4-tool-grid a:hover {
    background: #f4f4f1;
}

.v4-tool-grid small {
    color: #6f6f69;
}

/* Case page */
.v4-casebar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
}

.v4-back {
    color: #111;
    font-weight: 900;
    text-decoration: none;
}

.v4-casebar-title {
    min-width: 0;
    padding-left: 20px;
    border-left: 1px solid #bdbdb8;
}

.v4-casebar-title span,
.v4-casebar-title small {
    display: block;
    color: #70706a;
}

.v4-casebar-title span {
    margin-bottom: 3px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v4-casebar-title strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.45rem;
}

.v4-casebar-title small {
    margin-top: 4px;
    font-size: .75rem;
}

.v4-casebar-actions {
    display: flex;
    gap: 8px;
}

.v4-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto 18px;
    background: #fff;
    border: 1px solid #cfcfca;
}

.v4-tab {
    min-height: 52px;
    border: 0;
    border-right: 1px solid #cfcfca;
    background: #fff;
    color: #111;
    font-weight: 900;
    cursor: pointer;
}

.v4-tab:last-child {
    border-right: 0;
}

.v4-tab b {
    margin-right: 7px;
    color: #85857e;
}

.v4-tab.active {
    background: #111;
    color: #fff;
}

.v4-tab.active b {
    color: #fff;
}

.v4-panel {
    display: none;
}

.v4-panel.active {
    display: block;
}

.v4-lage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .72fr);
    gap: 18px;
    align-items: start;
}

.v4-main-column {
    display: grid;
    gap: 18px;
}

.v4-card {
    background: #fff;
    border: 1px solid #cfcfca;
    padding: 24px;
    margin-bottom: 18px;
}

.v4-card h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: .95;
    letter-spacing: -.045em;
}

.v4-card h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.v4-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.v4-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid #aaa;
    font-size: .67rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.v4-save-state {
    margin: 8px 0 0;
    color: #6d6d67;
    font-size: .75rem;
}

.v4-save-state.dirty {
    color: #111;
    font-weight: 900;
}

.v4-core-data,
.v4-detail-grid,
.v4-update-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.v4-core-data label,
.v4-detail-grid label,
.v4-update-meta label,
.v4-document-strip label,
.v4-media-send-grid label,
.v4-upload-form label {
    display: grid;
    gap: 5px;
    font-size: .72rem;
    font-weight: 900;
}

.v4-core-data label span,
.v4-detail-grid label span,
.v4-update-meta label span,
.v4-document-strip label span,
.v4-media-send-grid label span,
.v4-upload-form label span {
    text-transform: uppercase;
    letter-spacing: .06em;
}

.v4-core-data input,
.v4-detail-grid input,
.v4-detail-grid select,
.v4-update-meta input,
.v4-update-meta select,
.v4-document-strip input,
.v4-document-strip select,
.v4-media-send-grid select,
.v4-upload-form input,
.v4-upload-form select {
    width: 100%;
    min-height: 43px;
    padding: 10px 11px;
}

.v4-details {
    margin-top: 18px;
    border-top: 1px solid #d8d8d3;
}

.v4-details > summary {
    padding: 13px 0 0;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 900;
}

.v4-details[open] > summary {
    margin-bottom: 14px;
}

.v4-details.wide {
    margin-top: 0;
    border-top: 0;
}

.v4-details.wide > summary {
    padding: 0;
    font-size: 1.15rem;
}

.v4-update-card {
    border-top: 7px solid #111;
}

.v4-update-meta {
    margin-bottom: 20px;
}

.v4-big-field {
    display: grid;
    gap: 6px;
    margin: 16px 0;
}

.v4-big-field > span {
    font-size: 1.05rem;
    font-weight: 900;
}

.v4-big-field > small {
    color: #70706a;
    margin-top: -2px;
}

.v4-big-field input,
.v4-big-field textarea {
    width: 100%;
    padding: 12px 13px;
    line-height: 1.45;
}

.v4-big-field.confirmed textarea {
    border-width: 2px;
}

.v4-big-field.approved {
    padding: 16px;
    background: #f2f2ef;
}

.v4-big-field.approved textarea {
    border-color: #111;
}

.v4-save-row,
.v4-send-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
}

.v4-save-row span,
.v4-send-row small {
    max-width: 500px;
    color: #6d6d67;
    font-size: .75rem;
}

.v4-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: #111;
    color: #fff;
}

.v4-next div {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.v4-next button {
    padding: 8px 10px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.v4-history-column .sticky {
    position: sticky;
    top: 70px;
}

.v4-update-history {
    display: flex;
    flex-direction: column;
}

.v4-update-item {
    padding: 14px 0;
    border-top: 1px solid #d7d7d2;
}

.v4-update-item.current {
    border-left: 4px solid #111;
    padding-left: 12px;
}

.v4-update-item-head {
    display: flex;
    gap: 8px;
    align-items: center;
}

.v4-update-item-head span {
    min-width: 31px;
    height: 25px;
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
}

.v4-update-item time,
.v4-update-item small {
    display: block;
    margin-top: 5px;
    color: #70706a;
    font-size: .7rem;
}

.v4-update-item button {
    margin-top: 9px;
    padding: 0;
    border: 0;
    background: none;
    color: #111;
    font-size: .72rem;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* Communication */
.v4-output-chooser {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.v4-output-chooser button {
    min-height: 105px;
    padding: 15px;
    border: 1px solid #b9b9b4;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.v4-output-chooser button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.v4-output-chooser strong,
.v4-output-chooser small {
    display: block;
}

.v4-output-chooser strong {
    font-size: 1rem;
}

.v4-output-chooser small {
    margin-top: 7px;
    opacity: .65;
}

.v4-inline-actions {
    display: flex;
    gap: 8px;
}

.v4-output-editor .v4-subject {
    width: 100%;
    padding: 12px 13px;
    margin-bottom: 10px;
    font-weight: 900;
}

.v4-output-editor > textarea {
    width: 100%;
    padding: 14px;
    line-height: 1.5;
}

.v4-char-count {
    padding-top: 7px;
    color: #70706a;
    font-size: .72rem;
    text-align: right;
}

.v4-document-strip {
    display: grid;
    grid-template-columns: 1fr 180px 220px auto auto;
    gap: 10px;
    align-items: end;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #d3d3ce;
}

.v4-document-strip > div {
    align-self: center;
}

.v4-document-strip > div strong,
.v4-document-strip > div small {
    display: block;
}

.v4-document-strip > div small {
    margin-top: 4px;
    color: #71716b;
}

.v4-saved-outputs {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}

.v4-output-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid #d7d7d2;
}

.v4-output-history-row strong,
.v4-output-history-row small {
    display: block;
}

.v4-output-history-row small {
    margin-top: 4px;
    color: #70706a;
}

.v4-output-history-row button,
.v4-package-row button {
    border: 0;
    background: none;
    color: #111;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* Media */
.v4-media-send-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

.v4-media-inquiry-grid,
.v4-media-assets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 18px;
}

.v4-media-list,
.v4-asset-list {
    max-height: 570px;
    overflow: auto;
    border-top: 1px solid #d7d7d2;
}

.v4-media-row {
    padding: 14px 0;
    border-bottom: 1px solid #d7d7d2;
}

.v4-media-row-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.v4-media-row-head span {
    color: #70706a;
    font-size: .7rem;
}

.v4-media-row p {
    margin: 8px 0;
}

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

.v4-asset-row {
    display: grid;
    grid-template-columns: 28px 74px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #d7d7d2;
    cursor: pointer;
}

.v4-asset-preview {
    width: 68px;
    height: 54px;
    background: #ecece8;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.v4-asset-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4-file-icon {
    font-size: .7rem;
    font-weight: 900;
}

.v4-asset-info strong,
.v4-asset-info small {
    display: block;
}

.v4-asset-info small {
    margin-top: 3px;
    color: #70706a;
}

.v4-package-builder {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #d7d7d2;
}

.v4-package-list {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}

.v4-package-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #d7d7d2;
}

.v4-package-row strong,
.v4-package-row small {
    display: block;
}

.v4-package-row small {
    margin-top: 3px;
    color: #70706a;
}

/* Proof */
.v4-chain {
    padding: 13px 15px;
    background: #f0f0ec;
    margin-bottom: 18px;
}

.v4-chain.ok {
    border-left: 5px solid #111;
}

.v4-chain.bad {
    border: 2px solid #111;
}

.v4-note-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 24px;
}

.v4-note-row input {
    min-height: 43px;
    padding: 10px 11px;
}

.v4-timeline {
    border-top: 1px solid #cfcfca;
}

.v4-timeline-row {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid #d9d9d4;
}

.v4-timeline-row time {
    color: #70706a;
    font-size: .72rem;
}

.v4-timeline-row div > span {
    display: block;
    margin-bottom: 3px;
    color: #70706a;
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.v4-timeline-row div > strong {
    display: block;
}

.v4-timeline-row div > small {
    display: block;
    margin-top: 3px;
    color: #70706a;
}

/* Toast */
.v4-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    max-width: min(480px, calc(100% - 40px));
    padding: 13px 15px;
    background: #111;
    color: #fff;
    transform: translateY(130%);
    opacity: 0;
    transition: .18s ease;
    pointer-events: none;
}

.v4-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.v4-toast.error {
    border: 2px solid #fff;
}

/* Responsive */
@media (max-width: 1120px) {
    .v4-tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v4-lage-grid {
        grid-template-columns: 1fr;
    }

    .v4-history-column .sticky {
        position: static;
    }

    .v4-output-chooser {
        grid-template-columns: repeat(3, 1fr);
    }

    .v4-document-strip {
        grid-template-columns: 1fr 1fr;
    }

    .v4-document-strip > div {
        grid-column: 1 / -1;
    }
}

@media (max-width: 850px) {
    .v4-section-head {
        grid-template-columns: 1fr;
    }

    .v4-case-row {
        grid-template-columns: 1fr auto 28px;
    }

    .v4-case-numbers {
        display: none;
    }

    .v4-casebar {
        grid-template-columns: 1fr auto;
    }

    .v4-back {
        grid-column: 1;
    }

    .v4-casebar-title {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-left: 0;
        border-left: 0;
    }

    .v4-casebar-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .v4-core-data,
    .v4-detail-grid,
    .v4-update-meta {
        grid-template-columns: 1fr;
    }

    .v4-output-chooser {
        grid-template-columns: repeat(2, 1fr);
    }

    .v4-media-send-grid,
    .v4-media-inquiry-grid,
    .v4-media-assets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .internal-v4 .header {
        display: none;
    }

    .v4-appbar,
    .v4-casebar,
    .v4-shell,
    .v4-case-shell,
    .v4-tabs {
        width: min(100% - 20px, 1380px);
    }

    .v4-appbar {
        padding-top: 20px;
    }

    .v4-appbar-actions .v4-user {
        display: none;
    }

    .v4-new-case {
        grid-template-columns: 46px 1fr;
    }

    .v4-case-row {
        padding: 16px 14px;
    }

    .v4-status {
        display: none;
    }

    .v4-case-row {
        grid-template-columns: 1fr 28px;
    }

    .v4-tool-grid {
        grid-template-columns: 1fr;
    }

    .v4-tool-grid a {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #d6d6d1;
    }

    .v4-tabs {
        top: 0;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .v4-tab {
        padding: 7px 3px;
        font-size: .68rem;
    }

    .v4-tab b {
        display: block;
        margin: 0 auto 2px;
    }

    .v4-casebar {
        padding-top: 14px;
    }

    .v4-casebar-actions {
        flex-direction: column;
    }

    .v4-casebar-actions .v4-btn {
        min-height: 36px;
        padding: 7px 9px;
        font-size: .72rem;
    }

    .v4-card {
        padding: 18px 15px;
    }

    .v4-card-head {
        flex-direction: column;
    }

    .v4-output-chooser {
        grid-template-columns: 1fr 1fr;
    }

    .v4-output-chooser button {
        min-height: 90px;
        padding: 12px;
    }

    .v4-inline-actions {
        width: 100%;
    }

    .v4-inline-actions .v4-btn {
        flex: 1;
    }

    .v4-save-row,
    .v4-send-row,
    .v4-next {
        align-items: stretch;
        flex-direction: column;
    }

    .v4-next div {
        flex-direction: column;
    }

    .v4-document-strip {
        grid-template-columns: 1fr;
    }

    .v4-timeline-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .v4-note-row {
        grid-template-columns: 1fr;
    }

    .v4-login-card {
        padding: 26px 20px;
    }
}
