/*
 * Roboloc - game localization cost calculator.
 *
 * Everything is scoped under .roboloc: this widget lives inside somebody
 * else's WordPress theme, so it must never touch a global selector, and it
 * inherits the host font unless --rl-font is overridden.
 *
 * The one loud element is the range: a quote is a span, not a point, so each
 * language draws its min..max against a scale shared with the total.
 */

.roboloc {
    /* Sampled from roboto.pl: ink #111, card grey #ECECEC, brand red #EE3151
       (taken from the logo artwork), 8px on controls and 40px on cards. */
    --rl-paper: #ececec;
    --rl-surface: #ffffff;
    --rl-ink: #111111;
    --rl-ink-soft: #666666;
    --rl-ink-faint: #8c8c8c;
    --rl-rule: #e2e2e2;
    --rl-rule-strong: #cccccc;
    --rl-hover: #f4f4f4;

    /* The brand is black, white, grey and one red. The three services are
       tiers of the same job, so they read as a greyscale ramp - darkest is the
       most human work - and the red stays reserved for the total and for
       anything the visitor can act on. */
    --rl-translation_review: #111111;
    --rl-translation_review-soft: rgba(17, 17, 17, 0.18);
    --rl-translation: #6b6b6b;
    --rl-translation-soft: rgba(107, 107, 107, 0.22);
    --rl-mtpe: #9a9a9a;
    --rl-mtpe-soft: rgba(154, 154, 154, 0.30);

    --rl-accent: #ee3151;
    --rl-accent-soft: rgba(238, 49, 81, 0.24);
    --rl-danger: #c2172f;
    --rl-danger-bg: #fdecef;

    --rl-radius: 40px;
    --rl-radius-sm: 8px;
    --rl-gap: 20px;

    --rl-font: inherit;
    --rl-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;

    box-sizing: border-box;
    max-width: 900px;
    margin-inline: auto;
    padding: 0;
    /* The widget is dropped into somebody's theme column, which may be far
       narrower than the viewport, so the narrow layout keys off the container
       as well as the screen. */
    container-type: inline-size;
    container-name: roboloc;
    color: var(--rl-ink);
    color-scheme: light;
    font-family: var(--rl-font);
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

/* Checkboxes, selects and scrollbars are drawn by the browser, so tell it
   which way this instance is painted or they end up inverted. */
.roboloc[data-theme="auto"] {
    color-scheme: light dark;
}

.roboloc[data-theme="dark"] {
    color-scheme: dark;
}

.roboloc *,
.roboloc *::before,
.roboloc *::after {
    box-sizing: border-box;
}

/* Dark palette only where the page asked for it. An embedded widget must not
   flip to dark inside a light host theme just because the OS prefers dark:
   data-theme="auto" follows the OS, data-theme="dark" is the host's decision. */
.roboloc[data-theme="dark"] {
    --rl-paper: #1c1c1c;
    --rl-surface: #242424;
    --rl-ink: #f2f2f2;
    --rl-ink-soft: #a6a6a6;
    --rl-ink-faint: #888888;
    --rl-rule: #363636;
    --rl-rule-strong: #4a4a4a;
    --rl-hover: #2b2b2b;

    /* Same ramp, flipped: on a dark ground the brightest bar is the most work. */
    --rl-translation_review: #f2f2f2;
    --rl-translation_review-soft: rgba(242, 242, 242, 0.22);
    --rl-translation: #a6a6a6;
    --rl-translation-soft: rgba(166, 166, 166, 0.24);
    --rl-mtpe: #6e6e6e;
    --rl-mtpe-soft: rgba(110, 110, 110, 0.34);

    --rl-accent: #f24d69;
    --rl-accent-soft: rgba(242, 77, 105, 0.28);
    --rl-danger: #ff8fa1;
    --rl-danger-bg: #2c1519;
}

@media (prefers-color-scheme: dark) {
    .roboloc[data-theme="auto"] {
        --rl-paper: #1c1c1c;
        --rl-surface: #242424;
        --rl-ink: #f2f2f2;
        --rl-ink-soft: #a6a6a6;
        --rl-ink-faint: #888888;
        --rl-rule: #363636;
        --rl-rule-strong: #4a4a4a;
        --rl-hover: #2b2b2b;

        /* Same ramp, flipped: on a dark ground the brightest bar is the most work. */
        --rl-translation_review: #f2f2f2;
        --rl-translation_review-soft: rgba(242, 242, 242, 0.22);
        --rl-translation: #a6a6a6;
        --rl-translation-soft: rgba(166, 166, 166, 0.24);
        --rl-mtpe: #6e6e6e;
        --rl-mtpe-soft: rgba(110, 110, 110, 0.34);

        --rl-accent: #f24d69;
        --rl-accent-soft: rgba(242, 77, 105, 0.28);
        --rl-danger: #ff8fa1;
        --rl-danger-bg: #2c1519;
    }
}

/* ------------------------------------------------------------------ head -- */

.roboloc .roboloc-head {
    margin: 0 0 var(--rl-gap);
}

.roboloc .roboloc-title {
    margin: 0 0 8px;
    color: var(--rl-ink);
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: uppercase;
}

.roboloc .roboloc-intro {
    max-width: 60ch;
    margin: 0;
    color: var(--rl-ink-soft);
    font-size: 0.9375rem;
}

/* ----------------------------------------------------------------- forms -- */

.roboloc .roboloc-form {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Flex rather than a breakpoint: the service picker declares the width its
   three segments need, so it drops onto its own full-width line whenever the
   container cannot give it that - at any viewport size. */
.roboloc .roboloc-setup {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rl-gap);
    align-items: flex-start;
}

.roboloc .roboloc-field {
    flex: 1 1 200px;
    min-width: 180px;
    margin: 0;
    padding: 0;
    border: 0;
}

.roboloc .roboloc-field-service {
    flex: 2 1 360px;
    min-width: 340px;
}

.roboloc .roboloc-label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: var(--rl-ink);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Full ink, not a grey: these hints carry real instructions (the service one
   is the only place that says each language can be overridden), so they are
   set as body text rather than as a faint caption. */
.roboloc .roboloc-hint {
    margin: 8px 0 0;
    color: var(--rl-ink);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.roboloc .roboloc-words,
.roboloc .roboloc-search {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--rl-rule-strong);
    border-radius: var(--rl-radius-sm);
    background: var(--rl-surface);
    color: var(--rl-ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
}

.roboloc .roboloc-words {
    font-size: 1.25rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.roboloc .roboloc-words::placeholder,
.roboloc .roboloc-search::placeholder {
    color: var(--rl-ink-faint);
    font-weight: 400;
    opacity: 1;
}

.roboloc .roboloc-words[aria-invalid="true"] {
    border-color: var(--rl-danger);
}

/* Segmented service picker ------------------------------------------------ */

.roboloc .roboloc-segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--rl-rule);
    border-radius: 12px;
    background: var(--rl-surface);
}

.roboloc .roboloc-segment {
    flex: 1 1 auto;
    margin: 0;
}

.roboloc .roboloc-segment input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.roboloc .roboloc-segment span {
    display: block;
    padding: 10px 14px;
    border-radius: var(--rl-radius-sm);
    color: var(--rl-ink-soft);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
}

.roboloc .roboloc-segment input:checked + span {
    background: var(--rl-accent);
    box-shadow: none;
    color: #ffffff;
    font-weight: 700;
}

.roboloc .roboloc-segment input:focus-visible + span {
    outline: 2px solid var(--rl-accent);
    outline-offset: 2px;
}

/* Languages --------------------------------------------------------------- */

.roboloc .roboloc-languages {
    margin: var(--rl-gap) 0 0;
}

.roboloc .roboloc-languages-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
}

