/* /public/assets/css/home.css */
:root {
    --bg: #0f1b22;
    --fg: #e8e6e3;
    --muted: #9fb0bb;
    --brand: #d7b46a;
    --card: #ffffff0d;
    --card-hov: #ffffff1a;
    --line: #ffffff1a;
    --ok: #34d399;
    --busy: #f59e0b;
    --full: #f43f5e;
}

body {
    background: var(--bg);
    color: var(--fg)
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    max-width: 1000px;
    margin: 0 auto
}

.pad {
    padding: 0 16px
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .8rem;
    padding: 3px 10px
}

    .badge .dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--brand);
        display: inline-block
    }

.lead {
    color: var(--muted);
    margin: .3rem 0 1rem
}

.hidden {
    display: none
}

.grid {
    display: grid;
    gap: 16px
}

@media(min-width:768px) {
    .grid {
        grid-template-columns: 1fr 1fr
    }
}

.card {
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    transition: background .2s ease, transform .08s ease
}

    .card:hover {
        background: var(--card-hov)
    }

    .card:active {
        transform: translateY(1px)
    }

.card-title {
    font-weight: 600;
    font-size: 1.1rem
}

.k {
    color: var(--muted);
    font-size: .9rem
}

.emph {
    font-weight: 600;
    font-size: 1.1rem
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.mb {
    margin-bottom: 6px
}

.mt {
    margin-top: 12px
}

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

.btn {
    display: inline-block;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: inherit;
    cursor: pointer
}

.btn-primary {
    background: var(--brand);
    color: #1b1306;
    border-color: transparent
}

.btn:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px
}

.badge.ok {
    background-color: #065f4626;
    color: var(--ok)
}

.badge.busy {
    background-color: #7c2d1226;
    color: var(--busy)
}

.badge.full {
    background-color: #7f1d1d26;
    color: var(--full)
}

.section {
    display: none
}

    .section.active {
        display: block
    }

ul.clean {
    list-style: none;
    padding: 0;
    margin: 0
}

/* bottom-nav */
nav.bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--line)
}

.tabs {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 1000px;
    margin: 0 auto
}

.tab {
    padding: 10px 8px;
    color: var(--muted);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer
}

    .tab.active {
        color: var(--brand)
    }

    .tab img {
        width: 20px;
        height: 20px
    }

/* ferramental de agendamento */
.tool-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tool-btn {
    border: 1px solid var(--line);
    padding: 8px 12px;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    cursor: pointer
}

.panel {
    margin-top: 12px
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    background: transparent
}

    .chip.active {
        background: var(--brand);
        color: #1b1306;
        border-color: transparent
    }

.input {
    flex: 1 1 auto;
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: inherit;
    padding: 10px 12px
}

main {
    padding-bottom: 72px
}

/* realce suave quando abrimos o painel de triagem */
.pulse {
    animation: kairos-pulse 0.7s ease-out 0s 2;
}

@keyframes kairos-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215,180,106,.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(215,180,106,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(215,180,106,0);
    }
}

/* /public/assets/css/home.css — PATCH */
.scheduler.hidden {
    display: none;
}

.scheduler-head {
    margin-bottom: 8px;
}

body.is-scheduling .non-scheduler {
    opacity: .35;
    filter: blur(.2px);
}

    body.is-scheduling .non-scheduler:hover {
        opacity: .35;
    }

/* realce dos botőes de escolha */
.pulse {
    animation: kairos-pulse .7s ease-out 0s 2;
}

@keyframes kairos-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215,180,106,.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(215,180,106,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(215,180,106,0);
    }
}

/* páginas SPA */
.hidden {
    display: none !important;
}

/* pulso suave para guiar o olhar */
.pulse {
    animation: kairos-pulse .7s ease-out 0s 2;
}

@keyframes kairos-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215,180,106,.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(215,180,106,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(215,180,106,0);
    }
}


