:root {
    --green: #245b20;
    --green-dark: #184516;
    --green-light: #edf5eb;
    --bg: #f3f5f3;
    --card: #ffffff;
    --border: #dfe4df;
    --text: #222;
    --muted: #667066;
    --danger: #a52b2b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    background: var(--bg);
    color: var(--text);
}

.topbar {
    min-height: 64px;
    background: var(--green-dark);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 28px;
    gap: 35px;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    gap: 4px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 20px 13px;
}

.main-nav a:hover {
    background: rgba(255,255,255,.1);
}

.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

h1 {
    margin: 0 0 5px;
    font-size: 28px;
}

h2 {
    margin-top: 0;
}

.muted {
    color: var(--muted);
}

.backlink {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--green);
    text-decoration: none;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.stat-value {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--green);
}

.stat-label {
    color: var(--muted);
}

.button {
    display: inline-block;
    border: 0;
    border-radius: 7px;
    padding: 11px 16px;
    background: var(--green);
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.button:hover {
    background: var(--green-dark);
}

.button.secondary {
    background: #666;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--muted);
    font-size: 13px;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    background: var(--green-light);
}

.search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

input,
textarea,
select {
    width: 100%;
    padding: 11px;
    border: 1px solid #bbc3bb;
    border-radius: 6px;
    font: inherit;
    background: white;
}

textarea {
    min-height: 90px;
}

.search-row input {
    max-width: 500px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-details summary {
    cursor: pointer;
    color: var(--green);
    font-weight: 700;
}

.site-card {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 18px;
    margin: 18px 0;
}

.site-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.site-header h3 {
    margin: 0 0 5px;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.device-card {
    background: var(--green-light);
    border-radius: 7px;
    padding: 14px;
}

.badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    background: #ddd;
    font-size: 12px;
    white-space: nowrap;
}

.badge.success {
    background: #dcefd8;
    color: var(--green-dark);
}

.message {
    padding: 13px 16px;
    border-radius: 7px;
    margin-bottom: 18px;
}

.message.success {
    background: #dcefd8;
    color: var(--green-dark);
}

.message.error {
    background: #f4dada;
    color: var(--danger);
}

.empty {
    padding: 35px 15px;
    text-align: center;
    color: var(--muted);
}

.mobile-nav {
    display: none;
}


@media (max-width: 850px) {

    body {
        padding-bottom: 68px;
    }

    .topbar {
        min-height: 55px;
        padding: 0 15px;
    }

    .brand {
        font-size: 19px;
    }

    .main-nav {
        display: none;
    }

    .page {
        padding: 16px;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 25px;
    }

    .card {
        padding: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .full {
        grid-column: auto;
    }

    .device-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav {
        position: fixed;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: 0;
        right: 0;
        bottom: 0;
        min-height: 60px;
        background: white;
        border-top: 1px solid var(--border);
        z-index: 100;
    }

    .mobile-nav a {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: var(--text);
        font-size: 12px;
    }

    th,
    td {
        padding: 11px 8px;
        font-size: 13px;
    }
}

.button.large {
    padding: 13px 20px;
    font-size: 15px;
}

.device-select-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.device-select-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.device-select-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.device-select-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
}

.device-select-card
input:checked
+ .device-select-content {
    border-color: var(--green);
    background: var(--green-light);
}

.device-select-card
input:checked
+ .device-select-content::before {
    content: "✓ ausgewählt";
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.status-badge {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 20px;
    background: var(--green-light);
    color: var(--green-dark);
    font-weight: 700;
}


.billing-badge-open {
    background: #fff1bf;
    color: #8a5a00;
}

.billing-badge-ready {
    background: #dceeff;
    color: #0b5ea8;
}

.billing-badge-billed {
    background: #ececec;
    color: #5f5f5f;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.details {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 8px 15px;
}

.details dt {
    color: var(--muted);
}

.details dd {
    margin: 0;
    font-weight: 600;
}

.service-device-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.workflow-step {
    padding: 12px 8px;
    border-radius: 6px;
    background: #e6e8e6;
    text-align: center;
    font-size: 13px;
}

.workflow-step.active {
    background: var(--green);
    color: white;
}


@media (max-width: 850px) {

    .info-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .workflow {
        grid-template-columns: 1fr 1fr;
    }

    .details {
        grid-template-columns: 100px 1fr;
    }
}

.time-filter {
    display: grid;
    grid-template-columns: 220px 320px auto;
    gap: 15px;
    align-items: end;
}

.time-filter label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.filter-button {
    padding-bottom: 1px;
}

.time-actions {
    display: flex;
    gap: 8px;
}

.time-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 17px;
}

.summary-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--green);
}

