@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}

a {
text-decoration: none;
color: #444;
}

img {
vertical-align: middle;
}

body {
font-size: 14px;
line-height: 1.5;
font-weight: normal;
font-family: 'San Francisco', sans-serif;
color: #444;
}

button,
input,
optgroup,
select,
textarea {
margin: 0;
outline: none;
font: inherit;
line-height: inherit;
}

.container {
max-width: 1250px;
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}

.row {
margin-left: -15px;
margin-right: -15px;
}

.row_5 {
margin-left: -5px;
margin-right: -5px;
}

.row_10 {
margin-left: -10px;
margin-right: -10px;
}

.container:before,
.container:after,
.row:before,
.row:after,
.row_5:before,
.row_5:after,
.row_10:before,
.row_10:after {
content: " ";
display: table;
clear: both;
}

.clr {
clear: both;
}

.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
height: auto;
max-width: 100%;
}

.alignleft {
float: left;
margin-right: 15px;
margin-bottom: 10px;
}

.alignright {
float: right;
margin-left: 15px;
margin-bottom: 10px;
}

.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

/***** WP King RIK Workspace *****/

body.rik-app,
body.rik-login-page {
    background: #f5f6fa;
    color: #242733;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.rik-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.rik-header {
    background: #fff;
}

.rik-app .rik-header {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 248px;
    border-right: 1px solid #e6e8ef;
}

.rik-header-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 20px 24px;
}

.rik-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
    color: #242733;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.6px;
}

.rik-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 42px;
    border-radius: 12px;
    background: #5146d8;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.rik-brand small {
    display: block;
    margin-top: 1px;
    color: #697286;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
}

.rik-nav-caption {
    margin: 46px 12px 16px;
    color: #697286;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 1.2px;
}

.rik-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rik-menu a,
.rik-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-radius: 10px;
    color: #697286;
    font-size: 12px;
    font-weight: 550;
}

.rik-menu a.is-active {
    background: #eeecfc;
    color: #5146d8;
}

.rik-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 20px 8px 16px;
    border-top: 1px solid #eeeff4;
}

.rik-account strong {
    display: block;
    font-size: 12px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.rik-account small {
    display: block;
    margin-top: 4px;
    color: #697286;
    font-size: 11px;
}

.rik-avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eceaf9;
    color: #655bc7;
    font-size: 12px;
    font-weight: 650;
}

.rik-logout {
    color: #697286;
    font-size: 12px;
}

.rik-app .rik-main {
    max-width: 1800px;
    margin-left: 248px;
    margin-right: 0;
    padding: 36px clamp(20px, 3vw, 54px) 64px;
}

.rik-page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.rik-eyebrow {
    color: #697286;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 1.5px;
}

.rik-page-heading h1 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -1px;
}

.rik-page-heading p {
    margin: 0;
    color: #697286;
    font-size: 12px;
}

.rik-date {
    padding: 10px 14px;
    border: 1px solid #e5e7ef;
    border-radius: 9px;
    background: #fff;
    color: #697286;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.rik-main h2 {
    margin-top: 30px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.4px;
}

.rik-main h3 {
    margin: 20px 0 12px;
    font-size: 15px;
    font-weight: 650;
}

.rik-main p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.rik-main a {
    color: #5146d8;
}

.rik-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 25px;
    color: #697286;
    font-size: 12px;
}

.rik-breadcrumbs a {
    color: #697286;
}

.rik-breadcrumbs a:last-child {
    color: #5146d8;
}

.rik-fields,
.rik-actions,
.rik-password {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
}

.rik-actions {
    margin-top: 20px;
}

.rik-panel {
    margin: 24px 0;
    padding: 26px;
    border: 1px solid #e5e7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(28 31 54 / 2%);
}

.rik-panel h2:first-child,
.rik-panel h3:first-child {
    margin-top: 0;
}

.rik-main label,
.rik-login label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    color: #697286;
    font-size: 12px;
    font-weight: 550;
}

.rik-fields label,
.rik-password label {
    flex: 1 1 12rem;
    margin-bottom: 0;
}

