.lmc-root {
    --lmc-bg: #1f1913;
    --lmc-panel: #f4e8d1;
    --lmc-panel-dark: #2b2118;
    --lmc-panel-mid: #533d2c;
    --lmc-wood-1: #6d4b31;
    --lmc-wood-2: #4b3120;
    --lmc-brass: #d6b16a;
    --lmc-brass-deep: #8a6a31;
    --lmc-green: #4d8558;
    --lmc-red: #9f4a43;
    --lmc-blue: #476a87;
    --lmc-ink: #20170f;
    --lmc-paper: #f8f0de;
    --lmc-paper-line: #d8ccb4;
    --lmc-border: rgba(34, 24, 15, 0.22);
    --lmc-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--lmc-ink);
}

.lmc-root *,
.lmc-root *::before,
.lmc-root *::after {
    box-sizing: inherit;
}

.lmc-root .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;
}

.lmc-root .lmc-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 38%),
        linear-gradient(145deg, #8b6240, #5f412b 45%, #3f2a1b);
    box-shadow: var(--lmc-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lmc-root .lmc-shell::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    pointer-events: none;
    border: 1px solid rgba(214, 177, 106, 0.24);
}

.lmc-root .lmc-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.lmc-root .lmc-kicker {
    margin-bottom: 6px;
    color: rgba(255, 244, 220, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

.lmc-root .lmc-title {
    margin: 0;
    color: #fff3d8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.1;
}

.lmc-root .lmc-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 244, 220, 0.82);
    max-width: 60ch;
}

.lmc-root .lmc-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(24, 18, 13, 0.45);
    color: #fff7e6;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.lmc-root .lmc-status-pill.is-running {
    background: rgba(77, 133, 88, 0.92);
}

.lmc-root .lmc-status-pill.is-warning {
    background: rgba(173, 123, 52, 0.92);
}

.lmc-root .lmc-status-pill.is-error {
    background: rgba(159, 74, 67, 0.95);
}

.lmc-root .lmc-status-pill.is-ready {
    background: rgba(71, 106, 135, 0.9);
}

.lmc-root .lmc-status-pill.is-muted {
    background: rgba(75, 59, 45, 0.85);
}

.lmc-root .lmc-workspace {
    display: grid;
    grid-template-columns: minmax(320px, 1.02fr) minmax(380px, 1.38fr);
    gap: 22px;
}

.lmc-root .lmc-panel {
    border-radius: 20px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 249, 235, 0.98), rgba(236, 222, 194, 0.98));
    border: 1px solid rgba(71, 48, 29, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 24px rgba(31, 23, 15, 0.15);
}

.lmc-root .lmc-panel--machine {
    background: linear-gradient(180deg, rgba(251, 245, 232, 0.98), rgba(232, 216, 184, 0.98));
}

.lmc-root .lmc-panel-header,
.lmc-root .lmc-subpanel-header,
.lmc-root .lmc-mailroom-header,
.lmc-root .lmc-scene-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.lmc-root .lmc-panel-header h3,
.lmc-root .lmc-mailroom-header h3,
.lmc-root .lmc-subpanel-header h4 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.lmc-root .lmc-panel-header p,
.lmc-root .lmc-mailroom-header p,
.lmc-root .lmc-subpanel-header span {
    margin: 6px 0 0;
    color: rgba(32, 23, 15, 0.72);
    font-size: 0.95rem;
}

.lmc-root .lmc-inline-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lmc-root .lmc-inline-controls--wide {
    width: 100%;
}

.lmc-root .lmc-editor,
.lmc-root .lmc-root select,
.lmc-root .lmc-root input,
.lmc-root select,
.lmc-root input {
    width: 100%;
}

