.wiz-wh-wrap {
    padding: 16px;
    display: flex;
    justify-content: center;
}

.wiz-wh-card {
    max-width: 1120px;
    width: 100%;
}

.wiz-wh-sub {
    text-align: center;
    color: #555;
    font-size: 15px;
    margin: 0;
    line-height: 1.35;
}

.wiz-wh-on-duty {
    font-weight: 600;
    font-size: 17px;
    color: #222;
    margin-top: -4px;
}

.wiz-wh-duty-week {
    margin-bottom: 20px;
    margin-top: 4px;
}

.wiz-wh-help-lead {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    margin: 0 0 10px;
    text-align: center;
}

.wiz-wh-not {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wiz-wh-help {
    font-size: 14px;
    color: #444;
    line-height: 1.45;
    margin: 0 0 20px;
    text-align: center;
}

.wiz-wh-week {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    align-items: stretch;
}

@media (max-width: 820px) {
    .wiz-wh-week {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.wiz-wh-day-col {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #f7f7f7;
    overflow: hidden;
}

.wiz-wh-col-head {
    text-align: center;
    padding: 12px 8px 10px;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}

.wiz-wh-col-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #222;
}

.wiz-wh-col-date {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

.wiz-wh-col-body {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wiz-wh-col-empty {
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 8px 4px 4px;
    line-height: 1.35;
}

/* Saved slot — compact */
.wiz-wh-slot {
    padding: 8px 8px 6px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    font-size: 12px;
    line-height: 1.35;
}

.wiz-wh-slot-times {
    color: #333;
}

.wiz-wh-slot-k {
    font-weight: 600;
    color: #444;
}

.wiz-wh-slot-note {
    margin-top: 4px;
    color: #666;
    font-style: italic;
    word-break: break-word;
}

.wiz-wh-slot-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
}

/* Edit / create form */
.wiz-wh-block-form {
    padding: 10px 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wiz-wh-field-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.wiz-wh-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.wiz-wh-time-select {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 6px 8px;
}

.wiz-wh-note {
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    padding: 6px 8px;
    margin-bottom: 8px;
}

.wiz-wh-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.wiz-wh-btn-text {
    font-size: 13px;
    padding: 4px 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: underline;
    color: #226;
}

.wiz-wh-btn-text:hover {
    color: #000;
}

.wiz-wh-btn-save {
    font-weight: 600;
    color: #1a5c1a;
}

.wiz-wh-btn-danger {
    color: #a33;
}

.wiz-wh-add {
    font-size: 13px;
    padding: 8px 10px;
    margin: 0 8px 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    width: calc(100% - 16px);
}

.wiz-wh-add:hover:not(:disabled) {
    background: #f3f3f3;
}

.wiz-wh-add:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wiz-wh-blocked-notice {
    font-size: 20px;
    font-weight: 700;
    color: #c62828;
    line-height: 1.35;
    margin: 0 0 20px;
    text-align: center;
}

.wiz-wh-save-row {
    text-align: center;
}