.rik-password {
    margin: 20px 0 12px;
}

.rik-main input:not([type="checkbox"]),
.rik-main select,
.rik-main textarea,
.rik-login input:not([type="hidden"]) {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #e0e3ec;
    border-radius: 8px;
    background: #fff;
    color: #35394c;
    font-size: 13px;
    font-weight: 450;
}

.rik-main input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5146d8;
    cursor: pointer;
}

.rik-main input[readonly],
.rik-main select:disabled {
    background: #f7f8fb;
    color: #697286;
}

.rik-main input:focus-visible,
.rik-main textarea:focus-visible,
.rik-main select:focus-visible,
.rik-login input:focus-visible,
.rik-main button:focus-visible,
.rik-main a:focus-visible,
.rik-menu a:focus-visible,
.rik-main summary:focus-visible {
    outline: 2px solid #8c82ef;
    outline-offset: 3px;
}

.rik-main button,
.rik-login button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #5146d8;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.rik-main button:active:not(:focus-visible),
.rik-login button:active:not(:focus-visible) {
    transform: scale(0.98);
}

.rik-main button:disabled {
    opacity: 0.55;
    cursor: wait;
}

.rik-main .rik-danger {
    background: #fff1f1;
    border-color: #ffe0e0;
    color: #c14f53;
}

.rik-main .rik-add-row,
.rik-main .rik-generate-password,
.rik-main .rik-copy-password,
.rik-main .rik-remove-row {
    border-color: #e5e7ef;
    background: #fff;
    color: #697286;
}

.rik-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rik-object {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 24px;
    border: 1px solid #e4e7ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(28 31 54 / 2%);
}

.rik-object-link {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 12rem;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.3px;
}

.rik-node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 44px;
    border-radius: 10px;
    background: #f3f2fc;
    color: #7469d6;
}

.rik-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.rik-stats div {
    display: flex;
    flex: 1 1 10rem;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    background: #fff;
}

.rik-stats span {
    color: #697286;
    font-size: 11px;
    font-weight: 500;
}

.rik-stats strong {
    color: #34394e;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -0.6px;
}

.rik-stats div:nth-child(2) strong {
    color: #5146d8;
}

.rik-stats div:nth-child(3) strong {
    color: #237c5d;
}

.rik-object .rik-stats {
    gap: 26px;
    margin: 0;
}

.rik-object .rik-stats div {
    flex: 1 1 auto;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.rik-object .rik-stats strong {
    font-size: 15px;
    letter-spacing: -0.3px;
}

.rik-system-card {
    align-items: stretch;
    flex: 1 1 calc(50% - 16px);
    flex-direction: column;
    gap: 16px;
    padding: 30px;
}

.rik-system-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rik-system-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 56px;
    border-radius: 15px;
    background: #eeecff;
    color: #6b5de2;
}

.rik-system-icon .rik-icon {
    width: 27px;
    height: 27px;
}

.rik-fire .rik-system-icon {
    background: #fff1e9;
    color: #df9160;
}

.rik-system-code {
    color: #697286;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.rik-system-card .rik-object-link {
    flex: none;
    color: #30364c;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.6px;
}

.rik-system-card .rik-stats {
    padding: 22px 0;
    border-top: 1px solid #eff0f6;
    border-bottom: 1px solid #eff0f6;
}

.rik-system-card .rik-stats div {
    flex: 1 1 calc(50% - 26px);
}

.rik-system-card p {
    margin: -7px 0 0;
}

.rik-system-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rik-muted,
.rik-main small {
    color: #697286;
    font-size: 12px;
    font-weight: 450;
}

.rik-main small {
    display: block;
    margin-top: 5px;
    line-height: 1.6;
}

.rik-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 44px 24px;
    margin: 20px 0;
    border: 1px dashed #dcdfea;
    border-radius: 12px;
    background: #fafbfe;
    color: #697286;
    text-align: center;
    font-size: 12px;
}

.rik-empty .rik-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    color: #b3afdb;
}

.rik-empty strong {
    color: #676e84;
    font-size: 14px;
    font-weight: 600;
}

