/* ============================================================
   warehouse.css — Item warehouse page styles
   Extends calendar.css design system
   ============================================================ */

/* ── Page layout ── */
.wh-page {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

.wh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 0;
    flex: 1;
}

/* ── Tab switcher ── */
.wh-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.wh-tab {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wh-tab:hover:not(:disabled) {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.85);
}

.wh-tab--active {
    background: rgba(255,255,255,0.09) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

.wh-tab:disabled {
    cursor: default;
}

/* ── Filter bar ── */
.wh-filters {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wh-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.wh-search-wrap svg {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,0.3);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

.wh-search-wrap input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.wh-search-wrap input::placeholder {
    color: rgba(255,255,255,0.25);
}

.wh-search-wrap input:focus {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.07);
}

.wh-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wh-select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 9px 32px 9px 12px;
    background: rgba(255,255,255,0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 9px;
    color: rgba(255,255,255,0.7);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.wh-select:focus,
.wh-select:hover {
    border-color: rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.07);
}

.wh-select option {
    background: #1a1a1a;
    color: #eee;
}

/* ── Active filter chips ── */
.wh-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 0;
}

.wh-active-filters:empty {
    display: none;
}

.wh-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.wh-chip__remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}

.wh-chip__remove:hover {
    color: rgba(255,255,255,0.9);
}

/* ── Item grid ── */
.wh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

/* ── Section heading (item type group) ── */
.wh-section-title {
    grid-column: 1 / -1;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 8px 0 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-top: 8px;
}

/* ── Empty state ── */
.wh-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: rgba(255,255,255,0.3);
    font-family: 'Inter', sans-serif;
}

.wh-empty__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.wh-empty__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.5);
}

.wh-empty__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.3);
}

/* ── Item card ── */
.wh-card {
    align-self: start;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    animation: calCardIn 0.35s ease both;
    display: flex;
    flex-direction: column;
}

.wh-card:hover {
    border-color: rgba(255,255,255,0.13);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

/* Rarity border accents */
.wh-card--обычный       { --rarity-color: rgba(255,255,255,0.55); }
.wh-card--необычный     { --rarity-color: rgba(60,220,100,0.9);  border-color: rgba(30,200,90,0.2); }
.wh-card--редкий        { --rarity-color: rgba(100,160,255,0.9); border-color: rgba(60,130,255,0.25); }
.wh-card--very-rare     { --rarity-color: rgba(190,120,255,0.9); border-color: rgba(160,80,240,0.25); }
.wh-card--легендарный   { --rarity-color: rgba(255,185,50,0.95); border-color: rgba(255,165,0,0.3);  box-shadow: 0 0 0 1px rgba(255,165,0,0.08); }
.wh-card--артефакт      { --rarity-color: rgba(255,100,100,0.95);border-color: rgba(255,60,60,0.3);  box-shadow: 0 0 0 1px rgba(255,60,60,0.07); }
.wh-card--без-редкости  { --rarity-color: rgba(255,255,255,0.4); }

/* ── Card header ── */
.wh-card__header {
    display: flex;
    flex-direction: row;       /* горизонтально — иконка слева, название справа */
    align-items: center;       /* название по центру иконки по вертикали */
    gap: 16px;
    padding: 18px 20px 14px;
    cursor: default;
    padding-bottom: 0;
}

.wh-card__icon-wrap {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rarity-color, rgba(255,255,255,0.08));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wh-card__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.wh-card__info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.wh-card__name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

/* ── Qualities tags ── */
.wh-card__qualities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px 14px;
    margin-top: 10px;
}

.wh-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Rarity tags */
.wh-tag--rarity-обычный    { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.1); }
.wh-tag--rarity-необычный  { background: rgba(30,200,90,0.1);   color: rgba(60,220,100,0.9);  border: 1px solid rgba(30,200,90,0.2); }
.wh-tag--rarity-редкий     { background: rgba(60,130,255,0.1);  color: rgba(100,160,255,0.9); border: 1px solid rgba(60,130,255,0.2); }
.wh-tag--rarity-very-rare  { background: rgba(160,80,240,0.1);  color: rgba(190,120,255,0.9); border: 1px solid rgba(160,80,240,0.2); }
.wh-tag--rarity-легендарный{ background: rgba(255,165,0,0.1);   color: rgba(255,185,50,0.95); border: 1px solid rgba(255,165,0,0.25); }
.wh-tag--rarity-артефакт   { background: rgba(255,60,60,0.1);   color: rgba(255,100,100,0.95);border: 1px solid rgba(255,60,60,0.2); }
.wh-tag--rarity-без-редкости{ background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.07); }

