@import url('data:text/css,');

:root {
    --paper: #f4f1e8;
    --ink: #24312c;
    --muted: #68736d;
    --pine: #285746;
    --mint: #dfeade;
    --cream: #fffdf7;
    --sand: #e8dfce;
    --terracotta: #a65d43;
    --line: rgba(36, 49, 44, .13);
    --shadow: 0 18px 45px rgba(35, 50, 44, .08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: radial-gradient(circle at 85% 0, rgba(218, 232, 217, .8), transparent 30rem), var(--paper);
    line-height: 1.55
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit
}

a {
    color: inherit
}

.page-shell {
    width: min(1160px, calc(100% - 36px));
    margin: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.topbar {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1.25rem
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pine);
    color: white;
    font-style: italic
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: .92rem
}

.top-actions a,
.link-button {
    text-decoration: none;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0
}

.top-actions form {
    margin: 0
}

.hero {
    padding: 8vh 0 4rem
}

.eyebrow {
    color: var(--pine);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 750;
    margin-bottom: 14px
}

.hero h1,
.auth-panel h1,
.dashboard-head h1,
.intro h1,
.detail-head h1,
.legal h1 {
    font: 400 clamp(2.8rem, 7vw, 6.6rem)/.94 Georgia, serif;
    letter-spacing: -.055em;
    margin: 0
}

.hero h1 em {
    color: var(--pine);
    font-weight: 400
}

.hero>p {
    max-width: 650px;
    font-size: 1.16rem;
    color: var(--muted);
    margin: 28px 0
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
    background: white
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(36, 49, 44, .12)
}

.button.primary {
    background: var(--pine);
    color: white
}

.button.ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, .42)
}

.button.small {
    min-height: 38px;
    padding: 0 16px;
    font-size: .86rem
}

.button.wide {
    width: 100%
}

.principles {
    margin-top: 12vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line)
}

.principles article {
    padding: 28px 32px 20px 0
}

.principles article+article {
    border-left: 1px solid var(--line);
    padding-left: 32px
}

.principles span,
.tag {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pine);
    font-weight: 800
}

.principles h2 {
    font: 400 1.55rem Georgia, serif;
    margin: 16px 0 7px
}

.principles p {
    color: var(--muted);
    margin: 0;
    font-size: .92rem
}

main {
    flex: 1;
    padding-bottom: 70px
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    font-size: .78rem;
    color: var(--muted)
}

.narrow {
    max-width: 510px;
    margin: 7vh auto
}

.auth-panel {
    background: rgba(255, 253, 247, .72);
    border: 1px solid rgba(255, 255, 255, .7);
    padding: 42px;
    border-radius: 28px;
    box-shadow: var(--shadow)
}

.auth-panel h1 {
    font-size: 3.2rem;
    margin-bottom: 14px
}

.back {
    display: block;
    text-decoration: none;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 42px
}

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

.stack {
    display: grid;
    gap: 18px;
    margin-top: 28px
}

.stack label,
.auth-panel>label,
.calibration-card label {
    display: grid;
    gap: 7px;
    font-size: .82rem;
    font-weight: 700
}

.stack input,
.stack select,
.stack textarea,
.auth-panel input,
.calibration-card select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    padding: 13px 14px;
    outline: none
}

.stack input:focus,
.stack select:focus,
.stack textarea:focus {
    border-color: var(--pine);
    box-shadow: 0 0 0 3px rgba(40, 87, 70, .1)
}

.check {
    grid-template-columns: auto 1fr !important;
    align-items: start;
    font-weight: 400 !important
}

.check input {
    width: auto;
    margin-top: 5px
}

.switch {
    text-align: center;
    color: var(--muted);
    font-size: .86rem;
    margin-top: 24px
}

.notice {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .88rem
}

.notice.error {
    background: #f4ddd3;
    color: #753d2b
}

.success-orbit {
    width: 54px;
    height: 54px;
    border: 1px solid var(--pine);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--pine);
    margin-bottom: 26px
}

.copy-field {
    display: flex;
    gap: 8px;
    margin: 7px 0 14px
}

.copy-field input {
    min-width: 0
}