.summary-label {
    color: var(--muted);
    font-size: 13px;
}

.summary-warning {
    background: #fff2dc;
    border-color: #e4bd76;
}

.summary-warning .summary-value {
    color: #9b5d00;
}

.time-row-warning {
    background: #fff5e5;
}

.time-row-open {
    background: #edf6ff;
}

.time-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-closed {
    background: #e7f2e4;
    color: var(--green-dark);
}

.status-open {
    background: #e5f1fb;
    color: #245981;
}

.status-incomplete {
    background: #ffe4bf;
    color: #874e00;
}

.table-action {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
}

.assignment-line {
    border-bottom: 1px solid var(--border);
    padding: 11px 0;
}

.assignment-line:last-child {
    border-bottom: 0;
}

@media (max-width: 850px) {

    .time-filter {
        grid-template-columns: 1fr;
    }

    .time-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .time-actions {
        width: 100%;
    }

    .time-actions .button {
        flex: 1;
        text-align: center;
    }
}


@media print {

    .topbar,
    .mobile-nav,
    .no-print {
        display: none !important;
    }

    body {
        background: white;
    }

    .page {
        max-width: none;
        padding: 0;
    }

    .card {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .time-summary {
        grid-template-columns: repeat(4, 1fr);
    }

    table {
        font-size: 11px;
    }

}

.pause-ok {
    margin-top: 3px;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}

.pause-warning {
    margin-top: 3px;
    color: #945800;
    font-size: 11px;
    font-weight: 700;
}

.pause-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.pause-summary > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--green-light);
    padding: 14px;
    border-radius: 7px;
}

.message.warning {
    background: #fff0d7;
    color: #805000;
}

@media (max-width: 850px) {
    .pause-summary {
        grid-template-columns: 1fr;
    }
}

.absence-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    background: #ececec;
    font-size: 12px;
    font-weight: 700;
}

.absence-vacation {
    background: #e4f1e1;
    color: #245b24;
}

.absence-sick {
    background: #f7e4e4;
    color: #872f2f;
}

.absence-company {
    background: #e8e7f4;
    color: #4e467d;
}

.absence-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.absence-actions form {
    margin: 0;
}

.link-danger {
    padding: 0;
    border: 0;
    background: transparent;
    color: #a23030;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.today-status-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.today-status-card h2 {
    margin: 4px 0 0;
}

.today-state {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 22px;
    font-weight: 700;
}

.state-neutral {
    background: #ececec;
}

.state-working {
    background: #e2f1df;
    color: #245b24;
}

.state-break {
    background: #fff0d5;
    color: #805000;
}

.state-finished {
    background: #e7edf2;
    color: #40515e;
}

.time-clock-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.time-clock-actions form {
    margin: 0;
}

.clock-button {
    width: 100%;
    min-height: 78px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
}

.clock-start {
    background: var(--green);
    color: white;
}

.clock-break {
    background: #e9d59c;
    color: #4f410d;
}

.clock-stop {
    background: #5e6367;
    color: white;
}

.today-bookings {
    display: flex;
    flex-direction: column;
}

.today-booking {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.today-booking:last-child {
    border-bottom: 0;
}

.today-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.today-summary > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--green-light);
    border-radius: 7px;
}