.roboloc .roboloc-languages-head .roboloc-label {
    margin: 0;
}

.roboloc .roboloc-languages-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.roboloc .roboloc-search {
    flex: 1 1 150px;
    width: auto;
    min-width: 0;
    max-width: 220px;
    height: 36px;
    font-size: 0.875rem;
}

.roboloc .roboloc-textbutton {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rl-accent);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.roboloc .roboloc-textbutton:hover {
    color: var(--rl-ink);
}

.roboloc .roboloc-langgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 2px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--rl-rule);
    border-radius: var(--rl-radius);
    background: var(--rl-surface);
    list-style: none;
}

.roboloc .roboloc-langgrid > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.roboloc .roboloc-lang {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 1px 9px;
    align-items: start;
    margin: 0;
    padding: 7px 9px;
    border-radius: var(--rl-radius-sm);
    font-size: 0.9375rem;
    line-height: 1.3;
    cursor: pointer;
}

.roboloc .roboloc-lang .roboloc-lang-name {
    grid-column: 2;
    white-space: normal;
    overflow: visible;
}

.roboloc .roboloc-lang .roboloc-code {
    grid-column: 2;
}

.roboloc .roboloc-lang:hover {
    background: var(--rl-hover);
}

.roboloc .roboloc-lang input {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--rl-accent);
}

