[v-cloak] {
    display: none;
}

.pu-controller-page {
    background: #eef2f6;
    color: #333;
    font-family: "Open Sans", Arial, sans-serif;
}

.pu-app {
    min-height: calc(100vh - 70px);
    margin-top: 70px;
    padding-bottom: 32px;
}

.pu-app-chrome {
    position: sticky;
    top: 70px;
    z-index: 20;
    background: #eef2f6;
    box-shadow: 0 2px 8px rgba(0, 49, 87, 0.18);
}

.pu-appbar {
    background: #0063b0;
    color: #fff;
}

.pu-appbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1600px;
    min-height: 58px;
    margin: 0 auto;
    padding: 10px 24px;
}

.pu-appbar-brand,
.pu-appbar-account {
    display: flex;
    align-items: center;
}

.pu-appbar-brand {
    gap: 12px;
    min-width: 0;
}

.pu-appbar-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    color: #fff;
    font-size: 17px;
}

.pu-appbar-title {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pu-appbar-title span {
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.78;
}

.pu-appbar-title strong {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.pu-appbar-user {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 320px;
    font-size: 13px;
    white-space: nowrap;
}

.pu-appbar-account {
    gap: 18px;
}

.pu-appbar-logout {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 0 6px 18px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pu-appbar-logout:hover,
.pu-appbar-logout:focus {
    color: #fff;
    text-decoration: underline;
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.pu-notice {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: min(360px, calc(100vw - 40px));
    padding: 9px 10px 9px 12px;
    border-left: 4px solid #2d8a4f;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 39, 64, 0.2);
    color: #344454;
    font-size: 13px;
}

.pu-notice > span:nth-child(2) {
    flex: 1 1 auto;
}

.pu-shell {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.pu-shell_workspace {
    margin-top: 0;
}

.pu-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #d8e0e8;
    background: #d8e0e8;
}

.pu-tab {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 54px;
    padding: 9px 14px;
    border: 0;
    background: #fff;
    color: #405161;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.pu-tab:hover,
.pu-tab:focus {
    background: #f3f8fc;
    color: #0063b0;
    outline: 2px solid #69a8d6;
    outline-offset: -2px;
}

.pu-tab.is-active {
    background: #e8f2fb;
    color: #004c88;
}

.pu-tab > span:nth-child(2) {
    flex: 1 1 auto;
    font-weight: 600;
}

.pu-tab small {
    color: #637383;
    font-size: 12px;
    white-space: nowrap;
}

.pu-workspace {
    min-height: 560px;
    padding: 18px;
    border: 1px solid #d8e0e8;
    border-top: 0;
    background: #fff;
}

.pu-workspace-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8ef;
}

.pu-kicker {
    margin: 0 0 4px;
    color: #6b7a89;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.pu-workspace-header h2,
.pu-document-panel h3 {
    margin: 0;
    color: #263645;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}

.pu-button,
.pu-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.2;
}

.pu-button {
    min-height: 36px;
    padding: 8px 12px;
}

.pu-icon-button {
    width: 30px;
    height: 30px;
    padding: 0;
    border-color: #d9e2ea;
    background: #fff;
    color: #536475;
}

.pu-button_secondary {
    border-color: #c7d4df;
    background: #fff;
    color: #0063b0;
}

.pu-button:hover,
.pu-button:focus,
.pu-icon-button:hover,
.pu-icon-button:focus {
    border-color: #0063b0;
    outline: 2px solid #69a8d6;
    outline-offset: 1px;
}

.pu-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.pu-view {
    padding-top: 18px;
}

.pu-master-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
    gap: 16px;
}

.pu-search-panel,
.pu-unlinked-panel {
    border: 1px solid #dce5ed;
    background: #fff;
}

.pu-search-panel {
    padding: 16px;
}

.pu-search-panel h3,
.pu-unlinked-panel h3 {
    margin: 0 0 12px;
    color: #263645;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.pu-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.pu-button_primary {
    border-color: #0063b0;
    background: #0063b0;
    color: #fff;
}

.pu-button_primary:hover,
.pu-button_primary:focus {
    background: #004f8c;
    color: #fff;
}

.pu-empty-state_compact {
    min-height: 180px;
}

.pu-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pu-account-card {
    display: grid;
    gap: 8px;
    padding: 13px;
    border: 1px solid #dce5ed;
    border-radius: 6px;
    background: #f8fafc;
}

.pu-account-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pu-account-card strong {
    color: #263645;
}

.pu-account-card span,
.pu-account-card small {
    color: #647585;
}

.pu-account-card p {
    margin: 0;
    color: #405161;
    line-height: 1.4;
}

.pu-unlinked-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: #f8fafc;
}

.pu-unlinked-panel > .glyphicon {
    margin-bottom: 12px;
    color: #0063b0;
    font-size: 26px;
}

.pu-unlinked-panel p {
    flex: 1 1 auto;
    margin-bottom: 16px;
    color: #5d6c7a;
    line-height: 1.45;
}

.pu-stepper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.pu-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dce5ed;
    background: #f7f9fb;
    color: #697887;
}

.pu-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d8e2ec;
    color: #435567;
    font-weight: 700;
}

.pu-step.is-active {
    border-color: #9fc6e5;
    background: #edf6fc;
    color: #004c88;
}

.pu-step.is-active span {
    background: #0063b0;
    color: #fff;
}

.pu-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 24px;
    border: 1px dashed #cbd8e4;
    background: #f8fafc;
    text-align: center;
}

