/* ========================================
   hall.css - 客户管理大厅样式
   ======================================== */

/* 容器：垂直布局，撑满视口 */
.hall-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

/* ========================================
   顶部导航栏
   ======================================== */
.hall-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--hairline);
    background: var(--canvas);
    flex-shrink: 0;
}

.hall-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hall-logo {
    font-size: var(--text-title-lg);
}

.hall-title {
    font-size: var(--text-title-md);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.hall-subtitle {
    font-size: var(--text-caption);
    color: var(--text-secondary);
    margin-left: var(--space-sm);
    padding-left: var(--space-md);
    border-left: 1px solid var(--hairline);
}

.hall-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hall-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: var(--space-md);
    font-size: var(--text-body-md);
    pointer-events: none;
}

.search-input {
    width: 280px;
    padding-left: 36px;
    transition: width var(--transition-normal);
}

.search-input:focus {
    width: 340px;
}

/* ========================================
   客户列表主区域
   ======================================== */
.hall-content {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg) var(--space-xl);
}

.hall-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.hall-list-title {
    font-size: var(--text-title-sm);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.hall-list-count {
    font-size: var(--text-caption);
    color: var(--text-secondary);
}

/* ========================================
   客户列表（网格卡片模式）
   ======================================== */
.hall-user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-md);
}

/* 单个客户卡片 */
.hall-user-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hall-user-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.hall-user-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hall-user-name {
    font-size: var(--text-label-md);
    font-weight: 600;
    color: var(--ink);
}

.hall-user-persona {
    font-size: var(--text-small);
    color: var(--tag-text);
    background: var(--tag-bg);
    padding: 1px var(--space-sm);
    border-radius: var(--radius-pill);
    border: 1px solid var(--tag-border);
}

.hall-user-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: var(--text-caption);
    color: var(--text-secondary);
}

.hall-user-detail-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hall-user-detail-label {
    color: var(--muted);
    min-width: 64px;
}

/* 工作空间状态指示 */
.hall-ws-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-small);
    padding: 2px var(--space-sm);
    border-radius: var(--radius-pill);
    background: var(--tag-bg-green);
    color: var(--success);
}

/* 加载与空状态 */
.hall-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxl);
    color: var(--text-secondary);
}

.hall-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxxl);
    color: var(--text-secondary);
    gap: var(--space-md);
}

.hall-empty-icon {
    font-size: 48px;
    opacity: 0.3;
}

/* ========================================
   列表模式（表格视图）
   ======================================== */
.hall-user-list-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.hall-user-list-table .hall-user-card {
    display: table-row;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hall-user-list-table .hall-user-card:hover {
    background: var(--surface-soft);
    box-shadow: none;
    transform: none;
}

.hall-user-list-table .hall-user-card > * {
    display: table-cell;
    padding: var(--space-md);
    border-bottom: 1px solid var(--hairline);
    vertical-align: middle;
}

/* ========================================
   卡片网格模式（hall.js 渲染时使用的类名）
   ======================================== */
.hall-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.hall-card-info {
    flex: 1;
    min-width: 0;
}

.hall-card-tag-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.hall-confidence-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #facc15;
    color: #78350f;
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    flex-shrink: 0;
}

.hall-card-name {
    font-size: var(--text-label-md);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.hall-card-tag {
    display: inline-block;
    font-size: var(--text-small);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}
.hall-confidence-warn {
    color: #f59e0b;
    font-size: 13px;
    margin-left: 4px;
}
.hall-confidence-high {
    color: #16a34a;
    font-size: 12px;
    margin-left: 4px;
    cursor: help;
}
.hall-confidence-mid {
    color: #d97706;
    font-size: 12px;
    margin-left: 4px;
    cursor: help;
}
.hall-confidence-low {
    color: #9ca3af;
    font-size: 12px;
    margin-left: 4px;
    cursor: help;
}
.hall-card-secondary-tags {
    display: flex;
    gap: 4px;
    margin-top: 2px;
    flex-wrap: wrap;
}
.hall-secondary-tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
}

.hall-card-time {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

.hall-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

/* 卡片内头像+信息横向排列 */
.hall-user-list .hall-user-card {
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
}

/* 新建客户按钮 */
.hall-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hall-actions .btn-primary {
    white-space: nowrap;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}
.empty-state-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* 快速画像按钮 */
.hall-card-action-btn {
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    background: var(--canvas);
    color: var(--primary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}
.hall-card-action-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.hall-card-action-btn.disabled,
.hall-card-action-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* 卡片内勾选框 */
.hall-checkbox {
    display: flex; align-items: center; padding: 0 4px; cursor: pointer;
}
.hall-checkbox input[type=checkbox] {
    width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary);
}

/* 批量操作栏 */
.hall-action-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 20px; background: var(--primary); color: #fff;
    font-size: 13px;
}
.hall-action-bar .btn-sm {
    padding: 4px 12px; font-size: 12px; background: #fff; color: var(--primary); border: none; border-radius: 4px; cursor: pointer;
}

