/* Taurine page: a menu bar app, so most steps show the tall panel, with a
   trigger sheet and a Terminal card for the command line */

/* Lilac hero, a soft partner to the periwinkle can */
.ma-hero.tr-hero {
    background: var(--lilac);
}

/* The menu bar strip above the panel */
.tr-stack {
    display: grid;
    gap: 24px;
    justify-items: center;
}

.tr-stack .ma-shot {
    max-width: 336px;
}

/* Trigger sheets: shorter than the panel, a little wider */
.ma-step .ma-panel.tr-sheet {
    max-width: 340px;
    border-radius: 18px;
}

/* The command line, set like the Terminal it runs in */
.tr-term {
    justify-self: center;
    width: 100%;
    max-width: 420px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 24px;
    padding: 22px 24px;
    box-shadow: 0 30px 60px rgba(35, 36, 40, 0.22);
}

.tr-term pre {
    margin: 0;
    font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tr-term .ma-line {
    display: block;
    padding-left: 2ch;
    text-indent: -2ch;
}

.tr-term .ma-line + .ma-line {
    margin-top: 2px;
}

.tr-term .ma-prompt {
    color: var(--night-text);
    user-select: none;
}

.ma-step code {
    font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.92em;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    padding: 1px 5px;
}

.ma-extra code {
    font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    padding: 1px 5px;
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    .tr-term {
        padding: 18px 18px;
    }

    .tr-term pre {
        font-size: 13px;
    }
}

.ma-isteps code {
    font-family: inherit;
    color: var(--ink);
    font-weight: 500;
}

.ma-step.night code {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