.centered {
    display: block;
    text-align: center;
    margin-top: 22px
}

.text-link {
    color: var(--pine);
    border: 0;
    background: none;
    padding: 0;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 7vh 0 6vh;
    border-bottom: 1px solid var(--line)
}

.dashboard-head h1 {
    font-size: clamp(3rem, 6vw, 5.7rem);
    max-width: 780px
}

.dashboard-head p {
    color: var(--muted);
    font-size: 1.05rem
}

.calm-gauge {
    width: 126px;
    height: 126px;
    border: 1px solid var(--pine);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0
}

.calm-gauge span {
    font: 400 2.7rem Georgia, serif
}

.calm-gauge small {
    font-size: .68rem;
    color: var(--muted);
    line-height: 1.2
}

.spotlight,
.permission-card,
.takeover,
.complete-box {
    margin: 34px 0;
    padding: 30px 34px;
    border-radius: 24px;
    background: var(--mint);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.spotlight h2,
.permission-card h2,
.takeover h2,
.complete-box h2 {
    font: 400 1.75rem Georgia, serif;
    margin: 7px 0
}

.spotlight p,
.permission-card p,
.takeover p,
.complete-box p {
    margin: 0;
    color: var(--muted)
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 52px 0 18px
}

.section-title h2 {
    font: 400 1.65rem Georgia, serif;
    margin: 0
}

.section-title>span {
    color: var(--muted);
    font-size: .75rem
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.action-card {
    padding: 25px;
    background: var(--cream);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(36, 49, 44, .05)
}

.action-card h3 {
    font: 400 1.35rem Georgia, serif;
    margin: 10px 0 4px
}

.action-card p {
    color: var(--muted);
    font-size: .9rem
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.task-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 16px;
    align-items: center;
    background: rgba(255, 253, 247, .68);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    padding: 22px;
    text-decoration: none;
    transition: .18s
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow)
}

.task-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--mint);
    display: grid;
    place-items: center;
    font-size: 1.7rem
}

.task-card h3 {
    margin: 0 0 3px;
    font-size: 1rem
}

.task-card p {
    margin: 0;
    color: var(--muted);
    font-size: .83rem
}

.task-card .arrow {
    color: var(--muted)
}

.state-approaching .task-icon,
.state-needs_action .task-icon {
    background: #f0e3bd
}

.state-critical .task-icon,
.state-missed .task-icon {
    background: #edd6cd
}

.permission-card {
    background: transparent;
    border: 1px solid var(--line)
}

.intro {
    max-width: 760px;
    padding: 7vh 0
}

.intro h1 {
    font-size: 4.7rem
}

.intro p {
    color: var(--muted);
    font-size: 1.05rem
}

.calibration-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 25px
}

.calibration-card {
    background: var(--cream);
    padding: 26px;
    border-radius: 20px;
    display: grid;
    gap: 18px
}

.calibration-card h2 {
    font: 400 1.5rem Georgia, serif;
    margin: 0
}

.detail-head {
    padding: 4vh 0 3vh
}

.detail-head .back {
    margin-bottom: 35px
}

.detail-head h1 {
    font-size: 3rem;
    display: inline-block;
    margin-right: 18px
}

.status-pill {
    display: inline-flex;
    border-radius: 99px;
    padding: 7px 12px;
    background: var(--mint);
    font-size: .73rem;
    font-weight: 800
}

.survey {
    display: block
}

.survey-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 24px
}

.survey-options button {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .55);
    border-radius: 14px;
    min-height: 100px;
    padding: 12px;
    text-align: left;
    cursor: pointer
}

.survey-options button:hover {
    border-color: var(--pine);
    background: white
}

.survey-options span {
    display: block;
    color: var(--pine);
    font: 400 1.4rem Georgia, serif;
    margin-bottom: 6px
}

.takeover form {
    display: flex;
    gap: 8px
}

.commitment {
    background: #dce8e5
}

.detail-columns {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    margin-top: 50px
}

.goal {
    font: 400 1.25rem Georgia, serif
}

.dod-list {
    list-style: none;
    padding: 0
}