/* ========================================
   2026 visual refresh — customer management
   ======================================== */
.hall-container {
    height: 100vh;
    min-height: 0;
    overflow-y: auto;
    background:
        radial-gradient(circle at 95% 3%, rgba(92, 126, 255, 0.07), transparent 27%),
        #f7f9fc;
}

.hall-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 20px;
    width: auto;
    min-height: 0;
    margin: 20px 32px 0;
    padding: 21px 28px 18px;
    overflow: hidden;
    color: #17233d;
    background:
        radial-gradient(circle at 86% -20%, rgba(91, 130, 224, 0.17), transparent 37%),
        linear-gradient(135deg, #fbfdff 0%, #eff4ff 58%, #eaf2ff 100%);
    border: 1px solid #dbe5f3;
    border-radius: 21px;
    box-shadow: 0 11px 30px rgba(45, 69, 112, 0.08);
}

.hall-header::before,
.hall-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(71,104,174,0.10);
    border-radius: 50%;
}

.hall-header::before {
    width: 300px;
    height: 300px;
    top: -178px;
    right: 80px;
}

.hall-header::after {
    width: 150px;
    height: 150px;
    right: -54px;
    bottom: -86px;
}

.hall-header-copy,
.hall-create-btn,
.hall-stats {
    position: relative;
    z-index: 1;
}

.hall-header-copy {
    align-self: start;
}

.hall-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
    color: #5270ad;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hall-eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7cf1d1;
    box-shadow: 0 0 0 5px rgba(124, 241, 209, 0.10);
}

.hall-title {
    margin: 0;
    color: #17233d;
    font-size: clamp(26px, 2.5vw, 32px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.hall-subtitle {
    margin: 7px 0 0;
    color: #6f7f98;
    font-size: 12px;
    line-height: 1.6;
}

.hall-create-btn {
    align-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 18px 0 12px;
    color: #fff;
    background: #315fcc;
    border: 0;
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(49, 95, 204, 0.18);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}

.hall-create-btn:hover {
    transform: translateY(-2px);
    background: #254fab;
    box-shadow: 0 11px 22px rgba(49, 95, 204, 0.24);
}

.hall-create-btn-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #fff;
    background: rgba(255,255,255,.16);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.hall-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: end;
    width: min(600px, 70%);
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px solid #d8e2f0;
}

.hall-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 8px;
    padding-right: 24px;
}

.hall-stat + .hall-stat {
    padding-left: 24px;
    border-left: 1px solid #d8e2f0;
}

.hall-stat-label {
    grid-column: 1 / -1;
    margin-bottom: 7px;
    color: #8795aa;
    font-size: 11px;
}

.hall-stat strong {
    color: #233653;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hall-stat-unit {
    color: #7a899f;
    font-size: 11px;
}

.hall-content {
    width: auto;
    margin: 18px 32px 44px;
    padding: 0;
}

.hall-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.88);
    border: 1px solid #e2e8f2;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(30, 51, 95, 0.055);
    backdrop-filter: blur(12px);
}

.hall-list-header {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 0;
}

.hall-section-kicker {
    display: block;
    margin-bottom: 3px;
    color: #8b99b2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
}

.hall-list-title {
    margin: 0;
    color: #172036;
    font-size: 20px;
    font-weight: 720;
    line-height: 1.15;
}

.hall-list-count {
    margin-bottom: 1px;
    padding: 4px 9px;
    color: #60708f;
    background: #eef2f8;
    border-radius: 999px;
    font-size: 11px;
    white-space: nowrap;
}