.lmc-root select,
.lmc-root input,
.lmc-root textarea {
    border-radius: 14px;
    border: 1px solid rgba(51, 34, 21, 0.18);
    background: rgba(255, 249, 237, 0.96);
    color: var(--lmc-ink);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lmc-root select,
.lmc-root input {
    min-height: 42px;
    padding: 10px 12px;
}

.lmc-root .lmc-editor {
    min-height: 280px;
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 16px;
    background:
        linear-gradient(180deg, rgba(255, 252, 243, 0.98), rgba(249, 238, 216, 0.98)),
        repeating-linear-gradient(180deg, transparent, transparent 29px, var(--lmc-paper-line) 29px, var(--lmc-paper-line) 30px);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.98rem;
    line-height: 1.55;
    resize: vertical;
}

.lmc-root .lmc-button-row,
.lmc-root .lmc-speed-row,
.lmc-root .lmc-queue-box {
    margin-bottom: 14px;
}

.lmc-root .lmc-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lmc-root .lmc-button {
    appearance: none;
    border: 1px solid rgba(56, 36, 22, 0.18);
    border-radius: 14px;
    padding: 11px 16px;
    background: linear-gradient(180deg, #fff8ea, #ecdcc0);
    color: var(--lmc-ink);
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(44, 28, 17, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.lmc-root .lmc-button:hover,
.lmc-root .lmc-button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 10px 18px rgba(44, 28, 17, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.lmc-root .lmc-button--primary {
    background: linear-gradient(180deg, #466c87, #31506a);
    color: #f7fbff;
}

.lmc-root .lmc-button--success {
    background: linear-gradient(180deg, #5f9a69, #467950);
    color: #f6fff8;
}

.lmc-root .lmc-button--danger {
    background: linear-gradient(180deg, #b25a53, #8d433d);
    color: #fff6f5;
}

.lmc-root .lmc-button--ghost {
    background: linear-gradient(180deg, #fff7e9, #f2e2c4);
}

.lmc-root .lmc-speed-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.lmc-root input[type="range"] {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.lmc-root .lmc-queue-box {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 248, 232, 0.85);
    border: 1px solid rgba(52, 34, 21, 0.09);
}

.lmc-root .lmc-help {
    margin: 8px 0 0;
    color: rgba(32, 23, 15, 0.7);
    font-size: 0.88rem;
}

.lmc-root .lmc-message {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 600;
    border: 1px solid transparent;
}

.lmc-root .lmc-message.is-info {
    background: rgba(71, 106, 135, 0.12);
    border-color: rgba(71, 106, 135, 0.24);
}

.lmc-root .lmc-message.is-success {
    background: rgba(77, 133, 88, 0.12);
    border-color: rgba(77, 133, 88, 0.22);
}

.lmc-root .lmc-message.is-warning {
    background: rgba(173, 123, 52, 0.13);
    border-color: rgba(173, 123, 52, 0.24);
}

.lmc-root .lmc-message.is-error {
    background: rgba(159, 74, 67, 0.12);
    border-color: rgba(159, 74, 67, 0.26);
}

.lmc-root .lmc-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lmc-root .lmc-subpanel {
    min-height: 260px;
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 250, 240, 0.72);
    border: 1px solid rgba(62, 41, 24, 0.12);
}

.lmc-root .lmc-listing,
.lmc-root .lmc-log {
    margin-top: 10px;
    max-height: 300px;
    overflow: auto;
    border-radius: 14px;
    background: rgba(255, 252, 245, 0.96);
    border: 1px solid rgba(62, 41, 24, 0.09);
}

.lmc-root .lmc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.lmc-root .lmc-table th,
.lmc-root .lmc-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(62, 41, 24, 0.08);
    text-align: left;
    vertical-align: top;
}

.lmc-root .lmc-table thead th {
    position: sticky;
    top: 0;
    background: rgba(245, 234, 208, 0.98);
    z-index: 1;
}

.lmc-root .lmc-listing-row.is-active td {
    background: rgba(71, 106, 135, 0.12);
}

.lmc-root .lmc-listing-row.is-write td {
    background: rgba(77, 133, 88, 0.12);
}

.lmc-root .lmc-log-entry {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(62, 41, 24, 0.08);
    font-size: 0.93rem;
}

.lmc-root .lmc-log-entry.is-error {
    color: #852b26;
}

.lmc-root .lmc-log-entry.is-success {
    color: #275635;
}

.lmc-root .lmc-log-entry.is-warning {
    color: #885615;
}

.lmc-root .lmc-empty,
.lmc-root .lmc-empty-inline {
    color: rgba(32, 23, 15, 0.56);
}

.lmc-root .lmc-empty {
    padding: 18px;
}

.lmc-root .lmc-machine-scene {
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(67, 45, 28, 0.12);
    background: linear-gradient(180deg, rgba(255, 251, 243, 0.85), rgba(239, 224, 191, 0.65));
}

.lmc-root .lmc-nameplate,
.lmc-root .lmc-cycle-badge {
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}

.lmc-root .lmc-nameplate {
    background: linear-gradient(180deg, #e5c27b, #b18439);
    color: #2d1e0f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.lmc-root .lmc-cycle-badge {
    background: rgba(45, 30, 15, 0.08);
}

.lmc-root .lmc-stage {
    position: relative;
    padding: 24px 22px 20px;
    background:
        linear-gradient(180deg, #efe1bf 0%, #dfc79b 46%, #b88858 46.1%, #8d603f 100%);
}

.lmc-root .lmc-stage-backdrop {
    position: absolute;
    inset: 0 0 38% 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.55), transparent 30%),
        repeating-linear-gradient(90deg, rgba(139, 94, 49, 0.22), rgba(139, 94, 49, 0.22) 14px, rgba(255, 255, 255, 0.06) 14px, rgba(255, 255, 255, 0.06) 28px);
    pointer-events: none;
}

.lmc-root .lmc-trays {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(160px, 240px) minmax(120px, 1fr);
    gap: 16px;
    align-items: end;
}

.lmc-root .lmc-tray {
    min-height: 136px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(233, 217, 183, 0.95));
    border: 1px solid rgba(81, 55, 35, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 18px rgba(63, 41, 21, 0.16);
}

.lmc-root .lmc-tray-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: rgba(32, 23, 15, 0.72);
}

.lmc-root .lmc-tray-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lmc-root .lmc-token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 7px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 230, 209, 0.98));
    border: 1px solid rgba(56, 36, 22, 0.1);
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lmc-root .lmc-register-bank {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.lmc-root .lmc-register-card {
    padding: 12px;
    border-radius: 14px;
    background: rgba(37, 27, 19, 0.84);
    color: #fff5de;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 15px rgba(31, 21, 14, 0.22);
}

.lmc-root .lmc-register-card span,
.lmc-root .lmc-register-card small {
    display: block;
}

.lmc-root .lmc-register-card span {
    opacity: 0.72;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.lmc-root .lmc-register-card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.3rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lmc-root .lmc-register-card small {
    margin-top: 4px;
    color: rgba(255, 245, 222, 0.72);
}

.lmc-root .lmc-little-man {
    position: relative;
    width: 170px;
    height: 195px;
    margin: 0 auto;
    filter: drop-shadow(0 14px 18px rgba(46, 25, 12, 0.28));
}

.lmc-root .lmc-little-man__shadow {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 94px;
    height: 18px;
    background: radial-gradient(circle, rgba(61, 41, 23, 0.3), transparent 70%);
    transform: translateX(-50%);
}

.lmc-root .lmc-little-man__hat,
.lmc-root .lmc-little-man__head,
.lmc-root .lmc-little-man__torso,
.lmc-root .lmc-little-man__arm,
.lmc-root .lmc-little-man__leg,
.lmc-root .lmc-little-man__envelope {
    position: absolute;
}

.lmc-root .lmc-little-man__hat {
    top: 26px;
    left: 50%;
    width: 76px;
    height: 24px;
    border-radius: 20px 20px 10px 10px;
    background: linear-gradient(180deg, #6d4b31, #3e2819);
    transform: translateX(-50%);
}

.lmc-root .lmc-little-man__hat::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 96px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #60412b, #3b2618);
    transform: translateX(-50%);
}

.lmc-root .lmc-little-man__head {
    top: 44px;
    left: 50%;
    width: 70px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f1d4b6, #dbb18e);
    border: 1px solid rgba(76, 46, 24, 0.16);
    transform: translateX(-50%);
}

.lmc-root .lmc-little-man__head::before,
.lmc-root .lmc-little-man__head::after {
    content: "";
    position: absolute;
    top: 28px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #483020;
}

.lmc-root .lmc-little-man__head::before {
    left: 18px;
}

.lmc-root .lmc-little-man__head::after {
    right: 18px;
}

.lmc-root .lmc-little-man__torso {
    top: 110px;
    left: 50%;
    width: 78px;
    height: 62px;
    border-radius: 18px 18px 22px 22px;
    background: linear-gradient(180deg, #476a87, #314e65);
    transform: translateX(-50%);
}

.lmc-root .lmc-little-man__torso::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 18px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(220, 226, 230, 0.82));
    transform: translateX(-50%);
}

.lmc-root .lmc-little-man__arm {
    top: 116px;
    width: 18px;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f0d1b2, #d5a885);
    transform-origin: top center;
}

.lmc-root .lmc-little-man__arm--left {
    left: 30px;
    transform: rotate(18deg);
}

.lmc-root .lmc-little-man__arm--right {
    right: 30px;
    transform: rotate(-28deg);
}

.lmc-root .lmc-little-man__leg {
    bottom: 20px;
    width: 20px;
    height: 72px;
    border-radius: 999px;
    background: linear-gradient(180deg, #47352a, #24170f);
    transform-origin: top center;
}

.lmc-root .lmc-little-man__leg--left {
    left: 60px;
    transform: rotate(8deg);
}

.lmc-root .lmc-little-man__leg--right {
    right: 60px;
    transform: rotate(-8deg);
}

.lmc-root .lmc-little-man__envelope {
    top: 122px;
    right: 20px;
    width: 40px;
    height: 28px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff6ea, #e8dbbc);
    border: 1px solid rgba(72, 49, 30, 0.14);
    transform: rotate(-12deg);
}

.lmc-root .lmc-little-man__envelope::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 1px;
    background: rgba(72, 49, 30, 0.18);
    transform: skewY(-18deg);
}

.lmc-root .lmc-little-man.is-working {
    animation: lmc-bob 0.55s ease-in-out infinite;
}

.lmc-root .lmc-little-man.is-running .lmc-little-man__arm--left,
.lmc-root .lmc-little-man.is-running .lmc-little-man__arm--right {
    animation: lmc-arm-swing 0.65s ease-in-out infinite alternate;
}

.lmc-root .lmc-little-man.is-running .lmc-little-man__leg--left,
.lmc-root .lmc-little-man.is-running .lmc-little-man__leg--right {
    animation: lmc-leg-swing 0.65s ease-in-out infinite alternate;
}

.lmc-root .lmc-little-man.is-waiting .lmc-little-man__envelope {
    animation: lmc-envelope-pulse 1.2s ease-in-out infinite;
}

@keyframes lmc-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes lmc-arm-swing {
    from {
        transform: rotate(20deg);
    }
    to {
        transform: rotate(-24deg);
    }
}

@keyframes lmc-leg-swing {
    from {
        transform: rotate(12deg);
    }
    to {
        transform: rotate(-12deg);
    }
}

@keyframes lmc-envelope-pulse {
    0%,
    100% {
        transform: rotate(-12deg) scale(1);
    }
    50% {
        transform: rotate(-12deg) scale(1.08);
    }
}

.lmc-root .lmc-mailroom-header {
    margin-bottom: 14px;
}

.lmc-root .lmc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lmc-root .lmc-legend-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.82);
    border: 1px solid rgba(62, 41, 24, 0.1);
    font-size: 0.84rem;
    font-weight: 700;
}

.lmc-root .lmc-legend-chip--pc {
    box-shadow: inset 0 0 0 2px rgba(71, 106, 135, 0.38);
}

.lmc-root .lmc-legend-chip--read {
    box-shadow: inset 0 0 0 2px rgba(214, 177, 106, 0.55);
}

.lmc-root .lmc-legend-chip--write {
    box-shadow: inset 0 0 0 2px rgba(77, 133, 88, 0.52);
}

.lmc-root .lmc-legend-chip--exec {
    box-shadow: inset 0 0 0 2px rgba(159, 74, 67, 0.52);
}

.lmc-root .lmc-mailboxes {
    display: grid;
    grid-template-columns: repeat(10, minmax(60px, 1fr));
    gap: 10px;
    overflow: auto;
    padding-bottom: 4px;
}

.lmc-root .lmc-mailbox {
    position: relative;
    min-height: 82px;
    padding: 12px 10px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(113, 76, 47, 0.95), rgba(73, 47, 28, 0.98));
    color: #fff7e8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 18px rgba(49, 32, 19, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.lmc-root .lmc-mailbox:hover {
    transform: translateY(-1px);
}

.lmc-root .lmc-mailbox::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.lmc-root .lmc-mailbox__address,
.lmc-root .lmc-mailbox__value {
    display: block;
}

.lmc-root .lmc-mailbox__address {
    color: rgba(255, 245, 223, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lmc-root .lmc-mailbox__value {
    margin-top: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.18rem;
    font-weight: 700;
}

.lmc-root .lmc-mailbox.is-used {
    filter: saturate(1.06);
}

.lmc-root .lmc-mailbox.is-pc {
    box-shadow:
        inset 0 0 0 2px rgba(71, 106, 135, 0.8),
        0 10px 18px rgba(49, 32, 19, 0.18);
}

.lmc-root .lmc-mailbox.is-waiting {
    box-shadow:
        inset 0 0 0 2px rgba(173, 123, 52, 0.9),
        0 10px 18px rgba(49, 32, 19, 0.18);
}

.lmc-root .lmc-mailbox.is-read {
    box-shadow:
        inset 0 0 0 2px rgba(214, 177, 106, 0.9),
        0 10px 18px rgba(49, 32, 19, 0.18);
}

.lmc-root .lmc-mailbox.is-write {
    box-shadow:
        inset 0 0 0 2px rgba(77, 133, 88, 0.92),
        0 10px 18px rgba(49, 32, 19, 0.18);
}

.lmc-root .lmc-mailbox.is-executed {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 2px rgba(159, 74, 67, 0.95),
        0 12px 22px rgba(49, 32, 19, 0.24);
}

@media (max-width: 1180px) {
    .lmc-root .lmc-workspace {
        grid-template-columns: 1fr;
    }

    .lmc-root .lmc-register-bank {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lmc-root .lmc-info-grid {
        grid-template-columns: 1fr;
    }

    .lmc-root .lmc-trays {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .lmc-root .lmc-tray {
        width: 100%;
        max-width: 520px;
        min-height: 110px;
    }
}

@media (max-width: 680px) {
    .lmc-root .lmc-shell {
        padding: 16px;
        border-radius: 18px;
    }

    .lmc-root .lmc-topbar,
    .lmc-root .lmc-panel-header,
    .lmc-root .lmc-mailroom-header,
    .lmc-root .lmc-scene-head {
        flex-direction: column;
    }

    .lmc-root .lmc-speed-row {
        grid-template-columns: 1fr;
    }

    .lmc-root .lmc-register-bank {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmc-root .lmc-mailboxes {
        grid-template-columns: repeat(5, minmax(60px, 1fr));
    }
}
