/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-n63keu8gxc] {
    min-height: 0vh;
    background:
        radial-gradient(circle at top right, rgba(27, 177, 167, 0.11), transparent 34rem),
        linear-gradient(180deg, #f7fbfd 0%, #edf4f8 100%);
}

.main-content[b-n63keu8gxc] {
    min-height: 100vh;
    margin-left: 64px;
    padding: 32px;
}

@media (max-width: 760px) {
    .main-content[b-n63keu8gxc] {
        padding: 22px 16px;
    }
}
/* /Components/Layout/SideMenu.razor.rz.scp.css */
.side-menu[b-bq6cncfqmk] {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    display: flex;
    width: 64px;
    min-height: 100vh;
    flex-direction: column;
    gap: 10px;
    padding: 12px 4px;
    overflow: visible;
    border-right: 1px solid #dbe8ee;
    background: #ffffff;
    box-shadow: 10px 0 26px rgba(11, 40, 68, 0.06);
}

.brand[b-bq6cncfqmk] {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    min-height: 58px;
    padding: 4px;
    border: 1px solid #e6eef2;
    border-radius: 8px;
    background: #f8fbfc;
    color: #123456;
    text-decoration: none;
}

.brand:hover[b-bq6cncfqmk] {
    color: #123456;
}

.brand[b-bq6cncfqmk]::after {
    position: absolute;
    right: 12px;
    bottom: -8px;
    left: 12px;
    height: 1px;
    background: #e8f0f4;
    content: "";
}

.brand-symbol[b-bq6cncfqmk] {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(18, 52, 86, 0.1);
}

.brand-symbol img[b-bq6cncfqmk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy[b-bq6cncfqmk] {
    display: grid;
    gap: 3px;
    min-width: 0;
    text-align: center;
}

.brand-title[b-bq6cncfqmk] {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.brand-title span[b-bq6cncfqmk] {
    color: #123456;
}

.brand-title strong[b-bq6cncfqmk] {
    color: #1bb1a7;
}

.brand-subtitle[b-bq6cncfqmk] {
    color: #60798b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
}

.menu-links[b-bq6cncfqmk] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.menu-item[b-bq6cncfqmk] {
    position: relative;
}

.menu-link[b-bq6cncfqmk] {
    position: relative;
    display: grid;
    grid-template-rows: 30px minmax(22px, auto);
    align-items: center;
    justify-items: center;
    gap: 5px;
    min-height: 62px;
    padding: 6px 2px 5px;
    overflow: hidden;
    border: 1px solid #e4edf2;
    border-radius: 8px;
    background: #fbfdfe;
    color: #29485d;
    font-size: 0.54rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.menu-link:hover[b-bq6cncfqmk],
.menu-link:focus-visible[b-bq6cncfqmk] {
    border-color: #b7deda;
    background: #f2fbfa;
    color: #105f68;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(11, 40, 68, 0.08);
}

.menu-link.active[b-bq6cncfqmk] {
    border-color: #8fd1cb;
    background: #eaf8f7;
    color: #123456;
    box-shadow: inset 0 3px 0 #1bb1a7, 0 10px 22px rgba(11, 40, 68, 0.07);
}

.menu-icon[b-bq6cncfqmk] {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 7px 16px rgba(18, 52, 86, 0.08);
}

.menu-icon img[b-bq6cncfqmk] {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.menu-label[b-bq6cncfqmk] {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.submenu[b-bq6cncfqmk] {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    z-index: 1001;
    display: grid;
    width: 210px;
    gap: 4px;
    padding: 6px;
    visibility: hidden;
    border: 1px solid #dbe8ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 40, 68, 0.14);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.has-submenu.submenu-open .submenu[b-bq6cncfqmk] {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.submenu-link[b-bq6cncfqmk] {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: #29485d;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.submenu-link:hover[b-bq6cncfqmk],
.submenu-link:focus-visible[b-bq6cncfqmk],
.submenu-link.active[b-bq6cncfqmk] {
    background: #eaf8f7;
    color: #105f68;
    outline: none;
}

@media (max-width: 760px) {
    .brand[b-bq6cncfqmk] {
        justify-content: center;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .brand[b-bq6cncfqmk]::after {
        display: none;
    }

    .menu-link:hover[b-bq6cncfqmk],
    .menu-link:focus-visible[b-bq6cncfqmk] {
        transform: none;
    }

    .submenu[b-bq6cncfqmk] {
        top: 0;
        left: calc(100% + 6px);
        width: 200px;
    }
}
/* /Components/Pages/Accueil.razor.rz.scp.css */
body[b-ih2yjlnn9f] {
}
/* /Components/Pages/AddUser.razor.rz.scp.css */
.add-user-page[b-5eyuzhnpen] {
    min-height: 100vh;
    margin: -32px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(30, 185, 173, 0.11), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #17242f;
}

.add-user-header[b-5eyuzhnpen] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid #dcecea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(24, 72, 78, 0.08);
}

.add-user-header h1[b-5eyuzhnpen] {
    margin: 8px 0 0;
    color: #142630;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

.eyebrow[b-5eyuzhnpen] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfe8e5;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
    color: #1e6f69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
}

.back-link[b-5eyuzhnpen],
.secondary-button[b-5eyuzhnpen],
.primary-button[b-5eyuzhnpen] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.back-link[b-5eyuzhnpen],
.secondary-button[b-5eyuzhnpen] {
    border: 1px solid #cfe3e0;
    background: #ffffff;
    color: #286760;
}

.primary-button[b-5eyuzhnpen] {
    border: 1px solid #21a99d;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(25, 128, 119, 0.22);
}

.primary-button:disabled[b-5eyuzhnpen] {
    cursor: not-allowed;
    opacity: 0.72;
}

.back-link:hover[b-5eyuzhnpen],
.secondary-button:hover[b-5eyuzhnpen],
.primary-button:hover:not(:disabled)[b-5eyuzhnpen] {
    transform: translateY(-1px);
}

.add-user-form[b-5eyuzhnpen] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.frame-grid[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
}

.personal-frame[b-5eyuzhnpen],
.action-row[b-5eyuzhnpen] {
    grid-column: 1 / -1;
}

.form-frame[b-5eyuzhnpen] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    box-shadow: 0 16px 34px rgba(22, 61, 68, 0.07);
}

.frame-heading[b-5eyuzhnpen] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf4f3;
}

.frame-index[b-5eyuzhnpen] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eaf8f5;
    color: #1c746a;
    font-size: 0.84rem;
    font-weight: 900;
}

.frame-heading h2[b-5eyuzhnpen] {
    margin: 10px 0 ;
    color: #122631;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.frame-heading p[b-5eyuzhnpen] {
    margin: 4px 0 0;
    color: #6b8288;
    font-size: 0.9rem;
    font-weight: 600;
}

.field-grid[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field[b-5eyuzhnpen] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field-wide[b-5eyuzhnpen] {
    grid-column: 1 / -1;
}

.field span[b-5eyuzhnpen] {
    color: #526c73;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.field .required-star[b-5eyuzhnpen] {
    color: #d92d20;
    font-size: 0.9rem;
    line-height: 1;
}

.field-error span[b-5eyuzhnpen] {
    color: #b42335;
}

.field input[b-5eyuzhnpen],
.field select[b-5eyuzhnpen] {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input[readonly][b-5eyuzhnpen] {
    background: #f7fbfa;
    color: #233941;
    cursor: default;
}

.field input:focus[b-5eyuzhnpen],
.field select:focus[b-5eyuzhnpen] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.field-error input[b-5eyuzhnpen],
.field-error select[b-5eyuzhnpen] {
    border-color: #e05757;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(224, 87, 87, 0.12);
}

.field-error input:focus[b-5eyuzhnpen],
.field-error select:focus[b-5eyuzhnpen] {
    border-color: #d92d20;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.16);
}

.group-dropdown[b-5eyuzhnpen] {
    position: relative;
}

.group-dropdown-backdrop[b-5eyuzhnpen] {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: transparent;
}

.group-dropdown-button[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.group-dropdown-button span:first-child[b-5eyuzhnpen] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-dropdown-button:focus[b-5eyuzhnpen] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.group-dropdown-arrow[b-5eyuzhnpen] {
    width: 9px;
    height: 9px;
    border-right: 2px solid #526c73;
    border-bottom: 2px solid #526c73;
    transform: rotate(45deg) translateY(-2px);
}

.group-selection-list[b-5eyuzhnpen] {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    max-height: 230px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(22, 61, 68, 0.14);
}

.group-choice[b-5eyuzhnpen] {
    display: block;
    min-height: 40px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.group-choice:hover[b-5eyuzhnpen],
.group-choice:focus[b-5eyuzhnpen] {
    border-color: #65c9bf;
    background: #f2fbfa;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
    outline: none;
}

.group-choice-selected[b-5eyuzhnpen] {
    border-color: #65c9bf;
    background: #eefaf8;
}

.group-choice-name[b-5eyuzhnpen] {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #263943;
    font-size: 0.92rem;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.empty-group-state[b-5eyuzhnpen] {
    min-height: 42px;
    padding: 11px 12px;
    border: 1px dashed #bfdcd8;
    border-radius: 8px;
    color: #506970;
    font-weight: 800;
}

.pin-input-row[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 6px;
    align-items: center;
}

.card-picker-row[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
}

.card-availability-note[b-5eyuzhnpen] {
    margin: -4px 0 0;
    padding: 12px 14px;
    border: 1px solid #d8ebe8;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: #f6fbfa;
    color: #286760;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.pin-reset-button[b-5eyuzhnpen],
.scan-card-button[b-5eyuzhnpen] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.scan-card-button[b-5eyuzhnpen] {
    width: 44px;
    height: 46px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.pin-reset-button img[b-5eyuzhnpen],
.scan-card-button img[b-5eyuzhnpen] {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.scan-card-button img[b-5eyuzhnpen] {
    width: 18px;
    height: 18px;
}

.pin-reset-button:hover[b-5eyuzhnpen],
.pin-reset-button:focus-visible[b-5eyuzhnpen],
.scan-card-button:hover[b-5eyuzhnpen],
.scan-card-button:focus-visible[b-5eyuzhnpen] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.12);
    transform: translateY(-1px);
}

.switch-row[b-5eyuzhnpen],
.planning-fields[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.planning-inline[b-5eyuzhnpen] {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.planning-inline h3[b-5eyuzhnpen] {
    margin: 0;
    color: #122631;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.switch-card[b-5eyuzhnpen] {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #edf4f3;
    border-radius: 8px;
    background: #f8fcfb;
    cursor: pointer;
}

.switch-input[b-5eyuzhnpen] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.switch-control[b-5eyuzhnpen] {
    position: relative;
    width: 34px;
    height: 19px;
    border-radius: 999px;
    background: #c7d8d5;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.switch-control[b-5eyuzhnpen]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(22, 61, 68, 0.18);
    content: "";
    transition: transform 160ms ease;
}

.switch-input:checked + .switch-control[b-5eyuzhnpen] {
    background: #28b9ad;
}

.switch-input:checked + .switch-control[b-5eyuzhnpen]::after {
    transform: translateX(15px);
}

.switch-card:focus-within .switch-control[b-5eyuzhnpen] {
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.switch-card strong[b-5eyuzhnpen],
.switch-card small[b-5eyuzhnpen] {
    display: block;
}

.switch-card strong[b-5eyuzhnpen] {
    color: #263943;
    font-size: 0.92rem;
}

.switch-card small[b-5eyuzhnpen] {
    margin-top: 2px;
    color: #73898f;
    font-weight: 700;
}

.action-row[b-5eyuzhnpen] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 2px;
}

.message[b-5eyuzhnpen],
.form-state[b-5eyuzhnpen] {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.message-error[b-5eyuzhnpen] {
    border: 1px solid #f0b7b7;
    background: #fff7f7;
    color: #a63737;
}

.message-success[b-5eyuzhnpen] {
    border: 1px solid #b9e4d5;
    background: #f0fbf7;
    color: #1d775d;
}

.form-state[b-5eyuzhnpen] {
    display: grid;
    min-height: 180px;
    place-items: center;
    border: 1px dashed #bfdcd8;
    background: #ffffff;
    color: #506970;
}

@media (max-width: 980px) {
    .field-grid[b-5eyuzhnpen],
    .switch-row[b-5eyuzhnpen],
    .planning-fields[b-5eyuzhnpen] {
        grid-template-columns: 1fr;
    }

    .field-wide[b-5eyuzhnpen] {
        grid-column: auto;
    }
}

@media (min-width: 981px) {
    .frame-grid[b-5eyuzhnpen] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-frame[b-5eyuzhnpen] {
        grid-column: 1;
    }

    .group-frame[b-5eyuzhnpen] {
        grid-column: 2;
    }
}

@media (max-width: 700px) {
    .add-user-page[b-5eyuzhnpen] {
        margin: -22px -16px;
        padding: 22px;
    }

    .add-user-header[b-5eyuzhnpen],
    .action-row[b-5eyuzhnpen] {
        align-items: stretch;
        flex-direction: column;
    }

    .add-user-header h1[b-5eyuzhnpen] {
        font-size: 1.55rem;
    }

    .back-link[b-5eyuzhnpen],
    .secondary-button[b-5eyuzhnpen],
    .primary-button[b-5eyuzhnpen] {
        width: 100%;
    }
}
/* /Components/Pages/Anomaly.razor.rz.scp.css */
.anomaly-page[b-bhs0a3g30h] {
    position: relative;
    min-height: 100%;
    height: calc(100vh - 1px);
    margin: -32px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 14px;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.12), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #111827;
}

.anomaly-page.has-status[b-bhs0a3g30h] {
    grid-template-rows: auto auto auto minmax(0, 1fr);
}

.anomaly-header[b-bhs0a3g30h] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 18px;
    align-items: end;
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.anomaly-actions[b-bhs0a3g30h] {
    position: relative;
    align-self: center;
    justify-self: end;
    display: flex;
    gap: 8px;
}

.anomaly-popover-backdrop[b-bhs0a3g30h] {
    position: fixed;
    inset: 0;
    z-index: 35;
    border: 0;
    background: transparent;
    cursor: default;
}

.anomaly-action-button[b-bhs0a3g30h] {
    position: relative;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.anomaly-action-button:hover[b-bhs0a3g30h],
.anomaly-action-button:focus-visible[b-bhs0a3g30h] {
    background: #f2f4f7;
    border-color: #98a2b3;
    outline: none;
}

.anomaly-action-button img[b-bhs0a3g30h] {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.anomaly-action-menu[b-bhs0a3g30h] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    display: grid;
    gap: 2px;
    min-width: 238px;
    padding: 5px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.anomaly-action-submenu[b-bhs0a3g30h] {
    top: calc(100% + 54px);
    max-height: min(360px, calc(100vh - 150px));
    overflow-y: auto;
}

.anomaly-action-item[b-bhs0a3g30h] {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #344054;
    font-size: 0.84rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.anomaly-action-item:hover[b-bhs0a3g30h],
.anomaly-action-item:focus-visible[b-bhs0a3g30h],
.anomaly-action-item.selected[b-bhs0a3g30h] {
    background: #f2f4f7;
    outline: none;
}

.anomaly-action-item.selected[b-bhs0a3g30h] {
    color: #111827;
    font-weight: 700;
}

.anomaly-filter-strip[b-bhs0a3g30h] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #d7e3e7;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(26, 169, 157, 0.09), rgba(255, 255, 255, 0) 42%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.filter-strip-heading[b-bhs0a3g30h] {
    display: grid;
    gap: 3px;
    min-width: 150px;
}

.filter-strip-heading span[b-bhs0a3g30h] {
    color: #667085;
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.filter-strip-heading strong[b-bhs0a3g30h] {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.2;
}

.anomaly-type-labels[b-bhs0a3g30h] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    overflow: visible;
    padding: 2px;
}

.anomaly-type-label[b-bhs0a3g30h] {
    flex: 0 1 auto;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: normal;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.anomaly-type-label:hover[b-bhs0a3g30h],
.anomaly-type-label:focus-visible[b-bhs0a3g30h] {
    border-color: #98a2b3;
    background: #f9fafb;
    color: #111827;
    outline: none;
    transform: translateY(-1px);
}

.anomaly-type-label.selected[b-bhs0a3g30h] {
    border-color: #1aa99d;
    background: #e7f8f6;
    color: #0f766e;
    box-shadow: 0 0 0 3px rgba(26, 169, 157, 0.13);
}

.anomaly-type-empty[b-bhs0a3g30h] {
    align-self: center;
    color: #667085;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.bulk-correct-floating-button[b-bhs0a3g30h] {
    position: fixed;
    right: 28px;
    bottom: 58px;
    z-index: 85;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #b7e4dc;
    border-radius: 14px;
    background: #f2fbf9;
    color: #0f766e;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.15;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.bulk-correct-floating-button img[b-bhs0a3g30h] {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.bulk-correct-floating-button:hover[b-bhs0a3g30h],
.bulk-correct-floating-button:focus-visible[b-bhs0a3g30h] {
    background: #e4f7f3;
    border-color: #7ed7ca;
    color: #115e59;
    outline: none;
}

.bulk-correct-floating-button:disabled[b-bhs0a3g30h] {
    border-color: #d0d5dd;
    background: #eef2f6;
    color: #98a2b3;
    cursor: not-allowed;
    box-shadow: none;
}

.anomaly-confirmation-backdrop[b-bhs0a3g30h] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
}

.anomaly-confirmation-dialog[b-bhs0a3g30h] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    width: min(430px, 100%);
    padding: 20px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.anomaly-confirmation-icon[b-bhs0a3g30h] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #175cd3;
    font-size: 1.1rem;
    font-weight: 900;
}

.anomaly-confirmation-content[b-bhs0a3g30h] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.anomaly-confirmation-content strong[b-bhs0a3g30h] {
    color: #101828;
    font-size: 1rem;
    font-weight: 850;
}

.anomaly-confirmation-content p[b-bhs0a3g30h] {
    margin: 0;
    color: #667085;
    font-size: 0.86rem;
    line-height: 1.45;
    white-space: pre-line;
}

.anomaly-confirmation-actions[b-bhs0a3g30h] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.anomaly-confirm-button[b-bhs0a3g30h],
.secondary-confirm-button[b-bhs0a3g30h] {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 850;
    cursor: pointer;
}

.anomaly-confirm-button[b-bhs0a3g30h] {
    border: 1px solid #1aa99d;
    background: #1aa99d;
    color: #ffffff;
}

.secondary-confirm-button[b-bhs0a3g30h] {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
}

.anomaly-confirm-button:hover[b-bhs0a3g30h],
.anomaly-confirm-button:focus-visible[b-bhs0a3g30h] {
    background: #168d84;
    outline: none;
}

.secondary-confirm-button:hover[b-bhs0a3g30h],
.secondary-confirm-button:focus-visible[b-bhs0a3g30h] {
    background: #f2f4f7;
    outline: none;
}

.period-bar[b-bhs0a3g30h] {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 10px;
    align-items: end;
    justify-self: start;
}

.date-field[b-bhs0a3g30h],
.period-field[b-bhs0a3g30h] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.period-field[b-bhs0a3g30h] {
    align-self: center;
}

.date-field span[b-bhs0a3g30h],
.period-field span[b-bhs0a3g30h] {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 750;
}

.period-date-controls[b-bhs0a3g30h] {
    display: grid;
    grid-template-columns: 36px max-content 36px;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.period-range-field[b-bhs0a3g30h] {
    display: grid;
    grid-template-columns: 96px 38px 96px;
    align-items: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #ffffff;
}

.date-field-range[b-bhs0a3g30h] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 36px;
    cursor: pointer;
}

.date-display[b-bhs0a3g30h] {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1;
    text-transform: lowercase;
    white-space: nowrap;
}

.period-range-field .date-field-range input[b-bhs0a3g30h] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.period-range-field .date-field-range input:focus[b-bhs0a3g30h] {
    box-shadow: none;
}

.period-range-field:focus-within[b-bhs0a3g30h] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.period-range-icon[b-bhs0a3g30h] {
    align-self: center;
    justify-self: center;
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.period-icon-button[b-bhs0a3g30h] {
    display: grid;
    place-items: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #344054;
    font-weight: 800;
    cursor: pointer;
}

.period-icon-button:hover[b-bhs0a3g30h],
.period-icon-button:focus-visible[b-bhs0a3g30h] {
    background: #f2f4f7;
    outline: none;
}

.period-icon-button img[b-bhs0a3g30h] {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.date-field input[b-bhs0a3g30h],
.period-field select[b-bhs0a3g30h] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-weight: 750;
    outline: none;
}

.period-field span[b-bhs0a3g30h] {
    display: none;
}

.period-field select[b-bhs0a3g30h] {
    min-width: 148px;
    padding: 0 38px 0 14px;
    border-radius: 14px;
    background:
        linear-gradient(45deg, transparent 50%, #475467 50%) right 18px center / 6px 6px no-repeat,
        linear-gradient(135deg, #475467 50%, transparent 50%) right 13px center / 6px 6px no-repeat,
        #ffffff;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.period-field select:hover[b-bhs0a3g30h] {
    border-color: #98a2b3;
    background-color: #f9fafb;
}

.date-field input:focus[b-bhs0a3g30h],
.period-field select:focus[b-bhs0a3g30h] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.status-line[b-bhs0a3g30h] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #abefc6;
    border-radius: 18px;
    background: #ecfdf3;
    color: #067647;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.35;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.status-line.error[b-bhs0a3g30h],
.state-panel.error[b-bhs0a3g30h] {
    border-color: #fecdca;
    background: #fffbfa;
    color: #b42318;
}

.anomaly-grid-panel[b-bhs0a3g30h] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.grid-scroll[b-bhs0a3g30h] {
    min-height: 0;
    max-width: 100%;
    overflow: auto;
    background: #ffffff;
}

.anomaly-grid[b-bhs0a3g30h] {
    display: grid;
    min-width: max-content;
}

.grid-corner[b-bhs0a3g30h],
.day-header[b-bhs0a3g30h],
.user-header[b-bhs0a3g30h],
.anomaly-cell[b-bhs0a3g30h] {
    border: 0;
    border-right: 1px solid #eaecf0;
    border-bottom: 1px solid #eaecf0;
}

.grid-corner[b-bhs0a3g30h],
.day-header[b-bhs0a3g30h] {
    position: sticky;
    top: 0;
    z-index: 12;
    min-height: 60px;
    background: #f9fafb;
}

.grid-corner[b-bhs0a3g30h] {
    left: 0;
    z-index: 24;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #475467;
    font-size: 0.77rem;
    font-weight: 850;
    text-transform: uppercase;
}

.day-header[b-bhs0a3g30h] {
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 8px;
    color: #344054;
}

.day-header strong[b-bhs0a3g30h],
.day-header span[b-bhs0a3g30h] {
    display: block;
}

.day-header strong[b-bhs0a3g30h] {
    font-size: 0.82rem;
    font-weight: 850;
}

.day-header span[b-bhs0a3g30h] {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
}

.day-header.today[b-bhs0a3g30h] {
    background: #fff7ed;
}

.user-header[b-bhs0a3g30h] {
    position: sticky;
    left: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 9px 12px;
    background: #ffffff;
    color: #111827;
    text-align: left;
}

.user-header strong[b-bhs0a3g30h] {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.anomaly-cell[b-bhs0a3g30h] {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 6px;
    border-top: 0;
    border-left: 0;
    background: #ffffff;
    color: #344054;
    cursor: pointer;
    font: inherit;
    text-align: center;
    user-select: none;
}

.anomaly-cell:hover[b-bhs0a3g30h],
.anomaly-cell:focus-visible[b-bhs0a3g30h],
.anomaly-cell.selected[b-bhs0a3g30h] {
    position: relative;
    z-index: 4;
    background: #f6fbfb;
    outline: none;
}

.anomaly-cell.planning-slots[b-bhs0a3g30h] {
    background: #dff3ff;
}

.anomaly-cell.planning-slots:hover[b-bhs0a3g30h],
.anomaly-cell.planning-slots:focus-visible[b-bhs0a3g30h],
.anomaly-cell.planning-slots.selected[b-bhs0a3g30h] {
    background: #cfeeff;
}

.anomaly-cell:hover span[b-bhs0a3g30h],
.anomaly-cell:focus-visible span[b-bhs0a3g30h],
.anomaly-cell.selected span[b-bhs0a3g30h] {
    border-color: #1aa99d;
    box-shadow: 0 0 0 3px rgba(26, 169, 157, 0.14);
}

.anomaly-cell span[b-bhs0a3g30h] {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 40px;
    border: 1px solid #d8e1ec;
    border-radius: 8px;
    color: #122033;
    font-size: 0.86rem;
    font-weight: 500;
}

.anomaly-cell.empty span[b-bhs0a3g30h] {
    background: #eeeeee;
    color: #555555;
}

.anomaly-cell.none span[b-bhs0a3g30h] {
    background: #ffffff;
}

.anomaly-cell.resolved span[b-bhs0a3g30h] {
    border-color: #b7e4c7;
    background: #d8f3dc;
}

.anomaly-cell.partial span[b-bhs0a3g30h] {
    border-color: #fedf89;
    background: #ffeecc;
}

.anomaly-cell.detected span[b-bhs0a3g30h] {
    border-color: #fecdca;
    background: #ffe5e5;
}

.anomaly-cell.absence span[b-bhs0a3g30h] {
    border-color: color-mix(in srgb, var(--absence-color, #ffffff) 70%, #344054);
    background: var(--absence-color, #ffffff);
    color: var(--absence-text-color, #111827);
}

.state-panel[b-bhs0a3g30h] {
    display: grid;
    place-items: center;
    min-height: 160px;
    margin: 0;
    padding: 18px;
    border: 1px dashed #d0d5dd;
    border-radius: 16px;
    background: #ffffff;
    color: #667085;
    font-weight: 800;
    text-align: center;
}

.anomaly-day-panel[b-bhs0a3g30h] {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 90;
    width: min(960px, calc(100vw - 48px));
    height: calc(100vh - 104px);
    max-height: calc(100vh - 104px);
    overflow: hidden;
    border: 1px solid #d7e3e7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
}

@media (max-width: 1180px) {
    .anomaly-page[b-bhs0a3g30h] {
        height: auto;
        min-height: 100%;
        overflow: auto;
    }

    .anomaly-header[b-bhs0a3g30h] {
        grid-template-columns: 1fr;
    }

    .anomaly-actions[b-bhs0a3g30h] {
        justify-self: end;
    }

    .anomaly-filter-strip[b-bhs0a3g30h] {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
        padding: 11px 12px;
    }

    .filter-strip-heading[b-bhs0a3g30h] {
        min-width: 0;
        gap: 2px;
    }

    .filter-strip-heading span[b-bhs0a3g30h] {
        font-size: 0.68rem;
    }

    .filter-strip-heading strong[b-bhs0a3g30h] {
        font-size: 0.84rem;
    }

    .anomaly-type-labels[b-bhs0a3g30h] {
        gap: 5px;
    }

    .anomaly-type-label[b-bhs0a3g30h] {
        min-height: 30px;
        padding: 0 9px;
        border-radius: 10px;
        font-size: 0.73rem;
    }

    .period-bar[b-bhs0a3g30h] {
        grid-template-columns: 1fr;
        justify-self: stretch;
    }

    .period-date-controls[b-bhs0a3g30h] {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    .period-range-field[b-bhs0a3g30h] {
        grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    }

    .grid-scroll[b-bhs0a3g30h] {
        max-height: calc(100vh - 220px);
    }

    .anomaly-day-panel[b-bhs0a3g30h] {
        position: fixed;
        top: 88px;
        right: 18px;
        width: min(880px, calc(100vw - 36px));
        height: calc(100vh - 104px);
        max-height: calc(100vh - 104px);
    }
}

@media (max-width: 640px) {
    .anomaly-page[b-bhs0a3g30h] {
        margin: -20px;
        padding: 16px;
    }

    .period-date-controls[b-bhs0a3g30h] {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    .period-icon-button[b-bhs0a3g30h] {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    .date-display[b-bhs0a3g30h] {
        font-size: 0.82rem;
    }

    .anomaly-filter-strip[b-bhs0a3g30h] {
        padding: 9px;
        border-radius: 14px;
    }

    .filter-strip-heading strong[b-bhs0a3g30h] {
        font-size: 0.8rem;
    }

    .filter-strip-heading span[b-bhs0a3g30h] {
        font-size: 0.64rem;
    }

    .anomaly-type-labels[b-bhs0a3g30h] {
        gap: 4px;
    }

    .anomaly-type-label[b-bhs0a3g30h] {
        min-height: 28px;
        padding: 0 7px;
        border-radius: 9px;
        font-size: 0.68rem;
        font-weight: 750;
    }

    .bulk-correct-floating-button[b-bhs0a3g30h] {
        right: 12px;
        bottom: 58px;
        min-height: 38px;
        max-width: calc(100vw - 24px);
        padding: 0 12px;
        border-radius: 12px;
        font-size: 0.76rem;
    }

    .bulk-correct-floating-button img[b-bhs0a3g30h] {
        width: 16px;
        height: 16px;
    }

    .anomaly-day-panel[b-bhs0a3g30h] {
        top: auto;
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        height: 56vh;
        max-height: 56vh;
        border-radius: 16px;
    }
}
/* /Components/Pages/AnomalyDetail.razor.rz.scp.css */
.anomaly-detail-page[b-f7003tqtnv] {
    min-height: 100%;
    margin: -32px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.10), transparent 30rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #111827;
}

.embedded-detail[b-f7003tqtnv] {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.10), transparent 24rem),
        #ffffff;
}

.embedded-header[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto 38px;
    gap: 12px;
    align-items: center;
}

.embedded-header .title-block h1[b-f7003tqtnv] {
    white-space: normal;
}

.embedded-header.header-only[b-f7003tqtnv] {
    align-items: center;
}

.embedded-header.header-only .title-block span[b-f7003tqtnv] {
    margin-bottom: 2px;
    color: #0f766e;
    font-size: 0.68rem;
}

.embedded-header.header-only .title-block h1[b-f7003tqtnv] {
    font-size: 1.04rem;
    line-height: 1.18;
}

.embedded-meta[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(104px, 118px));
    justify-content: start;
    gap: 8px;
    min-width: 0;
}

.embedded-meta div[b-f7003tqtnv] {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #f9fafb;
}

.embedded-meta span[b-f7003tqtnv] {
    display: block;
    color: #667085;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.embedded-meta .meta-value[b-f7003tqtnv] {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.embedded-detail:has(.embedded-header.header-only)[b-f7003tqtnv] {
    position: relative;
    grid-template-rows: auto auto minmax(96px, 1fr) minmax(96px, 1fr);
    gap: 10px;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.08), transparent 18rem),
        #ffffff;
}

.embedded-status-toast[b-f7003tqtnv] {
    position: absolute;
    top: 78px;
    right: 14px;
    left: 14px;
    z-index: 8;
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    pointer-events: none;
}

.embedded-detail:has(.embedded-header.header-only) .embedded-meta[b-f7003tqtnv] {
    grid-template-columns: repeat(3, minmax(104px, 118px));
    gap: 7px;
}

.embedded-detail:has(.embedded-header.header-only) .embedded-meta div[b-f7003tqtnv] {
    padding: 8px 9px;
    border-radius: 10px;
    background: #f8fbfb;
}

.embedded-detail:has(.embedded-header.header-only) .embedded-meta span[b-f7003tqtnv] {
    font-size: 0.64rem;
}

.embedded-detail:has(.embedded-header.header-only) .embedded-meta .meta-value[b-f7003tqtnv] {
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.2;
}

.compact-day-summary[b-f7003tqtnv] {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dfe8ea;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.compact-summary-title[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.compact-summary-title span[b-f7003tqtnv] {
    color: #0f766e;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.compact-summary-title strong[b-f7003tqtnv] {
    overflow: hidden;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 750;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-summary-grid[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 118px));
    justify-content: start;
    gap: 5px;
}

.compact-summary-grid div[b-f7003tqtnv] {
    position: relative;
    min-width: 0;
    min-height: 42px;
    padding: 6px 7px 6px 9px;
    overflow: hidden;
    border: 1px solid #edf2f4;
    border-radius: 10px;
    background: #ffffff;
}

.compact-summary-grid div[b-f7003tqtnv]::before {
    position: absolute;
    inset: 9px auto 9px 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: #cfdbe0;
    content: "";
}

.compact-summary-grid div:nth-child(2)[b-f7003tqtnv]::before,
.compact-summary-grid div:nth-child(5)[b-f7003tqtnv]::before {
    background: #1aa99d;
}

.compact-summary-grid span[b-f7003tqtnv],
.compact-summary-grid strong[b-f7003tqtnv] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-summary-grid span[b-f7003tqtnv] {
    color: #667085;
    font-size: 0.57rem;
    font-weight: 850;
    text-transform: uppercase;
}

.compact-summary-grid strong[b-f7003tqtnv] {
    margin-top: 3px;
    color: #111827;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.15;
}

@media (max-width: 1180px) {
    .compact-summary-grid[b-f7003tqtnv] {
        grid-template-columns: repeat(auto-fit, minmax(104px, 118px));
    }
}

@media (max-width: 640px) {
    .compact-summary-grid[b-f7003tqtnv] {
        grid-template-columns: repeat(auto-fit, minmax(104px, 118px));
    }
}

.compact-pointage-panel[b-f7003tqtnv] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dfe8ea;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.compact-anomalies-title[b-f7003tqtnv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.compact-anomalies-title span[b-f7003tqtnv] {
    color: #0f766e;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.compact-anomalies-title strong[b-f7003tqtnv] {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
}

.compact-anomalies-panel[b-f7003tqtnv] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dfe8ea;
    border-radius: 12px;
    background: #ffffff;
}

.compact-empty[b-f7003tqtnv] {
    display: grid;
    min-height: 54px;
    place-items: center;
    border: 1px dashed #d0d5dd;
    border-radius: 10px;
    background: #f9fafb;
    color: #667085;
    font-size: 0.8rem;
    font-weight: 800;
}

.compact-anomalies-wrap[b-f7003tqtnv] {
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-gutter: stable;
    border: 1px solid #edf2f4;
    border-radius: 10px;
    background: #ffffff;
}

.compact-anomalies-table[b-f7003tqtnv] {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
}

.compact-anomalies-table th[b-f7003tqtnv],
.compact-anomalies-table td[b-f7003tqtnv] {
    padding: 8px 9px;
    border-bottom: 1px solid #edf2f4;
    text-align: left;
    vertical-align: middle;
}

.compact-anomalies-table th[b-f7003tqtnv] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fbfb;
    color: #667085;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.compact-anomalies-table tbody tr:hover td[b-f7003tqtnv] {
    background: #f9fafb;
}

.compact-anomalies-table tbody tr:last-child td[b-f7003tqtnv] {
    border-bottom: 0;
}

.compact-card-code[b-f7003tqtnv],
.compact-type-pill[b-f7003tqtnv] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 0 8px;
    overflow: hidden;
    border: 1px solid #d8e1ec;
    border-radius: 8px;
    background: #f9fafb;
    color: #344054;
    font-size: 0.74rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-type-pill[b-f7003tqtnv] {
    border-radius: 999px;
    background: #ffffff;
}

.compact-description[b-f7003tqtnv] {
    min-width: 210px;
    max-width: 280px;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.28;
}

.compact-switch-cell[b-f7003tqtnv] {
    width: 74px;
    text-align: center;
}

.status-switch[b-f7003tqtnv] {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 24px;
    cursor: pointer;
}

.status-switch input[b-f7003tqtnv] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.status-switch span[b-f7003tqtnv] {
    position: relative;
    display: block;
    width: 42px;
    height: 24px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #eef2f4;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.status-switch span[b-f7003tqtnv]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.22);
    content: "";
    transition: transform 150ms ease;
}

.status-switch input:checked + span[b-f7003tqtnv] {
    border-color: #1aa99d;
    background: #1aa99d;
}

.status-switch input:checked + span[b-f7003tqtnv]::after {
    transform: translateX(18px);
}

.status-switch input:focus-visible + span[b-f7003tqtnv] {
    box-shadow: 0 0 0 3px rgba(26, 169, 157, 0.16);
}

.status-switch input:disabled + span[b-f7003tqtnv] {
    cursor: wait;
    opacity: 0.58;
}

.compact-pointage-title[b-f7003tqtnv] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.compact-pointage-title div[b-f7003tqtnv] {
    min-width: 0;
}

.compact-pointage-title span[b-f7003tqtnv] {
    display: block;
    color: #0f766e;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.compact-pointage-title strong[b-f7003tqtnv] {
    display: block;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 850;
}

.compact-pointage-actions[b-f7003tqtnv] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.compact-add-button[b-f7003tqtnv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 850;
}

.compact-apply-planning-button[b-f7003tqtnv] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #b7e4dc;
    border-radius: 9px;
    background: #f2fbf9;
    color: #0f766e;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 850;
}

.compact-add-button img[b-f7003tqtnv],
.compact-apply-planning-button img[b-f7003tqtnv] {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.compact-add-button:hover[b-f7003tqtnv],
.compact-add-button:focus-visible[b-f7003tqtnv] {
    background: #f2f4f7;
    outline: none;
}

.compact-apply-planning-button:hover[b-f7003tqtnv],
.compact-apply-planning-button:focus-visible[b-f7003tqtnv] {
    border-color: #7ed7ca;
    background: #e4f7f3;
    color: #115e59;
    outline: none;
}

.compact-pointage-wrap[b-f7003tqtnv] {
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-gutter: stable;
    border: 1px solid #edf2f4;
    border-radius: 10px;
    background: #ffffff;
}

.compact-pointage-table[b-f7003tqtnv] {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
}

.compact-pointage-table th[b-f7003tqtnv],
.compact-pointage-table td[b-f7003tqtnv] {
    padding: 8px 9px;
    border-bottom: 1px solid #edf2f4;
    text-align: left;
    vertical-align: middle;
}

.compact-pointage-table th[b-f7003tqtnv] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fbfb;
    color: #667085;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.compact-pointage-table tbody tr:hover td[b-f7003tqtnv] {
    background: #f9fafb;
}

.compact-pointage-table tbody tr:last-child td[b-f7003tqtnv] {
    border-bottom: 0;
}

.compact-time-cell[b-f7003tqtnv] {
    color: #344054;
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.compact-card-input[b-f7003tqtnv] {
    width: 100%;
    min-width: 88px;
}

.compact-pointage-table .compact-input[b-f7003tqtnv] {
    min-width: 92px;
    height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.compact-row-actions[b-f7003tqtnv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon-action-button[b-f7003tqtnv] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.icon-action-button img[b-f7003tqtnv] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.icon-action-button:hover[b-f7003tqtnv],
.icon-action-button:focus-visible[b-f7003tqtnv] {
    background: #f2f4f7;
    outline: none;
}

.icon-action-button.danger[b-f7003tqtnv] {
    border-color: #f0b7b7;
}

.icon-action-button.danger:hover[b-f7003tqtnv],
.icon-action-button.danger:focus-visible[b-f7003tqtnv] {
    background: #fff7f7;
}

.icon-action-button.save[b-f7003tqtnv] {
    border-color: #bfe8e3;
}

.icon-action-button.save:hover[b-f7003tqtnv],
.icon-action-button.save:focus-visible[b-f7003tqtnv] {
    background: #f4fbfa;
}

.embedded-tabs[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    border: 1px solid #e4e7ec;
    border-radius: 13px;
    background: #f9fafb;
}

.embedded-tabs button[b-f7003tqtnv] {
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #475467;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.embedded-tabs button:hover[b-f7003tqtnv] {
    background: #ffffff;
}

.embedded-tabs button.active[b-f7003tqtnv] {
    background: #ffffff;
    color: #0f766e;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.10);
}

.embedded-content[b-f7003tqtnv] {
    min-height: 0;
    overflow: auto;
    display: grid;
    gap: 12px;
    align-content: start;
    padding-right: 2px;
}

.embedded-summary[b-f7003tqtnv] {
    grid-template-columns: 1fr;
}

.summary-modern[b-f7003tqtnv] {
    gap: 16px;
    padding: 16px;
    border-color: #d7e3e7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.summary-modern .summary-main[b-f7003tqtnv] {
    position: relative;
    padding: 14px 14px 14px 18px;
    border: 1px solid #e4ecef;
    border-radius: 14px;
    background: #ffffff;
}

.summary-modern .summary-main[b-f7003tqtnv]::before {
    content: "";
    position: absolute;
    inset: 14px auto 14px 0;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: #1aa99d;
}

.summary-modern .summary-kicker[b-f7003tqtnv] {
    font-weight: 400;
}

.summary-status[b-f7003tqtnv] {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.embedded-action-row[b-f7003tqtnv] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.embedded-detail .status-line[b-f7003tqtnv],
.embedded-detail .state-panel[b-f7003tqtnv] {
    margin: 0;
    max-width: none;
}

.embedded-detail .work-panel[b-f7003tqtnv],
.embedded-detail .summary-panel[b-f7003tqtnv] {
    border-radius: 14px;
    box-shadow: none;
}

.embedded-detail .metric-grid[b-f7003tqtnv] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.embedded-detail .summary-modern .metric-card[b-f7003tqtnv] {
    position: relative;
    min-height: 82px;
    padding: 13px 13px 13px 15px;
    border-color: #e4ecef;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.embedded-detail .summary-modern .metric-card[b-f7003tqtnv]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: #cfdbe0;
}

.embedded-detail .summary-modern .pause-card[b-f7003tqtnv] {
    border-color: #bfe8e3;
    background: #f4fbfa;
}

.embedded-detail .summary-modern .pause-card[b-f7003tqtnv]::before {
    background: #1aa99d;
}

.embedded-detail .summary-modern .metric-grid span:first-child[b-f7003tqtnv] {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
}

.embedded-detail .summary-modern .metric-value[b-f7003tqtnv] {
    display: block;
    margin-top: 10px;
    color: #111827;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.2;
}

.embedded-detail .anomalies-table[b-f7003tqtnv],
.embedded-detail .pointage-table[b-f7003tqtnv] {
    min-width: 720px;
}

.detail-header[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    max-width: 1680px;
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.title-block[b-f7003tqtnv] {
    min-width: 0;
}

.title-block span[b-f7003tqtnv],
.panel-title span[b-f7003tqtnv],
.summary-kicker[b-f7003tqtnv] {
    display: block;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.title-block h1[b-f7003tqtnv],
.panel-title h2[b-f7003tqtnv] {
    margin: 2px 0 0;
    color: #111827;
    font-weight: 900;
    letter-spacing: 0;
}

.title-block h1[b-f7003tqtnv] {
    overflow: hidden;
    font-size: 1.18rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-title h2[b-f7003tqtnv] {
    font-size: 1rem;
    line-height: 1.25;
}

.header-actions[b-f7003tqtnv],
.action-group[b-f7003tqtnv] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.icon-button[b-f7003tqtnv],
.primary-button[b-f7003tqtnv],
.secondary-button[b-f7003tqtnv],
.mini-button[b-f7003tqtnv] {
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    color: #344054;
    font-weight: 850;
    cursor: pointer;
}

.icon-button[b-f7003tqtnv] {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.icon-button img[b-f7003tqtnv] {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.close-button[b-f7003tqtnv] {
    width: 36px;
    height: 36px;
    border-color: #e4e7ec;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.close-button:hover[b-f7003tqtnv],
.close-button:focus-visible[b-f7003tqtnv] {
    border-color: #fecdca;
    background: #fffbfa;
    box-shadow: 0 8px 20px rgba(180, 35, 24, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.close-button:active[b-f7003tqtnv] {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10);
}

.primary-button[b-f7003tqtnv],
.secondary-button[b-f7003tqtnv] {
    min-height: 38px;
    padding: 0 14px;
}

.primary-button[b-f7003tqtnv] {
    border-color: #1aa99d;
    background: #1aa99d;
    color: #ffffff;
}

.secondary-button:hover[b-f7003tqtnv],
.mini-button:hover[b-f7003tqtnv],
.icon-button:hover[b-f7003tqtnv] {
    background: #f2f4f7;
}

.primary-button:hover[b-f7003tqtnv] {
    background: #168d84;
}

button:disabled[b-f7003tqtnv] {
    cursor: not-allowed;
    opacity: 0.52;
}

.anomaly-confirmation-backdrop[b-f7003tqtnv] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
}

.anomaly-confirmation-dialog[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    width: min(430px, 100%);
    padding: 20px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.anomaly-confirmation-icon[b-f7003tqtnv] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #175cd3;
    font-size: 1.1rem;
    font-weight: 900;
}

.anomaly-confirmation-icon.danger[b-f7003tqtnv] {
    background: #fee4e2;
    color: #b42318;
}

.anomaly-confirmation-content[b-f7003tqtnv] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.anomaly-confirmation-content strong[b-f7003tqtnv] {
    color: #101828;
    font-size: 1rem;
    font-weight: 850;
}

.anomaly-confirmation-content p[b-f7003tqtnv] {
    margin: 0;
    color: #667085;
    font-size: 0.86rem;
    line-height: 1.45;
    white-space: pre-line;
}

.anomaly-confirmation-actions[b-f7003tqtnv] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.anomaly-confirm-button[b-f7003tqtnv] {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #1aa99d;
    border-radius: 10px;
    background: #1aa99d;
    color: #ffffff;
    font-family: inherit;
    font-weight: 850;
    cursor: pointer;
}

.anomaly-confirm-button:hover[b-f7003tqtnv],
.anomaly-confirm-button:focus-visible[b-f7003tqtnv] {
    background: #168d84;
    outline: none;
}

.anomaly-confirm-button.danger[b-f7003tqtnv] {
    border-color: #d92d20;
    background: #d92d20;
}

.anomaly-confirm-button.danger:hover[b-f7003tqtnv],
.anomaly-confirm-button.danger:focus-visible[b-f7003tqtnv] {
    background: #b42318;
}

.status-line[b-f7003tqtnv] {
    max-width: 1680px;
    margin: 12px auto 0;
    padding: 11px 14px;
    border: 1px solid #abefc6;
    border-radius: 12px;
    background: #ecfdf3;
    color: #067647;
    font-weight: 850;
}

.status-line.error[b-f7003tqtnv],
.state-panel.error[b-f7003tqtnv] {
    border-color: #fecdca;
    background: #fffbfa;
    color: #b42318;
}

.detail-layout[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas:
        "summary summary"
        "main side";
    gap: 16px;
    max-width: 1680px;
    margin: 16px auto 0;
}

.summary-panel[b-f7003tqtnv] {
    grid-area: summary;
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.summary-main[b-f7003tqtnv] {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    padding: 2px 4px;
}

.summary-main strong[b-f7003tqtnv] {
    display: block;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 900;
}

.summary-main span:last-child[b-f7003tqtnv] {
    overflow: hidden;
    color: #475467;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric-grid[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: repeat(6, minmax(92px, 1fr));
    gap: 8px;
}

.metric-grid div[b-f7003tqtnv] {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #f9fafb;
}

.metric-grid span[b-f7003tqtnv] {
    display: block;
    overflow: hidden;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric-grid strong[b-f7003tqtnv] {
    display: block;
    margin-top: 4px;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 900;
}

.content-column[b-f7003tqtnv] {
    grid-area: main;
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
}

.side-panel[b-f7003tqtnv] {
    grid-area: side;
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
}

.work-panel[b-f7003tqtnv] {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.panel-title[b-f7003tqtnv] {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.table-wrap[b-f7003tqtnv] {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #ffffff;
}

.data-table[b-f7003tqtnv] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.anomalies-table[b-f7003tqtnv] {
    min-width: 920px;
}

.pointage-table[b-f7003tqtnv] {
    min-width: 860px;
}

.data-table th[b-f7003tqtnv],
.data-table td[b-f7003tqtnv] {
    padding: 10px 12px;
    border-bottom: 1px solid #eaecf0;
    text-align: left;
    vertical-align: middle;
}

.data-table th[b-f7003tqtnv] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f9fafb;
    color: #475467;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.data-table tbody tr[b-f7003tqtnv] {
    cursor: pointer;
}

.data-table tbody tr:hover td[b-f7003tqtnv] {
    background: #f9fafb;
}

.data-table tr.selected td[b-f7003tqtnv] {
    background: #ecfdf3;
}

.description-cell[b-f7003tqtnv] {
    min-width: 320px;
    color: #344054;
    line-height: 1.35;
}

.number-cell[b-f7003tqtnv],
.time-cell[b-f7003tqtnv] {
    color: #344054;
    font-weight: 850;
    white-space: nowrap;
}

.type-pill[b-f7003tqtnv],
.card-code[b-f7003tqtnv] {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.card-code[b-f7003tqtnv] {
    border-radius: 8px;
    background: #f9fafb;
}

.status-select[b-f7003tqtnv],
.compact-input[b-f7003tqtnv] {
    width: 100%;
    min-width: 104px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: #111827;
    font-weight: 750;
    outline: none;
}

.status-select:focus[b-f7003tqtnv],
.compact-input:focus[b-f7003tqtnv] {
    border-color: #1aa99d;
    box-shadow: 0 0 0 3px rgba(29, 191, 176, 0.14);
}

.mini-button[b-f7003tqtnv] {
    min-height: 31px;
    padding: 0 10px;
    font-size: 0.76rem;
}

.mini-button.danger[b-f7003tqtnv] {
    border-color: #fecdca;
    color: #b42318;
}

.empty-panel[b-f7003tqtnv],
.state-panel[b-f7003tqtnv] {
    display: grid;
    place-items: center;
    min-height: 108px;
    padding: 18px;
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #667085;
    font-weight: 800;
    text-align: center;
}

.state-panel[b-f7003tqtnv] {
    max-width: 1680px;
    margin: 16px auto 0;
}

.slot-list[b-f7003tqtnv] {
    display: grid;
    gap: 8px;
}

.slot-item[b-f7003tqtnv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #f9fafb;
}

.slot-item strong[b-f7003tqtnv] {
    color: #111827;
    font-weight: 900;
}

.slot-item span[b-f7003tqtnv],
.muted-text[b-f7003tqtnv] {
    color: #667085;
    font-weight: 700;
}

.muted-text[b-f7003tqtnv] {
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 1280px) {
    .detail-layout[b-f7003tqtnv] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "summary"
            "side"
            "main";
    }

    .side-panel[b-f7003tqtnv] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    .summary-panel[b-f7003tqtnv] {
        grid-template-columns: 1fr;
    }

    .metric-grid[b-f7003tqtnv] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .side-panel[b-f7003tqtnv] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .anomaly-detail-page[b-f7003tqtnv] {
        margin: -20px;
        padding: 16px;
    }

    .detail-header[b-f7003tqtnv] {
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: start;
    }

    .header-actions[b-f7003tqtnv] {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .header-actions button[b-f7003tqtnv] {
        flex: 1;
    }

    .title-block h1[b-f7003tqtnv] {
        white-space: normal;
    }

    .panel-title[b-f7003tqtnv] {
        align-items: stretch;
        flex-direction: column;
    }

    .panel-title button[b-f7003tqtnv] {
        width: 100%;
    }

    .metric-grid[b-f7003tqtnv] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .embedded-meta[b-f7003tqtnv],
    .embedded-tabs[b-f7003tqtnv],
    .embedded-detail .metric-grid[b-f7003tqtnv] {
        grid-template-columns: 1fr;
    }

    .embedded-detail:has(.embedded-header.header-only) .embedded-meta[b-f7003tqtnv] {
        grid-template-columns: repeat(auto-fit, minmax(104px, 118px));
    }

    .embedded-header[b-f7003tqtnv] {
        grid-template-columns: minmax(0, 1fr) 38px;
    }

    .embedded-header .embedded-meta[b-f7003tqtnv] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .embedded-header .icon-button[b-f7003tqtnv] {
        grid-column: 2;
        grid-row: 1;
    }
}
/* /Components/Pages/Card.razor.rz.scp.css */
body[b-yuehu8hkaf] {
}
/* /Components/Pages/EditUser.razor.rz.scp.css */
.add-user-page[b-23m7xe2l4v] {
    min-height: 100vh;
    margin: -32px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(30, 185, 173, 0.11), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #17242f;
}

.add-user-header[b-23m7xe2l4v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid #dcecea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(24, 72, 78, 0.08);
}

.add-user-header h1[b-23m7xe2l4v] {
    margin: 8px 0 0;
    color: #142630;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

.eyebrow[b-23m7xe2l4v] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfe8e5;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
    color: #1e6f69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
}

.back-link[b-23m7xe2l4v],
.secondary-button[b-23m7xe2l4v],
.primary-button[b-23m7xe2l4v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.back-link[b-23m7xe2l4v],
.secondary-button[b-23m7xe2l4v] {
    border: 1px solid #cfe3e0;
    background: #ffffff;
    color: #286760;
}

.primary-button[b-23m7xe2l4v] {
    border: 1px solid #21a99d;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(25, 128, 119, 0.22);
}

.primary-button:disabled[b-23m7xe2l4v] {
    cursor: not-allowed;
    opacity: 0.72;
}

.back-link:hover[b-23m7xe2l4v],
.secondary-button:hover[b-23m7xe2l4v],
.primary-button:hover:not(:disabled)[b-23m7xe2l4v] {
    transform: translateY(-1px);
}

.add-user-form[b-23m7xe2l4v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.frame-grid[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
}

.personal-frame[b-23m7xe2l4v],
.action-row[b-23m7xe2l4v] {
    grid-column: 1 / -1;
}

.form-frame[b-23m7xe2l4v] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    box-shadow: 0 16px 34px rgba(22, 61, 68, 0.07);
}

.frame-heading[b-23m7xe2l4v] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf4f3;
}

.frame-heading > div[b-23m7xe2l4v] {
    flex: 1;
    min-width: 0;
}

.frame-index[b-23m7xe2l4v] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eaf8f5;
    color: #1c746a;
    font-size: 0.84rem;
    font-weight: 900;
}

.frame-heading h2[b-23m7xe2l4v] {
    margin: 10px 0 ;
    color: #122631;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.frame-title-row[b-23m7xe2l4v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.edit-form-toggle[b-23m7xe2l4v] {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.edit-form-toggle img[b-23m7xe2l4v] {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.edit-form-toggle:hover[b-23m7xe2l4v],
.edit-form-toggle:focus-visible[b-23m7xe2l4v] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.edit-form-toggle-active[b-23m7xe2l4v] {
    border-color: #28b9ad;
    background: #ccefeb;
}

.frame-heading p[b-23m7xe2l4v] {
    margin: 4px 0 0;
    color: #6b8288;
    font-size: 0.9rem;
    font-weight: 600;
}

.field-grid[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field[b-23m7xe2l4v] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field-wide[b-23m7xe2l4v] {
    grid-column: 1 / -1;
}

.field span[b-23m7xe2l4v] {
    color: #526c73;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.field .required-star[b-23m7xe2l4v] {
    color: #d92d20;
    font-size: 0.9rem;
    line-height: 1;
}

.field-error span[b-23m7xe2l4v] {
    color: #b42335;
}

.field input[b-23m7xe2l4v],
.field select[b-23m7xe2l4v] {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input[readonly][b-23m7xe2l4v] {
    background: #f7fbfa;
    color: #233941;
    cursor: default;
}

.field input:disabled[b-23m7xe2l4v],
.field select:disabled[b-23m7xe2l4v],
.group-dropdown-button:disabled[b-23m7xe2l4v] {
    background: #f7fbfa;
    color: #6b8288;
    cursor: default;
    opacity: 1;
}

.pin-reset-button:disabled[b-23m7xe2l4v],
.scan-card-button:disabled[b-23m7xe2l4v],
.group-choice:disabled[b-23m7xe2l4v] {
    cursor: default;
    opacity: 0.55;
    transform: none;
}

.field input:focus[b-23m7xe2l4v],
.field select:focus[b-23m7xe2l4v] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.field-error input[b-23m7xe2l4v],
.field-error select[b-23m7xe2l4v] {
    border-color: #e05757;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(224, 87, 87, 0.12);
}

.field-error input:focus[b-23m7xe2l4v],
.field-error select:focus[b-23m7xe2l4v] {
    border-color: #d92d20;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.16);
}

.group-dropdown[b-23m7xe2l4v] {
    position: relative;
}

.group-dropdown-backdrop[b-23m7xe2l4v] {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: transparent;
}

.group-dropdown-button[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.group-dropdown-button span:first-child[b-23m7xe2l4v] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-dropdown-button:focus[b-23m7xe2l4v] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.group-dropdown-arrow[b-23m7xe2l4v] {
    width: 9px;
    height: 9px;
    border-right: 2px solid #526c73;
    border-bottom: 2px solid #526c73;
    transform: rotate(45deg) translateY(-2px);
}

.group-selection-list[b-23m7xe2l4v] {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    max-height: 230px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(22, 61, 68, 0.14);
}

.group-choice[b-23m7xe2l4v] {
    display: block;
    min-height: 40px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.group-choice:hover[b-23m7xe2l4v],
.group-choice:focus[b-23m7xe2l4v] {
    border-color: #65c9bf;
    background: #f2fbfa;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
    outline: none;
}

.group-choice-selected[b-23m7xe2l4v] {
    border-color: #65c9bf;
    background: #eefaf8;
}

.group-choice-name[b-23m7xe2l4v] {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #263943;
    font-size: 0.92rem;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.empty-group-state[b-23m7xe2l4v] {
    min-height: 42px;
    padding: 11px 12px;
    border: 1px dashed #bfdcd8;
    border-radius: 8px;
    color: #506970;
    font-weight: 800;
}

.pin-input-row[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 6px;
    align-items: center;
}

.card-picker-row[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
}

.card-availability-note[b-23m7xe2l4v] {
    margin: -4px 0 0;
    padding: 12px 14px;
    border: 1px solid #d8ebe8;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: #f6fbfa;
    color: #286760;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.pin-reset-button[b-23m7xe2l4v],
.scan-card-button[b-23m7xe2l4v] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.scan-card-button[b-23m7xe2l4v] {
    width: 44px;
    height: 46px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.pin-reset-button img[b-23m7xe2l4v],
.scan-card-button img[b-23m7xe2l4v] {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.scan-card-button img[b-23m7xe2l4v] {
    width: 18px;
    height: 18px;
}

.pin-reset-button:hover[b-23m7xe2l4v],
.pin-reset-button:focus-visible[b-23m7xe2l4v],
.scan-card-button:hover[b-23m7xe2l4v],
.scan-card-button:focus-visible[b-23m7xe2l4v] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.12);
    transform: translateY(-1px);
}

.switch-row[b-23m7xe2l4v],
.planning-fields[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.planning-inline[b-23m7xe2l4v] {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.planning-inline h3[b-23m7xe2l4v] {
    margin: 0;
    color: #122631;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.switch-card[b-23m7xe2l4v] {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #edf4f3;
    border-radius: 8px;
    background: #f8fcfb;
    cursor: pointer;
}

.switch-card:has(.switch-input:disabled)[b-23m7xe2l4v] {
    cursor: default;
    opacity: 0.72;
}

.switch-input[b-23m7xe2l4v] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.switch-control[b-23m7xe2l4v] {
    position: relative;
    width: 34px;
    height: 19px;
    border-radius: 999px;
    background: #c7d8d5;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.switch-control[b-23m7xe2l4v]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(22, 61, 68, 0.18);
    content: "";
    transition: transform 160ms ease;
}

.switch-input:checked + .switch-control[b-23m7xe2l4v] {
    background: #28b9ad;
}

.switch-input:checked + .switch-control[b-23m7xe2l4v]::after {
    transform: translateX(15px);
}

.switch-card:focus-within .switch-control[b-23m7xe2l4v] {
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.switch-card strong[b-23m7xe2l4v],
.switch-card small[b-23m7xe2l4v] {
    display: block;
}

.switch-card strong[b-23m7xe2l4v] {
    color: #263943;
    font-size: 0.92rem;
}

.switch-card small[b-23m7xe2l4v] {
    margin-top: 2px;
    color: #73898f;
    font-weight: 700;
}

.action-row[b-23m7xe2l4v] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 2px;
}

.message[b-23m7xe2l4v],
.form-state[b-23m7xe2l4v] {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.message-error[b-23m7xe2l4v],
.form-state-error[b-23m7xe2l4v] {
    border: 1px solid #f0b7b7;
    background: #fff7f7;
    color: #a63737;
}

.message-success[b-23m7xe2l4v] {
    border: 1px solid #b9e4d5;
    background: #f0fbf7;
    color: #1d775d;
}

.form-state[b-23m7xe2l4v] {
    display: grid;
    min-height: 180px;
    place-items: center;
    border: 1px dashed #bfdcd8;
    background: #ffffff;
    color: #506970;
}

@media (max-width: 980px) {
    .field-grid[b-23m7xe2l4v],
    .switch-row[b-23m7xe2l4v],
    .planning-fields[b-23m7xe2l4v] {
        grid-template-columns: 1fr;
    }

    .field-wide[b-23m7xe2l4v] {
        grid-column: auto;
    }
}

@media (min-width: 981px) {
    .frame-grid[b-23m7xe2l4v] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-frame[b-23m7xe2l4v] {
        grid-column: 1;
    }

    .group-frame[b-23m7xe2l4v] {
        grid-column: 2;
    }
}

@media (max-width: 700px) {
    .add-user-page[b-23m7xe2l4v] {
        margin: -22px -16px;
        padding: 22px;
    }

    .add-user-header[b-23m7xe2l4v],
    .action-row[b-23m7xe2l4v] {
        align-items: stretch;
        flex-direction: column;
    }

    .add-user-header h1[b-23m7xe2l4v] {
        font-size: 1.55rem;
    }

    .back-link[b-23m7xe2l4v],
    .secondary-button[b-23m7xe2l4v],
    .primary-button[b-23m7xe2l4v] {
        width: 100%;
    }
}
/* /Components/Pages/Employee.razor.rz.scp.css */
.employees-page[b-73rziojl10] {
    min-height: 100vh;
    margin: -32px;
    padding: 36px;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.12), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #17242f;
}

.employees-header[b-73rziojl10] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 520px) minmax(150px, 1fr);
    align-items: center;
    gap: 18px;
    margin-bottom: 0;
    padding: 24px;
    border: 1px solid #dcecea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(24, 72, 78, 0.08);
    backdrop-filter: blur(8px);
}

.employees-title-block[b-73rziojl10] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
}

.employee-search[b-73rziojl10] {
    position: relative;
    justify-self: center;
    width: min(100%, 520px);
}

.employee-search input[b-73rziojl10] {
    width: 100%;
    min-height: 48px;
    padding: 0 18px 0 48px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    color: #1a3038;
    font-size: 0.96rem;
    font-weight: 700;
    outline: none;
    box-shadow: 0 14px 28px rgba(24, 72, 78, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.employee-search input[b-73rziojl10]::placeholder {
    color: #789097;
    font-weight: 600;
}

.employee-search input:focus[b-73rziojl10] {
    border-color: #65c9bf;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14), 0 16px 30px rgba(24, 72, 78, 0.1);
}

.employee-search-icon[b-73rziojl10] {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #2b8f87;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.employee-search-icon[b-73rziojl10]::after {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #2b8f87;
    content: "";
    transform: rotate(45deg);
    transform-origin: center;
}

.employee-filter-area[b-73rziojl10] {
    position: relative;
    display: flex;
    justify-content: flex-end;
    justify-self: end;
    width: 100%;
}

.employee-filter-button[b-73rziojl10] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
    box-shadow: 0 14px 28px rgba(24, 72, 78, 0.08);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.employee-filter-button:hover[b-73rziojl10],
.employee-filter-button:focus-visible[b-73rziojl10] {
    border-color: #65c9bf;
    outline: none;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14), 0 16px 30px rgba(24, 72, 78, 0.1);
    transform: translateY(-1px);
}

.employee-filter-button img[b-73rziojl10] {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.employee-filter-panel[b-73rziojl10] {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 50;
    width: min(340px, calc(100vw - 44px));
    padding: 18px;
    border: 1px solid #d8e9e6;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(22, 61, 68, 0.18);
    backdrop-filter: blur(10px);
}

.filter-panel-header[b-73rziojl10] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-panel-header strong[b-73rziojl10] {
    display: block;
    color: #142630;
    font-size: 1rem;
    font-weight: 800;
}

.filter-panel-header span[b-73rziojl10] {
    display: block;
    margin-top: 3px;
    color: #6d858b;
    font-size: 0.78rem;
    font-weight: 700;
}

.filter-switch[b-73rziojl10] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #e4f0ee;
    border-radius: 8px;
    background: #f8fcfb;
    color: #203842;
    font-weight: 800;
    cursor: pointer;
}

.filter-switch input[b-73rziojl10],
.filter-group-option input[b-73rziojl10] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-switch-control[b-73rziojl10] {
    position: relative;
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #c7d8d5;
    transition: background-color 160ms ease;
}

.filter-switch-control[b-73rziojl10]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(22, 61, 68, 0.18);
    content: "";
    transition: transform 160ms ease;
}

.filter-switch input:checked + .filter-switch-control[b-73rziojl10] {
    background: #28b9ad;
}

.filter-switch input:checked + .filter-switch-control[b-73rziojl10]::after {
    transform: translateX(18px);
}

.filter-group-section[b-73rziojl10] {
    margin-top: 16px;
}

.filter-section-title[b-73rziojl10] {
    margin-bottom: 9px;
    color: #748b91;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.filter-group-list[b-73rziojl10] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-height: 220px;
    overflow: auto;
    padding: 2px 4px 2px 0;
}

.filter-group-option[b-73rziojl10] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #dcecea;
    border-radius: 999px;
    background: #ffffff;
    color: #263943;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.filter-group-option:hover[b-73rziojl10],
.filter-group-option:focus-within[b-73rziojl10] {
    border-color: #8ad8cf;
    background: #f4fbfa;
    color: #1c746a;
    box-shadow: 0 8px 18px rgba(22, 61, 68, 0.08);
}

.filter-group-option:has(input:checked)[b-73rziojl10] {
    border-color: #8ad8cf;
    background: #eaf8f5;
    color: #1c746a;
}

.filter-group-option span[b-73rziojl10] {
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.filter-empty[b-73rziojl10] {
    margin: 0;
    padding: 12px;
    border: 1px dashed #cfe3e0;
    border-radius: 8px;
    color: #71878d;
    font-weight: 700;
}

.apply-filter-button[b-73rziojl10] {
    width: 100%;
    min-height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(25, 128, 119, 0.22);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.apply-filter-button:hover[b-73rziojl10],
.apply-filter-button:focus-visible[b-73rziojl10] {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(25, 128, 119, 0.28);
}

.eyebrow[b-73rziojl10] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfe8e5;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
    color: #1e6f69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    box-shadow: 0 10px 22px rgba(24, 72, 78, 0.06);
    text-transform: uppercase;
}

.employees-header h1[b-73rziojl10] {
    margin: 0;
    color: #142630;
    font-size: 2.12rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

.employees-count[b-73rziojl10] {
    display: block;
    min-height: 0;
    color: #60777e;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    white-space: nowrap;
}

.employees-count-row[b-73rziojl10] {
    display: flex;
    justify-content: flex-end;
    margin: 8px 2px 18px;
}

.employee-grid[b-73rziojl10] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.employee-card[b-73rziojl10] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 246px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(22, 61, 68, 0.07);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.employee-card[b-73rziojl10]::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #41c8b9, #83d6c9);
    content: "";
}

.employee-card:hover[b-73rziojl10],
.employee-card:focus-visible[b-73rziojl10] {
    border-color: #bee4df;
    color: inherit;
    outline: none;
    box-shadow: 0 20px 42px rgba(22, 61, 68, 0.11);
    transform: translateY(-2px);
}

.employee-card-top[b-73rziojl10] {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.avatar[b-73rziojl10] {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, #38bdb1, #7fd5c8);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(42, 170, 160, 0.24);
}

.employee-card h2[b-73rziojl10] {
    margin: 0 0 5px;
    color: #122631;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
}

.employee-card p[b-73rziojl10] {
    margin: 0;
    color: #677981;
    overflow-wrap: anywhere;
}

.employee-details[b-73rziojl10] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    max-width: 100%;
}

.employee-details div[b-73rziojl10] {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    padding: 9px 12px;
    border: 1px solid #edf4f3;
    border-radius: 8px;
    background: #f8fcfb;
}

.employee-details dt[b-73rziojl10] {
    margin-bottom: 2px;
    color: #789097;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.employee-details dd[b-73rziojl10] {
    margin: 0;
    color: #263943;
    font-size: 0.92rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.group-row[b-73rziojl10] {
    display:block ;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf4f3;
}

.group-row span[b-73rziojl10] {
    color: #748b91;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.group-list[b-73rziojl10] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.group-list strong[b-73rziojl10] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf8f5;
    color: #1c746a;
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
}

.state-panel[b-73rziojl10] {
    display: grid;
    place-items: center;
    min-height: 180px;
    border: 1px dashed #bfdcd8;
    border-radius: 8px;
    background: #ffffff;
    color: #506970;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(22, 61, 68, 0.06);
}

.state-panel.error[b-73rziojl10] {
    border-color: #f0b7b7;
    background: #fff7f7;
    color: #a63737;
}

.add-user-fab[b-73rziojl10] {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 900;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(25, 128, 119, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.add-user-fab:hover[b-73rziojl10],
.add-user-fab:focus-visible[b-73rziojl10] {
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(25, 128, 119, 0.3);
}

@media (max-width: 700px) {
    .employees-page[b-73rziojl10] {
        margin: -22px -16px;
        padding: 22px;
    }

    .employees-header[b-73rziojl10] {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .employee-search[b-73rziojl10] {
        justify-self: stretch;
    }

    .employee-filter-area[b-73rziojl10] {
        justify-content: flex-start;
        justify-self: stretch;
    }

    .employee-filter-panel[b-73rziojl10] {
        left: 0;
        right: auto;
        width: min(100%, calc(100vw - 44px));
    }

    .employees-header h1[b-73rziojl10] {
        font-size: 1.65rem;
    }

    .employee-grid[b-73rziojl10] {
        grid-template-columns: 1fr;
    }

    .employee-details[b-73rziojl10] {
        grid-template-columns: 1fr;
    }

    .group-row[b-73rziojl10] {
        align-items: flex-start;
        flex-direction: column;
    }

    .group-list[b-73rziojl10] {
        justify-content: flex-start;
    }

    .add-user-fab[b-73rziojl10] {
        right: 20px;
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }
}
/* /Components/Pages/Groupe.razor.rz.scp.css */
body[b-9rhxlv8n0u] {
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-g0ytc3d8nh] {
    position: relative;
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(27, 177, 167, 0.22), transparent 24rem),
        radial-gradient(circle at 82% 78%, rgba(18, 52, 86, 0.1), transparent 24rem),
        linear-gradient(180deg, #f8fcfc 0%, #edf7f6 100%);
    color: #123456;
}

.login-page[b-g0ytc3d8nh]::before {
    position: absolute;
    top: -170px;
    right: -130px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(27, 177, 167, 0.14);
    content: "";
}

.login-page[b-g0ytc3d8nh]::after {
    position: absolute;
    bottom: -190px;
    left: -150px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(18, 52, 86, 0.07);
    content: "";
}

.login-panel[b-g0ytc3d8nh] {
    position: relative;
    z-index: 1;
    width: min(100%, 410px);
    padding: 38px 36px 36px;
    overflow: hidden;
    border: 1px solid rgba(190, 224, 221, 0.95);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 254, 253, 0.92));
    box-shadow:
        0 26px 70px rgba(18, 52, 86, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(16px);
}

.login-panel[b-g0ytc3d8nh]::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, #1bb1a7, #7fd5c8);
    content: "";
}

.login-panel[b-g0ytc3d8nh]::after {
    position: absolute;
    inset: 4px 0 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.92);
    content: "";
}

.login-brand[b-g0ytc3d8nh] {
    display: grid;
    justify-items: center;
    gap: 13px;
    margin-bottom: 32px;
    text-align: center;
}

.login-brand img[b-g0ytc3d8nh] {
    width: 72px;
    height: 72px;
    padding: 8px;
    border: 1px solid #d6ebe9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 15px 34px rgba(18, 52, 86, 0.14);
}

.login-brand span[b-g0ytc3d8nh] {
    color: #123456;
    font-size: 1.9rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
}

.login-form[b-g0ytc3d8nh] {
    display: grid;
    gap: 17px;
    justify-items: stretch;
}

.login-field[b-g0ytc3d8nh] {
    position: relative;
    display: grid;
    gap: 11px;
    margin: 0;
}

.login-field + .login-field[b-g0ytc3d8nh] {
    margin-top: 8px;
}

.login-field span[b-g0ytc3d8nh] {
    color: #607b84;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.login-field input[b-g0ytc3d8nh] {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #cfe2e5;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    color: #123456;
    font-size: 0.9rem;
    font-weight: 650;
    outline: none;
    box-shadow:
        0 9px 18px rgba(18, 52, 86, 0.045),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.login-field input[b-g0ytc3d8nh]::placeholder {
    color: #9aaeb5;
    font-weight: 500;
}

.login-field input:hover[b-g0ytc3d8nh] {
    border-color: #b7deda;
    background: #ffffff;
}

.login-field input:focus[b-g0ytc3d8nh] {
    border-color: #1bb1a7;
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(27, 177, 167, 0.14),
        0 12px 24px rgba(18, 52, 86, 0.08);
    transform: translateY(-1px);
}

.login-password-wrapper[b-g0ytc3d8nh] {
    position: relative;
    display: grid;
}

.login-password-wrapper input[b-g0ytc3d8nh] {
    padding-right: 46px;
}

.password-toggle[b-g0ytc3d8nh] {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #607b84;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.password-toggle:hover[b-g0ytc3d8nh],
.password-toggle:focus-visible[b-g0ytc3d8nh] {
    border-color: #cfe2e5;
    background: #f1fbfa;
    color: #1b8f87;
    outline: none;
}

.password-toggle svg[b-g0ytc3d8nh] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.login-field:focus-within span[b-g0ytc3d8nh] {
    color: #1b8f87;
}

.login-validation[b-g0ytc3d8nh] {
    display: block;
    margin-top: -3px;
    color: #b64242;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.login-error[b-g0ytc3d8nh] {
    padding: 11px 12px;
    border: 1px solid #efc5c5;
    border-radius: 8px;
    background: #fff7f7;
    color: #a43d3d;
    font-size: 0.88rem;
    font-weight: 700;
}

.login-actions[b-g0ytc3d8nh] {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.login-button[b-g0ytc3d8nh] {
    display: inline-grid;
    place-items: center;
    width: min(100%, 132px);
    min-height: 42px;
    margin: 0 auto;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #1bb1a7, #38c2b8);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 850;
    text-align: center;
    box-shadow: 0 14px 28px rgba(27, 177, 167, 0.24);
    transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.login-button:hover:not(:disabled)[b-g0ytc3d8nh],
.login-button:focus-visible:not(:disabled)[b-g0ytc3d8nh] {
    background: linear-gradient(135deg, #159a92, #2eb1a8);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(27, 177, 167, 0.32);
}

.login-button:disabled[b-g0ytc3d8nh] {
    cursor: wait;
    opacity: 0.72;
}

@media (max-width: 520px) {
    .login-page[b-g0ytc3d8nh] {
        padding: 16px;
    }

    .login-panel[b-g0ytc3d8nh] {
        padding: 32px 22px 30px;
    }

    .login-button[b-g0ytc3d8nh] {
        width: 100%;
    }
}
/* /Components/Pages/Planning.razor.rz.scp.css */
.planning-page[b-q1lbv4rd3u] {
    position: relative;
    min-height: 100%;
    height: calc(100vh - 1px);
    margin: -32px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 14px;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.12), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #111827;
}

.clear-selection-button[b-q1lbv4rd3u] {
    position: absolute;
    right: 34px;
    bottom: 34px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    cursor: pointer;
}

.clear-selection-button:hover[b-q1lbv4rd3u],
.clear-selection-button:focus-visible[b-q1lbv4rd3u] {
    border-color: #98a2b3;
    background: #f2f4f7;
    outline: none;
    transform: translateY(-1px);
}

.clear-selection-button img[b-q1lbv4rd3u] {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.planning-header[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: max-content 1fr auto;
    gap: 18px;
    align-items: end;
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.planning-actions[b-q1lbv4rd3u] {
    position: relative;
    align-self: center;
    justify-self: end;
    display: flex;
    gap: 8px;
}

.planning-popover-backdrop[b-q1lbv4rd3u] {
    position: fixed;
    inset: 0;
    z-index: 35;
    border: 0;
    background: transparent;
    cursor: default;
}

.planning-action-button[b-q1lbv4rd3u] {
    position: relative;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.planning-action-button:hover[b-q1lbv4rd3u],
.planning-action-button:focus-visible[b-q1lbv4rd3u] {
    background: #f2f4f7;
    border-color: #98a2b3;
    outline: none;
}

.planning-action-button:disabled[b-q1lbv4rd3u] {
    cursor: wait;
    opacity: 0.55;
}

.planning-action-button img[b-q1lbv4rd3u] {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.planning-action-menu[b-q1lbv4rd3u] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    display: grid;
    gap: 2px;
    min-width: 238px;
    padding: 5px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.planning-action-item[b-q1lbv4rd3u] {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #344054;
    font-size: 0.84rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.planning-action-item:hover[b-q1lbv4rd3u],
.planning-action-item:focus-visible[b-q1lbv4rd3u],
.planning-action-item.selected[b-q1lbv4rd3u] {
    background: #f2f4f7;
    outline: none;
}

.planning-action-item.selected[b-q1lbv4rd3u] {
    color: #111827;
    font-weight: 700;
}

.planning-action-separator[b-q1lbv4rd3u] {
    height: 1px;
    margin: 4px 6px;
    background: #eaecf0;
}

.copy-planning-menu[b-q1lbv4rd3u],
.note-planning-menu[b-q1lbv4rd3u] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 45;
    display: grid;
    gap: 12px;
    width: min(360px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.note-field[b-q1lbv4rd3u] {
    display: grid;
    gap: 6px;
}

.note-field > span[b-q1lbv4rd3u] {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 750;
}

.note-field textarea[b-q1lbv4rd3u] {
    width: 100%;
    min-height: 112px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-size: 0.88rem;
    outline: none;
}

.note-field textarea:focus[b-q1lbv4rd3u] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.note-selection-warning[b-q1lbv4rd3u] {
    margin: 0;
    padding: 9px 10px;
    border-radius: 9px;
    background: #fffaeb;
    color: #93370d;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.35;
}

.copy-planning-heading[b-q1lbv4rd3u] {
    display: grid;
    gap: 4px;
}

.note-planning-title-row[b-q1lbv4rd3u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.copy-planning-heading strong[b-q1lbv4rd3u] {
    color: #111827;
    font-size: 0.98rem;
    font-weight: 850;
}

.copy-planning-heading span[b-q1lbv4rd3u] {
    color: #475467;
    font-size: 0.8rem;
    font-weight: 750;
}

.note-delete-button[b-q1lbv4rd3u] {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #fda29b;
    border-radius: 9px;
    background: #fff1f0;
    color: #b42318;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.note-delete-button:hover[b-q1lbv4rd3u] {
    border-color: #f04438;
    background: #fee4e2;
}

.note-delete-button:disabled[b-q1lbv4rd3u] {
    opacity: 0.6;
    cursor: not-allowed;
}

.note-delete-button.is-loading:disabled[b-q1lbv4rd3u] {
    cursor: wait;
}

.note-confirmation-backdrop[b-q1lbv4rd3u] {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
}

.note-confirmation-dialog[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    width: min(410px, 100%);
    padding: 20px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.note-confirmation-dialog.note-scope-dialog[b-q1lbv4rd3u] {
    width: min(520px, 100%);
}

.note-confirmation-icon[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fee4e2;
    color: #b42318;
    font-size: 1.1rem;
    font-weight: 900;
}

.note-scope-icon[b-q1lbv4rd3u] {
    background: #eaf2ff;
    color: #175cd3;
}

.note-confirmation-content[b-q1lbv4rd3u] {
    display: grid;
    gap: 6px;
}

.note-confirmation-content strong[b-q1lbv4rd3u] {
    color: #101828;
    font-size: 1rem;
    font-weight: 850;
}

.note-confirmation-content p[b-q1lbv4rd3u] {
    margin: 0;
    color: #667085;
    font-size: 0.86rem;
    line-height: 1.45;
}

.note-confirmation-actions[b-q1lbv4rd3u] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.note-scope-actions[b-q1lbv4rd3u] {
    grid-column: 1 / -1;
    display: grid;
    gap: 9px;
}

.note-scope-option[b-q1lbv4rd3u] {
    display: grid;
    gap: 3px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #101828;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.note-scope-option:hover[b-q1lbv4rd3u] {
    border-color: #84adff;
    background: #f5f8ff;
}

.note-scope-option strong[b-q1lbv4rd3u] {
    font-size: 0.86rem;
    font-weight: 850;
}

.note-scope-option span[b-q1lbv4rd3u] {
    color: #667085;
    font-size: 0.76rem;
    line-height: 1.4;
}

.note-scope-option:disabled[b-q1lbv4rd3u] {
    opacity: 0.6;
    cursor: wait;
}

.note-confirm-delete-button[b-q1lbv4rd3u] {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d92d20;
    border-radius: 12px;
    background: #d92d20;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.note-confirm-delete-button:hover[b-q1lbv4rd3u] {
    border-color: #b42318;
    background: #b42318;
}

.note-confirm-delete-button:disabled[b-q1lbv4rd3u] {
    opacity: 0.65;
    cursor: not-allowed;
}

.note-confirm-delete-button.is-loading:disabled[b-q1lbv4rd3u] {
    cursor: wait;
}

.copy-planning-grid[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.copy-source-field[b-q1lbv4rd3u],
.copy-field[b-q1lbv4rd3u] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.copy-source-field > span[b-q1lbv4rd3u],
.copy-field span[b-q1lbv4rd3u],
.copy-check span[b-q1lbv4rd3u] {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 750;
}

.copy-range-field[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
}

.copy-date-field[b-q1lbv4rd3u] {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 36px;
    cursor: pointer;
}

.copy-date-display[b-q1lbv4rd3u] {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1;
    text-transform: lowercase;
    white-space: nowrap;
}

.copy-date-field input[b-q1lbv4rd3u] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
    opacity: 0;
}

.copy-range-field:focus-within[b-q1lbv4rd3u] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.copy-range-icon[b-q1lbv4rd3u] {
    align-self: center;
    justify-self: center;
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.copy-field input[b-q1lbv4rd3u] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-weight: 750;
    outline: none;
}

.copy-field input:focus[b-q1lbv4rd3u] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.copy-options-row[b-q1lbv4rd3u],
.copy-actions-row[b-q1lbv4rd3u] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.copy-actions-row[b-q1lbv4rd3u] {
    justify-content: flex-end;
}

.copy-check[b-q1lbv4rd3u] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
}

.copy-check input[b-q1lbv4rd3u] {
    width: 16px;
    height: 16px;
    accent-color: #111827;
}

.copy-primary-button[b-q1lbv4rd3u],
.copy-secondary-button[b-q1lbv4rd3u] {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.copy-primary-button[b-q1lbv4rd3u] {
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
}

.copy-primary-button:disabled[b-q1lbv4rd3u] {
    border-color: #98a2b3;
    background: #98a2b3;
    cursor: not-allowed;
}

.copy-primary-button.is-loading:disabled[b-q1lbv4rd3u] {
    cursor: wait;
}

.copy-secondary-button[b-q1lbv4rd3u] {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
}

.copy-secondary-button:hover[b-q1lbv4rd3u],
.copy-primary-button:not(:disabled):hover[b-q1lbv4rd3u] {
    filter: brightness(0.96);
}


.module-label[b-q1lbv4rd3u] {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.title-block h1[b-q1lbv4rd3u] {
    margin: 10px 0 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 850;
    letter-spacing: 0;
}

.period-bar[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 10px;
    align-items: end;
    justify-self: start;
}

.date-field[b-q1lbv4rd3u],
.period-field[b-q1lbv4rd3u] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.period-field[b-q1lbv4rd3u] {
    align-self: center;
}

.date-field span[b-q1lbv4rd3u],
.period-field span[b-q1lbv4rd3u],
.panel-heading span[b-q1lbv4rd3u] {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 750;
}

.period-date-controls[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: 36px max-content 36px;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.period-range-field[b-q1lbv4rd3u] {
    display: grid;
    grid-template-columns: 96px 38px 96px;
    align-items: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #ffffff;
}

.date-field-range[b-q1lbv4rd3u] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 36px;
    cursor: pointer;
}

.date-display[b-q1lbv4rd3u] {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1;
    text-transform: lowercase;
    white-space: nowrap;
}

.period-range-field .date-field-range input[b-q1lbv4rd3u] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.period-range-field .date-field-range input:focus[b-q1lbv4rd3u] {
    box-shadow: none;
}

.period-range-field:focus-within[b-q1lbv4rd3u] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.period-range-icon[b-q1lbv4rd3u] {
    align-self: center;
    justify-self: center;
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.period-icon-button[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #344054;
    font-weight: 800;
    cursor: pointer;
}

.period-icon-button:hover[b-q1lbv4rd3u] {
    background: #f2f4f7;
}

.period-icon-button img[b-q1lbv4rd3u] {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.date-field input[b-q1lbv4rd3u],
.period-field select[b-q1lbv4rd3u] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-weight: 750;
    outline: none;
}

.period-field span[b-q1lbv4rd3u] {
    display: none;
}

.period-field select[b-q1lbv4rd3u] {
    min-width: 148px;
    padding: 0 38px 0 14px;
    border-radius: 14px;
    background:
        linear-gradient(45deg, transparent 50%, #475467 50%) right 18px center / 6px 6px no-repeat,
        linear-gradient(135deg, #475467 50%, transparent 50%) right 13px center / 6px 6px no-repeat,
        #ffffff;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.period-field select:hover[b-q1lbv4rd3u] {
    border-color: #98a2b3;
    background-color: #f9fafb;
}

.date-field input:focus[b-q1lbv4rd3u],
.period-field select:focus[b-q1lbv4rd3u] {
    border-color: #475467;
    box-shadow: 0 0 0 4px rgba(71, 84, 103, 0.12);
}

.status-line[b-q1lbv4rd3u] {
    padding: 12px 15px;
    border: 1px solid #abefc6;
    border-radius: 14px;
    background: #ecfdf3;
    color: #067647;
    font-weight: 800;
}

.status-line.error[b-q1lbv4rd3u],
.state-panel.error[b-q1lbv4rd3u] {
    border-color: #fecdca;
    background: #fffbfa;
    color: #b42318;
}

.status-line.warning[b-q1lbv4rd3u] {
    border-color: #fedf89;
    background: #fffaeb;
    color: #b54708;
}

.planning-body[b-q1lbv4rd3u] {
    min-height: 0;
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 0;
}

.schedule-panel[b-q1lbv4rd3u],
.grid-panel[b-q1lbv4rd3u] {
    min-height: 0;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.schedule-panel[b-q1lbv4rd3u] {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px;
    overflow: hidden;
    border-right-width: 0;
    border-radius: 18px 0 0 18px;
}

.panel-heading[b-q1lbv4rd3u] {
    display: grid;
    gap: 4px;
}

.panel-heading strong[b-q1lbv4rd3u] {
    color: #111827;
    font-weight: 850;
}

.schedule-list[b-q1lbv4rd3u] {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    overflow: auto;
    padding: 2px 4px 2px 0;
    direction: rtl;
}

.schedule-list > *[b-q1lbv4rd3u] {
    direction: ltr;
}

.schedule-card[b-q1lbv4rd3u] {
    display: grid;
    align-items: center;
    justify-items: center;
    min-height: 62px;
    width: 100%;
    padding: 11px;
    border: 1px solid color-mix(in srgb, var(--schedule-color, #667085) 46%, #ffffff);
    border-radius: 14px;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--schedule-color, #667085) 32%, #ffffff),
            #ffffff
        );
    color: #111827;
    text-align: center;
    cursor: grab;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.schedule-card:hover[b-q1lbv4rd3u],
.schedule-card:focus-visible[b-q1lbv4rd3u],
.schedule-card.selected[b-q1lbv4rd3u] {
    border-color: var(--schedule-color, #667085);
    outline: none;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.schedule-card:active[b-q1lbv4rd3u] {
    cursor: grabbing;
}

.remove-card[b-q1lbv4rd3u] {
    border-color: #fda29b;
    background: linear-gradient(180deg, #fff1f0, #ffffff);
    color: #912018;
    justify-items: center;
    text-align: center;
}

.remove-card:hover[b-q1lbv4rd3u],
.remove-card:focus-visible[b-q1lbv4rd3u] {
    border-color: #d92d20;
    box-shadow: 0 12px 26px rgba(180, 35, 24, 0.12);
}

.remove-card .schedule-text small[b-q1lbv4rd3u] {
    color: #b42318;
}

.remove-card .schedule-text[b-q1lbv4rd3u] {
    display: grid;
    justify-items: center;
}

.schedule-add-card[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    min-height: 62px;
    width: 100%;
    padding: 11px;
    border: 2px dashed #28b9ad;
    border-radius: 14px;
    background: #f0fdfa;
    color: #0f766e;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.schedule-add-card .schedule-text strong[b-q1lbv4rd3u] {
    color: #0f766e;
}

.schedule-add-card:hover[b-q1lbv4rd3u],
.schedule-add-card:focus-visible[b-q1lbv4rd3u] {
    border-color: #0f766e;
    background: #ccfbf1;
    outline: none;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.12);
    transform: translateY(-1px);
}

.schedule-text[b-q1lbv4rd3u] {
    min-width: 0;
    display: grid;
    justify-items: center;
}

.schedule-text strong[b-q1lbv4rd3u],
.schedule-text small[b-q1lbv4rd3u] {
    display: block;
    overflow-wrap: anywhere;
}

.schedule-text strong[b-q1lbv4rd3u] {
    font-size: 0.92rem;
    font-weight: 850;
}

.schedule-text small[b-q1lbv4rd3u] {
    margin-top: 3px;
    color: #667085;
    font-weight: 750;
}

.grid-panel[b-q1lbv4rd3u] {
    min-width: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    border-radius: 0 18px 18px 0;
}

.grid-scroll[b-q1lbv4rd3u] {
    min-height: 0;
    max-width: 100%;
    overflow: auto;
    background: #ffffff;
    user-select: none;
}

.planning-grid[b-q1lbv4rd3u] {
    display: grid;
    min-width: max-content;
}

.grid-corner[b-q1lbv4rd3u],
.day-header[b-q1lbv4rd3u],
.user-header[b-q1lbv4rd3u],
.planning-cell[b-q1lbv4rd3u] {
    border: 0;
    border-right: 1px solid #eaecf0;
    border-bottom: 1px solid #eaecf0;
}

.grid-corner[b-q1lbv4rd3u],
.day-header[b-q1lbv4rd3u] {
    position: sticky;
    top: 0;
    z-index: 12;
    min-height: 60px;
    background: #f9fafb;
}

.grid-corner[b-q1lbv4rd3u] {
    left: 0;
    z-index: 24;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #475467;
    font-size: 0.77rem;
    font-weight: 850;
    text-transform: uppercase;
}

.day-header[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 8px;
    color: #344054;
    cursor: pointer;
}

.day-header strong[b-q1lbv4rd3u],
.day-header span[b-q1lbv4rd3u] {
    display: block;
}

.day-header strong[b-q1lbv4rd3u] {
    font-size: 0.82rem;
    font-weight: 850;
}

.day-header span[b-q1lbv4rd3u] {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
}

.day-header:hover[b-q1lbv4rd3u],
.day-header.selected[b-q1lbv4rd3u] {
    background: rgba(27, 177, 167, 0.12);
    color: #0f766e;
}

.day-header:hover span[b-q1lbv4rd3u],
.day-header.selected span[b-q1lbv4rd3u] {
    color: rgba(15, 118, 110, 0.72);
}

.day-header.today:not(.selected)[b-q1lbv4rd3u] {
    background: #fff7ed;
}

.user-header[b-q1lbv4rd3u] {
    position: sticky;
    left: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 9px 12px;
    background: #ffffff;
    color: #111827;
    text-align: left;
    cursor: pointer;
}

.user-header:hover[b-q1lbv4rd3u],
.user-header.selected[b-q1lbv4rd3u] {
    background: rgba(27, 177, 167, 0.12);
    color: #0f766e;
}

.user-header strong[b-q1lbv4rd3u] {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.planning-cell[b-q1lbv4rd3u] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 6px;
    background: #ffffff;
    color: #344054;
    text-align: center;
    cursor: cell;
    user-select: none;
}

.note-indicator[b-q1lbv4rd3u] {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    padding: 2px 5px;
    border-radius: 999px;
    background: #fff7cc;
    color: #7a5d00;
    font-size: 0.56rem;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
}

.planning-cell:hover[b-q1lbv4rd3u] {
    background: #f9fafb;
}

.planning-cell[draggable="true"][b-q1lbv4rd3u] {
    cursor: grab;
}

.planning-cell[draggable="true"]:active[b-q1lbv4rd3u] {
    cursor: grabbing;
}

.planning-cell.selected[b-q1lbv4rd3u] {
    outline: 2px solid rgba(27, 177, 167, 0.36);
    outline-offset: -2px;
    background: rgba(27, 177, 167, 0.07);
    box-shadow: inset 0 0 0 999px rgba(27, 177, 167, 0.04);
}

.assignment-content[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 7px;
    border-radius: 11px;
    background: color-mix(in srgb, var(--cell-color, #667085) 32%, #ffffff);
    color: #111827;
}

.planning-cell strong[b-q1lbv4rd3u],
.planning-cell small[b-q1lbv4rd3u] {
    display: block;
    width: 100%;
    max-width: 100%;
    color: inherit;
}

.planning-cell strong[b-q1lbv4rd3u] {
    font-size: 0.78rem;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.planning-cell small[b-q1lbv4rd3u] {
    margin-top: 2px;
    font-size: 0.68rem;
    font-weight: 800;
    opacity: 0.9;
}

.drop-hint[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px dashed #d0d5dd;
    border-radius: 10px;
    color: #98a2b3;
    font-size: 1.1rem;
    font-weight: 800;
}

.state-panel[b-q1lbv4rd3u],
.empty-message[b-q1lbv4rd3u] {
    display: grid;
    place-items: center;
    min-height: 160px;
    margin: 0;
    padding: 18px;
    border: 1px dashed #d0d5dd;
    border-radius: 16px;
    background: #ffffff;
    color: #667085;
    font-weight: 800;
    text-align: center;
}

.state-panel.compact[b-q1lbv4rd3u] {
    margin: 14px;
}

@media (max-width: 1180px) {
    .planning-page[b-q1lbv4rd3u] {
        height: auto;
        min-height: 100%;
        overflow: auto;
    }

    .planning-header[b-q1lbv4rd3u],
    .planning-body[b-q1lbv4rd3u] {
        grid-template-columns: 1fr;
    }

    .planning-actions[b-q1lbv4rd3u] {
        justify-self: end;
    }

    .planning-body[b-q1lbv4rd3u] {
        gap: 14px;
    }

    .period-bar[b-q1lbv4rd3u] {
        grid-template-columns: max-content max-content;
    }

    .schedule-panel[b-q1lbv4rd3u] {
        max-height: 340px;
        border-right-width: 1px;
        border-radius: 18px;
    }

    .grid-panel[b-q1lbv4rd3u] {
        border-radius: 18px;
    }

    .grid-scroll[b-q1lbv4rd3u] {
        max-height: 68vh;
    }
}

@media (max-width: 720px) {
    .planning-page[b-q1lbv4rd3u] {
        margin: -22px -16px;
        padding: 14px;
    }

    .period-bar[b-q1lbv4rd3u] {
        grid-template-columns: 1fr;
    }

    .period-date-controls[b-q1lbv4rd3u] {
        grid-template-columns: 36px minmax(0, max-content) 36px;
    }

    .period-range-field[b-q1lbv4rd3u] {
        grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    }

    .clear-selection-button[b-q1lbv4rd3u] {
        position: fixed;
        right: 18px;
        bottom: 18px;
    }

}
/* /Components/Pages/PlanningAdd.razor.rz.scp.css */
.planning-add-page[b-0yearg44b2] {
    min-height: 100vh;
    margin: -32px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(30, 185, 173, 0.11), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #17242f;
}

.planning-add-header[b-0yearg44b2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #dcecea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(24, 72, 78, 0.08);
}

.planning-add-header h1[b-0yearg44b2] {
    margin: 8px 0 0;
    color: #142630;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
}

.eyebrow[b-0yearg44b2] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfe8e5;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
    color: #1e6f69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
}

.planning-form[b-0yearg44b2],
.frame-grid[b-0yearg44b2] {
    display: grid;
    gap: 16px;
}

.frame-grid[b-0yearg44b2] {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.form-frame[b-0yearg44b2] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 22px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    box-shadow: 0 16px 34px rgba(22, 61, 68, 0.07);
}

.frame-heading[b-0yearg44b2] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 1px;
    border-bottom: 1px solid #edf4f3;
}

.slots-frame-heading[b-0yearg44b2] {
    align-items: center;
}

.slots-frame-title[b-0yearg44b2] {
    flex: 1;
}

.frame-index[b-0yearg44b2] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eaf8f5;
    color: #1c746a;
    font-size: 0.84rem;
    font-weight: 900;
}

.frame-heading h2[b-0yearg44b2],
.slots-heading h3[b-0yearg44b2] {
    margin: 0;
    color: #122631;
    font-weight: 800;
}

.frame-heading h2[b-0yearg44b2] {
    margin-top: 2px;
    font-size: 1.1rem;
}

.frame-heading p[b-0yearg44b2],
.slots-heading p[b-0yearg44b2] {
    margin: 4px 0 0;
    color: #6b8288;
    font-size: 0.86rem;
    font-weight: 600;
}

.identity-grid[b-0yearg44b2] {
    display: grid;
    grid-template-columns: minmax(420px, 680px) minmax(290px, 380px);
    gap: 28px;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}

.planning-field-labels[b-0yearg44b2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: end;
    gap: 0;
}

.planning-field-labels > span[b-0yearg44b2] {
    color: #526c73;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.planning-field-labels > span:last-child[b-0yearg44b2] {
    font-size: 0.65rem;
    line-height: 1.1;
    text-align: center;
    justify-self: center;
    width: 58px;
}

.field[b-0yearg44b2] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field > span[b-0yearg44b2] {
    color: #526c73;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.required-star[b-0yearg44b2] {
    color: #d92d20;
}

.field input[b-0yearg44b2],
.field select[b-0yearg44b2] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field select[b-0yearg44b2] {
    cursor: pointer;
}

.field input:focus[b-0yearg44b2],
.field select:focus[b-0yearg44b2] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.color-dropdown[b-0yearg44b2] {
    position: relative;
}

.planning-name-control[b-0yearg44b2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: stretch;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.planning-name-control:focus-within[b-0yearg44b2] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.planning-name-control > input[b-0yearg44b2] {
    min-height: 48px;
    border: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: none;
}

.planning-name-control > input:focus[b-0yearg44b2] {
    box-shadow: none;
}

.color-square-button[b-0yearg44b2] {
    --selected-color: #28b9ad;
    display: grid;
    width: 58px;
    height: 100%;
    min-height: 48px;
    padding: 8px;
    place-items: center;
    border: 0;
    border-left: 1px solid #dce9e7;
    border-radius: 0 8px 8px 0;
    background: #f7fbfa;
    cursor: pointer;
}

.color-square-button:focus[b-0yearg44b2] {
    outline: none;
}

.color-square-button > span[b-0yearg44b2] {
    width: 32px;
    height: 32px;
    border: 3px solid #ffffff;
    border-radius: 7px;
    background: var(--selected-color);
    box-shadow: 0 0 0 1px #c8d9d7, 0 5px 12px color-mix(in srgb, var(--selected-color) 30%, transparent);
}

.color-picker-backdrop[b-0yearg44b2] {
    position: fixed;
    z-index: 40;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.color-picker-panel[b-0yearg44b2] {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 48px));
    padding: 16px;
    border: 1px solid #cfe3e0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(22, 61, 68, 0.2);
}

.color-picker-heading[b-0yearg44b2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #203842;
}

.color-picker-heading button[b-0yearg44b2] {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #f1f7f6;
    color: #526c73;
    cursor: pointer;
    font-size: 1.25rem;
}

.color-grid[b-0yearg44b2] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.color-choice[b-0yearg44b2] {
    --choice-color: #28b9ad;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 3px solid #ffffff;
    border-radius: 9px;
    background: var(--choice-color);
    box-shadow: 0 0 0 1px #d4e4e2;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.color-choice:hover[b-0yearg44b2] {
    transform: translateY(-2px) scale(1.04);
}

.color-choice.selected[b-0yearg44b2] {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--choice-color);
}

.slots-section[b-0yearg44b2] {
    display: grid;
    gap: 14px;
    padding-top: 4px;
}

.slots-heading[b-0yearg44b2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.slots-heading h3[b-0yearg44b2] {
    font-size: 1rem;
}

.add-slot-button[b-0yearg44b2] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #b9ddd8;
    border-radius: 8px;
    background: #f2fbfa;
    color: #1f716a;
    cursor: pointer;
    font-weight: 800;
}

.add-slot-button span[b-0yearg44b2] {
    font-size: 1.2rem;
}

.slots-list[b-0yearg44b2] {
    display: grid;
    gap: 10px;
}

.empty-slots[b-0yearg44b2] {
    padding: 18px;
    border: 1px dashed #bfdcd8;
    border-radius: 8px;
    background: #f8fcfb;
    color: #60777e;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.slot-row[b-0yearg44b2] {
    display: grid;
    grid-template-columns: 34px repeat(3, minmax(120px, 1fr)) 38px;
    gap: 10px;
    align-items: end;
    padding: 14px;
    border: 1px solid #e0ecea;
    border-radius: 8px;
    background: #f8fcfb;
}

.slot-number[b-0yearg44b2] {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #e5f6f3;
    color: #1f716a;
    font-size: 0.82rem;
    font-weight: 900;
}

.remove-slot-button[b-0yearg44b2] {
    width: 38px;
    height: 46px;
    border: 1px solid #efcaca;
    border-radius: 8px;
    background: #fff8f8;
    color: #ba4141;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.remove-slot-button:disabled[b-0yearg44b2] {
    cursor: not-allowed;
    opacity: 0.4;
}

.work-duration-field[b-0yearg44b2] {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    align-items: center;
}

.work-duration-control[b-0yearg44b2] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 8px 10px;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: #eef9f7;
}

.work-duration-control input[b-0yearg44b2] {
    width: 140px;
    min-height: 42px;
    background: #ffffff;
}

.work-duration-control input[readonly][b-0yearg44b2] {
    background: #f3f7f6;
    color: #657a80;
    cursor: not-allowed;
}

.work-duration-control small[b-0yearg44b2] {
    max-width: 190px;
    color: #5f777d;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.switch-card[b-0yearg44b2] {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: #f8fcfb;
    cursor: pointer;
}

.flexible-switch[b-0yearg44b2] {
    justify-self: end;
    width: min(100%, 380px);
    height: 48px;
    min-height: 48px;
    margin-right: 18px;
    padding: 0 24px 0 18px;
}

.switch-input[b-0yearg44b2] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.switch-control[b-0yearg44b2] {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: #c7d8d5;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.switch-control[b-0yearg44b2]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(22, 61, 68, 0.18);
    content: "";
    transition: transform 160ms ease;
}

.switch-input:checked + .switch-control[b-0yearg44b2] {
    background: #28b9ad;
}

.switch-input:checked + .switch-control[b-0yearg44b2]::after {
    transform: translateX(16px);
}

.switch-card:focus-within .switch-control[b-0yearg44b2] {
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.switch-label strong[b-0yearg44b2],
.switch-label small[b-0yearg44b2] {
    display: block;
}

.switch-label strong[b-0yearg44b2] {
    color: #263943;
    font-size: 0.92rem;
}

.switch-label small[b-0yearg44b2] {
    margin-top: 3px;
    color: #73898f;
    font-weight: 700;
}

.advanced-frame > .switch-card[b-0yearg44b2] {
    display: none;
}

.worktime-mode-settings[b-0yearg44b2] {
    order: 2;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: #f8fcfb;
}

.worktime-mode-heading[b-0yearg44b2] {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5efed;
}

.worktime-mode-heading span[b-0yearg44b2] {
    color: #73898f;
    font-size: 0.78rem;
    font-weight: 700;
}

.worktime-mode-grid[b-0yearg44b2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    gap: 14px;
    align-items: end;
}

.worktime-accept-switch[b-0yearg44b2] {
    border-color: #cfe3e0;
    background: #eef7f5;
}

.rounding-settings[b-0yearg44b2] {
    order: 1;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: #f8fcfb;
}

.rounding-heading[b-0yearg44b2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5efed;
}

.rounding-heading h3[b-0yearg44b2] {
    margin: 0;
    color: #263943;
    font-size: 0.95rem;
}

.rounding-heading span[b-0yearg44b2] {
    color: #73898f;
    font-size: 0.78rem;
    font-weight: 700;
}

.rounding-groups[b-0yearg44b2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 120px;
}

.rounding-group[b-0yearg44b2] {
    position: relative;
    display: grid;
    gap: 8px;
}

.rounding-group + .rounding-group[b-0yearg44b2]::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: -60px;
    width: 1px;
    background: #d7e8e5;
    content: "";
}

.rounding-column-headings[b-0yearg44b2],
.rounding-row[b-0yearg44b2] {
    display: grid;
    grid-template-columns: minmax(80px, 1fr) 82px minmax(80px, 1fr);
    gap: 12px;
    align-items: center;
}

.rounding-column-headings span[b-0yearg44b2] {
    color: #60777e;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.rounding-input input[b-0yearg44b2] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.rounding-input input:focus[b-0yearg44b2] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.rounding-type[b-0yearg44b2] {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #b9ddd8;
    border-radius: 8px;
    background: #eaf8f5;
    color: #1c746a;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.visually-hidden[b-0yearg44b2] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.back-link[b-0yearg44b2],
.secondary-button[b-0yearg44b2],
.primary-button[b-0yearg44b2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.back-link[b-0yearg44b2],
.secondary-button[b-0yearg44b2] {
    border: 1px solid #cfe3e0;
    background: #ffffff;
    color: #286760;
}

.primary-button[b-0yearg44b2] {
    border: 1px solid #21a99d;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(25, 128, 119, 0.22);
}

.primary-button:disabled[b-0yearg44b2] {
    cursor: not-allowed;
    opacity: 0.72;
}

.action-row[b-0yearg44b2] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.message[b-0yearg44b2] {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.message-error[b-0yearg44b2] {
    border: 1px solid #f0b7b7;
    background: #fff7f7;
    color: #a63737;
}

@media (max-width: 1100px) {
    .frame-grid[b-0yearg44b2],
    .identity-grid[b-0yearg44b2] {
        grid-template-columns: 1fr;
    }

    .rounding-groups[b-0yearg44b2] {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .worktime-mode-grid[b-0yearg44b2] {
        grid-template-columns: 1fr;
    }

    .rounding-group + .rounding-group[b-0yearg44b2]::before {
        top: -10px;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 1px;
    }

    .flexible-switch[b-0yearg44b2] {
        justify-self: stretch;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 760px) {
    .planning-add-page[b-0yearg44b2] {
        margin: -22px -16px;
        padding: 18px;
    }

    .planning-add-header[b-0yearg44b2],
    .slots-frame-heading[b-0yearg44b2],
    .slots-heading[b-0yearg44b2],
    .action-row[b-0yearg44b2] {
        align-items: stretch;
        flex-direction: column;
    }

    .planning-add-header h1[b-0yearg44b2] {
        font-size: 1.55rem;
    }

    .slot-row[b-0yearg44b2] {
        grid-template-columns: 34px minmax(0, 1fr) 38px;
    }

    .work-duration-field[b-0yearg44b2] {
        width: min(100%, 360px);
    }

    .work-duration-control[b-0yearg44b2] {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .rounding-column-headings[b-0yearg44b2],
    .rounding-row[b-0yearg44b2] {
        grid-template-columns: minmax(80px, 1fr) 76px minmax(80px, 1fr);
        gap: 8px;
    }

    .rounding-heading[b-0yearg44b2] {
        align-items: flex-start;
        flex-direction: column;
    }

    .slot-row .field[b-0yearg44b2] {
        grid-column: 2;
    }

    .slot-number[b-0yearg44b2] {
        grid-column: 1;
        grid-row: 1;
    }

    .remove-slot-button[b-0yearg44b2] {
        grid-column: 3;
        grid-row: 1;
    }

    .back-link[b-0yearg44b2],
    .secondary-button[b-0yearg44b2],
    .primary-button[b-0yearg44b2],
    .add-slot-button[b-0yearg44b2] {
        width: 100%;
    }
}
/* /Components/Pages/PlanningAuto.razor.rz.scp.css */
body[b-vs2nn18i4c] {
}
/* /Components/Pages/PlanningDispo.razor.rz.scp.css */
.planning-dispo-page[b-xh6newoayt] {
    min-height: 100vh;
    margin: -32px;
    padding: 36px;
    background:
        linear-gradient(135deg, rgba(29, 191, 176, 0.12), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #17242f;
}

.planning-dispo-header[b-xh6newoayt] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 520px) minmax(180px, 1fr);
    align-items: center;
    gap: 18px;
    margin-bottom: 0;
    padding: 24px;
    border: 1px solid #dcecea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(24, 72, 78, 0.08);
    backdrop-filter: blur(8px);
}

.planning-title-block[b-xh6newoayt] {
    min-width: 0;
}

.eyebrow[b-xh6newoayt] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfe8e5;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
    color: #1e6f69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
}

.planning-search[b-xh6newoayt] {
    position: relative;
    justify-self: center;
    width: min(100%, 520px);
}

.planning-search input[b-xh6newoayt] {
    width: 100%;
    min-height: 48px;
    padding: 0 18px 0 48px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    color: #1a3038;
    font-size: 0.96rem;
    font-weight: 700;
    outline: none;
    box-shadow: 0 14px 28px rgba(24, 72, 78, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.planning-search input[b-xh6newoayt]::placeholder {
    color: #789097;
    font-weight: 600;
}

.planning-search input:focus[b-xh6newoayt] {
    border-color: #65c9bf;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14), 0 16px 30px rgba(24, 72, 78, 0.1);
}

.planning-search-icon[b-xh6newoayt] {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #2b8f87;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.planning-search-icon[b-xh6newoayt]::after {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #2b8f87;
    content: "";
    transform: rotate(45deg);
}

.planning-count[b-xh6newoayt] {
    color: #60777e;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.planning-count-row[b-xh6newoayt] {
    display: flex;
    justify-content: flex-end;
    margin: 8px 2px 18px;
}

.planning-grid[b-xh6newoayt] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.planning-card[b-xh6newoayt] {
    --planning-color: #28b9ad;
    --planning-circle-color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #dcecea;
    border-top: 5px solid var(--planning-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(22, 61, 68, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.planning-card:hover[b-xh6newoayt] {
    border-color: #c9dfdc;
    border-top-color: var(--planning-color);
    box-shadow: 0 20px 42px rgba(22, 61, 68, 0.13);
    transform: translateY(-2px);
}

.planning-card-link[b-xh6newoayt] {
    color: inherit;
    text-decoration: none;
}

.planning-card-link:focus-visible[b-xh6newoayt] {
    outline: 3px solid color-mix(in srgb, var(--planning-color) 34%, transparent);
    outline-offset: 3px;
}

.planning-card-heading[b-xh6newoayt] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.planning-card h2[b-xh6newoayt] {
    margin: 0 0 8px;
    color: #122631;
    font-size: 1.18rem;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.planning-type[b-xh6newoayt] {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #dcecea;
    border-radius: 999px;
    background: #ffffff;
    color: #263943;
    font-size: 0.78rem;
    font-weight: 800;
}

.planning-color[b-xh6newoayt] {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 6px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: var(--planning-circle-color);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--planning-circle-color) 34%, transparent);
}

.planning-details[b-xh6newoayt] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 0;
}

.planning-details div[b-xh6newoayt] {
    padding: 12px 14px;
    border: 1px solid rgba(218, 233, 230, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.planning-details dt[b-xh6newoayt] {
    margin-bottom: 4px;
    color: #789097;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.planning-details dd[b-xh6newoayt] {
    margin: 0;
    color: #203842;
    font-size: 1rem;
    font-weight: 800;
}

.planning-slots[b-xh6newoayt] {
    margin-top: auto;
    padding-top: 18px;
}

.planning-slots-title[b-xh6newoayt] {
    display: block;
    margin-bottom: 9px;
    color: #748b91;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.planning-slot-list[b-xh6newoayt] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.planning-slot[b-xh6newoayt] {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 11px;
    border-left: 3px solid #dcecea;
    border-radius: 6px;
    background: #ffffff;
    color: #263943;
    font-size: 0.84rem;
    font-weight: 750;
}

.state-panel[b-xh6newoayt] {
    display: grid;
    place-items: center;
    min-height: 180px;
    border: 1px dashed #bfdcd8;
    border-radius: 8px;
    background: #ffffff;
    color: #506970;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(22, 61, 68, 0.06);
}

.state-panel.error[b-xh6newoayt] {
    border-color: #f0b7b7;
    background: #fff7f7;
    color: #a63737;
}

.add-planning-fab[b-xh6newoayt] {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 900;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(25, 128, 119, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.add-planning-fab:hover[b-xh6newoayt],
.add-planning-fab:focus-visible[b-xh6newoayt] {
    color: #ffffff;
    outline: none;
    box-shadow: 0 22px 40px rgba(25, 128, 119, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 1320px) {
    .planning-grid[b-xh6newoayt] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    .planning-grid[b-xh6newoayt] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .planning-dispo-header[b-xh6newoayt] {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .planning-search[b-xh6newoayt] {
        justify-self: stretch;
    }

    .planning-grid[b-xh6newoayt] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .planning-dispo-page[b-xh6newoayt] {
        margin: -22px -16px;
        padding: 22px;
    }

    .add-planning-fab[b-xh6newoayt] {
        right: 20px;
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }
}

@media (max-width: 440px) {
    .planning-details[b-xh6newoayt] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PlanningEdit.razor.rz.scp.css */
.planning-add-page[b-62x1v85dkm] {
    min-height: 100vh;
    margin: -32px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(30, 185, 173, 0.11), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, #f3f8f8 100%);
    color: #17242f;
}

.planning-add-header[b-62x1v85dkm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #dcecea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(24, 72, 78, 0.08);
}

.planning-add-header h1[b-62x1v85dkm] {
    margin: 8px 0 0;
    color: #142630;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
}

.eyebrow[b-62x1v85dkm] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfe8e5;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
    color: #1e6f69;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
}

.planning-form[b-62x1v85dkm],
.frame-grid[b-62x1v85dkm] {
    display: grid;
    gap: 16px;
}

.frame-grid[b-62x1v85dkm] {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.form-frame[b-62x1v85dkm] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 22px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    box-shadow: 0 16px 34px rgba(22, 61, 68, 0.07);
}

.frame-heading[b-62x1v85dkm] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 1px;
    border-bottom: 1px solid #edf4f3;
}

.slots-frame-heading[b-62x1v85dkm] {
    align-items: center;
}

.slots-frame-title[b-62x1v85dkm] {
    flex: 1;
}

.frame-index[b-62x1v85dkm] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eaf8f5;
    color: #1c746a;
    font-size: 0.84rem;
    font-weight: 900;
}

.frame-heading h2[b-62x1v85dkm],
.slots-heading h3[b-62x1v85dkm] {
    margin: 0;
    color: #122631;
    font-weight: 800;
}

.frame-heading h2[b-62x1v85dkm] {
    margin-top: 2px;
    font-size: 1.1rem;
}

.frame-heading p[b-62x1v85dkm],
.slots-heading p[b-62x1v85dkm] {
    margin: 4px 0 0;
    color: #6b8288;
    font-size: 0.86rem;
    font-weight: 600;
}

.identity-grid[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: minmax(420px, 680px) minmax(290px, 380px);
    gap: 28px;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}

.planning-field-labels[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: end;
    gap: 0;
}

.planning-field-labels > span[b-62x1v85dkm] {
    color: #526c73;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.planning-field-labels > span:last-child[b-62x1v85dkm] {
    font-size: 0.65rem;
    line-height: 1.1;
    text-align: center;
    justify-self: center;
    width: 58px;
}

.field[b-62x1v85dkm] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field > span[b-62x1v85dkm] {
    color: #526c73;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.required-star[b-62x1v85dkm] {
    color: #d92d20;
}

.field input[b-62x1v85dkm],
.field select[b-62x1v85dkm] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field select[b-62x1v85dkm] {
    cursor: pointer;
}

.field input:focus[b-62x1v85dkm],
.field select:focus[b-62x1v85dkm] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.color-dropdown[b-62x1v85dkm] {
    position: relative;
}

.planning-name-control[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: stretch;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.planning-name-control:focus-within[b-62x1v85dkm] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.planning-name-control > input[b-62x1v85dkm] {
    min-height: 48px;
    border: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: none;
}

.planning-name-control > input:focus[b-62x1v85dkm] {
    box-shadow: none;
}

.color-square-button[b-62x1v85dkm] {
    --selected-color: #28b9ad;
    display: grid;
    width: 58px;
    height: 100%;
    min-height: 48px;
    padding: 8px;
    place-items: center;
    border: 0;
    border-left: 1px solid #dce9e7;
    border-radius: 0 8px 8px 0;
    background: #f7fbfa;
    cursor: pointer;
}

.color-square-button:focus[b-62x1v85dkm] {
    outline: none;
}

.color-square-button > span[b-62x1v85dkm] {
    width: 32px;
    height: 32px;
    border: 3px solid #ffffff;
    border-radius: 7px;
    background: var(--selected-color);
    box-shadow: 0 0 0 1px #c8d9d7, 0 5px 12px color-mix(in srgb, var(--selected-color) 30%, transparent);
}

.color-picker-backdrop[b-62x1v85dkm] {
    position: fixed;
    z-index: 40;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.color-picker-panel[b-62x1v85dkm] {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 48px));
    padding: 16px;
    border: 1px solid #cfe3e0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(22, 61, 68, 0.2);
}

.color-picker-heading[b-62x1v85dkm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #203842;
}

.color-picker-heading button[b-62x1v85dkm] {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #f1f7f6;
    color: #526c73;
    cursor: pointer;
    font-size: 1.25rem;
}

.color-grid[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.color-choice[b-62x1v85dkm] {
    --choice-color: #28b9ad;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 3px solid #ffffff;
    border-radius: 9px;
    background: var(--choice-color);
    box-shadow: 0 0 0 1px #d4e4e2;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.color-choice:hover[b-62x1v85dkm] {
    transform: translateY(-2px) scale(1.04);
}

.color-choice.selected[b-62x1v85dkm] {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--choice-color);
}

.slots-section[b-62x1v85dkm] {
    display: grid;
    gap: 14px;
    padding-top: 4px;
}

.slots-heading[b-62x1v85dkm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.slots-heading h3[b-62x1v85dkm] {
    font-size: 1rem;
}

.add-slot-button[b-62x1v85dkm] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #b9ddd8;
    border-radius: 8px;
    background: #f2fbfa;
    color: #1f716a;
    cursor: pointer;
    font-weight: 800;
}

.add-slot-button span[b-62x1v85dkm] {
    font-size: 1.2rem;
}

.slots-list[b-62x1v85dkm] {
    display: grid;
    gap: 10px;
}

.empty-slots[b-62x1v85dkm] {
    padding: 18px;
    border: 1px dashed #bfdcd8;
    border-radius: 8px;
    background: #f8fcfb;
    color: #60777e;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.slot-row[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: 34px repeat(3, minmax(120px, 1fr)) 38px;
    gap: 10px;
    align-items: end;
    padding: 14px;
    border: 1px solid #e0ecea;
    border-radius: 8px;
    background: #f8fcfb;
}

.slot-number[b-62x1v85dkm] {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #e5f6f3;
    color: #1f716a;
    font-size: 0.82rem;
    font-weight: 900;
}

.remove-slot-button[b-62x1v85dkm] {
    width: 38px;
    height: 46px;
    border: 1px solid #efcaca;
    border-radius: 8px;
    background: #fff8f8;
    color: #ba4141;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.remove-slot-button:disabled[b-62x1v85dkm] {
    cursor: not-allowed;
    opacity: 0.4;
}

.work-duration-field[b-62x1v85dkm] {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    align-items: center;
}

.work-duration-control[b-62x1v85dkm] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 8px 10px;
    border-left: 4px solid #28b9ad;
    border-radius: 8px;
    background: #eef9f7;
}

.work-duration-control input[b-62x1v85dkm] {
    width: 140px;
    min-height: 42px;
    background: #ffffff;
}

.work-duration-control input[readonly][b-62x1v85dkm] {
    background: #f3f7f6;
    color: #657a80;
    cursor: not-allowed;
}

.work-duration-control small[b-62x1v85dkm] {
    max-width: 190px;
    color: #5f777d;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.switch-card[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: #f8fcfb;
    cursor: pointer;
}

.flexible-switch[b-62x1v85dkm] {
    justify-self: end;
    width: min(100%, 380px);
    height: 48px;
    min-height: 48px;
    margin-right: 18px;
    padding: 0 24px 0 18px;
}

.switch-input[b-62x1v85dkm] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.switch-control[b-62x1v85dkm] {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: #c7d8d5;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.switch-control[b-62x1v85dkm]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(22, 61, 68, 0.18);
    content: "";
    transition: transform 160ms ease;
}

.switch-input:checked + .switch-control[b-62x1v85dkm] {
    background: #28b9ad;
}

.switch-input:checked + .switch-control[b-62x1v85dkm]::after {
    transform: translateX(16px);
}

.switch-card:focus-within .switch-control[b-62x1v85dkm] {
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.switch-label strong[b-62x1v85dkm],
.switch-label small[b-62x1v85dkm] {
    display: block;
}

.switch-label strong[b-62x1v85dkm] {
    color: #263943;
    font-size: 0.92rem;
}

.switch-label small[b-62x1v85dkm] {
    margin-top: 3px;
    color: #73898f;
    font-weight: 700;
}

.advanced-frame > .switch-card[b-62x1v85dkm] {
    display: none;
}

.worktime-mode-settings[b-62x1v85dkm] {
    order: 2;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: #f8fcfb;
}

.worktime-mode-heading[b-62x1v85dkm] {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5efed;
}

.worktime-mode-heading span[b-62x1v85dkm] {
    color: #73898f;
    font-size: 0.78rem;
    font-weight: 700;
}

.worktime-mode-grid[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    gap: 14px;
    align-items: end;
}

.worktime-accept-switch[b-62x1v85dkm] {
    border-color: #cfe3e0;
    background: #eef7f5;
}

.rounding-settings[b-62x1v85dkm] {
    order: 1;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dfecea;
    border-radius: 8px;
    background: #f8fcfb;
}

.rounding-heading[b-62x1v85dkm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5efed;
}

.rounding-heading h3[b-62x1v85dkm] {
    margin: 0;
    color: #263943;
    font-size: 0.95rem;
}

.rounding-heading span[b-62x1v85dkm] {
    color: #73898f;
    font-size: 0.78rem;
    font-weight: 700;
}

.rounding-groups[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 120px;
}

.rounding-group[b-62x1v85dkm] {
    position: relative;
    display: grid;
    gap: 8px;
}

.rounding-group + .rounding-group[b-62x1v85dkm]::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: -60px;
    width: 1px;
    background: #d7e8e5;
    content: "";
}

.rounding-column-headings[b-62x1v85dkm],
.rounding-row[b-62x1v85dkm] {
    display: grid;
    grid-template-columns: minmax(80px, 1fr) 82px minmax(80px, 1fr);
    gap: 12px;
    align-items: center;
}

.rounding-column-headings span[b-62x1v85dkm] {
    color: #60777e;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.rounding-input input[b-62x1v85dkm] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #cfe3e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a3038;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.rounding-input input:focus[b-62x1v85dkm] {
    border-color: #65c9bf;
    box-shadow: 0 0 0 4px rgba(42, 185, 173, 0.14);
}

.rounding-type[b-62x1v85dkm] {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #b9ddd8;
    border-radius: 8px;
    background: #eaf8f5;
    color: #1c746a;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.visually-hidden[b-62x1v85dkm] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.back-link[b-62x1v85dkm],
.secondary-button[b-62x1v85dkm],
.primary-button[b-62x1v85dkm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.back-link[b-62x1v85dkm],
.secondary-button[b-62x1v85dkm] {
    border: 1px solid #cfe3e0;
    background: #ffffff;
    color: #286760;
}

.primary-button[b-62x1v85dkm] {
    border: 1px solid #21a99d;
    background: linear-gradient(135deg, #28b9ad, #63d0c1);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(25, 128, 119, 0.22);
}

.primary-button:disabled[b-62x1v85dkm] {
    cursor: not-allowed;
    opacity: 0.72;
}

.action-row[b-62x1v85dkm] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.message[b-62x1v85dkm] {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.message-error[b-62x1v85dkm] {
    border: 1px solid #f0b7b7;
    background: #fff7f7;
    color: #a63737;
}

@media (max-width: 1100px) {
    .frame-grid[b-62x1v85dkm],
    .identity-grid[b-62x1v85dkm] {
        grid-template-columns: 1fr;
    }

    .rounding-groups[b-62x1v85dkm] {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .worktime-mode-grid[b-62x1v85dkm] {
        grid-template-columns: 1fr;
    }

    .rounding-group + .rounding-group[b-62x1v85dkm]::before {
        top: -10px;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 1px;
    }

    .flexible-switch[b-62x1v85dkm] {
        justify-self: stretch;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 760px) {
    .planning-add-page[b-62x1v85dkm] {
        margin: -22px -16px;
        padding: 18px;
    }

    .planning-add-header[b-62x1v85dkm],
    .slots-frame-heading[b-62x1v85dkm],
    .slots-heading[b-62x1v85dkm],
    .action-row[b-62x1v85dkm] {
        align-items: stretch;
        flex-direction: column;
    }

    .planning-add-header h1[b-62x1v85dkm] {
        font-size: 1.55rem;
    }

    .slot-row[b-62x1v85dkm] {
        grid-template-columns: 34px minmax(0, 1fr) 38px;
    }

    .work-duration-field[b-62x1v85dkm] {
        width: min(100%, 360px);
    }

    .work-duration-control[b-62x1v85dkm] {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .rounding-column-headings[b-62x1v85dkm],
    .rounding-row[b-62x1v85dkm] {
        grid-template-columns: minmax(80px, 1fr) 76px minmax(80px, 1fr);
        gap: 8px;
    }

    .rounding-heading[b-62x1v85dkm] {
        align-items: flex-start;
        flex-direction: column;
    }

    .slot-row .field[b-62x1v85dkm] {
        grid-column: 2;
    }

    .slot-number[b-62x1v85dkm] {
        grid-column: 1;
        grid-row: 1;
    }

    .remove-slot-button[b-62x1v85dkm] {
        grid-column: 3;
        grid-row: 1;
    }

    .back-link[b-62x1v85dkm],
    .secondary-button[b-62x1v85dkm],
    .primary-button[b-62x1v85dkm],
    .add-slot-button[b-62x1v85dkm] {
        width: 100%;
    }
}