.hall-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hall-search {
    display: flex;
    align-items: center;
    width: min(310px, 34vw);
    height: 40px;
    padding: 0 13px;
    background: #f6f8fb;
    border: 1px solid #e0e6ef;
    border-radius: 11px;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hall-search:focus-within {
    background: #fff;
    border-color: #7796ed;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.10);
}

.hall-search svg,
.hall-secondary-btn svg,
.hall-icon-btn svg,
.hall-card-action-btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hall-search svg {
    width: 17px;
    height: 17px;
    margin-right: 9px;
    color: #71809b;
}

.hall-search .search-input {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: #202a40;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 12px;
}

.hall-search .search-input::placeholder {
    color: #98a3b6;
}

.hall-secondary-btn,
.hall-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: #3d4a63;
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 11px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.hall-secondary-btn {
    gap: 8px;
    padding: 0 13px;
    white-space: nowrap;
}

.hall-secondary-btn svg,
.hall-icon-btn svg {
    width: 16px;
    height: 16px;
}

.hall-icon-btn {
    width: 40px;
    flex: 0 0 40px;
}

.hall-secondary-btn:hover,
.hall-icon-btn:hover {
    color: #315cc9;
    background: #f5f8ff;
    border-color: #b9c9f2;
}

.hall-action-bar {
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 14px;
    color: #3157bc;
    background: #eaf0ff;
    border: 1px solid #cfdbfc;
    border-radius: 12px;
    font-size: 12px;
}

.hall-action-bar .btn-sm {
    color: #fff;
    background: #315dcc;
    border-radius: 8px;
}

.hall-user-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hall-user-list .hall-user-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 126px;
    padding: 17px 18px 17px 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 17px;
    box-shadow: 0 7px 22px rgba(31, 49, 86, 0.045);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hall-user-list .hall-user-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--persona-color), #dfe6f2 70%);
    box-shadow: 0 14px 30px rgba(31, 49, 86, 0.10);
}

.hall-card-accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--persona-color);
    opacity: .9;
}

.hall-checkbox {
    padding: 0;
}

.hall-checkbox input[type=checkbox] {
    width: 15px;
    height: 15px;
}

.hall-card-avatar {
    width: 52px;
    height: 52px;
    color: var(--persona-color);
    background: color-mix(in srgb, var(--persona-color), white 88%);
    border: 1px solid color-mix(in srgb, var(--persona-color), white 72%);
    border-radius: 15px;
    font-size: 18px;
    font-weight: 750;
}

.hall-card-info {
    min-width: 0;
}

.hall-card-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hall-card-name {
    margin: 0;
    overflow: hidden;
    color: #172036;
    font-size: 15px;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hall-card-status {
    flex: 0 0 auto;
    padding: 3px 7px;
    color: #697790;
    background: #f0f3f8;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 650;
}

.hall-card-identity {
    margin-top: 4px;
    overflow: hidden;
    color: #9aa4b6;
    font-size: 9px;
    letter-spacing: .03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hall-card-tags {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    overflow: hidden;
}

.hall-card-tag,
.hall-secondary-tag {
    padding: 3px 8px;
    border: 0;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

.hall-card-tag {
    color: var(--persona-color);
    background: color-mix(in srgb, var(--persona-color), white 91%);
}

.hall-secondary-tag {
    color: #6c7890;
    background: #f1f4f8;
}

.hall-card-right {
    align-self: stretch;
    min-width: 112px;
    margin-left: 6px;
    justify-content: space-between;
    gap: 12px;
}

.hall-card-time {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #53617b;
    font-size: 10px;
    text-align: right;
}

.hall-card-time span {
    color: #a1aaba;
    font-size: 8px;
}

.hall-card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 34px;
    padding: 0 10px 0 12px;
    color: #fff;
    background: #172443;
    border: 0;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 650;
}

.hall-card-action-btn svg {
    width: 14px;
    height: 14px;
}

.hall-card-action-btn:hover {
    color: #fff;
    background: #315dcc;
}

.hall-card-action-btn.disabled,
.hall-card-action-btn:disabled {
    color: #79859a;
    background: #edf0f5;
    opacity: 1;
}

.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    padding: 48px 24px;
    color: #758199;
    background:
        radial-gradient(circle at 50% 25%, rgba(76, 112, 224, 0.07), transparent 32%),
        #fff;
    border: 1px dashed #d5deec;
    border-radius: 20px;
}

.empty-state-visual {
    position: relative;
    width: 96px;
    height: 82px;
    margin-bottom: 17px;
}

.empty-state-card {
    position: absolute;
    display: grid;
    place-items: center;
    width: 66px;
    height: 76px;
    border-radius: 15px;
}

.empty-state-card-back {
    top: 1px;
    left: 13px;
    background: #dce6ff;
    transform: rotate(-9deg);
}

.empty-state-card-front {
    top: 5px;
    left: 22px;
    color: #4369d8;
    background: #fff;
    border: 1px solid #d4dff8;
    box-shadow: 0 12px 24px rgba(55, 83, 151, .13);
}

.empty-state-card-front svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.empty-state h3 {
    margin: 0;
    color: #172036;
    font-size: 17px;
}

.empty-state p {
    max-width: 420px;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.7;
}

.empty-state-action {
    margin-top: 18px;
    padding: 9px 14px;
    color: #315dcc;
    background: #eef3ff;
    border: 1px solid #d7e2ff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.empty-state-action span {
    margin-left: 5px;
}

.hall-loading {
    grid-column: 1 / -1;
    padding: 80px 24px;
    color: #7b879c;
    background: #fff;
    border: 1px solid #e2e8f1;
    border-radius: 18px;
}

#new-client-overlay {
    background: rgba(8, 17, 36, .54);
    backdrop-filter: blur(5px);
}