.roboloc .roboloc-lang-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roboloc .roboloc-lang input:focus-visible {
    outline: 2px solid var(--rl-accent);
    outline-offset: 2px;
}

/* Locale codes are the notation the user already has in their project files,
   so they are set in mono - the one place this widget uses it. */
.roboloc .roboloc-code {
    flex: none;
    color: var(--rl-ink-faint);
    font-family: var(--rl-mono);
    font-size: 0.75rem;
    letter-spacing: 0;
}

/* --------------------------------------------------------------- results -- */

.roboloc .roboloc-results {
    margin: var(--rl-gap) 0 0;
}

.roboloc .roboloc-empty {
    margin: 0;
    padding: 30px 24px;
    border: 1px dashed var(--rl-rule-strong);
    border-radius: var(--rl-radius);
    background: var(--rl-surface);
    color: var(--rl-ink-faint);
    font-size: 0.9375rem;
    text-align: center;
}

.roboloc .roboloc-alert {
    margin: 14px 0 0;
    padding: 11px 14px;
    border-left: 3px solid var(--rl-danger);
    border-radius: 0 var(--rl-radius-sm) var(--rl-radius-sm) 0;
    background: var(--rl-danger-bg);
    color: var(--rl-danger);
    font-size: 0.875rem;
}

/* The total: the headline moment of the whole widget. */
.roboloc .roboloc-total {
    margin: 0 0 12px;
    padding: 26px 30px 28px;
    border: 1px solid var(--rl-rule);
    border-radius: var(--rl-radius);
    background: var(--rl-surface);
}

.roboloc .roboloc-total-label {
    margin: 0 0 6px;
    color: var(--rl-ink-soft);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.roboloc .roboloc-total-figure {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
    align-items: baseline;
    margin: 0 0 16px;
    color: var(--rl-ink);
    font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.roboloc .roboloc-total-figure .roboloc-connector {
    color: var(--rl-ink-faint);
    font-size: 0.4em;
    font-weight: 500;
    letter-spacing: 0;
}

.roboloc .roboloc-total-figure .roboloc-currency {
    color: var(--rl-ink-soft);
    font-size: 0.4em;
    font-weight: 600;
    letter-spacing: 0;
}

.roboloc .roboloc-total-note {
    margin: 10px 0 0;
    color: var(--rl-ink-faint);
    font-size: 0.8125rem;
}

/* Range bars -------------------------------------------------------------- */

.roboloc .roboloc-tablewrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--rl-rule);
    border-radius: var(--rl-radius);
    background: var(--rl-surface);
}

.roboloc .roboloc-track {
    position: relative;
    display: block;
    width: 100%;
    min-width: 56px;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--rl-rule);
}

/* The total mixes services, so its band uses the neutral accent rather than
   any one service colour. */
.roboloc .roboloc-total .roboloc-track {
    height: 14px;
    background: var(--rl-paper);
    --rl-bar: var(--rl-accent);
    --rl-bar-soft: var(--rl-accent-soft);
}

