.marklane-accordion {
    margin-top: 16px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    background: #fff;
    border-left: 4px solid #72aee6;
}

.marklane-accordion > summary {
    display: block;
    margin: 0;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #1d2327;
    background: #fff;
}

.marklane-accordion > summary:hover {
    background: #f6f7f7;
}

.marklane-accordion > summary:focus {
    outline: 2px solid #2271b1;
    outline-offset: -2px;
}

.marklane-accordion > summary::-webkit-details-marker {
    display: none;
}

.marklane-accordion > summary::before {
    content: "\25B6";
    display: inline-block;
    margin-right: 8px;
    font-size: 11px;
    line-height: 1;
    transition: transform 0.15s ease;
}

.marklane-accordion[open] > summary::before {
    transform: rotate(90deg);
}

.marklane-accordion__body {
    border-top: 1px solid #dcdcde;
}

.marklane-accordion__body .widefat,
.marklane-accordion__body .notice.inline {
    margin: 0;
}

.marklane-accordion__body .widefat {
    border: 0;
    box-shadow: none;
}

.marklane-accordion__body .notice.inline + .notice.inline {
    margin-top: 12px;
}

.marklane-label-with-help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.marklane-help-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #646970;
    cursor: help;
    vertical-align: middle;
}

.marklane-help-tip:hover,
.marklane-help-tip:focus-visible {
    color: #2271b1;
    outline: none;
}

.marklane-help-tip .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.marklane-help-tip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    z-index: 20;
    display: none;
    min-width: 220px;
    max-width: 320px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #1d2327;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.marklane-help-tip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    display: none;
    border: 6px solid transparent;
    border-top-color: #1d2327;
}

.marklane-help-tip:hover::after,
.marklane-help-tip:hover::before,
.marklane-help-tip:focus-visible::after,
.marklane-help-tip:focus-visible::before {
    display: block;
}
