:root {
    font-family: Inter, 'Segoe UI', sans-serif;
    color: #202a25;
    background: #f4f5ef;
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
header,
main,
footer {
    width: min(1240px, calc(100% - 64px));
    margin: auto;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    border-bottom: 1px solid #d9ddd3;
}
a {
    color: #315a43;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.brand {
    font-weight: 800;
    letter-spacing: 3px;
    color: #203d2c;
    font-size: 19px;
}
.brand span {
    margin-left: 10px;
    font-weight: 500;
    color: #78916d;
    font-size: 12px;
}
.intro {
    padding: 44px 0 30px;
    max-width: 760px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #658166;
}
h1 {
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.13;
    letter-spacing: -1.8px;
    font-weight: 650;
    margin: 14px 0;
}
.intro > p {
    max-width: 570px;
    line-height: 1.7;
    color: #5d6960;
}
.notice {
    border-left: 3px solid #b79a52;
    background: #f0ecd9;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 0 6px 6px 0;
}
.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(310px, 1fr);
    gap: 24px;
}
.card {
    background: #fff;
    border: 1px solid #e0e4da;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 3px 12px #293f2b04;
}
.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 650;
}
.badge {
    background: #e5eee1;
    color: #42633c;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
}
.neutral {
    background: #f0f0e7;
    color: #747653;
}
.muted {
    font-size: 13px;
    line-height: 1.6;
    color: #7a827c;
}
.session-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}
.session-options label {
    flex: 1 1 220px;
    font-size: 13px;
    color: #5d6960;
}
.session-options select {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 10px;
    border: 1px solid #d9ddd3;
    border-radius: 7px;
    background: white;
    color: #202a25;
}
.call-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 17px 0 23px;
    border-bottom: 1px solid #edf0e9;
}
button {
    border: none;
    border-radius: 7px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
button:disabled {
    opacity: 0.43;
    cursor: default;
}
.primary {
    background: #305d43;
    color: white;
}
.primary:not(:disabled):hover {
    background: #234a33;
}
.secondary {
    background: #eef1e9;
    color: #52604f;
}
.messages {
    min-height: 260px;
    height: 340px;
    overflow: auto;
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.empty {
    text-align: center;
    color: #a1a99f;
    font-size: 13px;
    margin: auto;
    padding: 35px;
}
.message {
    border-radius: 9px;
    padding: 12px 15px;
    line-height: 1.6;
    font-size: 14px;
    max-width: 92%;
    white-space: pre-wrap;
}
.message.bot {
    background: #f0f3eb;
    align-self: flex-start;
}
.message.user {
    background: #e5ede4;
    align-self: flex-end;
}
.message small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #7f927c;
    margin-bottom: 3px;
    letter-spacing: 0.6px;
}
form {
    border-top: 1px solid #edf0e9;
    padding-top: 18px;
}
label {
    display: block;
    font-size: 12px;
    color: #7a827c;
    margin-bottom: 9px;
}
.input-row {
    display: flex;
    gap: 9px;
}
input {
    min-width: 0;
    flex: 1;
    background: #fafbf8;
    border: 1px solid #e0e5db;
    border-radius: 7px;
    padding: 12px;
    font: inherit;
    font-size: 13px;
}
input:focus {
    outline: 2px solid #91ab88;
    outline-offset: 1px;
}
.error {
    color: #a14d3f;
    font-size: 13px;
    line-height: 1.6;
}
.footnote {
    color: #969b93;
    font-size: 11px;
    line-height: 1.65;
    margin-top: 22px;
}
aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.menu-card {
    max-height: 350px;
    overflow: auto;
}
.menu-item,
.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2ec;
    font-size: 13px;
    line-height: 1.45;
}
.menu-item span:last-child,
.cart-item span:last-child {
    white-space: nowrap;
    color: #677b5c;
}
.total {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    font-size: 16px;
    font-weight: 650;
}
footer {
    color: #969e93;
    font-size: 11px;
    padding: 30px 0;
    line-height: 1.7;
}
.help {
    max-width: 780px;
    padding: 45px 0;
    line-height: 1.85;
}
.help h2 {
    margin-top: 27px;
}
.help ol,
.help ul {
    padding-left: 23px;
}
@media (max-width: 850px) {
    .workspace {
        grid-template-columns: 1fr;
    }
    header,
    main,
    footer {
        width: calc(100% - 32px);
    }
    .intro {
        padding-top: 30px;
    }
    .card {
        padding: 20px;
    }
    .call-controls .muted {
        width: 100%;
    }
}
.audio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
}
.audio-option input {
    width: 18px;
    height: 18px;
    accent-color: #315d48;
}
