:root {
    --rally-bg: #f5f7fb;
    --rally-surface: #ffffff;
    --rally-surface-muted: #f8fafc;
    --rally-border: #d9e2ec;
    --rally-border-strong: #b8c7d8;
    --rally-text: #17202a;
    --rally-muted: #66788a;
    --rally-primary: #1f6feb;
    --rally-primary-dark: #1558c0;
    --rally-primary-strong: #0b5ed7;
    --rally-primary-shadow: rgba(31, 111, 235, 0.32);
    --rally-success: #22863a;
    --rally-success-bg: #eaf7ee;
    --rally-danger: #c92a2a;
    --rally-danger-bg: #fff0f0;
    --rally-warning-bg: #fff8e6;
    --rally-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

:root[data-rally-theme="dark"] {
    --rally-bg: #101419;
    --rally-surface: #171d24;
    --rally-surface-muted: #202833;
    --rally-border: #313c49;
    --rally-border-strong: #485567;
    --rally-text: #e8edf3;
    --rally-muted: #a8b3c2;
    --rally-primary: #5b9cff;
    --rally-primary-dark: #3d82e8;
    --rally-primary-strong: #78b0ff;
    --rally-primary-shadow: rgba(91, 156, 255, 0.36);
    --rally-success: #45c074;
    --rally-success-bg: #123421;
    --rally-danger: #ff7373;
    --rally-danger-bg: #3a171a;
    --rally-warning-bg: #322916;
    --rally-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    color-scheme: dark;
}

* {
    letter-spacing: 0;
}

.rally-body {
    min-height: 100vh;
    background: var(--rally-bg);
    color: var(--rally-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rally-theme-toggle {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 1050;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 26px;
    padding: 0;
    opacity: 0.46;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity 160ms ease, transform 160ms ease;
}

.rally-theme-toggle:hover,
.rally-theme-toggle:focus {
    opacity: 0.9;
    outline: none;
    transform: translateY(-1px);
}

.rally-theme-toggle-track {
    position: relative;
    width: 38px;
    height: 20px;
    background: rgba(102, 120, 138, 0.42);
    border: 1px solid rgba(102, 120, 138, 0.34);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.rally-theme-toggle-knob {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.34);
    transition: left 160ms ease, background-color 160ms ease;
}

:root[data-rally-theme="dark"] .rally-theme-toggle-track {
    background: rgba(91, 156, 255, 0.26);
    border-color: rgba(91, 156, 255, 0.34);
}

:root[data-rally-theme="dark"] .rally-theme-toggle-knob {
    left: 21px;
    background: #d9e8ff;
}

.rally-body .app-shell {
    max-width: 1120px;
    padding: 24px 16px 40px;
}

.rally-body .app-shell > #vue_qrcode,
.rally-body .app-shell > form,
.rally-body .app-shell > h1,
.rally-body .app-shell > p,
.rally-body .app-shell > img,
.rally-body .app-shell > a,
.rally-body .app-shell > table,
.rally-body .app-shell > h2 {
    position: relative;
}

.rally-body #vue_qrcode {
    display: block;
}

.rally-body .app-header,
.rally-body #vue_qrcode > h1 {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px !important;
    padding: 16px 18px;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: var(--rally-shadow);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.rally-body .app-header .ml-5,
.rally-body #vue_qrcode > h1 .ml-5 {
    margin-left: 0 !important;
}

.rally-body .app-header:empty {
    display: none;
}

.rally-body .logo-container {
    width: auto;
    max-width: 260px !important;
    max-height: 82px !important;
    object-fit: contain;
    background: #fff;
}

.rally-body .app-shell h1,
.rally-body .app-shell h2,
.rally-body .app-shell h3,
.rally-body .app-shell h5 {
    color: var(--rally-text);
    line-height: 1.35;
}

.rally-body .app-shell h1 {
    font-size: 1.85rem;
    font-weight: 700;
}

.rally-body .app-shell h2 {
    font-size: 1.45rem;
    font-weight: 700;
}

.rally-body .app-shell h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 18px;
}

.rally-body .app-shell h5 {
    font-size: 1rem;
    font-weight: 700;
}

.rally-body #loading {
    margin: 0 0 12px;
    padding: 12px 14px;
    background: var(--rally-warning-bg);
    border: 1px solid #f0d68a;
    border-radius: 8px;
    color: #725200;
    font-weight: 700;
}

:root[data-rally-theme="dark"] .rally-body #loading {
    border-color: #685a35;
    color: #f4d98d;
}

.rally-body .canvas-wrap {
    width: 100% !important;
    max-width: 680px !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto 16px;
    overflow: hidden;
    position: relative;
    background: #111827;
    border: 1px solid #0b1220;
    border-radius: 8px;
    box-sizing: border-box !important;
    box-shadow: var(--rally-shadow);
}