.rik-warning,
.rik-main .rik-warning {
    color: #c15a52;
}

.rik-notice {
    position: sticky;
    top: 18px;
    z-index: 15;
    margin-bottom: 20px;
    padding: 14px 18px;
    border: 1px solid #c4e7d8;
    border-radius: 10px;
    background: #f0faf5;
    color: #388968;
    font-size: 12px;
    box-shadow: 0 5px 18px rgb(28 31 54 / 6%);
}

.rik-notice.has-error {
    border-color: #f0ceca;
    background: #fff5f3;
    color: #ba554e;
}

.rik-table-wrap {
    overflow-x: auto;
    margin: 16px 0 24px;
    border: 1px solid #e4e7ef;
    border-radius: 12px;
    background: #fff;
}

.rik-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.rik-table th,
.rik-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: top;
}

.rik-table th {
    background: #fafbfe;
    color: #697286;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.rik-table tbody tr:last-child td {
    border-bottom: 0;
}

.rik-table input,
.rik-table select {
    min-width: clamp(5rem, 9vw, 10rem);
}

.rik-material-row td:first-child input[type="text"] {
    min-width: clamp(14rem, 24vw, 26rem);
}

.rik-table td:first-child {
    min-width: min(14rem, 100%);
}

.rik-payroll th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 12rem;
    color: #596278;
    background: #fafbfe;
    font-size: 12px;
}

.rik-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    white-space: nowrap;
    margin-bottom: 12px;
    color: #697286;
    font-size: 11px;
}

.rik-cell strong {
    color: #5d657a;
    font-weight: 550;
}

.rik-cell span:last-child,
.rik-cell span:last-child strong {
    color: #675cce;
}

/***** WP King RIK Users *****/

.rik-users {
    align-items: stretch;
    gap: 12px;
}

.rik-user {
    display: flex;
    flex-direction: column;
    flex: 0 1 calc((100% - 60px) / 6);
    min-width: 0;
    padding: 16px;
    margin: 0;
}

.rik-user > strong {
    display: block;
    color: #394158;
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.rik-user > small {
    overflow-wrap: anywhere;
}

.rik-user > p {
    align-self: flex-start;
    display: inline-block;
    padding: 4px 9px;
    margin: 10px 0 4px;
    background: #f0effb;
    border-radius: 5px;
    color: #695ba8;
    font-size: 11px;
}

.rik-user button {
    padding: 10px 12px;
}

.rik-user > details {
    margin-top: auto;
}

.rik-user .rik-fields label,
.rik-user .rik-password label {
    flex-basis: 100%;
    min-width: 0;
}

.rik-user .rik-password {
    gap: 8px;
}

@media (max-width: 1600px) {
    .rik-user {
        flex-basis: calc((100% - 36px) / 4);
    }
}

@media (max-width: 1280px) {
    .rik-user {
        flex-basis: calc((100% - 24px) / 3);
    }
}

@media (max-width: 1050px) {
    .rik-user {
        flex-basis: calc((100% - 12px) / 2);
    }
}

@media (max-width: 600px) {
    .rik-user {
        flex-basis: 100%;
    }
}

/***** WP King RIK Users *****/

.rik-main summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    list-style: none;
    cursor: pointer;
    color: #665aad;
    font-size: 12px;
    font-weight: 550;
}

.rik-main summary::-webkit-details-marker {
    display: none;
}

.rik-main summary::after {
    content: '+';
    color: #a39ec8;
    font-size: 18px;
    font-weight: 400;
}

.rik-main details[open] > summary::after {
    content: '−';
}

.rik-main details form {
    margin: 12px 0;
}

/***** WP King RIK Work Review *****/

.rik-journal th,
.rik-journal td {
    padding: 10px 8px;
    vertical-align: middle;
}

.rik-journal td:first-child {
    min-width: 0;
    white-space: nowrap;
}

.rik-entry-number {
    white-space: nowrap;
}

.rik-entry-work {
    min-width: min(18rem, 100%);
}

