.wsrv-im-app {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
    display: grid;
    gap: 1rem;
}

.wsrv-im-hero,
.wsrv-im-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    border: 1px solid #d7dee6;
    border-top: 6px solid #4c75a0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(16, 43, 67, 0.06);
}

.wsrv-im-hero {
    padding: 1.25rem 1.5rem;
}

.wsrv-im-panel {
    padding: 1.25rem;
}

.wsrv-im-panel--primary {
    border-top-color: #183e63;
    background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.wsrv-im-panel--results {
    border-top-color: #8c9bab;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.wsrv-im-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #4c75a0;
}

.wsrv-im-app h1,
.wsrv-im-app h2 {
    margin: 0;
    color: #1c3954;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.wsrv-im-hero h1 {
    font-size: 2.15rem;
}

.wsrv-im-hero p,
.wsrv-im-panel p,
.wsrv-im-panel label span,
.wsrv-im-panel .text-muted,
.wsrv-im-empty {
    color: #5d6f82;
}

.wsrv-im-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wsrv-im-heading p {
    margin: 0.35rem 0 0;
}

.wsrv-im-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.wsrv-im-grid--hero {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.wsrv-im-tile {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.05rem;
    border-radius: 10px;
    border: 1px solid #d8e1ea;
    background: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    color: #16324a;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.wsrv-im-tile:hover,
.wsrv-im-tile:focus {
    transform: translateY(-1px);
    border-color: #7ea4c7;
    box-shadow: 0 8px 20px rgba(32, 70, 102, 0.08);
    text-decoration: none;
}

.wsrv-im-tile strong {
    font-size: 1.05rem;
    font-weight: 600;
    color: #16324a;
}

.wsrv-im-tile-kicker {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #5f7a96;
}

.wsrv-im-tile span {
    color: #5d6f82;
    line-height: 1.45;
}

.wsrv-im-tile--feature {
    border-top: 4px solid #4c75a0;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.wsrv-im-tile--secondary {
    border-top: 4px solid #8c9bab;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.wsrv-im-tile--hero {
    min-height: 210px;
    align-content: start;
    padding: 1.35rem 1.35rem;
}

.wsrv-im-tile--hero strong {
    font-size: 1.45rem;
}

.wsrv-im-tile--pull {
    border-top-width: 5px;
    border-top-color: #183e63;
    box-shadow: 0 12px 28px rgba(24, 62, 99, 0.1);
}

.wsrv-im-form-row,
.wsrv-im-form-grid,
.wsrv-im-inline-form {
    display: grid;
    gap: 1rem;
}

.wsrv-im-form-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.wsrv-im-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wsrv-im-span-full {
    grid-column: 1 / -1;
}

.wsrv-im-panel label {
    display: grid;
    gap: 0.45rem;
}

.wsrv-im-panel input[type="text"],
.wsrv-im-panel input[type="number"],
.wsrv-im-panel textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #cfd9e2;
    border-radius: 8px;
    background: #ffffff;
    color: #16324a;
    box-sizing: border-box;
}

.wsrv-im-panel input:focus,
.wsrv-im-panel textarea:focus {
    outline: none;
    border-color: #4c75a0;
    box-shadow: 0 0 0 3px rgba(76, 117, 160, 0.14);
}

.wsrv-im-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.wsrv-im-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    overflow: hidden;
}

.wsrv-im-table th,
.wsrv-im-table td {
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid #e6edf3;
    text-align: left;
    vertical-align: top;
}

.wsrv-im-table thead th {
    background: #f3f8fc;
    color: #31506c;
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.wsrv-im-app .btn,
.wsrv-im-app button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid #4c75a0;
    background: #5b83ae;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.wsrv-im-app .btn:hover,
.wsrv-im-app .btn:focus,
.wsrv-im-app button[type="submit"]:hover,
.wsrv-im-app button[type="submit"]:focus {
    background: #4c75a0;
    color: #ffffff;
    text-decoration: none;
}

.wsrv-im-app .btn-secondary {
    border-color: #c8d3de;
    background: #ffffff;
    color: #31506c;
}

.wsrv-im-app .btn-secondary:hover,
.wsrv-im-app .btn-secondary:focus {
    background: #f5f8fb;
    color: #1c3954;
}

.wsrv-im-app--kiosk {
    max-width: 1320px;
    padding-top: 0.75rem;
    gap: 1.4rem;
}

.wsrv-im-kiosk-header-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    border: 1px solid #cfd9e4;
    border-top: 6px solid #183e63;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 43, 67, 0.08);
    padding: 1.1rem 1.15rem;
}

.wsrv-im-kiosk-header {
    padding: 2.15rem 1.05rem 2rem;
}

.wsrv-im-kiosk-header h1 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
    color: #0b0f14;
    letter-spacing: -0.03em;
}