/* Attunement tag */
.wh-tag--attunement {
    background: rgba(255,200,50,0.1);
    color: rgba(255,210,80,0.9);
    border: 1px solid rgba(255,200,50,0.2);
}

/* Quality data tags */
.wh-tag--quality {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Subtype tag */
.wh-tag--subtype {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.07);
}

/* Stack tag */
.wh-tag--stack {
    background: rgba(50,200,200,0.08);
    color: rgba(80,220,220,0.8);
    border: 1px solid rgba(50,200,200,0.15);
}

/* ── Toggle button ── */
.cal-card__toggle-btn {
    width: 100%;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: rgba(255,255,255,0.3);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    margin-top: auto;
}

.cal-card__toggle-btn:hover {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.7);
}

.cal-card__toggle-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: transform 0.25s ease;
}

.wh-card.expanded .cal-card__toggle-btn svg {
    transform: rotate(180deg);
}

/* ── Expanded body ── */
.wh-card__body {
    display: none;
    padding: 16px 20px 4px;
    border-top: 1px solid rgba(255,255,255,0.06);
    animation: calBodyIn 0.25s ease both;
}

.wh-card.expanded .wh-card__body {
    display: block;
}

.wh-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    text-align: justify;          /* выравнивание по ширине */
    white-space: pre-wrap;        /* учитывать табуляцию и переносы строк */
    word-break: break-word;       /* не вылезать за рамки карточки */
}

/* Owner block */
.wh-card__owner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.wh-card__owner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,0.08);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.wh-card__owner-info {
    flex: 1;
    min-width: 0;
}

.wh-card__owner-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 2px;
}

.wh-card__owner-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.wh-card__owner-details {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

/* ── Card actions ── */
.wh-card__actions {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.wh-btn {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.wh-btn--take {
    background: rgba(255,255,255,0.9);
    color: #111;
}

.wh-btn--take:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255,255,255,0.12);
}

.wh-btn--edit {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.wh-btn--edit:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
}

/* ── Modal body ── */
.wh-modal-body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    padding: 4px 0 16px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .wh-filter-row {
        flex-direction: column;
    }

    .wh-select {
        width: 100%;
    }

    .wh-grid {
        grid-template-columns: 1fr;
    }

    .wh-tabs {
        flex-direction: column;
    }
}



/* ════════════════════════════════════════════════
   warehouse.css — additions v2
   (append after existing warehouse.css content)
════════════════════════════════════════════════ */

/* ── Section visibility ── */
.wh-section[hidden] { display: none !important; }

/* ── Disabled tab style ── */
.wh-tab--disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

/* ── Items table ── */
.wh-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.wh-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}
.wh-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    white-space: nowrap;
}
.wh-table td {
    padding: 11px 14px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.wh-table tr:last-child td { border-bottom: none; }
.wh-table tr:hover td { background: rgba(255,255,255,0.03); }
.wh-tbl-icon {
    width: 32px; height: 32px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    padding: 3px;
}
.wh-tbl-name {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Add banner ── */
.cal-add-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.cal-add-banner__text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.cal-add-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: rgba(255,255,255,0.9);
    color: #111;
    border: none;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.cal-add-banner__btn:hover {
    background: #fff;
    transform: translateY(-1px);
}
.cal-add-banner__btn svg {
    stroke: #111;
}

/* ── Form popup size ── */
.wh-form-popup {
    max-width: 620px !important;
    width: 100% !important;
}

/* ── Extra fields block ── */
.wh-extra-fields {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 16px 18px 10px;
    margin-bottom: 14px;
}
.wh-extra-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 12px;
}

/* ── Checkbox group ── */
.wh-checkgroup {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

/* ── Required asterisk ── */
.wh-req {
    color: rgba(255,100,100,0.7);
    font-size: 12px;
    margin-left: 2px;
}

/* ── Form message ── */
.wh-form-msg {
    padding: 10px 14px;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-bottom: 14px;
}
.wh-form-msg--success {
    background: rgba(50,200,90,0.12);
    border: 1px solid rgba(50,200,90,0.25);
    color: rgba(80,220,110,0.9);
}
.wh-form-msg--error {
    background: rgba(255,60,60,0.1);
    border: 1px solid rgba(255,60,60,0.25);
    color: rgba(255,110,110,0.9);
}

/* ── Desc empty state ── */
.wh-card__desc--empty {
    color: rgba(255,255,255,0.2) !important;
    font-style: italic;
}

/* ── Responsive table ── */
@media (max-width: 640px) {
    .cal-add-banner { flex-direction: column; align-items: flex-start; }
}

/* ── Icon Picker ── */
.wh-icon-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wh-icon-picker__preview {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  min-width: 140px;
}

.wh-icon-picker__preview img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
}

.wh-icon-picker__preview span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Модалка */
.wh-icon-modal {
  max-width: 640px;
  width: 100%;
}

.wh-icon-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
}