.time-subnav {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.button.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.calendar-status-card {
    margin-bottom: 18px;
}

@media (max-width: 700px) {

    .today-status-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .time-clock-actions {
        grid-template-columns: 1fr;
    }

    .today-summary {
        grid-template-columns: 1fr;
    }

}

.period-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 18px 0;
}

.calendar-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    background: #ececec;
}

.calendar-work {
    background: #e2f1df;
    color: #245b24;
}

.calendar-vacation {
    background: #e4f1e1;
    color: #245b24;
}

.calendar-sick {
    background: #f7e4e4;
    color: #872f2f;
}

.calendar-company_holiday {
    background: #e8e7f4;
    color: #4e467d;
}

.calendar-holiday {
    background: #e6eef6;
    color: #345d7d;
}

.calendar-weekend {
    background: #eeeeee;
    color: #666;
}

.calendar-missing {
    background: #ffe4bf;
    color: #874e00;
}

.calendar-not_started,
.calendar-planned {
    background: #edf1ed;
    color: #586258;
}

.calendar-note {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

.calendar-warning {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #986000;
}

.absence-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: -4px 0 18px;
    padding: 12px 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
}

@media (max-width: 700px) {
    .period-navigation {
        align-items: stretch;
        flex-direction: column;
    }
}

.topbar {
    display: flex;
    align-items: center;
}

.user-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
}

.user-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.user-menu form {
    margin: 0;
}

.logout-button {
    border: 1px solid rgba(255,255,255,0.45);
    background: transparent;
    color: white;
    border-radius: 5px;
    padding: 7px 11px;
    cursor: pointer;
    font: inherit;
}

.logout-button:hover {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 800px) {

    .user-name {
        display: none;
    }

    .user-menu {
        padding-right: 10px;
    }

    .logout-button {
        padding: 6px 8px;
        font-size: 12px;
    }
}


.calendar-not_scheduled {
    background: #eeeeee;
    color: #666;
}

.payroll-print-header {
    margin: 15px 0 20px;
}

.payroll-footer {
    margin-top: 20px;
}

@media print {

    .payroll-print-header h2 {
        margin-bottom: 6px;
    }

    .time-summary {
        break-inside: avoid;
    }

    .absence-summary-row {
        break-inside: avoid;
    }

    .time-table {
        font-size: 11px;
    }

    .time-table th,
    .time-table td {
        padding: 6px;
    }

    .payroll-footer {
        break-inside: avoid;
    }
}


/* ServiceApp – kompakte Geräteanlage */

.service-device-create-card {
    margin-top: 1.5rem;
}

.service-device-create-card details > summary {
    cursor: pointer;
    display: inline-block;
}

