.hw-class-picker { position: relative; min-width: 0; }
.hw-class-picker-trigger { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.hw-class-picker-trigger:focus-visible, .hw-class-picker-option:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; }
.hw-class-picker-chevron { width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.hw-class-picker-trigger:hover { border-color: var(--primary); }
.hw-class-picker-dialog { width: min(820px, calc(100vw - 48px)); max-width: none; max-height: min(680px, calc(100dvh - 48px)); margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-modal); }
.hw-class-picker-dialog::backdrop { background: rgb(15 23 42 / 48%); backdrop-filter: blur(2px); }
.hw-class-picker-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); background: var(--surface); }
.hw-class-picker-dialog-head h2 { margin: 0; color: var(--text); font-size: 18px; }
.hw-class-picker-close { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-secondary); font-size: 13px; font-weight: 650; cursor: pointer; }
.hw-class-picker-close:hover { background: var(--bg); }
.hw-class-picker-close:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; }
.hw-class-picker-dialog-body { padding: 16px 22px 20px; }
.hw-app-notice { width: min(440px, calc(100vw - 32px)); }
.hw-app-notice .hw-class-picker-dialog-body p { margin: 0 0 20px; line-height: 1.65; }
.hw-app-notice-actions { display: flex; justify-content: flex-end; }
.hw-class-picker-table-wrap { overflow: visible; }
.hw-class-picker-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: separate; border-spacing: 4px; }
.hw-class-picker-table th { padding: 4px; color: var(--text-muted); font-size: 11px; font-weight: 700; text-align: center; white-space: nowrap; }
.hw-class-picker-table th[scope="row"] { min-width: 44px; text-align: left; }
.hw-class-picker-table td { min-width: 0; padding: 0; text-align: center; }
.hw-class-picker-option { width: 100%; min-height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 5px 3px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); cursor: pointer; }
.hw-class-picker-option:hover:not(:disabled), .hw-class-picker-option.is-selected { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.hw-class-picker-option strong { font-size: 14px; line-height: 1.15; }
.hw-class-picker-option small { color: var(--text-muted); font-size: 9px; line-height: 1.2; white-space: nowrap; }
.hw-class-picker-option:disabled { border-style: dashed; background: #f8fafc; color: #98a2b3; cursor: not-allowed; }
.hw-class-picker-option:disabled small { color: #98a2b3; }
.hw-class-picker-option.is-readonly { cursor: default; }
.hw-class-picker-option.is-readonly:hover { border-color: var(--border); background: var(--surface); color: var(--text); }
.hw-class-summary-grid { margin-top: 12px; }
.hw-class-picker-empty { color: var(--text-muted); font-size: 12px; }
.hw-class-picker-note { margin: 8px 0 0; color: var(--text-muted); font-size: 11px; }
@media (max-width: 600px) { .hw-class-picker-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: var(--radius-md); } .hw-class-picker-dialog-head { padding: 14px 16px; } .hw-class-picker-dialog-body { padding: 10px 8px 14px; } .hw-class-picker-table { border-spacing: 2px; } .hw-class-picker-table th { padding: 2px; font-size: 10px; } .hw-class-picker-table th[scope="row"] { min-width: 38px; } .hw-class-picker-option { min-height: 44px; padding: 3px 1px; } .hw-class-picker-option strong { font-size: 12px; } .hw-class-picker-option small { font-size: 8px; white-space: normal; } .hw-class-picker-note { font-size: 10px; } }