.roboloc .roboloc-fill-max,
.roboloc .roboloc-fill-min {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
    border-radius: 999px;
    transition: width 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.roboloc .roboloc-fill-max {
    background: var(--rl-bar-soft, var(--rl-translation_review-soft));
}

.roboloc .roboloc-fill-min {
    background: var(--rl-bar, var(--rl-translation_review));
}

.roboloc .is-translation_review {
    --rl-bar: var(--rl-translation_review);
    --rl-bar-soft: var(--rl-translation_review-soft);
}

.roboloc .is-translation {
    --rl-bar: var(--rl-translation);
    --rl-bar-soft: var(--rl-translation-soft);
}

.roboloc .is-mtpe {
    --rl-bar: var(--rl-mtpe);
    --rl-bar-soft: var(--rl-mtpe-soft);
}

/* Per-language table ------------------------------------------------------ */

.roboloc .roboloc-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--rl-surface);
    font-size: 0.9375rem;
    /* Auto layout, not fixed: the service select must size to its own text,
       whose width depends on the host theme font and cannot be predicted. */
    table-layout: auto;
}

.roboloc .roboloc-table th,
.roboloc .roboloc-table td {
    padding: 13px 14px;
    border: 0;
    border-top: 1px solid var(--rl-rule);
    background: none;
    text-align: left;
    vertical-align: middle;
}

/* A longer heading here may wrap; the bar column is narrow by design. */
.roboloc .roboloc-table thead th.roboloc-cell-span {
    white-space: normal;
}