.dod-list li {
    display: flex;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line)
}

.dod-list li span {
    color: var(--pine)
}

.profile-note {
    padding: 17px;
    background: var(--cream);
    border-radius: 14px;
    margin-top: 25px;
    display: grid
}

.profile-note small {
    color: var(--muted)
}

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

.steps form {
    margin: 0
}

.step {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--cream);
    border-radius: 13px;
    padding: 13px;
    text-align: left;
    cursor: pointer
}

.step span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sand);
    margin-right: 8px
}

.step.done {
    opacity: .62;
    text-decoration: line-through
}

.step.done span {
    background: var(--pine);
    color: white
}

.complete-box {
    background: var(--sand)
}

.signal-box {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 25px 0;
    margin: 50px 0
}

.signal-box summary {
    font: 400 1.45rem Georgia, serif;
    cursor: pointer
}

.signal-box .stack {
    max-width: 620px
}

.privacy-hint {
    font-size: .78rem;
    color: var(--muted)
}

.history {
    list-style: none;
    padding: 0
}

.history li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 12px 0
}

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

.debug-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.debug-grid article,
.decision-list details {
    background: var(--cream);
    padding: 20px;
    border-radius: 14px
}

.debug-grid h2 {
    font: 400 1.3rem Georgia, serif
}

.debug-grid dl {
    border-top: 1px solid var(--line);
    padding-top: 10px
}

.debug-grid dd {
    margin: 3px 0;
    color: var(--muted)
}

.decision-list {
    display: grid;
    gap: 8px
}

.decision-list pre {
    white-space: pre-wrap;
    font-size: .75rem
}

.legal {
    max-width: 720px;
    margin: 7vh auto
}

.legal h1 {
    font-size: 4.5rem
}

.legal h2 {
    font: 400 1.6rem Georgia, serif;
    margin-top: 38px
}

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

@media(max-width:760px) {
    .page-shell {
        width: min(100% - 24px, 1160px)
    }

    .topbar {
        height: 72px
    }

    .hero {
        padding-top: 5vh
    }

    .hero h1 {
        font-size: 3.65rem
    }

    .principles {
        grid-template-columns: 1fr;
        margin-top: 70px
    }

    .principles article+article {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0
    }

    .auth-panel {
        padding: 26px 20px;
        margin-top: 3vh
    }

    .dashboard-head {
        align-items: start
    }

    .calm-gauge {
        display: none
    }

    .dashboard-head h1,
    .intro h1,
    .detail-head h1,
    .legal h1 {
        font-size: 3.25rem
    }

    .task-grid,
    .action-grid,
    .calibration-list,
    .detail-columns,
    .debug-grid {
        grid-template-columns: 1fr
    }

    .spotlight,
    .permission-card,
    .takeover,
    .complete-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 20px
    }

    .survey-options {
        grid-template-columns: 1fr 1fr
    }

    .survey-options button {
        min-height: 88px
    }

    .section-title>span {
        display: none
    }

    .steps {
        grid-template-columns: 1fr
    }

    .top-actions>a {
        display: none
    }

    .detail-columns {
        gap: 10px
    }

    .copy-field {
        flex-direction: column
    }

    footer {
        gap: 20px;
        flex-direction: column
    }
}

.current-profile {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 750
}

.profile-avatar,
.person-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--pine);
    color: white;
    font-size: .78rem;
    font-weight: 800;
    flex: 0 0 auto
}

.home-live {
    padding-top: 26px
}

.compact-invite {
    margin-top: 8px
}

.house-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 34px 0 20px
}

.house-title-row h1 {
    font: 400 clamp(2.25rem, 5vw, 4rem)/1 Georgia, serif;
    letter-spacing: -.04em;
    margin: 0
}

.serenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: rgba(255, 253, 247, .55);
    font-size: .77rem;
    font-weight: 750;
    color: var(--muted)
}

.serenity-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pine)
}

.tangible-cards .task-card {
    display: block;
    padding: 22px 22px 18px;
    min-height: 190px;
    position: relative
}

.task-card-top {
    display: grid;
    grid-template-columns: 48px 1fr 30px;
    gap: 14px;
    align-items: center
}