.wh-icon-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background: var(--color-surface-offset);
  cursor: pointer;
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive);
}

.wh-icon-option:hover {
  background: var(--color-surface-dynamic);
  border-color: var(--color-border);
}

.wh-icon-option--selected {
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}

.wh-icon-option img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.wh-icon-option span {
  font-size: 10px;
  color: whitesmoke;
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ════════════════════════════════════
   Items table toolbar (search + sort)
════════════════════════════════════ */
.wh-tbl-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.wh-tbl-search-wrap {
    flex: 1;
    min-width: 200px;
}

/* Кликабельные строки таблицы */
.wh-tbl-row--clickable {
    cursor: pointer;
    transition: background 0.15s ease;
}
.wh-tbl-row--clickable:hover td {
    background: rgba(255,255,255,0.06) !important;
}
.wh-tbl-row--clickable td:first-child {
    border-left: 2px solid transparent;
    transition: border-color 0.15s ease;
}
.wh-tbl-row--clickable:hover td:first-child {
    border-left-color: rgba(255,255,255,0.25);
}

/* ════════════════════════════════════
   Edit popup — icon preview row
════════════════════════════════════ */
.wh-edit-icon-row {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.wh-edit-icon-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px;
}


/* ============================================================
   ДОБАВИТЬ В КОНЕЦ warehouse.css
   ============================================================ */

/* Полоска прочности */
.wh-durability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.wh-durability__track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.wh-durability__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.wh-durability__label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Сломанный предмет — вся карточка серая */
.wh-card--broken {
  filter: grayscale(1);
  opacity: 0.55;
  pointer-events: none; /* блокируем все клики на карточке */
}

/* Разрешаем hover-стили видеть состояние, но не взаимодействовать */
.wh-card--broken .wh-btn--take {
  cursor: not-allowed;
  background: rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.3) !important;
  pointer-events: none;
}

/* Кнопка "Взять" заблокирована */
.wh-btn--take:disabled {
  cursor: not-allowed;
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.25) !important;
  transform: none !important;
  box-shadow: none !important;
}

.wh-slot-pips        { display:flex; gap:4px; margin-top:6px; }
.wh-slot-pip         { width:28px; height:10px; border-radius:3px; }
.wh-slot-pip--free   { background: rgba(60,220,100,0.5); border:1px solid rgba(60,220,100,0.8); }
.wh-slot-pip--used   { background: rgba(120,120,120,0.3); border:1px solid rgba(120,120,120,0.5); }
.wh-take-warn        { color:var(--color-error,#c00); font-size:.9em; margin-top:8px; }
.wh-take-hint        { color:var(--color-text-muted); font-size:.85em; margin-top:4px; }
.wh-take-count-row   { display:flex; align-items:center; gap:8px; margin-top:12px; }
.wh-take-count-input { width:70px; padding:4px 8px; border:1px solid var(--color-border); border-radius:var(--radius-sm); }
.wh-take-dur-row     { display:flex; align-items:center; gap:8px; margin:3px 0; font-size:.85em; }
.wh-take-dur-bar-wrap{ flex:1; height:6px; background:rgba(255,255,255,0.1); border-radius:3px; overflow:hidden; }
.wh-take-dur-bar     { height:100%; border-radius:3px; transition:width .3s; }

.wh-btn--take:disabled {
    cursor: not-allowed;
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.25) !important;
    transform: none !important;
    box-shadow: none !important;
}