.rik-entry-work > strong {
    display: block;
    line-height: 1.5;
    font-weight: 550;
}

.rik-entry-work > small {
    white-space: normal;
}

.rik-entry-person {
    white-space: nowrap;
}

.rik-entry-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rik-journal .rik-entry-actions-cell,
.rik-journal th:last-child {
    position: sticky;
    right: 0;
    z-index: 1;
    border-left: 1px solid #edf0f5;
    background: #fff;
}

.rik-journal th:last-child {
    background: #fafbfe;
}

.rik-review-form {
    margin: 0;
}

.rik-entry-actions button {
    padding: 10px 12px;
    white-space: nowrap;
}

.rik-entry-actions .rik-icon {
    width: 16px;
    height: 16px;
}

.rik-main .rik-secondary,
.rik-main .rik-dialog-close {
    border-color: #e0e3ec;
    background: #fff;
    color: #596278;
}

.rik-main .rik-icon-button,
.rik-main .rik-dialog-header .rik-dialog-close {
    flex-shrink: 0;
    width: 44px;
    padding: 10px;
}

.rik-modal-open {
    overflow: hidden;
}

.rik-dialog {
    width: min(36rem, calc(100% - 32px));
    max-height: calc(100svh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid #e4e7ef;
    border-radius: 18px;
    background: #fff;
    color: #35394c;
    box-shadow: 0 24px 80px rgb(25 30 52 / 20%);
    overflow: auto;
    overscroll-behavior: contain;
}

.rik-dialog::backdrop {
    background: rgb(25 30 52 / 48%);
}

.rik-dialog-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.rik-dialog-header h2 {
    margin: 0;
    font-size: 20px;
}

.rik-dialog-body {
    padding: 24px;
}

.rik-dialog-context {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.rik-dialog-context span {
    color: #697286;
    font-size: 12px;
}

.rik-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.rik-dialog textarea {
    min-height: 120px;
    resize: vertical;
}

.rik-dialog .rik-history {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.7;
}

.rik-delete-work {
    margin-top: 20px;
}

/***** WP King RIK Work Review *****/

.rik-history {
    padding-left: 18px;
    font-size: 11px;
    color: #697286;
}

.rik-history li {
    margin-bottom: 10px;
}

.rik-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 550;
}

.rik-pending {
    background: #fff5e5;
    color: #8b651b;
}

.rik-approved {
    background: #eaf7f0;
    color: #267955;
}

.rik-rejected {
    background: #fff0ef;
    color: #ac4e46;
}

.rik-cancelled {
    background: #f0f1f5;
    color: #697286;
}

.rik-month-filter label {
    flex: 0 1 16rem;
}

.admin-bar .rik-header {
    top: 32px;
}

/***** WP King RIK Login *****/

body.rik-login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 100svh;
    padding: 32px 20px;
}

.rik-login-page .rik-header {
    flex-shrink: 0;
    background: transparent;
}

.rik-login-page .rik-header-inner {
    align-items: center;
    height: auto;
    padding: 0;
}

.rik-login-page .rik-brand small {
    display: none;
}

.rik-login {
    flex: 0 0 auto;
    width: min(100%, 26rem);
    padding: 0;
    margin: 0;
}

.rik-login h1 {
    margin-bottom: 26px;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -0.6px;
    text-align: center;
}

.rik-login .rik-panel {
    padding: clamp(24px, 4vw, 36px);
    margin: 0;
    border: 1px solid #e4e7ef;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgb(28 31 54 / 4%);
}

.rik-login label {
    gap: 8px;
    margin-bottom: 18px;
    color: #596278;
    font-size: 13px;
}

.rik-login input:not([type="hidden"]) {
    min-height: 48px;
    background: #fafbfe;
    border-color: #e8eaf2;
}

.rik-login button {
    width: 100%;
    margin-top: 6px;
    min-height: 48px;
    font-size: 13px;
}

.rik-login .rik-warning {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
}

/***** WP King RIK Login *****/

