@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #102b2d;
    --muted: #718486;
    --teal: #22b8bd;
    --logo-blue: #0e4391;
    --mint: #dff5ed;
    --line: #dbe8e5;
    --paper: #f6faf8;
    --white: #fff;
    --red: #d95357;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 14px Manrope, sans-serif;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.shell {
    max-width: 1120px;
    margin: auto;
    padding: 30px 24px 36px;
}

.hero {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    padding-bottom: 30px;
}

.hero-logo {
    width: clamp(86px, 12vw, 148px);
    height: clamp(86px, 12vw, 148px);
    flex: 0 0 auto;
    border-radius: 22px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 24px #173b3d20;
}

.hero h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.02;
    letter-spacing: -.07em;
    margin: 0 0 18px;
    font-weight: 800;
}

.hero h1 em {
    color: var(--logo-blue);
    font-style: normal;
}

.hero h1 .address {
  display: block;
  font-size: 0.3em;
  line-height: 1;
  letter-spacing: normal;
  margin-top: 0;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 35px #15373508;
}

.machines {
    overflow: hidden;
}

.section-head {
    padding: 26px 28px 20px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.section-head h2 {
    font-size: 28px;
    letter-spacing: -.05em;
    margin: 8px 0 0;
}

.updated {
    color: #89a09f;
    font: 11px 'DM Mono';
}

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

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

th {
    background: #f3f8f6;
    color: #78908f;
    font: 500 10px 'DM Mono';
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
}

td {
    padding: 18px 20px;
    border-top: 1px solid #edf3f1;
    color: #476061;
}

td:first-child {
    font: 500 13px 'DM Mono';
    color: #9aabaa;
    width: 14%;
}

td:nth-child(2) {
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

td:nth-child(3) {
    white-space: nowrap;
}

.machine-group-row th {
    padding: 11px 20px 8px;
    background: #fff;
    color: var(--logo-blue);
    border-top: 1px solid var(--line);
    font: 700 12px Manrope, sans-serif;
    letter-spacing: .01em;
    text-transform: none;
}

.machine-group-row:first-child th {
    border-top: 0;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
}

.status:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.available {
    background: #e2f6e9;
    color: #1e9a62;
}

.busy,
.countdown {
    background: #fff2d9;
    color: #b4781a;
}

/* Cycle color for washers 11–17 only; dryers keep the orange cycle theme. */
.washer-cycle {
    background: #e7efff;
    color: var(--logo-blue);
}

.down {
    background: #fde4e4;
    color: var(--red);
}

.unknown {
    background: #edf1f1;
    color: #718486;
}

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

footer {
    display: flex;
    justify-content: space-between;
    color: #91a5a3;
    font: 10px 'DM Mono';
    padding: 24px 4px;
}

#toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--ink);
    color: white;
    padding: 13px 17px;
    border-radius: 9px;
    opacity: 0;
    transform: translateY(10px);
    transition: .25s;
    pointer-events: none;
    font-size: 12px;
}

#toast.show {
    opacity: 1;
    transform: none;
}

@media (max-width: 650px) {
    .shell {
        padding-top: 24px;
    }

    .hero {
        align-items: center;
    }

    .hero-logo {
        border-radius: 16px;
    }

    .section-head {
        padding: 22px;
    }

    footer {
        gap: 8px;
        flex-direction: column;
    }
}
.tables-stack {
    display: grid;
    gap: 22px;
    padding: 0 20px 24px;
}

.machine-group {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.group-title-row {
    padding: 16px 20px 12px;
    background: #f3f8f6;
    border-bottom: 1px solid var(--line);
}

.group-title-row h3 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    letter-spacing: -.03em;
}

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

.machine-group table {
    width: 100%;
}

@media (max-width: 650px) {
    .tables-stack {
        padding: 0 12px 16px;
        gap: 16px;
    }

    .group-title-row {
        padding: 14px 16px 10px;
    }
}
