.damege-culc-page {
    --damege-culc-active: #d45454;
    --damege-culc-active-hover: #c44545;
}

.damege-culc-global-reset-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    box-sizing: border-box;
}

.damege-culc-global-reset-button {
    margin: 0;
    padding: 0.45rem 1.15rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.28);
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-global-reset-button:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

.damege-culc-global-reset-button:active {
    transform: scale(0.97);
}

.damege-culc-global-reset-button:focus-visible {
    outline: 2px solid #fca5a5;
    outline-offset: 2px;
}

.damege-culc-page .heading-base {
    margin-top: 0.1rem;
    margin-bottom: 1.25rem;
}

.damege-culc-swap-row {
    width: 100%;
    margin: 0 0 0.85rem;
    box-sizing: border-box;
}

.damege-culc-swap-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.28rem 0.75rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-swap-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.damege-culc-swap-button:active {
    transform: scale(0.99);
}

.damege-culc-swap-button:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.damege-culc-status-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.damege-culc-status-heading-row:first-child,
.damege-culc-status-heading-row:has(.form-subheading--first) {
    margin-top: 0;
}

.damege-culc-status-heading-row .form-subheading {
    margin-top: 0;
    margin-bottom: 0;
    flex: 1 1 auto;
}

.damege-culc-status-preset-button {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.35rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-status-preset-button:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.damege-culc-status-preset-button:active {
    transform: scale(0.97);
}

.damege-culc-status-preset-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* 初代ポケモン（赤・緑・青・黄）を薄くしたプリセット色 */
.damege-culc-status-preset-button[data-preset-step="a32"],
.damege-culc-status-preset-button[data-preset-step="h32"],
.damege-culc-status-preset-button[data-preset-step="semi"] {
    background: #e7f5e8;
    border-color: #9dcf9d;
    color: #2d6a32;
}

.damege-culc-status-preset-button[data-preset-step="a32"]:hover,
.damege-culc-status-preset-button[data-preset-step="h32"]:hover,
.damege-culc-status-preset-button[data-preset-step="semi"]:hover {
    background: #d5edd7;
    border-color: #7db87d;
}

.damege-culc-status-preset-button[data-preset-step="specialized"],
.damege-culc-status-preset-button[data-preset-step="max"] {
    background: #fde8e1;
    border-color: #f0b0a8;
    color: #b42318;
}

.damege-culc-status-preset-button[data-preset-step="specialized"]:hover,
.damege-culc-status-preset-button[data-preset-step="max"]:hover {
    background: #f9d6cc;
    border-color: #e08b82;
}

.damege-culc-status-preset-button[data-preset-step="minimum"],
.damege-culc-status-preset-button[data-preset-step="min"] {
    background: #e3eef8;
    border-color: #9dbfe8;
    color: #1d4e89;
}

.damege-culc-status-preset-button[data-preset-step="minimum"]:hover,
.damege-culc-status-preset-button[data-preset-step="min"]:hover {
    background: #d1e3f4;
    border-color: #7aa6d9;
}

.damege-culc-status-preset-button[data-preset-step="zero"] {
    background: #fff6c8;
    border-color: #e6d06a;
    color: #8a6d00;
}

.damege-culc-status-preset-button[data-preset-step="zero"]:hover {
    background: #ffef9a;
    border-color: #d4bc4a;
}

.damege-culc-page .form-content-section {
    width: 100%;
    overflow: visible;
}

.damege-culc-page .form-row {
    text-align: left;
}

.damege-culc-page .form-label-with-button {
    text-align: left;
}

.damege-culc-list-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
    box-sizing: border-box;
}

.damege-culc-list-buttons .damege-culc-list-button {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.damege-culc-page .js-inline-picker-input[readonly]:not(:placeholder-shown) {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #1a202c;
    font-weight: 600;
    cursor: default;
}

.damege-culc-suggest {
    width: 100%;
    margin-top: 0.5rem;
}

.damege-culc-suggest-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 0.1rem 0.15rem 0.35rem;
    scrollbar-width: thin;
}

.damege-culc-suggest-card {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background: #ffffff;
    color: #2d3748;
    font-size: 0.85rem;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.damege-culc-suggest-card:hover,
.damege-culc-suggest-card:focus-visible {
    border-color: #667eea;
    background: #edf2f7;
}

.damege-culc-suggest-card--pokemon-ability {
    color: #dc2626;
}

.damege-culc-suggest-empty {
    flex: 0 0 auto;
    padding: 0.55rem 0.85rem;
    color: #9ca3af;
    font-size: 0.85rem;
    white-space: nowrap;
}

.damege-culc-personality-row {
    margin-top: 0.25rem;
}

.damege-culc-personality-heading {
    display: block;
    margin-bottom: 0.5rem;
}

.damege-culc-personality-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
}

