.jwsp-calendar { margin: 24px 0; padding: clamp(12px, 3vw, 24px); background: #fff; border: 1px solid #dce2e7; border-radius: 12px; color: #243244; }
.jwsp-calendar-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jwsp-calendar-nav h2 { margin: 0; }
.jwsp-calendar-scroll, .jwsp-work-scroll { overflow-x: auto; }
.jwsp-calendar-grid { width: 100%; table-layout: fixed; border-collapse: collapse; min-width: 560px; }
.jwsp-calendar-grid th, .jwsp-calendar-grid td { border: 1px solid #dce2e7; padding: 8px; vertical-align: top; text-align: left; }
.jwsp-calendar-grid td { height: 86px; }
.jwsp-calendar-grid th { background: #f5f7fa; }
.jwsp-calendar-grid .is-absent { background: #fff3d6; }
.jwsp-calendar-grid .is-today { outline: 2px solid #357f1c; outline-offset: -3px; }
.jwsp-calendar-grid .is-empty { background: #f5f7fa; }
.jwsp-calendar-event { display: block; margin-top: 6px; color: #704a06; font-size: 12px; overflow-wrap: anywhere; }
.jwsp-absence-entry { padding: 16px 0; border-bottom: 1px solid #dce2e7; }
.jwsp-absence-entry h3 { margin: 0; }
.jwsp-absence-entry p { white-space: normal; overflow-wrap: anywhere; }
.jwsp-inline { display: inline-block; margin-left: 8px; }
.jwsp-planning-form, .jwsp-work-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
.jwsp-planning-form label, .jwsp-work-filters label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; }
.jwsp-planning-form input, .jwsp-planning-form textarea, .jwsp-work-filters input, .jwsp-work-filters select { max-width: 100%; font-weight: 400; }
.jwsp-work-table { min-width: 850px; }
.jwsp-work-table td { vertical-align: top; padding: 14px; overflow-wrap: anywhere; }
.jwsp-work-table td:nth-child(1) { width: 20%; }
.jwsp-work-table td:nth-child(2) { width: 45%; }
.jwsp-work-table details { margin-top: 10px; }
.jwsp-work-table summary { cursor: pointer; color: #135e96; }
.jwsp-work-pagination { margin-top: 18px; }
.jwsp-calendar-block { display: block; margin-top: 6px; color: #9b2020; font-size: 12px; overflow-wrap: anywhere; }
.jwsp-express-block-option { max-width: 460px; }
.jwsp-express-block-option small { font-weight: 400; }
.jwsp-target-form { display: grid; gap: 8px; margin: 12px 0; }
.jwsp-target-form label { display: grid; gap: 4px; }
.jwsp-target-form input, .jwsp-target-form select { width: 100%; min-width: 0; }
.jwsp-saved-views { padding: 16px; background: white; border: 1px solid #dce2e7; border-radius: 8px; margin: 16px 0; }
.jwsp-saved-views form { display: inline-flex; align-items: end; gap: 8px; margin: 4px 12px 4px 0; flex-wrap: wrap; }
.jwsp-review-links { display: flex; flex-wrap: wrap; gap: 10px; flex-basis: 100%; }
.jwsp-review-links p { flex-basis: 100%; }
.jwsp .jwsp-draft-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: transparent; border: 0; border-bottom: 1px solid #e2e7df; border-radius: 0; padding: 0 0 12px; margin: 0 0 22px; color: #596455; font-size: 13px; }
.jwsp .jwsp-draft-bar > p { flex: 1 1 240px; margin: 0; font-size: 13px; }
.jwsp .jwsp-draft-bar details { font-size: 13px; }
.jwsp .jwsp-draft-bar details[open] { flex: 1 1 100%; }
.jwsp .jwsp-draft-bar details p { max-width: 650px; margin: 10px 0; font-size: 13px; }
.jwsp .jwsp-draft-bar summary { color: #46523f; cursor: pointer; font-weight: 500; }
.jwsp .jwsp-draft-bar button { font: inherit; font-size: 13px; font-weight: 600; color: #356723; background: #fff; border: 1px solid #cdd7c8; border-radius: 6px; box-shadow: none; padding: 5px 10px; min-height: 30px; cursor: pointer; }
.jwsp .jwsp-draft-bar button[hidden] { display: none; }
.jwsp .jwsp-draft-bar.is-error { color: #a12525; border-bottom-color: #d9a3a3; }
.jwsp .jwsp-date-heading h2 { font-size: 22px; margin: 0 0 5px; }
.jwsp .jwsp-date-heading p { margin: 0 0 16px; color: var(--jwsp-muted, #596455); }
.jwsp .jwsp-finish-compact { margin-top: 24px; padding-top: 22px; }
.jwsp .jwsp-finish-compact > h2 { font-size: 22px; margin: 0 0 14px; }
.jwsp .jwsp-finish-compact .jwsp-turnaround { margin: 0 0 10px; }
.jwsp .jwsp-finish-price-note { font-size: 12px; color: #596455; margin: 8px 0 14px; line-height: 1.5; }
.jwsp .jwsp-finish-info, .jwsp .jwsp-finish-attachments { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #e2e7df; }
.jwsp .jwsp-finish-info > summary, .jwsp .jwsp-finish-attachments > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #46523f; }
.jwsp .jwsp-finish-attachments > summary span { font-weight: 400; color: #697364; }
.jwsp .jwsp-finish-info > div { margin-top: 14px; font-size: 14px; }
.jwsp .jwsp-finish-info > div > p { font-size: 14px; }
.jwsp .jwsp-finish-attachments > label { margin: 12px 0 0; }
.jwsp .jwsp-finish-compact > .jwsp-check { margin-top: 20px; }
.jwsp .jwsp-turnaround__options input:disabled + span { background: #f4f4f2; opacity: .65; }
.jwsp .jwsp-date-empty h2 { font-size: 22px; }
.jwsp .jwsp-date-extra > summary { cursor: pointer; font-size: 13px; color: #596455; }
.jwsp .jwsp-date-extra > label { margin-top: 8px; }
.jwsp .jwsp-wizard [hidden] { display: none !important; }
.jwsp .jwsp-wizard-progress { display: flex; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.jwsp .jwsp-wizard-progress button { flex: 1; font: inherit; font-size: 13px; font-weight: 600; padding: 10px 8px; border: 1px solid #dce3d8; border-radius: 8px; background: #fff; color: #50614a; cursor: pointer; box-shadow: none; }
.jwsp .jwsp-wizard-progress button[aria-current="step"] { color: #286518; background: #edf4e9; border-color: #43852e; }
.jwsp .jwsp-wizard-progress button:disabled { opacity: .55; cursor: default; }
.jwsp .jwsp-wizard-count { color: #596455; font-size: 13px; margin: 0 0 24px; }
.jwsp .jwsp-wizard [data-jwsp-step] { scroll-margin-top: 24px; }
.jwsp .jwsp-wizard [data-jwsp-step]:focus { outline: none; }
.jwsp .jwsp-wizard .jwsp-builder-step__head > span { display: none; }
.jwsp .jwsp-wizard .jwsp-builder-step:first-child, .jwsp .jwsp-wizard > .jwsp-builder-step, .jwsp .jwsp-wizard .jwsp-request-finish { margin-top: 0; padding-top: 0; border-top: 0; }
.jwsp .jwsp-wizard-controls { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e2e7df; padding-top: 20px; margin-top: 24px; }
.jwsp .jwsp-wizard-controls [data-jwsp-next] { margin-left: auto; }
.jwsp .jwsp-wizard button:focus-visible { outline: 3px solid #43852e; outline-offset: 3px; }
.jwsp .jwsp-review-card { border: 1px solid #dce3d8; border-radius: 10px; padding: 16px; margin: 12px 0; overflow-wrap: anywhere; }
.jwsp .jwsp-review-card h3 { font-size: 16px; line-height: 1.5; margin: 0 0 6px; }
.jwsp .jwsp-review-card > p { font-size: 14px; margin: 8px 0; }
.jwsp .jwsp-review-card > button { background: transparent; border: 0; padding: 2px 0; color: #356723; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; box-shadow: none; }
.jwsp .jwsp-review-card details { margin-top: 12px; }
.jwsp .jwsp-review-card summary { cursor: pointer; font-size: 14px; }
.jwsp .jwsp-review-card dl { margin: 12px 0 0; font-size: 14px; }
.jwsp .jwsp-review-card dt { font-weight: 600; margin-top: 10px; }
.jwsp .jwsp-review-card dd { margin: 3px 0 0; white-space: pre-wrap; }
@media (max-width: 600px) {
    .jwsp .jwsp-wizard-progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jwsp .jwsp-wizard-controls .jwsp-button { width: auto; min-width: 0; }
    .jwsp .jwsp-draft-bar { gap: 10px; }
    .jwsp .jwsp-draft-bar > p { flex-basis: 100%; }
    .jwsp .jwsp-finish-compact > h2, .jwsp .jwsp-date-heading h2 { font-size: 20px; }
}