.roboloc .roboloc-table thead th {
    padding-top: 14px;
    padding-bottom: 10px;
    border-top: 0;
    color: var(--rl-ink-faint);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.roboloc .roboloc-table tbody tr:first-child th,
.roboloc .roboloc-table tbody tr:first-child td {
    border-top: 1px solid var(--rl-rule-strong);
}

.roboloc .roboloc-table th:first-child,
.roboloc .roboloc-table td:first-child {
    padding-left: 26px;
}

.roboloc .roboloc-table th:last-child,
.roboloc .roboloc-table td:last-child {
    padding-right: 22px;
}

/* No width hints at all: every column sizes to its own content, and the
   range bar is held open by the min-width on .roboloc-track. */

.roboloc .roboloc-table th.roboloc-cell-lang {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 600;
}

/* The td/th element selector above is more specific than a bare class, so
   these have to name the element too or the numbers fall back to the left. */
.roboloc .roboloc-table td.roboloc-cell-money,
.roboloc .roboloc-table th.roboloc-cell-money {
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.roboloc .roboloc-table td.roboloc-cell-money.is-max {
    font-weight: 600;
}

.roboloc .roboloc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    align-items: baseline;
}

.roboloc .roboloc-unit {
    color: var(--rl-ink-faint);
    font-size: 0.6875rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

/* The native arrow is replaced by a red caret so the select reads as
   interactive. It is drawn with two gradients rather than an SVG data URI so
   it follows --rl-accent, including the lighter red of the dark palette. */
.roboloc .roboloc-select {
    width: auto;
    max-width: 100%;
    height: 34px;
    margin: 0;
    padding: 0 28px 0 8px;
    border: 1px solid var(--rl-rule-strong);
    border-left: 3px solid var(--rl-bar, var(--rl-rule-strong));
    border-radius: var(--rl-radius-sm);
    background-color: var(--rl-surface);
    background-image:
        linear-gradient(45deg, transparent 50%, var(--rl-accent) 50%),
        linear-gradient(135deg, var(--rl-accent) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 50%,
        calc(100% - 11px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    color: var(--rl-ink);
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: normal;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.roboloc .roboloc-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--rl-ink-faint);
    font-family: inherit;
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
}

.roboloc .roboloc-remove:hover {
    background: var(--rl-hover);
    color: var(--rl-danger);
}

.roboloc .roboloc-results.is-busy {
    opacity: 0.55;
}

.roboloc .roboloc-busy {
    margin: 10px 0 0;
    color: var(--rl-ink-faint);
    font-size: 0.8125rem;
}

.roboloc .roboloc-disclaimer {
    max-width: 72ch;
    margin: 16px 0 0;
    color: var(--rl-ink-faint);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------- a11y -- */

.roboloc :focus-visible {
    outline: 2px solid var(--rl-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .roboloc * {
        transition: none !important;
    }
}

/* -------------------------------------------------------------- narrow -- */

/*
 * The per-language table stacks into cards when there is not enough width.
 *
 * The same rules are written twice on purpose. The container query is the one
 * that matters in practice - the widget is often inside a theme column much
 * narrower than the screen - while the media query keeps phones correct on
 * browsers too old to support container queries. Keep the two blocks in sync.
 */

@container roboloc (max-width: 700px) {
    .roboloc .roboloc-table,
    .roboloc .roboloc-table tbody,
    .roboloc .roboloc-table tr,
    .roboloc .roboloc-table th,
    .roboloc .roboloc-table td {
        display: block;
        width: auto;
    }

    .roboloc .roboloc-table thead {
        display: none;
    }

    /* Every cell gets an explicit slot, so nothing can land on top of the
       remove button the way absolute positioning allowed. */
    .roboloc .roboloc-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 26px;
        gap: 9px 10px;
        align-items: center;
        padding: 12px;
        border-top: 1px solid var(--rl-rule-strong);
    }

    .roboloc .roboloc-table tbody tr th,
    .roboloc .roboloc-table tbody tr td {
        padding: 0;
        border-top: 0;
    }

    .roboloc .roboloc-table th.roboloc-cell-lang {
        grid-area: 1 / 1;
    }

    .roboloc .roboloc-table td.roboloc-cell-service {
        grid-area: 1 / 2;
    }

    .roboloc .roboloc-table td.roboloc-cell-service .roboloc-select {
        max-width: 170px;
    }

    .roboloc .roboloc-table td.roboloc-cell-remove {
        grid-area: 1 / 3;
    }

    .roboloc .roboloc-table td.roboloc-cell-span {
        grid-area: 2 / 1 / auto / -1;
    }

    .roboloc .roboloc-cell-money::before {
        content: attr(data-label) " ";
        color: var(--rl-ink-faint);
        font-size: 0.75rem;
        font-weight: 400;
    }

    .roboloc .roboloc-table td.roboloc-cell-money.is-min {
        grid-area: 3 / 1;
        text-align: left;
    }

    .roboloc .roboloc-table td.roboloc-cell-money.is-max {
        grid-area: 3 / 2 / auto / -1;
        text-align: right;
    }
}

@media (max-width: 720px) {
    .roboloc .roboloc-table,
    .roboloc .roboloc-table tbody,
    .roboloc .roboloc-table tr,
    .roboloc .roboloc-table th,
    .roboloc .roboloc-table td {
        display: block;
        width: auto;
    }

    .roboloc .roboloc-table thead {
        display: none;
    }

    /* Every cell gets an explicit slot, so nothing can land on top of the
       remove button the way absolute positioning allowed. */
    .roboloc .roboloc-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 26px;
        gap: 9px 10px;
        align-items: center;
        padding: 12px;
        border-top: 1px solid var(--rl-rule-strong);
    }

    .roboloc .roboloc-table tbody tr th,
    .roboloc .roboloc-table tbody tr td {
        padding: 0;
        border-top: 0;
    }

    .roboloc .roboloc-table th.roboloc-cell-lang {
        grid-area: 1 / 1;
    }

    .roboloc .roboloc-table td.roboloc-cell-service {
        grid-area: 1 / 2;
    }

    .roboloc .roboloc-table td.roboloc-cell-service .roboloc-select {
        max-width: 170px;
    }

    .roboloc .roboloc-table td.roboloc-cell-remove {
        grid-area: 1 / 3;
    }

    .roboloc .roboloc-table td.roboloc-cell-span {
        grid-area: 2 / 1 / auto / -1;
    }

    .roboloc .roboloc-cell-money::before {
        content: attr(data-label) " ";
        color: var(--rl-ink-faint);
        font-size: 0.75rem;
        font-weight: 400;
    }

    .roboloc .roboloc-table td.roboloc-cell-money.is-min {
        grid-area: 3 / 1;
        text-align: left;
    }

    .roboloc .roboloc-table td.roboloc-cell-money.is-max {
        grid-area: 3 / 2 / auto / -1;
        text-align: right;
    }
}