.wsrv-im-kiosk-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.wsrv-im-kiosk-button {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 2px solid #2c4d70;
    border-bottom-width: 9px;
    background: linear-gradient(180deg, #4d86c1 0%, #2f689f 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 12px 0 rgba(170, 188, 204, 0.95), 0 18px 28px rgba(24, 62, 99, 0.18);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, border-color 0.1s ease, color 0.1s ease;
    cursor: pointer;
    position: relative;
}

.wsrv-im-kiosk-button:hover,
.wsrv-im-kiosk-button:focus {
    transform: translateY(-3px);
    text-decoration: none;
    color: #ffffff;
    border-color: #21496e;
    box-shadow: 0 15px 0 rgba(170, 188, 204, 0.95), 0 22px 32px rgba(24, 62, 99, 0.2);
    background: linear-gradient(180deg, #5a93cd 0%, #3370aa 100%);
}

.wsrv-im-kiosk-button:active {
    transform: translateY(5px);
    box-shadow: 0 6px 0 rgba(170, 188, 204, 0.95), 0 10px 20px rgba(24, 62, 99, 0.14);
}

.wsrv-im-kiosk-button span {
    font-size: clamp(2.3rem, 4.1vw, 3.8rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: inherit;
    text-shadow: 0 1px 0 rgba(10, 24, 39, 0.18);
}

.wsrv-im-kiosk-button--pull {
    border-color: #21496e;
    background: linear-gradient(180deg, #4d86c1 0%, #2f689f 100%);
}

.wsrv-im-kiosk-button--return {
    border-color: #737f8d;
    background: linear-gradient(180deg, #a8b0b9 0%, #7f8a96 100%);
}

.wsrv-im-kiosk-button--return:hover,
.wsrv-im-kiosk-button--return:focus {
    border-color: #67727e;
    background: linear-gradient(180deg, #b2bac2 0%, #87929e 100%);
}

.wsrv-im-kiosk-button::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.wsrv-im-kiosk-empty {
    padding: 0;
}

.wsrv-im-kiosk-empty p {
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: #f7fafc;
    border: 1px solid #d9e2ea;
    color: #44576a;
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .wsrv-im-form-row,
    .wsrv-im-form-grid,
    .wsrv-im-heading {
        grid-template-columns: 1fr;
    }

    .wsrv-im-heading {
        display: grid;
    }

    .wsrv-im-actions {
        flex-direction: column;
    }

    .wsrv-im-app .btn,
    .wsrv-im-app button[type="submit"] {
        width: 100%;
    }

    .wsrv-im-kiosk-actions {
        grid-template-columns: 1fr;
    }

    .wsrv-im-kiosk-button {
        min-height: 210px;
    }

}

.wo-shell {
    max-width: 1480px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
    display: grid;
    gap: 1.25rem;
}

.wo-topbar,
.wo-panel,
.wo-kpi-card,
.wo-list-card,
.wo-transition-card,
.wo-note-card,
.wo-asset-card,
.wo-history-card {
    background: #fff;
    border: 1px solid #d7dee6;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(16, 43, 67, 0.06);
}

.wo-topbar {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, #7393bc 0%, #587fae 100%);
    color: #fff;
}

.wo-topbar h1,
.wo-panel h2 {
    margin: 0;
    color: #16324a;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.wo-topbar h1 {
    color: #fff;
    font-size: clamp(1.8rem, 2.4vw, 2.3rem);
}

.wo-topbar-banner {
    display: flex;
    justify-content: center;
}

.wo-heading-line {
    position: relative;
    display: inline-block;
    margin: 0;
}

.wo-heading-line::before,
.wo-heading-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.72) 50%);
}

.wo-heading-line::before {
    right: 100%;
    margin-right: 12px;
}

.wo-heading-line::after {
    left: 100%;
    margin-left: 12px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.72) 50%);
}

.wo-heading-line span {
    font-family: "Arial Black", "Avant Garde", sans-serif;
    font-size: 18pt;
}

.wo-topbar-lower {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.wo-topbar-copy {
    max-width: 68rem;
    display: grid;
    align-content: end;
}

.wo-panel-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4c75a0;
}

.wo-subtitle,
.wo-muted,
.wo-map-empty {
    color: #5d6f82;
}

.wo-topbar .wo-panel-kicker,
.wo-topbar .wo-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.wo-subtitle--deprecated {
    margin: 0 0 0.55rem;
    font-size: 0.98rem;
    line-height: 1.45;
    text-decoration: line-through;
    text-decoration-color: #e33434;
    text-decoration-thickness: 2px;
}

.wo-subtitle--primary {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.35;
    color: #ffffff;
}

.wo-topbar .uk-button-primary {
    background: #ffffff;
    color: #16324a;
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    font-size: 1rem;
    font-weight: 700;
}

.wo-topbar .uk-button-primary:hover,
.wo-topbar .uk-button-primary:focus {
    background: #f6f9fc;
    color: #16324a;
    border-color: #ffffff;
}

.wo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.wo-kpi-grid.is-superuser {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wo-board-flash {
    margin-top: -0.1rem;
}

.wo-board-flash__alert {
    margin: 0;
    border-radius: 10px;
    border: 1px solid #badbcc;
    box-shadow: 0 10px 28px rgba(16, 43, 67, 0.04);
}

.wo-kpi-card {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: #16324a;
    border-top: 5px solid #4c75a0;
    background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.wo-kpi-card.is-selected,
.wo-list-card.is-selected {
    border-color: #1e6d73;
    box-shadow: 0 0 0 3px rgba(30, 109, 115, 0.18);
}

.wo-kpi-value {
    font-size: 2rem;
    line-height: 1;
}

.wo-kpi-label,
.wo-kpi-meta,
.wo-list-card span,
.wo-list-card small,
.wo-meta-row,
.wo-address-line {
    display: block;
}

.wo-kpi-meta,
.wo-list-card span,
.wo-list-card small,
.wo-meta-row,
.wo-address-line,
.wo-note-meta,
.wo-history-card span,
.wo-asset-card small {
    color: #5d6f82;
}

.wo-layout {
    align-items: start;
}

.wo-main {
    display: grid;
    gap: 1.25rem;
}

.wo-panel {
    padding: 1.25rem;
}

.wo-panel-stage {
    border-top: 6px solid #183e63;
    background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.wo-panel-action {
    border-top: 6px solid #4c75a0;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.wo-panel-results {
    border-top: 6px solid #2f6f8f;
    background: linear-gradient(180deg, #f9fcfd 0%, #ffffff 100%);
}

.wo-panel-reference,
.wo-panel-map {
    border-top: 6px solid #8c9bab;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.wo-list-panel {
    position: sticky;
    top: 1rem;
}

.wo-list-header,
.wo-panel-heading,
.wo-detail-top,
.wo-topbar-actions,
.wo-panel-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.wo-list-count,
.wo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2.2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: #edf5f6;
    color: #0f3c5d;
    font-weight: 700;
}

.wo-list-stack,
.wo-note-stack,
.wo-asset-stack,
.wo-history-stack {
    display: grid;
    gap: 0.85rem;
    margin-top: 8px;
}

.wo-list-card,
.wo-transition-card,
.wo-note-card,
.wo-asset-card,
.wo-history-card {
    padding: 0.95rem 1rem;
}

.wo-history-card {
    display: grid;
    gap: 0.4rem;
}

.wo-history-card__header {
    display: grid;
    gap: 0.28rem;
}

.wo-history-card__transition {
    display: block;
    color: #31506c;
    font-size: 0.98rem;
    line-height: 1.3;
}

.wo-history-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    align-items: center;
    color: #5d6f82;
    font-size: 0.95rem;
    line-height: 1.35;
}

.wo-history-card__actor::before {
    content: "•";
    margin-right: 0.45rem;
    color: #9aacbd;
}

.wo-history-card__reason {
    display: block;
    color: #5d6f82;
    font-size: 0.95rem;
    line-height: 1.45;
}

.wo-list-card {
    text-decoration: none;
    color: inherit;
    border-left: 5px solid #d9e4ee;
}

.wo-detail-top {
    margin-bottom: 1rem;
}

.wo-record-title {
    margin-bottom: 0.65rem;
}

.wo-record-meta {
    display: grid;
    gap: 0.35rem;
    line-height: 1.45;
}

.wo-record-actions {
    display: grid;
    gap: 0.65rem;
    justify-items: start;
    margin-top: 1rem;
}

.wo-inline-form {
    margin: 0;
}

.wo-record-actions .uk-button {
    min-width: 14rem;
}

.wo-archive-banner {
    margin-top: 1rem;
}

.wo-record-description .wo-html-copy {
    line-height: 1.65;
}

.wo-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.wo-address-line {
    margin-top: 0.8rem;
    font-size: 1rem;
}

.wo-asset-line {
    margin-top: 0.8rem;
    margin-bottom: 0;
    color: #31506c;
    font-weight: 600;
}

.wo-map-wrap {
    display: grid;
    gap: 0.6rem;
}

.wo-map-frame {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #d8e1ea;
    background: #f7fafc;
}

.wo-map-frame iframe {
    display: block;
    width: 100%;
    height: 210px;
    border: 0;
}

.wo-map-launch,
.wo-map-external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #d8e1ea;
    background: #fff;
    color: #153f6d;
    font-weight: 600;
    text-decoration: none;
}

.wo-map-launch:hover,
.wo-map-launch:focus,
.wo-map-launch.uk-button-primary:hover,
.wo-map-launch.uk-button-primary:focus {
    color: #fff;
    text-decoration: none;
}

.wo-map-empty {
    min-height: 210px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    border: 1px dashed #cfd9e2;
    background: #f7fafc;
}

.wo-form-grid,
.wo-transition-grid,
.wo-upload-form,
.wo-note-form {
    display: grid;
    gap: 1rem;
}

.wo-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wo-span-full {
    grid-column: 1 / -1;
}

.wo-form-grid label,
.wo-transition-card label,
.wo-note-form label {
    display: grid;
    gap: 0.45rem;
}

.wo-field-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #31506c;
    font-weight: 600;
}

.wo-help-text {
    display: block;
    margin-top: 0.4rem;
    color: #5d6f82;
    font-size: 0.86rem;
}

.wo-shell input[type="text"],
.wo-shell input[type="date"],
.wo-shell select,
.wo-shell textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #cfd9e2;
    border-radius: 8px;
    background: #ffffff;
    color: #16324a;
    box-sizing: border-box;
}