.task-card-top .task-icon {
    width: 48px;
    height: 48px
}

.task-card-top h2 {
    font: 400 1.3rem Georgia, serif;
    margin: 0
}

.workflow-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    font-weight: 900;
    font-size: .76rem
}

.ownership-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 4px
}

.person-avatar {
    width: 38px;
    height: 38px;
    background: #758f83
}

.person-avatar.mine {
    background: var(--pine)
}

.person-avatar.nobody {
    background: transparent;
    color: var(--terracotta);
    border: 1px dashed var(--terracotta)
}

.person-avatar-stack {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto
}

.person-avatar-stack .person-avatar + .person-avatar {
    margin-left: -10px;
    border: 2px solid var(--surface)
}

.ownership-row div {
    display: grid
}

.ownership-row strong {
    font-size: 1rem
}

.ownership-row small {
    color: var(--muted);
    font-size: .77rem
}

.workflow-unassigned {
    border-color: rgba(166, 93, 67, .35) !important;
    background: #fffaf4 !important
}

.workflow-unassigned .workflow-icon {
    color: var(--terracotta);
    border-color: rgba(166, 93, 67, .35)
}

.workflow-assigned {
    background: #f5f6ee !important
}

.workflow-started {
    background: #edf5ef !important;
    border-color: rgba(40, 87, 70, .24) !important
}

.workflow-started .workflow-icon {
    color: white;
    background: var(--pine)
}

.workflow-completed {
    opacity: .76
}

.workflow-attention {
    background: #fff4ed !important
}

.workflow-attention .workflow-icon {
    background: var(--terracotta);
    color: white
}

.card-progress {
    margin-top: 16px
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--muted);
    margin-bottom: 7px
}

.progress-label b {
    color: var(--pine)
}

.progress-track {
    height: 7px;
    background: rgba(40, 87, 70, .1);
    border-radius: 99px;
    overflow: hidden
}

.progress-track i {
    display: block;
    height: 100%;
    background: var(--pine);
    border-radius: inherit;
    transition: width .35s ease
}

.relief-note {
    margin: 14px 0 0;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    font-size: .72rem !important;
    color: var(--pine) !important
}

.task-card.is-refreshing {
    opacity: .5
}

.live-flash {
    animation: liveFlash .8s ease
}

@keyframes liveFlash {
    0% {
        background-color: rgba(223, 234, 222, .9)
    }

    100% {
        background-color: transparent
    }
}

@media(max-width:760px) {
    .current-profile>span:last-child {
        display: none
    }

    .top-actions {
        gap: 14px
    }

    .home-live {
        padding-top: 8px
    }

    .compact-invite {
        margin-top: 4px
    }

    .house-title-row {
        margin-top: 30px
    }

    .house-title-row h1 {
        font-size: 2.35rem
    }

    .serenity-chip {
        font-size: .7rem;
        padding: 7px 10px
    }

    .tangible-cards .task-card {
        min-height: 0
    }

    .home-notifications .action-grid {
        display: flex;
        overflow-x: auto
    }

    .home-notifications .action-card {
        min-width: 280px
    }

    .relief-note {
        display: none
    }
}

.important-events {
    margin-top: 18px
}

.important-events .section-title {
    margin-top: 30px
}

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

.event-card {
    display: grid;
    gap: 9px;
    min-height: 152px;
    padding: 20px;
    background: var(--cream);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(36, 49, 44, .04);
    transition: .18s
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow)
}

.event-head {
    display: grid;
    grid-template-columns: 34px 1fr 25px;
    align-items: center;
    gap: 10px
}

.event-task {
    font: 400 1.05rem Georgia, serif
}

.event-symbol {
    width: 25px;
    height: 25px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--pine);
    font-size: .7rem;
    font-weight: 900
}

.event-card>strong {
    font-size: .94rem
}

.event-card>small {
    color: var(--muted)
}

.event-task_completed {
    background: #f2f5ed
}

.event-task_started {
    border-color: rgba(40, 87, 70, .2)
}