.pu-empty-icon {
    margin-bottom: 12px;
    color: #0063b0;
    font-size: 30px;
}

.pu-empty-state h3 {
    margin: 0 0 8px;
    color: #263645;
    font-size: 18px;
    line-height: 1.3;
}

.pu-empty-state p,
.pu-helper,
.pu-summary-card p,
.pu-template-card p,
.pu-document-panel p {
    color: #5d6c7a;
    line-height: 1.45;
}

.pu-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.pu-summary-card {
    padding: 14px;
    border: 1px solid #e0e7ee;
    background: #fff;
}

.pu-summary-value {
    display: block;
    color: #0063b0;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.pu-summary-card strong {
    display: block;
    margin-top: 7px;
    color: #263645;
}

.pu-summary-card p {
    margin: 6px 0 0;
    font-size: 13px;
}

.pu-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(5, minmax(145px, 0.7fr)) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.pu-register-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 9px 11px;
    border: 1px solid #e0e7ee;
    background: #f8fafc;
    color: #586979;
    font-size: 13px;
}

.pu-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    color: #536475;
    font-size: 12px;
    font-weight: 600;
}

.pu-field input,
.pu-field select,
.pu-field textarea {
    height: 36px;
    padding: 7px 9px;
    border: 1px solid #cbd8e4;
    border-radius: 4px;
    background: #f7f9fb;
    color: #344556;
    font-size: 13px;
}

.pu-field textarea {
    height: auto;
    min-height: 140px;
    resize: vertical;
}

.pu-field input:focus,
.pu-field select:focus,
.pu-field textarea:focus {
    border-color: #0063b0;
    outline: 2px solid #69a8d6;
    outline-offset: 1px;
}

.pu-field input.has-error,
.pu-field select.has-error,
.pu-field textarea.has-error {
    border-color: #ba3f3f;
    background: #fff8f8;
}

.pu-field small {
    color: #7b8793;
    font-size: 12px;
    font-weight: 400;
}

.pu-error-text {
    color: #9b3030;
}

.pu-request-form {
    display: grid;
    gap: 14px;
}

.pu-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 16px;
}

.pu-form-main,
.pu-form-aside {
    padding: 16px;
    border: 1px solid #dce5ed;
    background: #fff;
}

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

.pu-form-section-title h3 {
    margin: 0;
    color: #263645;
    font-size: 18px;
    line-height: 1.3;
}

.pu-link-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 3px;
    background: #e8f2fb;
    color: #005b9f;
    font-size: 12px;
    font-weight: 700;
}

.pu-link-badge.is-muted {
    background: #eef1f4;
    color: #627181;
}

.pu-validation-summary {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-left: 4px solid #ba3f3f;
    background: #fff6f6;
    color: #7f2a2a;
}

.pu-validation-summary strong {
    display: block;
    margin-bottom: 5px;
}

.pu-validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

.pu-readonly-box {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #d9e8f4;
    background: #f2f8fd;
}

.pu-readonly-box span,
.pu-readonly-box small {
    color: #627181;
    font-size: 12px;
}

.pu-readonly-box strong {
    color: #263645;
}

.pu-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pu-field_wide {
    grid-column: 1 / -1;
}