.ea-shell {
    max-width: 1480px;
}

.ea-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ea-search-panel {
    display: grid;
    gap: 1rem;
}

.ea-search-form,
.ea-search-feedback {
    display: grid;
    gap: 0.85rem;
}

.ea-search-form label {
    display: grid;
    gap: 0.45rem;
}

.ea-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.ea-search-feedback {
    padding: 0.95rem 1rem;
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background: #f8fbfe;
}

.ea-search-feedback p {
    margin: 0;
    color: #5d6f82;
}

.ea-search-feedback strong {
    color: #31506c;
}

.ea-refresh-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.35rem;
    color: #5d6f82;
    font-size: 0.92rem;
}

.ea-refresh-status strong {
    color: #16324a;
}

.ea-group-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 0;
}

.ea-results {
    margin-top: 1rem;
}

.ea-result-group {
    display: grid;
    gap: 0.75rem;
}

.ea-result-group + .ea-result-group {
    margin-top: 1.25rem;
}

.ea-result-group h3 {
    margin: 0;
    color: #16324a;
    font-size: 1.05rem;
}

.ea-accordion {
    margin: 0;
}

.ea-result-row {
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.ea-result-row + .ea-result-row {
    margin-top: 0.75rem;
}

.ea-result-title {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 1rem;
    color: #16324a;
}

.ea-result-title::before {
    display: none;
}

.ea-result-title strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ea-result-time {
    flex: 0 0 auto;
    color: #5d6f82;
    font-size: 0.88rem;
    text-align: right;
}

.ea-result-detail {
    padding: 0 1rem 1rem;
}

.ea-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.ea-detail-list {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0.45rem 0.85rem;
    margin: 0 0 1rem;
}

.ea-detail-list dt {
    color: #31506c;
    font-weight: 700;
}

.ea-detail-list dd {
    margin: 0;
    color: #5d6f82;
    overflow-wrap: anywhere;
}

.ea-body-frame-wrap {
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.ea-body-frame {
    display: block;
    width: 100%;
    min-height: 260px;
    border: 0;
    background: #ffffff;
}

.ea-json-detail {
    margin-top: 0.85rem;
}

.ea-json-detail summary {
    color: #31506c;
    font-weight: 700;
    cursor: pointer;
}

.ea-json-detail pre {
    max-height: 260px;
    margin: 0.7rem 0 0;
    padding: 0.85rem;
    overflow: auto;
    border-radius: 8px;
    background: #f7fafc;
    color: #16324a;
    white-space: pre-wrap;
}

.ea-pagination {
    margin-top: 1.1rem;
}

.ea-modal-subject {
    color: #31506c;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.al-shell select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b9c8d6;
    border-radius: 8px;
    background: #ffffff;
    color: #091a28;
    padding: 0.72rem 0.8rem;
}

.al-result-title strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.al-badges {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.al-chip {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 28px;
    border-radius: 8px;
    background: #edf6f7;
    color: #16424a;
    font-size: 0.78rem;
    font-weight: 700;
}

.al-message {
    margin: 0.75rem 0 0;
    padding: 0.85rem;
    border-left: 4px solid #297a80;
    background: #f5fbfb;
    color: #16324a;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.al-json {
    margin-top: 0.85rem;
}

.al-empty {
    padding: 1.25rem;
    border: 1px dashed #b9c8d6;
    border-radius: 8px;
    background: #f8fbfd;
    color: #4a6278;
    text-align: center;
}

.al-prune-panel {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #d8e1ea;
}

.al-prune-panel h3 {
    margin: -0.35rem 0 0;
    color: #16324a;
    font-size: 1.05rem;
}

.al-prune-status {
    margin: 0;
    color: #4a6278;
    font-size: 0.92rem;
    line-height: 1.35;
}

.wo-shell input:focus,
.wo-shell select:focus,
.wo-shell textarea:focus {
    outline: none;
    border-color: #4c75a0;
    box-shadow: 0 0 0 3px rgba(76, 117, 160, 0.14);
}

.wo-editor-wrap {
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background: #fff;
    padding: 0.4rem;
}

.wo-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wo-inline-form {
    display: inline-flex;
}

.wo-request-panel {
    max-width: 960px;
    margin: 0 auto;
}

.wo-lifecycle-form {
    display: grid;
    gap: 1rem;
}

.wo-lifecycle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 8px;
}

.wo-lifecycle-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0.8rem 1rem;
    border: 1px solid #cfd9e2;
    border-radius: 8px;
    background: #fff;
    color: #31506c;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wo-lifecycle-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wo-lifecycle-pill:has(input:checked) {
    border-color: #1e6d73;
    background: #f3fbfb;
    box-shadow: 0 0 0 3px rgba(30, 109, 115, 0.16);
}

.wo-lifecycle-pill.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wo-lifecycle-pill.is-disabled:has(input:checked) {
    box-shadow: 0 0 0 3px rgba(49, 80, 108, 0.12);
}

.wo-upload-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-bottom: 1rem;
}