.service-device-create-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-device-create-grid label {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.service-device-create-info,
.service-device-full {
    grid-column: 1 / -1;
}

@media (max-width: 800px) {

    .service-device-create-grid {
        grid-template-columns: 1fr;
    }

    .service-device-create-info,
    .service-device-full {
        grid-column: auto;
    }
}


/* Serviceeinsatz – Absage / Reaktivierung */

.visit-cancel-reason {
    margin-top: .65rem;
    padding: .75rem 1rem;
    border: 1px solid #d8b4b4;
    border-radius: 8px;
    background: #fff4f4;
}

.visit-cancel-reason strong {
    display: block;
    margin-bottom: .2rem;
}

.visit-extra-info {
    margin-top: .45rem;
}

.visit-note {
    margin-top: .45rem;
    color: #666;
}


.service-visit-time-actions {
    margin-top: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.service-visit-time-actions form {
    margin: 0;
}


/* ==================================================
   Laufende Einsätze
   ================================================== */

.live-visit-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
}

.live-visit-card {
    background: #fff;
    border: 1px solid #dfe4df;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, .04);
}

.live-visit-card-own {
    border: 2px solid #2d7a32;
}

.live-visit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.live-visit-type {
    font-size: .9rem;
    color: #68736a;
    margin-bottom: .2rem;
}

.live-visit-customer {
    margin: 0;
}

.live-visit-running {
    background: #e5f3e3;
    color: #1d6326;
    border-radius: 999px;
    padding: .45rem .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.live-visit-meta {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 0;
    border-top: 1px solid #ecefec;
    border-bottom: 1px solid #ecefec;
}

.live-visit-meta strong {
    display: block;
    margin-bottom: .2rem;
}

.live-visit-section {
    margin-top: 1rem;
}

.live-visit-devices {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .5rem;
}

.live-device-chip {
    background: #eef4ed;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .9rem;
}

.live-visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}

.live-visit-actions form {
    margin: 0;
}

.live-visit-hint {
    margin-top: 1rem;
    padding: .75rem;
    background: #fff3d7;
    border-radius: 8px;
    color: #805900;
}

.live-visit-active-hint {
    margin-top: 1rem;
    padding: .75rem;
    background: #e5f3e3;
    border-radius: 8px;
    color: #1d6326;
}

@media (max-width: 800px) {

    .live-visit-grid {
        grid-template-columns: 1fr;
    }

    .live-visit-meta {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   Dashboard – laufende Einsätze
   ================================================== */

.dashboard-live-section {
    margin-bottom: 1.25rem;
}

.dashboard-live-section > .card-header {
    margin-bottom: .75rem;
}

.dashboard-live-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(340px, 1fr));
    gap: 1rem;
}

.dashboard-live-card {
    background: #fff;
    border: 1px solid #dfe4df;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, .04);
}

.dashboard-live-own {
    border: 2px solid #2d7a32;
}

.dashboard-live-assigned {
    border: 2px solid #d39b26;
}

.dashboard-live-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.dashboard-live-top h3 {
    margin:
        .15rem 0
        .15rem 0;
}

.dashboard-live-type {
    font-size: .9rem;
    color: #68736a;
}

.dashboard-live-status {
    background: #e5f3e3;
    color: #1d6326;
    border-radius: 999px;
    padding: .4rem .7rem;
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-live-info {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid #ecefec;
}

.dashboard-live-info strong {
    display: block;
    margin-bottom: .15rem;
    font-size: .85rem;
}

.dashboard-live-devices {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .9rem;
}

.dashboard-live-warning,
.dashboard-live-active {
    margin-top: .9rem;
    padding: .7rem .8rem;
    border-radius: 8px;
    font-size: .9rem;
}

.dashboard-live-warning {
    background: #fff3d7;
    color: #805900;
}

.dashboard-live-active {
    background: #e5f3e3;
    color: #1d6326;
}

.dashboard-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.dashboard-live-actions form {
    margin: 0;
}

.dashboard-no-live {
    margin-bottom: 1.25rem;
}

@media (max-width: 800px) {

    .dashboard-live-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-live-info {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   TIME_ONLY – aktueller Einsatz
   ================================================== */

.time-only-live-section {
    margin-bottom: 1.25rem;
}

.time-only-live-section > .card-header {
    margin-bottom: .75rem;
}

.time-only-live-card {
    background: #fff;
    border: 1px solid #dfe4df;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .75rem;
}

.time-only-live-active {
    border: 2px solid #2d7a32;
}

.time-only-live-waiting {
    border: 2px solid #d39b26;
}

.time-only-live-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.time-only-live-head h3 {
    margin: .15rem 0;
}

.time-only-live-info {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .9rem;
    padding-top: .8rem;
    border-top: 1px solid #ecefec;
}

.time-only-live-info strong {
    display: block;
    margin-bottom: .15rem;
}

.time-only-live-devices {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .8rem;
}

.time-only-live-hint {
    margin-top: .8rem;
    padding: .7rem .8rem;
    border-radius: 8px;
}

.time-only-live-hint.waiting {
    background: #fff3d7;
    color: #805900;
}

.time-only-live-hint.active {
    background: #e5f3e3;
    color: #1d6326;
}

.time-only-live-actions {
    margin-top: .8rem;
}

@media (max-width: 800px) {

    .time-only-live-info {
        grid-template-columns: 1fr;
    }

}
