.hdms-notify-wrap {
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.hdms-notify-btn {
    position: relative;
}

.hdms-notify-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

.hdms-notify-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    display: flex;
    flex-direction: column;
    width: min(360px, calc(100vw - 1.5rem));
    max-height: min(420px, calc(100vh - 6rem));
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    z-index: 2100;
}

.hdms-notify-dropdown-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    background: #fff;
}

.hdms-notify-dropdown-head strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.hdms-notify-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hdms-notify-empty {
    padding: 18px 14px;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

.hdms-notify-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    background: #fff;
    padding: 12px 14px;
    cursor: pointer;
    appearance: none;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
    line-height: 1.35;
    transition: background 0.15s ease;
}

.hdms-notify-item:last-child {
    border-bottom: 0;
}

.hdms-notify-item:hover,
.hdms-notify-item:focus-visible {
    background: #f8fafc;
    outline: none;
}

.hdms-notify-item-icon {
    flex-shrink: 0;
    color: #2563eb;
    font-size: 1.15rem;
    line-height: 1.2;
    margin-top: 1px;
}

.hdms-notify-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.hdms-notify-item-title {
    font-weight: 600;
    font-size: 0.84rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hdms-notify-item-msg {
    font-size: 0.8rem;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.hdms-notify-item-time {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.hdms-notify-permission {
    padding: 0 0.875rem 0.625rem;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.finance-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.finance-summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.finance-summary-card .label {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.finance-summary-card .value {
    font-size: 1.35rem;
    font-weight: 700;
}

.finance-summary-card.profit .value { color: #15803d; }
