.lsart-planning-widget {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    font-family: inherit
}

.lsart-planning-toggle {
    background: var(--lsart-primary, #2e7d32);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    box-shadow: none
}

.lsart-planning-panel {
    position: fixed;
    right: 16px;
    bottom: 64px;
    width: 360px;
    max-width: 90vw;
    background: var(--lsart-panel-bg, #fff);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    direction: ltr;
}

.lsart-planning-header {
    background: transparent;
    color: inherit;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #eee
}

.lsart-planning-header .lh {
    display: grid;
    gap: 2px
}

.lsart-planning-header .ttl {
    font-size: 14px;
    color: #353535;
}

.lsart-planning-header .sub {
    color: #646464;
    font-size: 12px;
}

.sum-preview {
    line-height: 2;
    color: #353535;
    font-size: 14px;
}

.svc-sub {
    font-size: 14px;
    line-height: 1;
    color: #646464;
}

.lsart-planning-back {
    background: transparent;
    color: var(--lsart-primary, #2e7d32);
    border: 1px solid var(--lsart-primary, #2e7d32);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer
}

.lsart-planning-list {
    max-height: 60vh;
    overflow: auto;
    min-height: 120px;
}

.lsart-days {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow: auto
}

.lsart-day {
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    min-width: 64px;
    text-align: center;
    cursor: pointer
}

.lsart-day.selected {
    background: var(--lsart-hover-bg, #e8f5e9);
    border-color: var(--lsart-primary, #2e7d32)
}

.lsart-day .dw {
    font-size: 10px;
    color: #646464;
    line-height: 2;
}

.lsart-day .dd {
    font-weight: 700;
    color: #353535;
    line-height: 2;
}

.lsart-day .dm {
    font-size: 10px;
    color: #646464;
    line-height: 2;
}

.lsart-times {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    flex-wrap: wrap;
}

.lsart-times .time {
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    text-align: center;
    cursor: pointer
}

.lsart-times .time.selected {
    background: var(--lsart-hover-bg, #e8f5e9);
    border-color: var(--lsart-primary, #2e7d32)
}

.lsart-times .time .duration {
    display: block;
    font-size: 12px;
    color: #777
}

.lsart-times .time .cap {
    display: block;
    font-size: 14px;
    color: #646464;
    margin-top: 5px;
}

.svc-meta {
    padding-left: 25px;
    font-size: 14px;
    color: #646464;
    background-color: #f5f5f5;
    width: 100%;
    border-radius: 5px;
    line-height: 2;
}

.lsart-times .time.full,
.lsart-times .time:disabled {
    opacity: .5;
    cursor: not-allowed;
    background: #f5f5f5
}

.lsart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #ccc;
    flex-wrap: wrap;
}

.lsart-summary .btn {
    background: var(--lsart-primary, #2e7d32);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer
}

.lsart-summary .sum-left {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.sum-right {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sum-title {
    font-size: 14px;
    color: #353535;
}

.sum-price {
    font-size: 12px;
    color: #646464;
}

.sum-duration {
    font-size: 12px;
    color: #646464;
}

.lsart-planning-item {
    border-bottom: 1px solid #eee;
    padding: 12px 16px
}

.lsart-planning-actions {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-end
}

.lsart-planning-actions .btn {
    background: var(--lsart-primary, #2e7d32);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer
}

.lsart-planning-form {
    padding: 12px 16px;
    display: grid;
    gap: 8px
}

.lsart-planning-form input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px
}

.lsart-planning-form .submit {
    background: var(--lsart-primary, #2e7d32);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer
}


/* Notices */

.lsart-notice {
    margin: 8px 16px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px
}

.lsart-notice.info {
    background: #f5f5f5;
    color: #353535;
}

.lsart-notice.error {
    background: #f5f5f5;
    color: #353535;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    padding: 5px 10px;
}

.lsart-notice.success {
    background: var(--lsart-hover-bg, #f5f5f5);
    color: #353535;
}

@keyframes lsart-spin {
    to {
        transform: rotate(360deg)
    }
}

@media (max-width:480px) {
    .lsart-planning-panel {
        right: 8px;
        left: 8px;
        bottom: 64px;
        width: auto
    }
}


/* Services list layout: left aligned, minimal */

.lsart-planning-service {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
}

.lsart-planning-service input[type=radio] {
    margin: 0
}

.lsart-planning-service .svc-title {
    display: flex;
    align-items: center;
    gap: 6px
}

.sum-right button:disabled {
    opacity: 0.5;
}


/* Tooltip styles */

.lsart-tip-wrap {
    display: flex;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lsart-tip-i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #ccc;
    font-size: 12px;
    cursor: pointer;
}

.lsart-tip {
    position: absolute;
    left: 10px;
    top: 28px;
    background: #222;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: normal;
    width: calc(100% - 20px);
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-2px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 10;
}

.svc {
    width: calc( 100% - 30px);
    cursor: pointer;
}

.lsart-tip-wrap:hover .lsart-tip,
.lsart-tip-i:focus+.lsart-tip {
    opacity: 1;
    transform: translateY(0)
}

.svc-title>strong {
    color: #353535;
    font-size: 16px;
    line-height: 1.5;
}


/* Extended FAB */

.lsart-planning-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 25px;
    border-radius: 28px;
    background: var(--md-sys-color-primary, var(--lsart-primary, #2e7d32));
    color: var(--md-sys-color-on-primary, #fff);
    box-shadow: var(--md-sys-elevation-2, 0 2px 6px rgba(0, 0, 0, .14), 0 2px 4px rgba(0, 0, 0, .12));
    transition: transform .08s ease, box-shadow .2s ease;
    direction: ltr;
    display: flex;
    align-items: center;
}

.lsart-planning-toggle:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .16)
}

.lsart-planning-toggle:active {
    transform: translateY(1px)
}

.lsart-planning-toggle .label {
    font-weight: 600;
    line-height: 2;
    font-size: 14px;
}

.material-symbols-outlined {
    font-size: 20px !important;
    margin-top: -4px;
}


/* Icon base */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    line-height: 1;
    vertical-align: -2px;
    color: currentColor
}


/* Panel (surface container) */

.lsart-planning-panel {
    background: var(--md-sys-color-surface, var(--lsart-panel-bg, #fff));
    border-radius: 12px;
    box-shadow: var(--md-sys-elevation-2, 0 2px 6px rgba(0, 0, 0, .14), 0 2px 4px rgba(0, 0, 0, .12));
    border: 1px solid rgba(0, 0, 0, .06)
}

.lsart-planning-header {
    border-bottom: 1px solid rgba(0, 0, 0, .06)
}


/* Text button with leading icon */

.lsart-planning-back {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #353535;
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.lsart-planning-back .material-symbols-outlined {
    font-size: 12px !important;
    line-height: 1 !important;
    height: 12px !important;
    margin-top: -3px !important;
}

.lsart-planning-back:hover {
    background: rgba(0, 0, 0, .04)
}


/* Chips */

.lsart-day,
.lsart-times .time {
    background: transparent;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 5px;
}

.lsart-times .time {
    width: 48%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.lsart-times .time .label {
    font-size: 14px;
    line-height: 1.5;
    color: #353535;
}

.lsart-times .time .duration {
    display: block;
    font-size: 12px;
    color: #646464;
    line-height: 2;
    width: 100%;
}

.lsart-day.selected,
.lsart-times .time.selected {
    background: var(--lsart-hover-bg, #e8f5e9);
    border-color: #eee;
    color: inherit
}

.lsart-times .time.full,
.lsart-times .time:disabled {
    opacity: .5;
    cursor: not-allowed;
    background: #f5f5f5
}

.lsart-times .time .cap {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    width: 100%;
    justify-content: center;
}


/* Buttons */

.lsart-summary .btn,
.lsart-planning-actions .btn,
.lsart-planning-form .submit {
    background: var(--md-sys-color-primary, var(--lsart-primary, #2e7d32));
    color: var(--md-sys-color-on-primary, #fff);
    border-radius: 20px;
    padding: 10px 16px;
    font-weight: 600
}


/* Outlined text fields */

.lsart-planning-form input[type=text],
.lsart-planning-form input[type=email],
.lsart-planning-form input[type=tel] {
    background: var(--md-sys-color-surface, #fff);
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease
}

.lsart-planning-form input.is-error {
    border-color: var(--md-sys-color-error, #B3261E)
}

.lsart-support-text {
    color: var(--md-sys-color-error, #B3261E);
    font-size: 12px;
    margin-top: 4px
}


/* Notices (with icon) */

.lsart-notice {
    display: flex;
    gap: 10px;
    align-content: center;
}

.lsart-notice::before {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    font-size: 16px;
    line-height: 1;
}

.lsart-notice.info:before {
    content: 'info'
}

.lsart-notice.error:before {
    content: 'error'
}

.lsart-notice.success:before {
    content: 'check_circle'
}


/* Circular progress */

.lsart-spinner {
    width: 15px;
    height: 15px;
    border: 3px solid rgba(0, 0, 0, .12);
    border-top-color: var(--md-sys-color-primary, var(--lsart-primary, #2e7d32));
    border-radius: 50%;
    animation: lsart-spin 0.8s linear infinite;
}