.quiet-events {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: rgba(255, 253, 247, .5);
    border: 1px solid var(--line);
    border-radius: 18px
}

.quiet-events>span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--pine)
}

.quiet-events p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .82rem
}

.permission-card [data-push-message] {
    max-width: 650px
}

@media(max-width:760px) {
    .important-events .section-title h2 {
        font-size: 1.45rem
    }

    .event-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 5px
    }

    .event-card {
        min-width: 82vw;
        scroll-snap-align: start
    }

    .quiet-events {
        align-items: flex-start
    }

    .permission-card {
        margin-top: 30px
    }
}

.responsibility-steps {
    margin: 1.5rem 0
}

.definition-step {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    margin: .65rem 0;
    border: 1px solid var(--line, #e6e2dc);
    border-radius: 16px;
    background: #fff
}

.step-number {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef5ef;
    color: #315b45;
    font-weight: 700
}

.step-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    text-align: left
}

.step-copy p,
.step-copy small {
    margin: 0
}

.step-copy em {
    font-size: .72rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6d756f
}

.definition-step summary {
    cursor: pointer;
    font-size: 1.2rem;
    list-style: none
}

.compact {
    min-width: min(22rem, 70vw);
    padding-top: .75rem
}

.definition-actions {
    display: flex;
    justify-content: space-between;
    margin-top: .5rem
}

.definition-actions form {
    display: flex;
    gap: .35rem
}

.definition-actions button {
    border: 0;
    background: #f3f1ed;
    padding: .45rem .65rem;
    border-radius: 8px;
    cursor: pointer
}

.add-step {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px dashed #9eaaa0;
    border-radius: 14px
}

.add-step summary {
    cursor: pointer;
    font-weight: 700
}

.session-steps .step {
    width: 100%
}

.complete-box select {
    display: block;
    margin-top: .5rem;
    max-width: 22rem
}

.continuation {
    border-color: #c8a86b
}

.session-steps .step {
    display: flex;
    align-items: flex-start;
    gap: .5rem
}

.session-steps .step>.step-copy {
    display: flex;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    place-items: initial;
    flex: 1
}

.session-steps .step>.step-copy small,
.session-steps .step>.step-copy em {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted)
}

.task-icon svg {
    width: 28px;
    height: 28px;
    display: block
}

.task-icon {
    color: var(--pine)
}

.mode-tabs {
    display: flex;
    gap: .5rem;
    margin: 1rem 0 2rem
}

.mode-tabs a {
    padding: .65rem 1rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    text-decoration: none
}

.mode-tabs a.active {
    background: var(--pine);
    color: #fff
}

.week-picker {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .4rem;
    margin-top: 1rem
}

.week-picker button {
    min-height: 64px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer
}

.importance-icon {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    font-size: .78rem;
    color: var(--muted)
}

@media(max-width:760px) {
    .week-picker {
        grid-template-columns: repeat(4, 1fr)
    }
}

.edit-pencil,
.edit-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem
}

.edit-mode-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin: 2rem 0
}

.edit-mode-head h2 {
    font: 400 2rem Georgia, serif;
    margin: .35rem 0
}

.edit-finish {
    margin: 2rem 0
}

.session-steps {
    grid-template-columns: 1fr
}

.session-steps .step.done {
    padding-block: .55rem
}

.session-steps .step.done .step-copy small {
    display: none
}

.session-actions {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--sand)
}

.session-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem
}

.session-action-buttons form {
    margin: 0
}

.transfer-picker {
    position: relative
}

.transfer-picker summary {
    list-style: none
}

.transfer-picker>div {
    position: absolute;
    z-index: 4;
    right: 0;
    min-width: 220px;
    padding: .5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.transfer-picker>div button {
    width: 100%;
    padding: .7rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer
}

.summary-hero {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 3rem 0
}

.summary-hero h1 {
    font: 400 clamp(2.5rem, 6vw, 5rem)/1 Georgia, serif;
    margin: 0
}

.summary-hero p {
    color: var(--muted)
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.kpi-grid article,
.summary-card,
.quick-question {
    background: var(--cream);
    border-radius: 20px;
    padding: 1.5rem
}

.kpi-grid small {
    display: block;
    color: var(--muted)
}

.kpi-grid strong {
    font: 400 2rem Georgia, serif
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0
}

.summary-card h2,
.quick-question h2 {
    font: 400 1.5rem Georgia, serif
}

.step-timings {
    padding-left: 1.25rem
}

.step-timings li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--line)
}