.rally-body .canvas-wrap.is-visitor-success {
    background: #06351d;
    border-color: rgba(34, 197, 94, 0.9);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18), 0 18px 46px rgba(21, 128, 61, 0.3);
    animation: visitorFrameSuccess 1.6s ease-out;
}

.rally-body .canvas-wrap:before {
    content: none !important;
    display: none !important;
    padding-top: 0 !important;
}

.rally-body .canvas-wrap:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: min(62%, 420px);
    aspect-ratio: 1 / 1;
    border: 4px solid rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.16), 0 0 24px rgba(15, 23, 42, 0.35);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.rally-body .canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.rally-body #canvas-frame {
    display: none !important;
}

.rally-body #qrcode.form-control,
.rally-body #qrcode {
    min-height: 44px;
    margin: 12px 0 8px;
    padding: 10px 12px;
    color: var(--rally-text);
    background: var(--rally-surface);
    border: 1px solid var(--rally-border-strong);
    border-radius: 8px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.rally-body #timer {
    margin-left: 6px;
    color: var(--rally-muted);
    font-variant-numeric: tabular-nums;
}

.rally-body .scanner-spacer {
    height: 12px;
}

.rally-body .qr-status-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    pointer-events: none;
}

.rally-body .qr-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 152px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.84);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.rally-body .qr-status-pill strong {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.05rem;
    line-height: 1;
}

.rally-body .qr-status-pill.is-ok {
    background: rgba(21, 128, 61, 0.9);
}

.rally-body .qr-status-pill.is-ng {
    background: rgba(185, 28, 28, 0.9);
}

.rally-body .visitor-success-flash {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 36px);
    padding: 18px 22px;
    color: #fff;
    background: rgba(21, 128, 61, 0.94);
    border: 1px solid rgba(187, 247, 208, 0.85);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    font-size: 1.35rem;
    line-height: 1.25;
    text-align: left;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: visitorSuccessPop 1.6s ease-out both;
}

.rally-body .visitor-success-mark {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: #15803d;
    background: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    animation: visitorSuccessMark 1.6s ease-out both;
}

@keyframes visitorSuccessPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.72);
    }
    14% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
    28% {
        transform: translate(-50%, -50%) scale(1);
    }
    76% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.96);
    }
}

@keyframes visitorSuccessMark {
    0% {
        transform: rotate(-18deg) scale(0.5);
    }
    24% {
        transform: rotate(8deg) scale(1.18);
    }
    42%,
    100% {
        transform: rotate(0) scale(1);
    }
}

@keyframes visitorFrameSuccess {
    0% {
        filter: saturate(1);
    }
    18% {
        filter: saturate(1.6) brightness(1.12);
    }
    100% {
        filter: saturate(1);
    }
}

.rally-body .visit-status-panel,
.rally-body .sake-limit-panel,
.rally-body .today-sake-list {
    margin: 16px 0;
    padding: 16px 18px;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: var(--rally-shadow);
}

.rally-body .visit-status-panel h2,
.rally-body .sake-limit-panel h1 {
    margin: 0 0 8px;
}

.rally-body .sake-limit-panel h1 {
    font-size: 1.28rem;
}

.rally-body .visit-status-panel p {
    margin: 0 0 12px;
    color: var(--rally-muted);
    font-weight: 700;
}

.rally-body .sake-express-status {
    margin: 12px 0;
    padding: 10px 12px;
    color: #7a3412;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 8px;
    font-weight: 800;
}

.rally-body .today-sake-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: none;
}

.rally-body .today-sake-label {
    color: var(--rally-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.rally-body .today-sake-item {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    color: var(--rally-text);
    background: var(--rally-surface-muted);
    border: 1px solid var(--rally-border);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
}

.rally-body .card-deck {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 18px 0 !important;
}

.rally-body .question-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 250px));
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}

.rally-body .question-card {
    cursor: pointer;
}

.rally-body .question-row-break {
    grid-column: 1 / -1;
    height: 8px;
}

.rally-body .question-card .card-body {
    min-height: 118px;
    padding: 16px 16px 40px;
}

.rally-body .question-card .card-title {
    margin-bottom: 8px;
    font-size: 1rem;
}