.wo-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 220px));
    gap: 0.9rem;
    margin-top: 1rem;
    justify-content: start;
}

.wo-image-card {
    display: grid;
    gap: 0.45rem;
    width: 100%;
    max-width: 220px;
    color: inherit;
    text-decoration: none;
}

.wo-image-card img {
    display: block;
    width: 100%;
    min-height: 140px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8e1ea;
    background: #f7fafc;
}

.wo-image-fallback {
    display: none;
    min-height: 140px;
    place-items: center;
    border-radius: 10px;
    border: 1px solid #d8e1ea;
    background: linear-gradient(180deg, #f8fbfe 0%, #eef4f8 100%);
    color: #5d6f82;
    font-weight: 600;
}

.wo-image-card.is-fallback .wo-image-fallback {
    display: grid;
}

.wo-subheading {
    margin: 1.5rem 0 0.5rem;
    color: #16324a;
}

.wo-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
}

.wo-table th,
.wo-table td {
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid #e6edf3;
    text-align: left;
    vertical-align: top;
}

.wo-table thead th {
    background: #f3f8fc;
    color: #31506c;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wo-html-copy p:first-child {
    margin-top: 0;
}

.wo-note-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.wo-lookup-results {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.wo-lookup-item {
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #d9e4ee;
    background: #f8fbfe;
    color: #16324a;
    text-align: left;
    cursor: pointer;
}

.wo-empty {
    padding: 1rem 0 0;
}

@media (max-width: 1200px) {
    .wo-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .wo-topbar,
    .wo-panel-heading,
    .wo-detail-top,
    .wo-list-header,
    .wo-upload-form,
    .wo-meta-row {
        display: grid;
    }

    .wo-topbar-lower {
        display: grid;
    }

    .wo-topbar-copy {
        min-height: 0;
    }

    .wo-form-grid,
    .wo-kpi-grid,
    .ea-kpi-grid,
    .ea-date-grid,
    .ea-detail-list {
        grid-template-columns: 1fr;
    }

    .ea-result-title {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .ea-result-time {
        text-align: left;
    }

    .wo-actions .uk-button,
    .wo-topbar-actions .uk-button,
    .wo-upload-form .uk-button {
        width: 100%;
    }

    .wo-heading-line::before,
    .wo-heading-line::after {
        display: none;
    }

    .wo-history-card__meta {
        display: grid;
        gap: 0.2rem;
    }

    .wo-history-card__actor::before {
        content: "";
        margin-right: 0;
    }
}

.wo-mobile-shell {
    max-width: 560px;
    margin: 0 auto;
    padding: 1rem 0.85rem 2rem;
    display: grid;
    gap: 0.9rem;
}

.wo-mobile-topbar {
    gap: 0.85rem;
    padding: 1rem 1rem 1.1rem;
}

.wo-mobile-topbar .wo-topbar-lower {
    display: grid;
    gap: 0.55rem;
}

.wo-mobile-topbar .wo-topbar-copy {
    min-height: 0;
}

.wo-mobile-topbar .wo-panel-kicker {
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.82);
}

.wo-mobile-topbar .wo-heading-line span {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
}

.wo-mobile-record-number {
    margin: 0;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
}

.wo-mobile-panel,
.wo-mobile-message {
    border-radius: 16px;
    border: 1px solid #cfd9e2;
    box-shadow: 0 10px 24px rgba(16, 43, 67, 0.08);
}

.wo-mobile-panel {
    padding: 1rem;
    background: #ffffff;
}

.wo-mobile-panel--success {
    border-color: #1f7a4d;
    background: #f1fbf5;
}

.wo-mobile-panel--warning {
    border-color: #9f5b00;
    background: #fff7ea;
}

.wo-mobile-post-action {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.wo-mobile-close-tab {
    min-height: 48px;
    border-radius: 12px;
}

.wo-mobile-close-feedback {
    min-height: 1.35rem;
    margin: 0;
}

.wo-mobile-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #31506c;
}

.wo-mobile-title {
    margin: 0.25rem 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.wo-mobile-meta {
    margin: 0.2rem 0 0;
    font-size: 1rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
}

.wo-mobile-message-stack {
    display: grid;
    gap: 0.75rem;
}

.wo-mobile-message {
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: start;
    background: #ffffff;
}

.wo-mobile-message--error {
    border-color: #b42318;
    background: #fff1f0;
}

.wo-mobile-message--warning {
    border-color: #9f5b00;
    background: #fff7ea;
}

.wo-mobile-message--message {
    border-color: #1f7a4d;
    background: #f1fbf5;
}

.wo-mobile-message p {
    margin: 0.25rem 0 0;
    color: #16324a;
}

.wo-mobile-dismiss {
    min-width: 88px;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid #9fb2c6;
    background: #ffffff;
    color: #16324a;
    font-weight: 700;
}

.wo-mobile-form {
    display: grid;
    gap: 1rem;
}

.wo-mobile-field {
    display: grid;
    gap: 0.45rem;
}

.wo-mobile-field span {
    color: #16324a;
    font-weight: 700;
}

.wo-mobile-shell textarea,
.wo-mobile-shell input[type="text"],
.wo-mobile-shell input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 2px solid #b9c8d6;
    background: #ffffff;
    color: #091a28;
    padding: 0.9rem;
    font-size: 1rem;
}

.wo-mobile-shell textarea:focus,
.wo-mobile-shell input[type="text"]:focus,
.wo-mobile-shell input[type="file"]:focus {
    outline: none;
    border-color: #1f5d84;
    box-shadow: 0 0 0 4px rgba(31, 93, 132, 0.14);
}

.wo-mobile-help {
    color: #4a6278;
    font-size: 0.93rem;
    line-height: 1.35;
}

.wo-mobile-file-list {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.wo-mobile-file-item {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #d7e0ea;
    background: #f8fbfe;
    color: #16324a;
    font-size: 0.95rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wo-mobile-dictation {
    display: grid;
    gap: 0.55rem;
}

.wo-mobile-submit-wrap {
    display: grid;
    gap: 0.55rem;
}

.wo-mobile-submit {
    min-height: 56px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
}

.wo-mobile-submit-status {
    min-height: 1.35rem;
    margin: 0;
    color: #4a6278;
    font-size: 0.93rem;
    line-height: 1.35;
}