.timing-note {
    font-size: .75rem;
    color: var(--muted)
}

.session-chart {
    width: 100%;
    height: 180px;
    overflow: visible
}

.session-chart path {
    stroke: var(--line);
    fill: none
}

.session-chart polyline {
    fill: none;
    stroke-width: 2
}

.mine-line {
    stroke: var(--pine)
}

.other-line {
    stroke: #c78e63
}

.chart-legend {
    display: flex;
    gap: 1rem;
    font-size: .78rem
}

.reward-card {
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 20px;
    background: var(--mint)
}

.reward-card span {
    font-weight: 800
}

.reward-card p {
    font: 400 1.25rem Georgia, serif
}

.quick-question {
    margin: 1rem 0
}

.quick-buttons {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap
}

.quick-buttons button,
.recommendations a {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 99px;
    padding: .7rem 1rem;
    text-decoration: none;
    cursor: pointer
}

.recommendations {
    margin-top: 1rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap
}

.recommendations h3 {
    width: 100%
}

.undo-completion {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin: 1.5rem 0
}

.undo-completion small {
    color: var(--muted)
}

@media(max-width:760px) {

    .summary-grid,
    .kpi-grid {
        grid-template-columns: 1fr
    }

    .summary-hero {
        align-items: flex-start
    }

    .quick-buttons {
        display: grid
    }

    .undo-completion {
        align-items: flex-start;
        flex-direction: column
    }
}

.task-estimate {
    color: var(--muted);
    margin: .8rem 0 0
}

.duration-chip {
    font-size: .76rem;
    color: var(--pine) !important
}

.gentle-reminder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin: 0 0 1.25rem;
    border: 1px solid #dcc899;
    border-radius: 16px;
    background: #fff8e8
}

.gentle-reminder p {
    margin: .2rem 0 0;
    color: var(--muted)
}

.gentle-reminder>div:last-child {
    display: flex;
    gap: .5rem
}

.gentle-reminder form {
    margin: 0
}

@media(max-width:760px) {

    .gentle-reminder,
    .gentle-reminder>div:last-child {
        align-items: stretch;
        flex-direction: column
    }
}

.satisfaction-card {
    margin: 34px 0;
    padding: 30px 34px;
    border-radius: 24px;
    background: var(--mint)
}

.satisfaction-intro h2 {
    font: 400 1.75rem Georgia, serif;
    margin: 7px 0
}

.satisfaction-intro p {
    margin: 0;
    color: var(--muted)
}

.satisfaction-scale {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 1.35rem
}

.satisfaction-scale>button {
    display: grid;
    justify-items: start;
    gap: .1rem;
    min-height: 112px;
    padding: 1rem;
    border: 1px solid rgba(40, 87, 70, .15);
    border-radius: 16px;
    background: rgba(255, 255, 255, .7);
    text-align: left;
    cursor: pointer;
    transition: .18s
}

.satisfaction-scale>button:hover,
.satisfaction-scale>button.selected {
    border-color: var(--pine);
    background: #fff;
    box-shadow: 0 8px 22px rgba(36, 49, 44, .08)
}

.satisfaction-scale>button>span {
    font-size: 1.55rem
}

.satisfaction-scale small,
.satisfaction-followup small {
    color: var(--muted);
    font-weight: 400
}

.satisfaction-followup {
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .55)
}

.satisfaction-followup[hidden] {
    display: none
}

.satisfaction-followup h3 {
    margin: 0 0 .85rem
}

.feedback-actions,
.suggestion-chips,
.reason-options {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center
}

.suggestion-chips button {
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: .45rem .7rem;
    background: #fff;
    cursor: pointer
}

.optional-feedback {
    display: grid;
    gap: .4rem;
    margin: 1rem 0;
    color: var(--muted);
    font-size: .82rem
}