.rally-body .question-card .card-text {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.rally-body .question-card .card-body:after {
    content: "タップで選択";
    position: absolute;
    right: 12px;
    bottom: 10px;
    padding: 4px 9px;
    color: var(--rally-muted);
    background: var(--rally-surface-muted);
    border: 1px solid var(--rally-border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.rally-body .question-card .card-checkbox:checked + .card-body:after {
    content: "選択中";
    color: #fff;
    background: var(--rally-primary);
    border-color: var(--rally-primary);
}

.rally-body .sake-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rally-body .sake-card-grid.few-items {
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    justify-content: center;
}

.rally-body .sake-card {
    max-width: 360px !important;
    justify-self: center;
}

.rally-body .sake-card-grid.few-items .sake-card {
    max-width: 380px !important;
}

.rally-body .sake-card-grid.few-items .sake-card .card-body {
    padding: 22px;
}

.rally-body .sake-card-grid.few-items .sake-card .card-title {
    font-size: 1.18rem;
}

.rally-body .sake-card-grid.few-items .sake-card .card-img-bottom {
    max-height: 300px;
}

.rally-body .sake-card-grid.few-items .sake-card .touch-button {
    min-height: 96px;
}

.rally-body .card-deck .card,
.rally-body .app-shell .card {
    min-width: 0 !important;
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

:root[data-rally-theme="dark"] .rally-body .card-deck .card,
:root[data-rally-theme="dark"] .rally-body .app-shell .card {
    background: var(--rally-surface);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.rally-body .sake-card-grid .sake-card {
    max-width: 360px !important;
    justify-self: center;
}

.rally-body .sake-card-grid.few-items .sake-card {
    max-width: 380px !important;
}

.rally-body .card-body {
    width: 100%;
    padding: 18px;
}

.rally-body .card-title {
    margin-bottom: 10px;
    color: var(--rally-text);
}

.rally-body .card-text {
    color: var(--rally-muted);
}

.rally-body .card img,
.rally-body .card-img-top,
.rally-body .card-img-bottom {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    background: #fff;
}

.rally-body .card-checkbox:checked + .card-body {
    background: #e8f1ff !important;
    outline: 2px solid var(--rally-primary);
    outline-offset: -2px;
}

:root[data-rally-theme="dark"] .rally-body .card-checkbox:checked + .card-body {
    background: #1b3658 !important;
}

.rally-body .card-checkbox-stamp:checked + .card-body {
    background: var(--rally-success-bg) !important;
    outline: 2px solid var(--rally-success);
    outline-offset: -2px;
}

.rally-body .result-text {
    padding: 12px;
    border-top: 1px solid var(--rally-border);
    font-size: 1.1rem !important;
    font-weight: 700;
}

.rally-body .text-success.result-text {
    background: var(--rally-success-bg);
}

.rally-body .text-danger.result-text {
    background: var(--rally-danger-bg);
}

.rally-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 120ms ease;
}

.rally-body .btn-block {
    display: flex;
    width: 100%;
}

.rally-body .btn:hover,
.rally-body .btn:focus {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.rally-body .btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.14);
}

.rally-body .btn:disabled,
.rally-body .btn.disabled {
    opacity: 0.68;
    box-shadow: none;
    transform: none;
}

.rally-body .btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #2f7df1, var(--rally-primary-strong));
    border-color: var(--rally-primary);
    box-shadow: 0 12px 26px var(--rally-primary-shadow);
}

.rally-body .btn-primary:hover,
.rally-body .btn-primary:focus {
    color: #fff;
    background: linear-gradient(180deg, #1f76f2, var(--rally-primary-dark));
    border-color: var(--rally-primary-dark);
}

.rally-body .btn-primary:not(.secondary-action) {
    border-width: 2px;
    font-weight: 800;
}

.rally-body .btn-success {
    color: #fff;
    background: linear-gradient(180deg, #2fa64e, var(--rally-success));
    border-color: var(--rally-success);
    box-shadow: 0 10px 22px rgba(34, 134, 58, 0.18);
}

.rally-body .btn-danger {
    color: #fff;
    background: linear-gradient(180deg, #dc3c3c, var(--rally-danger));
    border-color: var(--rally-danger);
    box-shadow: 0 10px 22px rgba(201, 42, 42, 0.18);
}

.rally-body .btn-outline-primary {
    color: var(--rally-primary);
    background: var(--rally-surface);
    border-color: var(--rally-primary);
}

.rally-body .btn-outline-primary:hover,
.rally-body .btn-outline-primary:focus {
    color: #fff;
    background: var(--rally-primary);
    border-color: var(--rally-primary);
}

.rally-body .touch-button,
.rally-body .btn-lg.touch-button,
.rally-body .btn-lg.btn-block {
    height: auto !important;
    min-height: 84px;
    padding: 18px 22px;
    font-size: 1.18rem !important;
    line-height: 1.35;
    white-space: normal;
}

.rally-body .touch-button.btn-primary:not(.secondary-action),
.rally-body .btn-lg.touch-button.btn-primary:not(.secondary-action) {
    min-height: 98px;
    padding: 22px 24px;
    font-size: 1.32rem !important;
    box-shadow: 0 16px 34px var(--rally-primary-shadow);
}

.rally-body .btn-lg.btn-block:not(.touch-button) {
    min-height: 54px;
    padding: 12px 16px;
    font-size: 1rem;
}

.rally-body .btn-block + .btn-block {
    margin-top: 10px;
}

.rally-body .stamp-action-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    min-height: 176px;
    color: #0d2f5f;
    background: linear-gradient(180deg, #f8fbff, #d9ebff);
    border: 2px solid var(--rally-primary);
    box-shadow: 0 18px 42px var(--rally-primary-shadow), inset 0 -6px 0 rgba(31, 111, 235, 0.1);
}

:root[data-rally-theme="dark"] .rally-body .stamp-action-button {
    color: #ffffff;
    background: linear-gradient(180deg, #244c7f, #193455);
    border-color: var(--rally-primary-strong);
    box-shadow: 0 18px 42px var(--rally-primary-shadow), inset 0 -6px 0 rgba(91, 156, 255, 0.12);
}

.rally-body .stamp-action-button:hover,
.rally-body .stamp-action-button:focus {
    color: #082755;
    background: linear-gradient(180deg, #ffffff, #cfe5ff);
    border-color: var(--rally-primary);
}

:root[data-rally-theme="dark"] .rally-body .stamp-action-button:hover,
:root[data-rally-theme="dark"] .rally-body .stamp-action-button:focus {
    color: #f2f7ff;
    background: #1d3046;
}

.rally-body .stamp-action-button:active {
    transform: translateY(2px) scale(0.99);
    box-shadow: 0 8px 18px rgba(31, 111, 235, 0.16), inset 0 -2px 0 rgba(31, 111, 235, 0.1);
}

.rally-body .stamp-action-button:before {
    content: "STAMP";
    position: absolute;
    right: 18px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    color: rgba(11, 94, 215, 0.86);
    border: 3px solid rgba(11, 94, 215, 0.34);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 900;
    transform: rotate(-13deg);
}

.rally-body .stamp-button-logo-wrap {
    display: grid;
    place-items: center;
    width: min(72%, 360px);
    min-height: 94px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
}

.rally-body .stamp-button-logo {
    width: 100%;
    max-height: 96px;
    object-fit: contain;
}

.rally-body .stamp-button-main {
    font-size: 1.58rem;
    line-height: 1.2;
}

.rally-body .stamp-button-sub {
    color: var(--rally-muted);
    font-size: 0.92rem;
    line-height: 1.25;
}

.rally-body .btn.secondary-action,
.rally-body .btn.secondary-action:hover,
.rally-body .btn.secondary-action:focus {
    color: var(--rally-text);
    background: var(--rally-surface);
    border-color: var(--rally-border-strong);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.rally-body .touch-button.secondary-action,
.rally-body .btn-lg.touch-button.secondary-action {
    min-height: 58px;
    padding: 12px 18px;
    font-size: 1rem !important;
    font-weight: 700;
}

.rally-body .btn.return-action,
.rally-body .btn.return-action:hover,
.rally-body .btn.return-action:focus {
    color: #174a7c;
    background: #eef6ff;
    border-color: #a9caed;
    box-shadow: 0 6px 16px rgba(31, 111, 235, 0.1);
}

.rally-body .btn.return-action:before {
    content: "<";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: rgba(31, 111, 235, 0.72);
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1;
}

:root[data-rally-theme="dark"] .rally-body .btn.return-action,
:root[data-rally-theme="dark"] .rally-body .btn.return-action:hover,
:root[data-rally-theme="dark"] .rally-body .btn.return-action:focus {
    color: #d7e9ff;
    background: #1a2a3d;
    border-color: #3a5d83;
    box-shadow: 0 6px 16px rgba(91, 156, 255, 0.14);
}

:root[data-rally-theme="dark"] .rally-body .btn.return-action:before {
    background: rgba(91, 156, 255, 0.72);
}

.rally-body .btn.complete-action,
.rally-body .btn.complete-action:hover,
.rally-body .btn.complete-action:focus {
    color: #4b5260;
    background: #f5f7fb;
    border-color: #c7d0dc;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.07);
}

.rally-body .btn.complete-action:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: rgba(102, 120, 138, 0.72);
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1;
}

.rally-body .btn.update-action,
.rally-body .btn.update-action:hover,
.rally-body .btn.update-action:focus {
    color: #5a4a11;
    background: #fff9e8;
    border-color: #e6d18f;
    box-shadow: 0 5px 14px rgba(178, 129, 0, 0.09);
}

.rally-body .btn.update-action:before {
    content: "↻";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: rgba(178, 129, 0, 0.72);
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1;
}

:root[data-rally-theme="dark"] .rally-body .btn.complete-action,
:root[data-rally-theme="dark"] .rally-body .btn.complete-action:hover,
:root[data-rally-theme="dark"] .rally-body .btn.complete-action:focus {
    color: #d3dae4;
    background: #202832;
    border-color: #4b5665;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

:root[data-rally-theme="dark"] .rally-body .btn.complete-action:before {
    background: rgba(168, 179, 194, 0.58);
}

:root[data-rally-theme="dark"] .rally-body .btn.update-action,
:root[data-rally-theme="dark"] .rally-body .btn.update-action:hover,
:root[data-rally-theme="dark"] .rally-body .btn.update-action:focus {
    color: #f2d889;
    background: #2f2a18;
    border-color: #6e5d2c;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

:root[data-rally-theme="dark"] .rally-body .btn.update-action:before {
    background: rgba(218, 165, 32, 0.62);
}

.rally-body .scanner-tools {
    width: 100%;
    max-width: 720px;
    margin: 8px auto 16px;
}

.rally-body .scanner-tool-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rally-body .scanner-tool-row .scanner-action.btn-block {
    width: auto;
    min-width: 158px;
    max-width: 220px;
    margin: 0;
}

.rally-body .scanner-tool-row .btn-block + .btn-block {
    margin-top: 0;
}

.rally-body .scanner-action,
.rally-body .scanner-action:hover,
.rally-body .scanner-action:focus {
    min-height: 46px !important;
    padding: 9px 14px !important;
    font-size: 0.96rem !important;
    font-weight: 700;
}

.rally-body .scanner-action-icon {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.rally-body .mirror-action,
.rally-body .mirror-action:hover,
.rally-body .mirror-action:focus {
    color: #2b6041 !important;
    background: #f0f8f3 !important;
    border-color: #b9d8c5 !important;
}

.rally-body .mirror-action .scanner-action-icon {
    color: #fff;
    background: rgba(34, 134, 58, 0.72);
}

.rally-body .detected-id-toggle,
.rally-body .detected-id-toggle:hover,
.rally-body .detected-id-toggle:focus {
    color: #315676 !important;
    background: #f3f7fc !important;
    border-color: #bfd2e6 !important;
}

.rally-body .detected-id-toggle .scanner-action-icon {
    color: #fff;
    background: rgba(31, 111, 235, 0.62);
}

.rally-body .detected-id-toggle[aria-expanded="true"] {
    background: #e8f1ff !important;
    border-color: #95bce7 !important;
}

.rally-body .detected-id-panel {
    max-width: 720px;
    margin: 10px auto 0;
}

.rally-body .detected-id-panel[hidden] {
    display: none !important;
}

:root[data-rally-theme="dark"] .rally-body .mirror-action,
:root[data-rally-theme="dark"] .rally-body .mirror-action:hover,
:root[data-rally-theme="dark"] .rally-body .mirror-action:focus {
    color: #bfe7cc !important;
    background: #17291f !important;
    border-color: #315b40 !important;
}

:root[data-rally-theme="dark"] .rally-body .detected-id-toggle,
:root[data-rally-theme="dark"] .rally-body .detected-id-toggle:hover,
:root[data-rally-theme="dark"] .rally-body .detected-id-toggle:focus {
    color: #d1e4ff !important;
    background: #1a2533 !important;
    border-color: #334d69 !important;
}

:root[data-rally-theme="dark"] .rally-body .detected-id-toggle[aria-expanded="true"] {
    background: #20344f !important;
    border-color: #4b75a3 !important;
}

.rally-body .stamp-card {
    --stamp-delay: 0ms;
    --stamp-angle: -8deg;
}

.rally-body .stamp-card-body {
    position: relative;
}

.rally-body .stamp-card.is-stamp-animated .stamp-logo {
    animation: stampLogoPop 720ms cubic-bezier(0.18, 0.9, 0.24, 1.18) both;
    animation-delay: var(--stamp-delay);
    transform-origin: center;
}

.rally-body .stamp-card.is-stamped .stamp-card-body:after {
    content: "訪問済み";
    position: absolute;
    left: 50%;
    top: 38%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 124px;
    height: 124px;
    color: rgba(34, 134, 58, 0.95);
    background: rgba(255, 255, 255, 0.72);
    border: 5px double rgba(34, 134, 58, 0.9);
    border-radius: 999px;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(var(--stamp-angle));
}

.rally-body .stamp-card.is-stamp-animated .stamp-card-body:after {
    animation: stampSealPop 820ms cubic-bezier(0.16, 0.92, 0.22, 1.2) both;
    animation-delay: var(--stamp-delay);
}

@keyframes stampLogoPop {
    0% {
        opacity: 0.56;
        transform: scale(0.72) rotate(-2deg);
        filter: saturate(0.86);
    }
    48% {
        opacity: 1;
        transform: scale(1.14) rotate(1deg);
        filter: saturate(1.2);
    }
    72% {
        transform: scale(0.98) rotate(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
        filter: saturate(1);
    }
}

@keyframes stampSealPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(calc(var(--stamp-angle) - 8deg)) scale(1.55);
    }
    34% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--stamp-angle)) scale(0.86);
    }
    58% {
        transform: translate(-50%, -50%) rotate(var(--stamp-angle)) scale(1.04);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--stamp-angle)) scale(1);
    }
}

.rally-body a {
    color: var(--rally-primary);
    font-weight: 700;
}

.rally-body .app-shell a[href*="logout"] {
    display: inline-flex;
    margin-top: 20px;
    padding: 10px 14px;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
}

.rally-body form {
    margin: 0 0 20px;
    padding: 18px;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: var(--rally-shadow);
}

.rally-body label {
    margin: 0 8px 8px 0;
    color: var(--rally-muted);
    font-weight: 700;
}

.rally-body input,
.rally-body select,
.rally-body textarea {
    min-height: 42px;
    margin: 0 12px 10px 0;
    padding: 8px 10px;
    border: 1px solid var(--rally-border-strong);
    border-radius: 8px;
}

:root[data-rally-theme="dark"] .rally-body input,
:root[data-rally-theme="dark"] .rally-body select,
:root[data-rally-theme="dark"] .rally-body textarea,
:root[data-rally-theme="dark"] .rally-body .form-control {
    color: var(--rally-text);
    background: var(--rally-surface-muted);
    border-color: var(--rally-border-strong);
}

:root[data-rally-theme="dark"] .rally-body input::placeholder,
:root[data-rally-theme="dark"] .rally-body textarea::placeholder {
    color: #7f8b9a;
}

.rally-body form button[type="submit"],
.rally-body form button {
    min-height: 42px;
    padding: 8px 16px;
    color: #fff;
    background: linear-gradient(180deg, #2f7df1, var(--rally-primary));
    border: 1px solid var(--rally-primary);
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(31, 111, 235, 0.16);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.rally-body form button[type="submit"]:hover,
.rally-body form button[type="submit"]:focus,
.rally-body form button:hover,
.rally-body form button:focus {
    background: linear-gradient(180deg, #236fe0, var(--rally-primary-dark));
    border-color: var(--rally-primary-dark);
    box-shadow: 0 10px 22px rgba(31, 111, 235, 0.2);
}

.rally-body .app-shell table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 18px 0 22px !important;
    overflow-x: auto;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    border-collapse: separate !important;
    border-spacing: 0;
    box-shadow: var(--rally-shadow);
    font-size: 0.95rem !important;
}

.rally-body .app-shell thead {
    background: var(--rally-surface-muted);
}

.rally-body .app-shell th,
.rally-body .app-shell td {
    padding: 12px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--rally-border) !important;
    vertical-align: middle;
    white-space: nowrap;
}

.rally-body .app-shell th {
    color: var(--rally-text);
    background: var(--rally-surface-muted) !important;
    font-weight: 700;
}

.rally-body .qrcode {
    display: inline-flex;
    margin: 4px 0 !important;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--rally-border);
    border-radius: 8px;
}

.rally-body .textContainer {
    font-family: Consolas, "Courier New", monospace;
    overflow-wrap: anywhere;
}

.rally-body .qr-tool-panel,
.rally-body .watch-panel {
    margin: 18px 0;
    padding: 18px;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: var(--rally-shadow);
}

.rally-body .qr-tool-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rally-body .qr-tool-panel strong,
.rally-body .watch-panel h2 {
    margin: 0 0 4px;
    color: var(--rally-text);
    font-size: 1.08rem;
    font-weight: 800;
}

.rally-body #readSummary,
.rally-body .watch-panel p,
.rally-body .watch-kpi {
    margin: 0;
    color: var(--rally-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.rally-body .qr-tool-actions,
.rally-body .watch-panel-header,
.rally-body .watch-user-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rally-body .watch-panel-header {
    justify-content: space-between;
    margin-bottom: 14px;
}

.rally-body .watch-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.rally-body .watch-kpi-card {
    min-width: 0;
    padding: 16px;
    background: var(--rally-surface);
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    box-shadow: var(--rally-shadow);
}

.rally-body .watch-kpi-card span {
    display: block;
    color: var(--rally-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.rally-body .watch-kpi-card strong {
    display: block;
    margin-top: 6px;
    color: var(--rally-text);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.rally-body .watch-subtitle,
.rally-body .watch-company-detail h3,
.rally-body .watch-company-detail h4 {
    margin: 16px 0 8px;
    color: var(--rally-text);
    font-size: 1rem;
    font-weight: 900;
}

.rally-body .watch-trend-chart {
    display: grid;
    gap: 10px;
}

.rally-body .watch-trend-row {
    display: grid;
    grid-template-columns: minmax(76px, 112px) repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
}

.rally-body .watch-trend-hour {
    color: var(--rally-text);
    font-weight: 900;
}

.rally-body .watch-trend-metric {
    display: grid;
    grid-template-columns: 74px minmax(46px, 1fr) 34px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--rally-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.rally-body .watch-trend-metric span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rally-body .watch-trend-metric strong {
    color: var(--rally-text);
    text-align: right;
}

.rally-body .watch-trend-track {
    height: 12px;
    overflow: hidden;
    background: var(--rally-surface-muted);
    border: 1px solid var(--rally-border);
    border-radius: 999px;
}

.rally-body .watch-trend-bar {
    height: 100%;
    border-radius: inherit;
}

.rally-body .watch-trend-bar.is-visit {
    background: #2f7df1;
}

.rally-body .watch-trend-bar.is-normal {
    background: #1f7a8c;
}

.rally-body .watch-trend-bar.is-express {
    background: #b35c00;
}

.rally-body .watch-vertical-chart {
    display: grid;
    gap: 8px;
    min-height: 228px;
    padding: 8px 0 4px;
}

.rally-body .watch-vertical-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
    color: var(--rally-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.rally-body .watch-vertical-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rally-body .watch-vertical-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.rally-body .watch-vertical-legend i.is-visit {
    background: #2f7df1;
}

.rally-body .watch-vertical-legend i.is-normal {
    background: #1f7a8c;
}

.rally-body .watch-vertical-legend i.is-express {
    background: #b35c00;
}

.rally-body .watch-vertical-plot {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.rally-body .watch-vertical-group {
    display: grid;
    flex: 0 0 62px;
    grid-template-rows: 174px auto;
    gap: 8px;
    min-width: 0;
}

.rally-body .watch-vertical-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 174px;
    padding: 0 4px;
    border-bottom: 1px solid var(--rally-border-strong);
}

.rally-body .watch-vertical-bar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 10px;
    height: 100%;
}

.rally-body .watch-vertical-bar-wrap strong {
    min-height: 16px;
    color: var(--rally-muted);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.rally-body .watch-vertical-bar-wrap span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.rally-body .watch-vertical-bar {
    width: 100%;
    max-width: 20px;
    min-height: 0;
    margin-top: 3px;
    border-radius: 5px 5px 0 0;
}

.rally-body .watch-vertical-bar.is-visit {
    background: #2f7df1;
}

.rally-body .watch-vertical-bar.is-normal {
    background: #1f7a8c;
}

.rally-body .watch-vertical-bar.is-express {
    background: #b35c00;
}

.rally-body .watch-vertical-label {
    overflow: hidden;
    color: var(--rally-text);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rally-body .watch-company-detail {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--rally-border);
}

.rally-body .watch-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rally-body .watch-detail-header h3 {
    margin-top: 0;
}

.rally-body .watch-detail-kpis {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rally-body .watch-detail-kpis span {
    padding: 7px 10px;
    color: #14505d;
    background: #e9f6f4;
    border: 1px solid #bfe1dc;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

.rally-body .watch-detail-kpis strong {
    color: var(--rally-text);
}

.rally-body .watch-detail-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr);
    gap: 16px;
    align-items: start;
}

.rally-body .qr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--rally-text);
    font-weight: 700;
}

.rally-body .qr-toggle input,
.rally-body .qr-read-check {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    accent-color: var(--rally-primary);
}

.rally-body .qr-secondary-button,
.rally-body .watch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    color: #fff;
    background: linear-gradient(180deg, #2f7df1, var(--rally-primary));
    border: 1px solid var(--rally-primary);
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(31, 111, 235, 0.16);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.rally-body .qr-secondary-button:hover,
.rally-body .qr-secondary-button:focus,
.rally-body .watch-button:hover,
.rally-body .watch-button:focus {
    background: linear-gradient(180deg, #236fe0, var(--rally-primary-dark));
    border-color: var(--rally-primary-dark);
    box-shadow: 0 10px 22px rgba(31, 111, 235, 0.2);
}

.rally-body .qr-secondary-button,
.rally-body .watch-button-muted {
    color: var(--rally-text);
    background: var(--rally-surface-muted);
    border-color: var(--rally-border-strong);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.rally-body .qr-secondary-button:hover,
.rally-body .qr-secondary-button:focus,
.rally-body .watch-button-muted:hover,
.rally-body .watch-button-muted:focus {
    color: var(--rally-text);
    background: var(--rally-surface);
    border-color: var(--rally-border-strong);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.rally-body .qr-list-table tr.is-read {
    background: #edf7f2;
}

:root[data-rally-theme="dark"] .rally-body .qr-list-table tr.is-read {
    background: #162d24;
}

.rally-body .qr-list-table tr.is-read .textContainer {
    color: var(--rally-muted);
}

.rally-body .qr-read-cell {
    text-align: center;
}

.rally-body .qrcode.qr-placeholder {
    align-items: center;
    justify-content: center;
    min-width: 146px;
    min-height: 146px;
    color: var(--rally-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.rally-body .watch-select,
.rally-body .watch-input {
    width: 100%;
    max-width: 440px;
}

.rally-body .watch-chart {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.rally-body .watch-bar-row {
    display: grid;
    grid-template-columns: minmax(72px, 180px) minmax(120px, 1fr) 56px;
    align-items: center;
    gap: 10px;
}

.rally-body .watch-bar-label {
    min-width: 0;
    overflow: hidden;
    color: var(--rally-text);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rally-body .watch-bar-track {
    height: 16px;
    overflow: hidden;
    background: var(--rally-surface-muted);
    border: 1px solid var(--rally-border);
    border-radius: 999px;
}

.rally-body .watch-bar {
    height: 100%;
    background: linear-gradient(90deg, #1f7a8c, #42a5a2);
    border-radius: inherit;
}

.rally-body .watch-bar-value {
    color: var(--rally-muted);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: right;
}

.rally-body .watch-empty {
    padding: 16px;
    color: var(--rally-muted);
    background: var(--rally-surface-muted);
    border: 1px dashed var(--rally-border-strong);
    border-radius: 8px;
    font-weight: 700;
}

.rally-body .watch-scanner {
    margin: 12px 0;
}

.rally-body .watch-scanner video {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--rally-border);
    border-radius: 8px;
    background: #111;
}

.rally-body .watch-user-detail {
    margin-top: 12px;
}

.rally-body .watch-user-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.rally-body .watch-user-summary strong {
    padding: 8px 12px;
    color: #14505d;
    background: #e9f6f4;
    border: 1px solid #bfe1dc;
    border-radius: 8px;
}

.rally-body .watch-user-detail h3 {
    margin: 14px 0 8px;
    color: var(--rally-text);
    font-size: 1rem;
    font-weight: 800;
}

.rally-body .watch-user-table {
    display: table !important;
    box-shadow: none !important;
}

.rally-body .watch-user-table th,
.rally-body .watch-user-table td {
    overflow-wrap: anywhere;
}

.rally-body .watch-empty-text {
    margin: 0 0 10px;
    color: var(--rally-muted);
    font-weight: 700;
}

.rally-body .blinking {
    animation-duration: 0.9s !important;
}

@media (max-width: 576px) {
    .rally-body .app-shell {
        padding: 16px 10px 28px;
    }

    .rally-body .app-header,
    .rally-body #vue_qrcode > h1 {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        font-size: 1.35rem;
    }

    .rally-body .logo-container {
        max-width: 100% !important;
        max-height: 68px !important;
    }

    .rally-body .card-deck {
        grid-template-columns: 1fr;
    }

    .rally-body .sake-card-grid.few-items {
        grid-template-columns: 1fr;
    }

    .rally-body .sake-card-grid .sake-card,
    .rally-body .sake-card-grid.few-items .sake-card {
        max-width: none !important;
    }

    .rally-body .touch-button,
    .rally-body .btn-lg.touch-button,
    .rally-body .btn-lg.btn-block {
        min-height: 76px;
        padding: 15px 16px;
        font-size: 1.08rem !important;
    }

    .rally-body .touch-button.btn-primary:not(.secondary-action),
    .rally-body .btn-lg.touch-button.btn-primary:not(.secondary-action) {
        min-height: 86px;
        padding: 18px 18px;
        font-size: 1.18rem !important;
    }

    .rally-body form {
        padding: 14px;
    }

    .rally-body input,
    .rally-body select,
    .rally-body textarea,
    .rally-body form button {
        width: 100%;
        margin-right: 0;
    }

    .rally-body .qr-tool-panel,
    .rally-body .watch-panel-header,
    .rally-body .watch-detail-header,
    .rally-body .watch-user-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .rally-body .watch-kpi-grid,
    .rally-body .watch-detail-grid {
        grid-template-columns: 1fr;
    }

    .rally-body .watch-trend-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 0;
        border-bottom: 1px solid var(--rally-border);
    }

    .rally-body .watch-trend-metric {
        grid-template-columns: 82px minmax(80px, 1fr) 36px;
    }

    .rally-body .watch-vertical-group {
        flex-basis: 54px;
        grid-template-rows: 150px auto;
    }

    .rally-body .watch-vertical-bars {
        height: 150px;
    }

    .rally-body .watch-bar-row {
        grid-template-columns: 72px minmax(80px, 1fr) 48px;
        gap: 8px;
    }

    .rally-body .qr-secondary-button,
    .rally-body .watch-button,
    .rally-body .watch-select,
    .rally-body .watch-input {
        width: 100%;
        max-width: none;
    }
}