.damege-culc-personality-option {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.damege-culc-personality-options--4col {
    flex-wrap: wrap;
}

.damege-culc-personality-options--4col .damege-culc-personality-option {
    flex: 1 1 calc(50% - 0.2rem);
}

@media (min-width: 768px) {
    .damege-culc-personality-options--4col .damege-culc-personality-option {
        flex: 1 1 0;
    }
}

.damege-culc-personality-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.damege-culc-personality-option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.damege-culc-personality-option input:checked + .damege-culc-personality-option-label {
    background: var(--damege-culc-active);
    border-color: var(--damege-culc-active);
    color: #ffffff;
    font-weight: 700;
}

.damege-culc-personality-option.is-disabled {
    cursor: not-allowed;
}

.damege-culc-personality-option.is-disabled .damege-culc-personality-option-label {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.damege-culc-personality-option.is-disabled input:checked + .damege-culc-personality-option-label {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    font-weight: 500;
}

.damege-culc-personality-option input:focus-visible + .damege-culc-personality-option-label {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.damege-culc-slider-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.damege-culc-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.damege-culc-slider-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
}

.damege-culc-slider-value {
    font-size: 1rem;
    font-weight: 700;
    color: #4f46e5;
}

.damege-culc-slider-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.damege-culc-slider-track {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.damege-culc-slider {
    display: block;
    width: 100%;
    min-width: 0;
    height: 8px;
    margin: 0;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.damege-culc-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}

.damege-culc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -5px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

.damege-culc-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    border: none;
}

.damege-culc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

.damege-culc-slider-step-button {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    background: #ffffff;
    color: #3b82f6;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.damege-culc-slider-step-button:hover:not(:disabled) {
    background: #3b82f6;
    color: #ffffff;
}

.damege-culc-slider-step-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.damege-culc-move-power-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.damege-culc-move-power-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
}

.damege-culc-move-power-value {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.damege-culc-move-power-slider-wrap {
    margin-top: 0.35rem;
    margin-bottom: 0.15rem;
    width: 100%;
    box-sizing: border-box;
}

.damege-culc-move-power-slider-wrap[hidden] {
    display: none;
}

.damege-culc-move-power-slider-wrap .damege-culc-slider-row {
    margin: 0;
    width: 100%;
}

.damege-culc-move-power-slider-wrap .damege-culc-slider-controls {
    width: 100%;
}

.damege-culc-move-effect-row {
    margin-top: 0.55rem;
    margin-bottom: 0.15rem;
}

.damege-culc-move-detail-row {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.damege-culc-type-form-row {
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.damege-culc-type-form-row[hidden] {
    display: none;
}

.damege-culc-terapagos-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.damege-culc-form-switch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .damege-culc-form-switch-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.damege-culc-type-form-row .form-subheading {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.damege-culc-type-form-grid {
    margin-top: 0.35rem;
}

.damege-culc-terablast-type-row {
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.damege-culc-terablast-type-row[hidden] {
    display: none;
}

.damege-culc-terablast-type-row .form-subheading {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.damege-culc-terablast-category-row {
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.damege-culc-terablast-type-grid {
    margin-top: 0.35rem;
}

#damege-culc-terablast-type-grid-wrap[hidden] {
    display: none;
}

.damege-culc-move-times-wrap {
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.damege-culc-move-times-wrap[hidden] {
    display: none;
}

.damege-culc-move-times-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 1.5rem;
    width: 100%;
}

.damege-culc-move-times-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.damege-culc-move-times-col[hidden] {
    display: none;
}

.damege-culc-move-times-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    text-align: center;
}

.damege-culc-move-times-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.damege-culc-move-times-button {
    width: 1.85rem;
    height: 1.85rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    background: #ffffff;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-move-times-button:hover:not(:disabled) {
    background: #f3f4f6;
    color: #374151;
}

.damege-culc-move-times-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.damege-culc-move-times-button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.damege-culc-move-times-value {
    min-width: 1.5rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.damege-culc-move-times-multiscale {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.damege-culc-move-times-multiscale[hidden] {
    display: none;
}

.damege-culc-move-times-first-crit-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}

.damege-culc-move-times-first-crit-checkbox {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #2563eb;
}

.damege-culc-move-detail-open-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.7rem 1rem;
    border: 1px solid #93c5fd;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-move-detail-open-button:hover:not(:disabled) {
    background: #dbeafe;
    border-color: #60a5fa;
}

.damege-culc-move-detail-open-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.damege-culc-move-detail-open-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.damege-culc-move-detail-name {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.damege-culc-move-detail-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.damege-culc-move-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    box-sizing: border-box;
    text-align: center;
}

.damege-culc-move-detail-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    width: 100%;
}

.damege-culc-move-detail-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    min-height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.damege-culc-move-detail-refs {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.damege-culc-move-detail-ref {
    margin: 0;
    font-size: 0.9rem;
    color: #374151;
}

.damege-culc-move-detail-ref-label {
    font-weight: 600;
}

.damege-culc-move-detail-ref-value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.damege-culc-move-effect-row[hidden] {
    display: none;
}

.damege-culc-move-effect-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.35;
    color: #374151;
}

.damege-culc-move-effect-checkbox {
    flex: 0 0 auto;
    width: 0.9rem;
    height: 0.9rem;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
    accent-color: #2563eb;
}

.damege-culc-move-effect-text {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.damege-culc-quick-toggle-row {
    margin-top: 0.25rem;
}

.damege-culc-quick-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
}

.damege-culc-quick-toggles--rule .damege-culc-quick-toggle {
    flex: 1 1 calc(50% - 0.2rem);
}

@media (min-width: 768px) {
    .damege-culc-quick-toggles--rule .damege-culc-quick-toggle {
        flex: 1 1 0;
    }
}

.damege-culc-quick-toggles--single .damege-culc-quick-toggle {
    flex: 1 1 auto;
}

.damege-culc-quick-toggle {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-quick-toggle:hover {
    background: #f8fafc;
}

.damege-culc-quick-toggle[data-active="true"] {
    background: var(--damege-culc-active);
    border-color: var(--damege-culc-active);
    color: #ffffff;
    font-weight: 700;
}

.damege-culc-quick-toggle[data-active="true"]:hover {
    background: var(--damege-culc-active-hover);
    border-color: var(--damege-culc-active-hover);
}

.damege-culc-quick-toggle:disabled,
.damege-culc-quick-toggle:disabled:hover,
.damege-culc-quick-toggle:disabled[data-active="true"],
.damege-culc-quick-toggle:disabled[data-active="true"]:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    font-weight: 500;
    cursor: not-allowed;
    opacity: 1;
}

.damege-culc-type-effect-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-quick-toggles--rule .damege-culc-type-effect-button {
    flex: 1 1 calc(50% - 0.2rem);
}

@media (min-width: 768px) {
    .damege-culc-quick-toggles--rule .damege-culc-type-effect-button {
        flex: 1 1 0;
    }
}

.damege-culc-type-effect-button--soak {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.damege-culc-type-ops-accordion {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.damege-culc-type-ops-panel {
    padding: 0.85rem 0.9rem 0.95rem;
}

.damege-culc-type-ops-panel .damege-culc-quick-toggles {
    margin: 0;
}

.damege-culc-type-effect-button--magic-powder {
    background: #f3e8ff;
    border: 1px solid #d8b4fe;
    color: #6b21a8;
}

.damege-culc-type-effect-button--halloween {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
}

.damege-culc-type-effect-button--forest-curse {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.damege-culc-type-effect-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.damege-culc-type-effect-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.damege-culc-quick-toggle:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.damege-culc-count-list {
    gap: 0;
    padding: 0.35rem 0.85rem 0.55rem;
}

.damege-culc-count-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.35rem;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.damege-culc-count-row:last-child {
    border-bottom: none;
}

.damege-culc-count-row-label {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    text-align: left;
}

.damege-culc-count-row-desc {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.4;
    text-align: left;
}

.damege-culc-count-row-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.damege-culc-count-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.damege-culc-count-button {
    width: 1.85rem;
    height: 1.85rem;
    flex-shrink: 0;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    background: #ffffff;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.damege-culc-count-button:hover:not(:disabled) {
    background: #f3f4f6;
}

.damege-culc-count-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.damege-culc-count-button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.damege-culc-count-value {
    min-width: 1.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    font-variant-numeric: tabular-nums;
}