.pu-channel-box {
    margin: 14px 0 0;
    padding: 12px;
    border: 1px solid #dce5ed;
}

.pu-channel-box legend {
    width: auto;
    margin: 0;
    padding: 0 4px;
    border: 0;
    color: #536475;
    font-size: 12px;
    font-weight: 700;
}

.pu-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    color: #354657;
    font-weight: 600;
}

.pu-check input {
    margin: 0;
}

.pu-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 0 0;
    border-top: 1px solid #e2e8ef;
}

.pu-table-shell {
    overflow-x: auto;
    border: 1px solid #dce5ed;
}

.pu-table {
    width: 100%;
    min-width: 980px;
    margin: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.pu-table th,
.pu-table td {
    padding: 10px 11px;
    border-bottom: 1px solid #e4ebf2;
    vertical-align: top;
}

.pu-table tr.is-highlighted td {
    background: #fff8df;
}

.pu-table th {
    background: #f3f7fa;
    color: #4f6172;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pu-table td span {
    display: block;
    margin-top: 3px;
    color: #687987;
    font-size: 12px;
}

.pu-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 3px;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pu-status_new {
    background: #e8f2fb;
    color: #005b9f;
}

.pu-status_assigned {
    background: #fff3d6;
    color: #8a5a00;
}

.pu-status_in-work {
    background: #e9f7ee;
    color: #247145;
}

.pu-status_docs-ready {
    background: #ede9fb;
    color: #5b47a6;
}

.pu-status_closed {
    background: #e7f4e8;
    color: #2d6d31;
}

.pu-status_canceled {
    background: #f5e6e6;
    color: #9b3030;
}

.pu-status-select {
    width: 100%;
    min-width: 145px;
    height: 30px;
    padding: 4px 7px;
    border: 1px solid #ccd7e1;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.pu-status-select:focus {
    outline: 2px solid #69a8d6;
    outline-offset: 1px;
}

.pu-status-select_new {
    background: #e8f2fb;
    color: #005b9f;
}

.pu-status-select_assigned {
    background: #fff3d6;
    color: #8a5a00;
}

.pu-status-select_in-work {
    background: #e9f7ee;
    color: #247145;
}

.pu-status-select_docs-ready {
    background: #ede9fb;
    color: #5b47a6;
}

.pu-status-select_closed {
    background: #e7f4e8;
    color: #2d6d31;
}

.pu-status-select_canceled {
    background: #f5e6e6;
    color: #9b3030;
}

.pu-row-actions {
    display: flex;
    gap: 6px;
}

.pu-empty-inline {
    padding: 18px;
    color: #627181;
    text-align: center;
}

.pu-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
    color: #536475;
    font-size: 13px;
}

.pu-helper {
    margin: 12px 0 0;
    font-size: 13px;
}

.pu-doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 16px;
}

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

.pu-template-card {
    position: relative;
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid #dce5ed;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pu-template-card:hover {
    border-color: #69a8d6;
    background: #f8fbfe;
}

.pu-template-card.is-selected {
    border-color: #0063b0;
    background: #f0f7fd;
    box-shadow: inset 4px 0 0 #0063b0, 0 2px 8px rgba(0, 99, 176, 0.12);
}

.pu-template-select {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.pu-template-select:focus {
    outline: 2px solid #0063b0;
    outline-offset: 2px;
}

.pu-template-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #263645;
}

.pu-template-card-title .glyphicon {
    color: #0063b0;
}

.pu-template-card p {
    margin: 0;
    font-size: 13px;
}

.pu-template-card small {
    color: #6a7988;
}

.pu-template-card > .pu-button {
    position: relative;
    z-index: 2;
}

.pu-document-panel {
    padding: 16px;
    border: 1px solid #dce5ed;
    background: #f8fafc;
}

.pu-document-panel h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.pu-document-summary {
    display: grid;
    gap: 5px;
    margin: 12px 0;
    padding: 11px;
    border: 1px solid #d9e8f4;
    background: #f2f8fd;
    color: #4c5e70;
    font-size: 13px;
}

.pu-document-summary strong {
    color: #263645;
}

.pu-document-warning {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
    border-left: 4px solid #d9901f;
    background: #fff8e8;
    color: #73500d;
    line-height: 1.4;
}

.pu-document-actions {
    display: grid;
    gap: 9px;
}