.hall-create-dialog {
    width: 440px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 19px;
    box-shadow: 0 30px 70px rgba(8, 21, 49, .28);
}

.hall-create-dialog .modal-header {
    align-items: flex-start;
    padding: 21px 22px 18px;
    background: linear-gradient(135deg, #f5f8ff, #eef4ff);
    border-bottom: 1px solid #e1e7f1;
}

.hall-create-dialog-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hall-create-dialog-title > span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #fff;
    background: #4169dc;
    border-radius: 10px;
    font-size: 22px;
}

.hall-create-dialog-title h3 {
    margin: 0;
    color: #172036;
    font-size: 16px;
}

.hall-create-dialog-title p {
    margin: 4px 0 0;
    color: #7b879b;
    font-size: 10px;
}

.hall-create-dialog .modal-close {
    width: 30px;
    height: 30px;
    color: #7d899d;
    background: rgba(255,255,255,.72);
    border-radius: 9px;
}

.hall-create-dialog .modal-body {
    padding: 20px 22px 5px;
}

.hall-create-field-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
    color: #344057;
    font-size: 11px;
    font-weight: 700;
}

.hall-create-field-label > span {
    color: #dc5f64;
}

.hall-create-field-label small {
    color: #9aa4b4;
    font-size: 9px;
    font-weight: 500;
}

.hall-create-dialog .hall-create-field {
    width: 100%;
    height: 42px;
    margin-bottom: 17px;
    padding: 0 12px;
    color: #263249;
    background: #f7f9fb;
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    outline: 0;
    font-size: 11px;
}

.hall-create-dialog .hall-create-field:focus {
    background: #fff;
    border-color: #7795eb;
    box-shadow: 0 0 0 3px rgba(65,105,225,.09);
}

.hall-create-error {
    margin: -7px 0 10px;
    color: #c9444d;
    font-size: 10px;
}

.hall-create-dialog .modal-footer {
    gap: 8px;
    padding: 13px 22px 18px;
    border-top: 0;
}

.hall-dialog-secondary,
.hall-dialog-primary {
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.hall-dialog-secondary {
    color: #57647a;
    background: #fff;
    border: 1px solid #dfe5ed;
}

.hall-dialog-primary {
    color: #fff;
    background: #172443;
    border: 1px solid #172443;
    box-shadow: 0 8px 16px rgba(23,36,67,.16);
}

.hall-dialog-primary:hover {
    background: #315dcc;
    border-color: #315dcc;
}

.hall-dialog-primary:disabled {
    opacity: .55;
    cursor: wait;
}

@media (max-width: 1040px) {
    .hall-user-list {
        grid-template-columns: 1fr;
    }

    .hall-stats {
        width: 86%;
    }
}

@media (max-width: 760px) {
    .hall-header {
        grid-template-columns: 1fr;
        min-height: auto;
        margin: 16px 16px 0;
        padding: 24px;
    }

    .hall-create-btn {
        position: absolute;
        top: 22px;
        right: 22px;
    }

    .hall-stats {
        width: 100%;
        margin-top: 20px;
    }

    .hall-content {
        margin: 14px 16px 32px;
    }

    .hall-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .hall-actions {
        width: 100%;
    }

    .hall-search {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 560px) {
    .hall-create-btn {
        position: static;
        width: max-content;
    }

    .hall-stats {
        gap: 0;
    }

    .hall-stat,
    .hall-stat + .hall-stat {
        padding: 0 10px;
    }

    .hall-stat:first-child {
        padding-left: 0;
    }

    .hall-stat strong {
        font-size: 21px;
    }

    .hall-actions {
        flex-wrap: wrap;
    }

    .hall-search {
        flex-basis: 100%;
    }

    .hall-user-list .hall-user-card {
        grid-template-columns: auto 46px minmax(0, 1fr);
    }

    .hall-card-right {
        grid-column: 2 / -1;
        flex-direction: row;
        align-items: center;
        min-width: 0;
        margin: 0;
    }
}
