/* Smart assistant */
.smart-assistant {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 1050;
    font-family: inherit;
}
.smart-assistant-toggle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #7f9059, #506738);
    box-shadow: 0 10px 28px rgba(35, 55, 27, .32);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.smart-assistant-toggle:hover,
.smart-assistant-toggle:focus {
    transform: translateY(-2px);
    box-shadow: 0 13px 32px rgba(35, 55, 27, .4);
    outline: none;
}
.smart-assistant-toggle svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
}
.smart-assistant-panel {
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 120px));
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-bottom: 14px;
    overflow: hidden;
    color: #263121;
    background: #fff;
    border: 1px solid rgba(80, 103, 56, .22);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(25, 40, 19, .24);
}
.smart-assistant-panel[hidden] {
    display: none;
}
.smart-assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px;
    color: #fff;
    background: linear-gradient(135deg, #657c45, #3f572f);
}
.smart-assistant-header strong,
.smart-assistant-header span {
    display: block;
}
.smart-assistant-header strong {
    font-size: 17px;
}
.smart-assistant-header span {
    margin-top: 2px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}
.smart-assistant-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-size: 27px;
    line-height: 32px;
    cursor: pointer;
}
.smart-assistant-close:hover,
.smart-assistant-close:focus {
    background: rgba(255,255,255,.23);
    outline: none;
}
.smart-assistant-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    background: #f7f9f3;
}
.smart-assistant-intro,
.smart-assistant-user-message,
.smart-assistant-titles {
    margin: 0 0 14px;
    border-radius: 13px;
}
.smart-assistant-intro {
    padding: 12px 14px;
    color: #4d5947;
    background: #fff;
    border: 1px solid #e3e9dc;
    font-size: 13px;
}
.smart-assistant-examples {
    display: grid;
    gap: 7px;
    margin: -4px 0 14px;
}
.smart-assistant-example {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #dbe4d4;
    border-radius: 10px;
    color: #46583c;
    background: #fff;
    font: inherit;
    font-size: 12px;
    line-height: 1.55;
    text-align: start;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.smart-assistant-example:hover,
.smart-assistant-example:focus {
    border-color: #9eaf90;
    background: #f4f8f1;
    outline: none;
    transform: translateY(-1px);
}
.smart-assistant-example:disabled {
    cursor: wait;
    opacity: .55;
    transform: none;
}
.smart-assistant-user-message {
    max-width: 84%;
    margin-inline-start: auto;
    padding: 10px 13px;
    color: #fff;
    background: #657c45;
    font-size: 14px;
}
.smart-assistant-progress {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #dfe6d8;
    border-radius: 13px;
    background: #fff;
    color: #465340;
}
.smart-assistant-progress-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #3f572f;
    font-size: 13px;
}
.smart-assistant-progress-spinner {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid #d8e1d0;
    border-top-color: #657c45;
    border-radius: 50%;
    animation: smart-assistant-spin .8s linear infinite;
}
.smart-assistant-progress-steps {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}
.smart-assistant-progress-steps li {
    position: relative;
    min-height: 22px;
    padding-inline-start: 24px;
    color: #8a9286;
    line-height: 1.55;
    transition: color .2s ease, opacity .2s ease;
}
.smart-assistant-progress-steps li::before {
    position: absolute;
    inset-inline-start: 3px;
    top: 5px;
    width: 9px;
    height: 9px;
    content: '';
    border: 1px solid #cbd4c5;
    border-radius: 50%;
    background: #fff;
}
.smart-assistant-progress-steps li.is-active {
    color: #34492a;
    font-weight: 600;
}
.smart-assistant-progress-steps li.is-active::before {
    border-color: #718754;
    background: #718754;
    box-shadow: 0 0 0 4px rgba(113, 135, 84, .14);
    animation: smart-assistant-pulse 1.25s ease-in-out infinite;
}
.smart-assistant-progress-steps li.is-done {
    color: #5f6d58;
}
.smart-assistant-progress-steps li.is-done::before {
    top: 3px;
    width: auto;
    height: auto;
    content: '\2713';
    border: 0;
    background: transparent;
    color: #657c45;
    font-size: 13px;
    font-weight: bold;
}
.smart-assistant-progress.is-complete .smart-assistant-progress-spinner,
.smart-assistant-progress.is-failed .smart-assistant-progress-spinner {
    animation: none;
}
.smart-assistant-progress.is-complete {
    border-color: #cad8c1;
    background: #f7faf5;
}
.smart-assistant-progress.is-failed {
    border-color: #e1cbc7;
    background: #fff8f7;
}
.smart-assistant-progress.is-failed .smart-assistant-progress-heading {
    color: #8a4c43;
}
.smart-assistant-progress.is-failed .smart-assistant-progress-spinner {
    border-color: #d9b7b1;
}
@keyframes smart-assistant-spin {
    to { transform: rotate(360deg); }
}
@keyframes smart-assistant-pulse {
    50% { box-shadow: 0 0 0 6px rgba(113, 135, 84, .08); }
}
@media (prefers-reduced-motion: reduce) {
    .smart-assistant-progress-spinner,
    .smart-assistant-progress-steps li.is-active::before {
        animation: none;
    }
}
.smart-assistant-titles {
    padding: 4px 0;
    list-style-position: inside;
    background: #fff;
    border: 1px solid #e3e9dc;
}
.smart-assistant-titles-target {
    border-color: #b8c8aa;
    border-inline-start: 4px solid #718754;
    background: #fbfdf9;
}
.smart-assistant-titles-other {
    border-color: #cbd1c7;
    border-style: dashed;
    background: #fafafa;
}
.smart-assistant-titles li {
    padding: 11px 14px;
    border-bottom: 1px solid #edf0e9;
    color: #263121;
    font-size: 14px;
    line-height: 1.7;
}
.smart-assistant-titles li:last-child {
    border-bottom: 0;
}
.smart-assistant-result-title {
    color: #263121;
    font-weight: 600;
}
.smart-assistant-result-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 7px;
    padding-inline-start: 18px;
    font-size: 12px;
}
.smart-assistant-result-links a {
    color: #526f3b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.smart-assistant-result-links a:hover,
.smart-assistant-result-links a:focus {
    color: #2f4921;
}
.smart-assistant-result-language {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.smart-assistant-result-share {
    display: inline-flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border: 0;
    border-radius: 50%;
    color: #66803a;
    background: transparent;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}
.smart-assistant-result-share:hover,
.smart-assistant-result-share:focus,
.smart-assistant-result-share.is-active {
    color: #fff;
    background: #66803a;
    outline: none;
}
.smart-assistant-result-share svg {
    width: 13px;
    height: 13px;
    overflow: visible;
}
.smart-assistant-group-heading {
    margin: 2px 2px 7px;
    color: #3f572f;
    font-size: 12px;
    font-weight: 700;
}
.smart-assistant-group-heading-secondary {
    color: #687064;
}
.smart-assistant-results-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 9px 2px 13px;
    color: #687064;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
.smart-assistant-results-separator::before,
.smart-assistant-results-separator::after {
    flex: 1;
    height: 1px;
    background: #b9c3b3;
    content: '';
}
.smart-assistant-results-separator strong {
    max-width: 72%;
}
.smart-assistant-status {
    min-height: 22px;
    padding: 3px 18px;
    color: #697064;
    background: #fff;
    font-size: 12px;
}
.smart-assistant-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    margin: 0;
    background: #fff;
    border-top: 1px solid #e8ece4;
}
.smart-assistant-form input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #ccd5c5;
    border-radius: 10px;
    color: #263121;
    background: #fff;
}
.smart-assistant-form input:focus {
    border-color: #7f9059;
    box-shadow: 0 0 0 3px rgba(127, 144, 89, .14);
    outline: none;
}
.smart-assistant-form button {
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #657c45;
    cursor: pointer;
}
.smart-assistant-form button:disabled {
    cursor: wait;
    opacity: .55;
}
.smart-assistant-form button svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.smart-assistant[dir="rtl"] .smart-assistant-form button svg {
    transform: rotate(180deg);
}
@media (max-width: 600px) {
    .smart-assistant {
        inset-inline-end: 12px;
        bottom: 12px;
    }
    .smart-assistant-panel {
        width: calc(100vw - 24px);
        height: min(560px, calc(100vh - 92px));
        margin-bottom: 10px;
    }
    .smart-assistant-toggle {
        width: 54px;
        height: 54px;
    }
}