.pu-document-preview {
    display: grid;
    gap: 16px;
}

.pu-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid #dce5ed;
    background: #f8fafc;
}

.pu-preview-actions {
    display: flex;
    gap: 10px;
}

.pu-a4-sheet {
    width: min(210mm, 100%);
    min-height: 297mm;
    margin: 0 auto;
    padding: 20mm;
    background: #fff;
    box-shadow: 0 6px 22px rgba(27, 42, 57, 0.18);
    color: #1f2933;
}

.pu-doc-head {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 2px solid #1f2933;
}

.pu-doc-head span,
.pu-doc-head small {
    color: #5e6d7b;
}

.pu-doc-head strong {
    font-size: 18px;
}

.pu-a4-sheet h2 {
    margin: 22px 0 14px;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
}

.pu-doc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.pu-doc-table th,
.pu-doc-table td {
    padding: 8px;
    border: 1px solid #b7c0ca;
    vertical-align: top;
}

.pu-doc-table th {
    width: 32%;
    background: #f1f4f7;
    font-weight: 700;
}

.pu-doc-block {
    margin-top: 16px;
}

.pu-doc-block h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.pu-doc-block p {
    margin: 0 0 6px;
    line-height: 1.5;
}

.pu-doc-lines {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.pu-doc-lines div {
    height: 42px;
    border-bottom: 1px solid #333;
}

.pu-doc-lines span {
    color: #657585;
    font-size: 12px;
}

.pu-doc-signatures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
    font-size: 13px;
}

.pu-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(28, 42, 56, 0.48);
}

.pu-modal {
    width: min(860px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.pu-modal:focus {
    outline: 2px solid #69a8d6;
}

.pu-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #dce5ed;
}

.pu-modal-header h2 {
    margin: 0;
    color: #263645;
    font-size: 20px;
    line-height: 1.25;
}

.pu-modal-readonly {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 11px 16px;
    border-bottom: 1px solid #e5ecf2;
    background: #f8fafc;
    color: #536475;
    font-size: 13px;
}

.pu-modal-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

@media (max-width: 1199px) {
    .pu-controller-page .demo-header {
        position: static;
    }

    .pu-app {
        min-height: 0;
        margin-top: 0;
    }

    .pu-app-chrome {
        top: 0;
    }

    .pu-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pu-appbar-inner,
    .pu-shell {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pu-summary-grid,
    .pu-toolbar,
    .pu-master-grid,
    .pu-form-grid,
    .pu-doc-layout {
        grid-template-columns: 1fr;
    }

    .pu-search-results {
        grid-template-columns: 1fr;
    }

    .pu-template-list {
        grid-template-columns: 1fr;
    }

    .pu-a4-sheet {
        min-height: auto;
        padding: 18px;
    }

    .pu-preview-toolbar,
    .pu-preview-actions,
    .pu-doc-signatures {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .pu-controller-page .demo-header-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .pu-controller-page .demo-header-logo {
        width: 100%;
    }

    .pu-controller-page .demo-header-back {
        margin-left: 40px;
    }

    .pu-app-chrome {
        position: static;
    }

    .pu-appbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pu-appbar-account {
        justify-content: space-between;
    }

    .pu-tabs {
        grid-template-columns: 1fr;
    }

    .pu-notice {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
    }

    .pu-workspace {
        padding: 14px;
    }

    .pu-workspace-header {
        flex-direction: column;
    }

    .pu-button {
        width: 100%;
    }

    .pu-stepper {
        grid-template-columns: 1fr;
    }

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

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

    .pu-register-summary,
    .pu-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .pu-modal-backdrop {
        align-items: flex-start;
        padding: 12px;
    }

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

    .pu-form-actions {
        flex-direction: column-reverse;
    }
}

@media print {
    .demo-header,
    .pu-app-chrome,
    .pu-appbar,
    .pu-notice,
    .pu-tabs,
    .pu-workspace-header,
    .pu-preview-toolbar,
    .pu-modal-backdrop {
        display: none !important;
    }

    .pu-controller-page,
    .pu-app,
    .pu-shell,
    .pu-workspace,
    .pu-view,
    .pu-document-preview {
        margin: 0;
        padding: 0;
        border: 0;
        background: #fff;
        box-shadow: none;
    }

    .pu-a4-sheet {
        width: auto;
        min-height: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
}