.optional-feedback textarea {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .75rem;
    background: #fff;
    resize: vertical
}

.reason-options label {
    padding: .6rem .75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer
}

.satisfaction-followup>p {
    color: var(--muted)
}

@media(max-width:760px) {
    .satisfaction-card {
        padding: 24px 18px
    }

    .satisfaction-scale {
        grid-template-columns: 1fr
    }

    .satisfaction-scale>button {
        grid-template-columns: 2.2rem 1fr;
        align-items: center;
        min-height: 72px
    }

    .satisfaction-scale>button>span {
        grid-row: 1/3
    }

    .feedback-actions {
        align-items: stretch;
        flex-direction: column
    }

    .feedback-actions .button {
        width: 100%
    }
}

.feedback-context {
    margin: .35rem 0 .7rem !important;
    color: var(--pine) !important
}

.kudo-celebration,
.improvement-invite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin: 1rem 0 2rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(40, 87, 70, .18);
    border-radius: 20px;
    background: linear-gradient(120deg, #fffdf7, var(--mint));
    box-shadow: var(--shadow)
}

.kudo-celebration h2,
.improvement-invite h2 {
    font: 400 1.55rem Georgia, serif;
    margin: .15rem 0
}

.kudo-celebration p,
.improvement-invite p {
    margin: 0;
    color: var(--muted)
}

.kudo-burst {
    font-size: 2.6rem;
    animation: kudoPop 1.1s ease both
}

.improvement-invite {
    margin-top: 0;
    background: #fff8e8
}

.improvement-invite>div {
    max-width: 760px
}

@keyframes kudoPop {
    0% {
        opacity: 0;
        transform: scale(.25) rotate(-18deg)
    }

    55% {
        opacity: 1;
        transform: scale(1.35) rotate(8deg)
    }

    100% {
        transform: scale(1) rotate(0)
    }
}

@media(max-width:760px) {

    .kudo-celebration,
    .improvement-invite {
        align-items: stretch;
        flex-direction: column
    }

    .kudo-burst {
        align-self: flex-start
    }
}

.satisfaction-card:not(.satisfaction-native) {
    display: none
}

.satisfaction-choice-input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none
}

.satisfaction-native .satisfaction-scale>label {
    display: grid;
    justify-items: start;
    gap: .1rem;
    min-height: 112px;
    padding: 1rem;
    border: 1px solid rgba(40, 87, 70, .15);
    border-radius: 16px;
    background: rgba(255, 255, 255, .7);
    text-align: left;
    cursor: pointer;
    transition: .18s
}

.satisfaction-native .satisfaction-scale>label:hover {
    border-color: var(--pine);
    background: #fff
}

.satisfaction-native .satisfaction-scale>label>span {
    font-size: 1.55rem
}

.satisfaction-native .satisfaction-scale>label>small {
    color: var(--muted);
    font-weight: 400
}

.satisfaction-followups .satisfaction-followup {
    display: none
}

.satisfaction-native input[value="POSITIVE"]:checked~.satisfaction-followups .panel-positive,
.satisfaction-native input[value="NEUTRAL"]:checked~.satisfaction-followups .panel-neutral,
.satisfaction-native input[value="NEGATIVE"]:checked~.satisfaction-followups .panel-negative {
    display: block
}

.satisfaction-native input[value="POSITIVE"]:checked~.satisfaction-scale label[for^="sat-positive"],
.satisfaction-native input[value="NEUTRAL"]:checked~.satisfaction-scale label[for^="sat-neutral"],
.satisfaction-native input[value="NEGATIVE"]:checked~.satisfaction-scale label[for^="sat-negative"] {
    border-color: var(--pine);
    background: #fff;
    box-shadow: 0 8px 22px rgba(36, 49, 44, .08)
}

@media(max-width:760px) {
    .satisfaction-native .satisfaction-scale>label {
        grid-template-columns: 2.2rem 1fr;
        align-items: center;
        min-height: 72px
    }

    .satisfaction-native .satisfaction-scale>label>span {
        grid-row: 1/3
    }
}
