.weels-meta-box { font-size: 13px; }
.weels-status { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.weels-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.weels-badge--green { background: #d1fae5; color: #065f46; }
.weels-badge--yellow { background: #fef3c7; color: #92400e; }
.weels-badge--grey { background: #f1f5f9; color: #64748b; }
.weels-badge--red { background: #fee2e2; color: #991b1b; }
.weels-task-id { color: #64748b; font-size: 12px; }
.weels-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.weels-btn { font-size: 12px !important; padding: 4px 10px !important; }
.weels-btn--danger { color: #dc3232 !important; border-color: #dc3232 !important; }
.weels-btn--danger:hover { background: #dc3232 !important; color: #fff !important; }
.weels-btn--outline { background: transparent !important; border: 1px dashed #b5bfc9 !important; color: #50575e !important; }
.weels-btn--outline:hover { border-color: #2271b1 !important; color: #2271b1 !important; }
.weels-notice { padding: 8px 12px; border-radius: 4px; margin-bottom: 8px; }
.weels-notice--warning { background: #fff3cd; color: #856404; }
.weels-hint { color: #999; font-size: 11px; margin-top: 8px; font-style: italic; }
#weels-result .weels-success { color: #46b450; font-weight: 600; }
#weels-result .weels-error { color: #dc3232; font-weight: 600; }

.weels-carrier-info { margin: 8px 0; padding: 8px 10px; background: #f8f9fa; border-radius: 6px; font-size: 12px; }

/* Multi-package form */
.weels-pkg-form { margin-top: 4px; }

.weels-pkg-row {
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 8px;
}
.weels-pkg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 12px;
    color: #1e1e1e;
}
.weels-pkg-remove {
    background: none;
    border: none;
    color: #dc3232;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.weels-pkg-remove:hover { color: #a00; }

.weels-pkg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.weels-pkg-field label {
    display: block;
    font-size: 10px;
    color: #757575;
    margin-bottom: 2px;
    font-weight: 500;
}
.weels-pkg-field input {
    width: 100%;
    padding: 4px 6px;
    font-size: 12px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    box-sizing: border-box;
}
.weels-pkg-field input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.weels-field { margin-top: 8px; }
.weels-field label {
    display: block;
    font-size: 11px;
    color: #757575;
    margin-bottom: 3px;
    font-weight: 500;
}
.weels-field select,
.weels-field input[type="date"] {
    width: 100%;
    font-size: 12px;
    padding: 4px 6px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    box-sizing: border-box;
}
.weels-field input[type="date"]:focus,
.weels-field select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.weels-divider {
    border-top: 1px solid #e2e4e7;
    margin: 10px 0;
}
.weels-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #50575e;
    margin-bottom: 6px;
}
.weels-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.weels-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}
.weels-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    cursor: pointer;
    color: #1e1e1e;
}
.weels-checkbox input { width: auto; margin: 0; }

/* Rate preview */
.weels-rate-preview {
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: 10px;
    font-size: 12px;
}
.weels-rate-loading {
    text-align: center;
    color: #757575;
    padding: 6px 0;
}
.weels-rate-row {
    display: flex;
    justify-content: space-between;
    line-height: 1.8;
}
.weels-rate-discount { color: #008060; }
.weels-rate-muted { color: #757575; }
.weels-rate-separator {
    border-top: 1px solid #e2e4e7;
    margin-top: 4px;
    padding-top: 4px;
}
.weels-rate-total {
    font-weight: 600;
    font-size: 13px;
    border-top: 1px solid #e2e4e7;
    margin-top: 4px;
    padding-top: 4px;
}
.weels-rate-delivery {
    margin-top: 6px;
    font-size: 11px;
    color: #757575;
}
.weels-rate-error {
    color: #dc3232;
    text-align: center;
    padding: 4px 0;
}
.weels-balance-ok {
    margin-top: 6px;
    padding: 6px 8px;
    background: #d1fae5;
    border-radius: 4px;
    color: #065f46;
    font-size: 11px;
}
.weels-balance-warn {
    margin-top: 6px;
    padding: 6px 8px;
    background: #fee2e2;
    border-radius: 4px;
    color: #991b1b;
    font-size: 11px;
}
.weels-balance-warn a { color: #991b1b; font-weight: 600; }