@media (hover: hover) and (pointer: fine) {
    .rik-menu a:hover,
    .rik-logout:hover {
        background: #f5f4fc;
        color: #766bd0;
    }

    .rik-main button:hover,
    .rik-login button:hover {
        filter: brightness(0.98);
    }

    .rik-table tbody tr:hover td {
        background: #fdfdff;
    }
}

@media (max-width: 1050px) {
    .rik-app .rik-header {
        width: 210px;
    }

    .rik-app .rik-main {
        margin-left: 210px;
    }

    .rik-system-card {
        padding: 24px;
    }

    .rik-object > .rik-stats {
        width: 100%;
        padding-top: 16px;
        border-top: 1px solid #f0f1f6;
    }
}

@media (max-width: 760px) {
    .rik-app .rik-header {
        position: static;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e6e8ef;
    }

    .rik-app .rik-header-inner {
        padding: 20px 20px 12px;
    }

    .rik-brand {
        padding-left: 0;
    }

    .rik-nav-caption,
    .rik-account {
        display: none;
    }

    .rik-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 20px;
    }

    .rik-menu a {
        gap: 7px;
        padding: 10px 9px;
        font-size: 11px;
    }

    .rik-menu .rik-icon {
        width: 16px;
        height: 16px;
    }

    .rik-logout {
        align-self: flex-end;
        padding: 8px;
        margin-top: 4px;
    }

    .rik-app .rik-main {
        padding: 26px 20px 44px;
        margin-left: 0;
    }

    .rik-page-heading {
        gap: 12px;
    }

    .rik-page-heading h1 {
        font-size: 26px;
    }

    .rik-date {
        font-size: 11px;
        padding: 7px 10px;
    }

    .rik-system-card {
        flex-basis: 100%;
    }

    .rik-stats {
        gap: 10px;
    }

    .rik-stats div {
        flex-basis: calc(50% - 10px);
        padding: 16px;
    }

    .rik-stats strong {
        font-size: 18px;
    }

    .rik-panel {
        padding: 20px;
    }

    .rik-main input:not([type="checkbox"]),
    .rik-main select,
    .rik-main textarea,
    .rik-login input:not([type="hidden"]) {
        font-size: 16px;
    }

    .rik-positions thead,
    .rik-journal thead {
        display: none;
    }

    .rik-positions tbody,
    .rik-journal tbody {
        display: block;
    }

    .rik-positions tr,
    .rik-journal tr {
        display: flex;
        flex-wrap: wrap;
        padding: 14px;
        border-bottom: 1px solid #e8ebf2;
    }

    .rik-positions td,
    .rik-journal td {
        flex: 1 1 calc(33.333% - 12px);
        padding: 10px 6px;
        border: 0;
        font-size: 12px;
    }

    .rik-positions td::before,
    .rik-journal td::before {
        display: block;
        content: attr(data-label);
        margin-bottom: 6px;
        color: #697286;
        font-size: 11px;
    }

    .rik-positions td:first-child,
    .rik-positions td:last-child {
        flex-basis: 100%;
    }

    .rik-positions td:first-child {
        font-size: 14px;
        font-weight: 600;
    }

    .rik-positions td:first-child::before {
        display: none;
    }

    .rik-journal .rik-entry-person,
    .rik-journal .rik-entry-work,
    .rik-journal .rik-entry-actions-cell {
        flex-basis: 100%;
    }

    .rik-journal .rik-entry-work > small {
        max-width: 100%;
        white-space: normal;
    }

    .rik-journal .rik-entry-actions-cell::before {
        display: none;
    }

    .rik-journal .rik-entry-actions-cell {
        position: static;
        border-left: 0;
    }

    .rik-entry-actions {
        flex-wrap: wrap;
    }

    .rik-dialog-header {
        padding: 16px;
    }

    .rik-dialog-header h2 {
        font-size: 18px;
    }

    .rik-dialog-body {
        padding: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rik-main button,
    .rik-login button {
        transition: none;
    }

    .rik-main button:active:not(:focus-visible),
    .rik-login button:active:not(:focus-visible) {
        transform: none;
    }
}

/***** WP King RIK Workspace *****/
