.instaupload-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.instaupload-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}
.instaupload-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    transition: max-width 0.3s ease;
}
.instaupload-modal-content.iu-wide {
    max-width: 920px;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.instaupload-modal-header {
    padding: 8px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.instaupload-modal .instaupload-modal-content .instaupload-modal-header h2 {
    margin: 0;
    font-size: 15px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #333;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.4 !important;
}
.instaupload-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 28px;
    height: 28px;
}
.instaupload-modal-close:hover {
    color: #333;
}
.instaupload-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}
.instaupload-modal-info {
    background: #e7f5fe;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.instaupload-modal-info p {
    margin: 5px 0;
    font-size: 14px;
}
.instaupload-upload-zone {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 28px 16px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}
.instaupload-upload-zone:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}
.instaupload-upload-zone.dragover {
    border-color: #00a32a;
    background: #f0fcf3;
}
.instaupload-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.instaupload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #00a32a);
    width: 0%;
    transition: width 0.3s;
}
.instaupload-progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
}
/* footer styles in responsive section below */

.instaupload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.instaupload-btn--primary {
    background: #1f7a1f;
    color: #fff;
    box-shadow: 0 6px 18px rgba(31,122,31,0.25);
}

.instaupload-btn--primary:hover {
    background: #176017;
}

.instaupload-btn--link {
    background: transparent;
    color: #b3251a;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

.instaupload-btn--link:hover {
    text-decoration: underline;
}

.instaupload-preview-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000000;
}

.instaupload-preview-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}

.instaupload-preview-popup__content {
    position: relative;
    width: 92%;
    max-width: 1200px;
    height: 88vh;
    max-height: 900px;
    margin: 4vh auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}

.instaupload-preview-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8fafc;
}

.instaupload-preview-popup__body {
    flex: 1;
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.instaupload-preview-popup__toolbar {
    position: sticky;
    top: 0;
    z-index: 12;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.instaupload-preview-popup__toolbar .iu-zoom-btn.is-active {
    border-color: #2271b1;
    color: #2271b1;
    background: #eef6fd;
}

.instaupload-preview-popup__layout {
    display: flex;
    flex: 1;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.instaupload-preview-popup__media {
    flex: 0 0 70%;
    padding: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.instaupload-preview-popup__media .iu-zoom-viewport,
.instaupload-preview-popup__media .iu-crop-viewport {
    background: #ffffff;
}

#instaupload-preview-page-loading {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 20;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
}

#instaupload-preview-page-loading.is-visible {
    display: flex;
}

.instaupload-preview-popup__media-viewport-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.instaupload-preview-popup__warnings {
    flex-shrink: 0;
    max-height: 28vh;
    overflow-y: auto;
    padding: 8px 12px 10px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.iu-preflight--below-preview {
    margin: 0;
}

.iu-preflight--below-preview .iu-preflight__summary {
    margin-bottom: 6px;
}

.instaupload-preview-popup__title-wrap h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.instaupload-preview-popup__subtitle {
    margin: 2px 0 0;
    font-size: 12px;
    color: #666;
}

.instaupload-preview-popup__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    color: #666;
}

.iu-zoom-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.iu-zoom-btn {
    min-width: 32px;
    height: 32px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
}

.iu-zoom-btn--text {
    min-width: auto;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
}

.iu-zoom-btn:hover {
    border-color: #2271b1;
    color: #2271b1;
}

.iu-zoom-level {
    min-width: 48px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.iu-zoom-viewport {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: grab;
}

.iu-zoom-viewport.is-panning {
    cursor: grabbing;
}

.iu-zoom-stage {
    transform-origin: center center;
    transition: transform 0.05s linear;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.iu-zoom-image,
.instaupload-preview-image {
    display: block;
    max-width: none;
    max-height: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-radius: 0;
}

.iu-zoom-hint {
    margin: 6px 0 0;
    font-size: 11px;
    color: #888;
    text-align: center;
    flex-shrink: 0;
}

.iu-spec-panel__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1d2327;
}

.iu-spec-panel__section {
    margin-bottom: 10px;
}

.iu-spec-panel__close {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d0d5dd;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
}

.iu-spec-panel__close:hover {
    background: #f8f9fa;
}

.iu-spec-panel__pending {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.iu-spec-panel__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.iu-spec-panel__textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #d0d5dd;
    padding: 8px;
    font-size: 12px;
    resize: vertical;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.iu-spec-panel__pending.is-note-required .iu-spec-panel__label {
    font-size: 14px;
    color: #b91c1c;
}
.iu-spec-panel__pending.is-note-required .iu-spec-panel__textarea {
    font-size: 15px;
    line-height: 1.45;
    padding: 12px;
    min-height: 72px;
    border-color: #fca5a5;
    background: #fffbfb;
}
.iu-spec-panel__pending.is-note-required .iu-spec-panel__textarea:focus {
    border-color: #dc2626;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.iu-spec-panel__attach {
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 6px;
    background: #2e9b3e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.iu-spec-panel__attach:hover {
    background: #268a34;
}

.iu-spec-panel__attach:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.iu-spec-panel__secondary {
    width: 100%;
    padding: 9px 14px;
    border-radius: 6px;
    border: 1px solid #d0d5dd;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    margin-bottom: 8px;
}

.iu-spec-panel__secondary:hover {
    background: #f8f9fa;
}

/* Partie 4 — préflight client */
.iu-preflight {
    margin-bottom: 10px;
}
.iu-preflight__summary {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    border-left: 3px solid #94a3b8;
    background: #f8fafc;
}
.iu-preflight__summary--pass {
    border-left-color: #2e9b3e;
    background: #edf8ef;
}
.iu-preflight__summary--warn {
    border-left-color: #d97706;
    background: #fff8eb;
}
.iu-preflight__summary--error {
    border-left-color: #dc3545;
    background: #fdf2f2;
}
.iu-preflight__summary-title {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}
.iu-preflight__summary-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}
.iu-preflight__group {
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 12px;
}
.iu-preflight__group ul {
    margin: 4px 0 0;
    padding-left: 16px;
}
.iu-preflight__group--error {
    background: #fce4e4;
    border-left: 3px solid #dc3545;
    color: #721c24;
}
.iu-preflight__group--warn {
    background: #fff6e9;
    border-left: 3px solid #f0ad4e;
    color: #856404;
}
.iu-preflight__group--info {
    background: #f1f5f9;
    border-left: 3px solid #64748b;
    color: #334155;
}
.iu-preflight__info-label {
    margin: 0;
    font-weight: 600;
    font-size: 12px;
}
.iu-preflight__override-note {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 10px;
    line-height: 1.4;
}
.iu-preflight__override-btn {
    background: #b45309 !important;
}
.iu-preflight__override-btn:hover {
    background: #92400e !important;
}

/* Cartes fichiers attachés (modale) */
.iu-file-card-wrap {
    position: relative;
    margin-bottom: 8px;
}

.iu-file-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(100px, 160px) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 36px 10px 10px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.iu-file-card:hover {
    border-color: #c5d3e8;
}

.iu-file-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.iu-file-card__name {
    font-size: 13px;
    font-weight: 600;
    color: #1d2327;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iu-file-card__note-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.iu-file-card__note-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 11px;
    padding: 5px 8px;
    border: 1px solid #dbe3ef;
    border-radius: 4px;
    background: #fafbfc;
    color: #333;
}

.iu-file-card__note-input:focus {
    outline: none;
    border-color: #2271b1;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.12);
}

.iu-file-card__note-input::placeholder {
    color: #999;
    font-style: italic;
}

.iu-file-card__note-status {
    font-size: 10px;
    min-height: 12px;
    line-height: 1.2;
}

.iu-file-card__cta {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid #2271b1;
    border-radius: 6px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    color: #2271b1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
}

.iu-file-card__cta:hover {
    background: #2271b1;
    color: #fff;
}

.iu-file-card__cta.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.iu-file-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: #64748b;
}

.iu-file-card__icon--pdf { background: #dc3545; }
.iu-file-card__icon--png { background: #0d9488; }
.iu-file-card__icon--jpg,
.iu-file-card__icon--jpeg { background: #2563eb; }

.iu-file-card__delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid #f1b0b7;
    border-radius: 4px;
    background: #fff;
    color: #dc3545;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.iu-file-card__delete:hover {
    background: #fce4e4;
}

.instaupload-preview-popup__details {
    flex: 0 0 30%;
    padding: 16px 16px 8px;
    overflow-y: auto;
    background: #fff;
    border-left: 1px solid #eef1f6;
    min-height: 0;
}

.instaupload-preview-popup__footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 12;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.instaupload-preview-popup__footer .iu-spec-panel__attach,
.instaupload-preview-popup__footer .iu-spec-panel__secondary,
.instaupload-preview-popup__footer .iu-spec-panel__close,
.instaupload-preview-popup__footer .iu-preflight__override-btn {
    width: auto;
    margin: 0;
    padding: 8px 14px;
    font-size: 13px;
}

.instaupload-preview-popup__footer .iu-spec-panel__close {
    margin-left: auto;
}

.iu-preflight__summary {
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}
.iu-preflight__summary-title {
    display: block;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.iu-preflight__summary-text {
    display: none;
}
.iu-preflight__group {
    margin: 0 0 8px;
    padding: 0;
    border: none;
    background: transparent;
}
.iu-preflight__group ul {
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 12px;
}
.iu-preflight__group--error { color: #b42318; }
.iu-preflight__group--warn { color: #b54708; }
.iu-preflight__group--info { color: #475467; }

.iu-file-frame {
    position: relative;
    display: block;
    width: min(92%, 560px);
    max-width: 100%;
    max-height: 100%;
    background: repeating-conic-gradient(#edf0f4 0% 25%, #f8fafc 0% 50%) 0 0 / 12px 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.iu-file-frame__page {
    position: absolute;
    overflow: hidden;
    background: #fff;
}
.iu-file-frame__page img,
.iu-file-frame .iu-file-stage__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    box-shadow: none;
}
.iu-file-stage {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}
.iu-file-stage__img {
    display: block;
    max-width: none;
    max-height: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.iu-file-stage__canvas,
#iu-crop-canvas,
.instaupload-preview-canvas {
    display: block;
    background: #ffffff;
    max-width: none;
    max-height: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.iu-crop-file canvas {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}
.iu-file-stage__fallback {
    display: none;
    padding: 24px;
    text-align: center;
    color: #b42318;
    background: #fef3f2;
    border: 1px dashed #fda29b;
    border-radius: 8px;
    font-size: 13px;
    max-width: 320px;
}
.iu-file-stage.is-broken .iu-file-stage__img { display: none; }
.iu-file-stage.is-broken .iu-file-stage__fallback { display: block; }

.iu-overlay-bleed,
.iu-overlay-cut {
    position: absolute;
    pointer-events: none;
    box-sizing: border-box;
}
.iu-overlay-bleed {
    border: 2px solid #16a34a;
    background: transparent;
}
.iu-overlay-cut {
    border: 2px solid #dc2626;
    box-shadow: none;
}
.iu-overlay-cut__label,
.iu-overlay-bleed__label {
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2271b1;
    background: rgba(255,255,255,0.92);
    padding: 1px 6px;
    border-radius: 3px;
}
.iu-overlay-bleed__label { color: #b91c1c; }

.iu-crop-tools {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    flex-shrink: 0;
    width: 100%;
}
.iu-crop-viewport {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 240px;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    cursor: grab;
    touch-action: none;
    border-radius: 0;
}
.iu-crop-viewport.is-panning {
    cursor: grabbing;
}

.iu-crop-drag-hint {
    margin: 6px 0 0;
    padding: 0 12px 8px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
    flex-shrink: 0;
}

.instaupload-preview-popup__toolbar .iu-tool-pan.is-active,
#iu-tool-pan.is-active {
    border-color: #2271b1;
    color: #2271b1;
    background: #eef6fd;
}
.iu-crop-file {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    will-change: transform;
}
.iu-crop-file img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: fill;
}
.iu-crop-cut {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    box-sizing: border-box;
    border: 2px solid #dc2626;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}
.iu-file-frame.is-broken .iu-file-frame__page,
.iu-file-frame.is-broken .iu-overlay-cut,
.iu-file-frame.is-broken .iu-overlay-bleed { display: none; }
.iu-file-frame.is-broken .iu-file-stage__fallback { display: block; position: relative; }

.iu-crop-bleed {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #16a34a;
    border-radius: 0;
    pointer-events: none;
    z-index: 4;
    box-sizing: border-box;
}

.iu-crop-safe {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px dotted rgba(100, 116, 139, 0.7);
    border-radius: 0;
    pointer-events: none;
    z-index: 3;
    box-sizing: border-box;
}

.iu-overlay-legend {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 10px;
    color: #334155;
    pointer-events: none;
}

.iu-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.iu-legend-item i {
    display: inline-block;
    width: 14px;
    height: 10px;
    border-radius: 0;
}

.iu-legend-item--cut i {
    border: 2px solid #dc2626;
}

.iu-legend-item--bleed i {
    border: 2px solid #16a34a;
}

.iu-legend-item--safe i {
    border: 1px dotted rgba(100, 116, 139, 0.7);
}

.iu-page-nav--popup {
    margin-left: auto;
}

@media (max-width: 900px) {
    .instaupload-preview-popup__content {
        width: 98%;
        height: 98vh;
        margin: 1vh auto;
    }

    .instaupload-preview-popup__layout {
        flex-direction: column;
        overflow: hidden;
    }

    .instaupload-preview-popup__media {
        flex: 0 0 auto;
        max-height: 42vh;
        border-left: none;
        border-bottom: 1px solid #eef1f6;
    }

    .instaupload-preview-popup__details {
        flex: 1 1 auto;
        overflow-y: auto;
        border-left: none;
    }
}

.instaupload-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instaupload-toggle input[type="checkbox"] {
    width: 46px;
    height: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: #d0d5dd;
    border-radius: 40px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.instaupload-toggle input[type="checkbox"]:checked {
    background: #1f7a1f;
}

.instaupload-toggle input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.instaupload-toggle input[type="checkbox"]:checked::after {
    transform: translateX(20px);
}

.instaupload-format-panel {
    border: 1px solid #eef1f6;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
    margin-bottom: 12px;
}

.instaupload-format-values {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.instaupload-format-pill {
    background: #e8f2ff;
    color: #0b4da8;
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.instaupload-format-pill:hover {
    background: #d7e7ff;
}

.instaupload-format-bleed-pill {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
}

.instaupload-format-frame {
    background: #f5f5f5;
    border-radius: 12px;
    border: 2px solid rgba(34, 113, 177, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instaupload-format-frame__bleed {
    position: absolute;
    top: calc(-1 * var(--bleedY, 0%));
    bottom: calc(-1 * var(--bleedY, 0%));
    left: calc(-1 * var(--bleedX, 0%));
    right: calc(-1 * var(--bleedX, 0%));
    border: 2px dashed rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.15);
    pointer-events: none;
}

.instaupload-format-frame__image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.instaupload-format-frame__image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
}

.instaupload-preview-image {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    object-fit: contain;
}

.instaupload-format-comparison {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #1f7a1f;
    background: #f3f9f3;
    font-size: 13px;
}

.instaupload-format-comparison--warning {
    border-left-color: #b55309;
    background: #fff6e9;
}

.instaupload-format-comparison__diff {
    margin-top: 4px;
    font-size: 12px;
    color: #555;
}

/* === POST-UPLOAD REDESIGN === */

/* Summary bar (pré-upload) */
.iu-summary-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f0f6fc;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #333;
    flex-wrap: wrap;
}
.iu-summary-sep {
    width: 1px;
    height: 16px;
    background: #cbd5e0;
}

/* Result summary (post-upload) */
.iu-result-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    flex-wrap: wrap;
    border: 1px solid #e2e8f0;
}
.iu-result-summary .iu-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.iu-tag--ok { background: #d4edda; color: #155724; }
.iu-tag--warn { background: #fcf3cf; color: #856404; }
.iu-tag--err { background: #fce4e4; color: #721c24; }
.iu-tag--info { background: #e7f5fe; color: #0b4da8; }
.iu-tag--neutral { background: #f1f3f5; color: #495057; }

/* Two-column layout */
.iu-result-columns {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.iu-result-col-preview {
    flex: 0 0 52%;
    min-width: 0;
}
.iu-result-col-info {
    flex: 1 1 auto;
    min-width: 0;
}

/* View toggle */
.iu-view-toggle {
    display: flex;
    background: #f1f3f5;
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 10px;
    gap: 2px;
}
.iu-view-btn {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.iu-view-btn.active {
    background: #fff;
    color: #2271b1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.iu-view-btn:hover:not(.active) {
    color: #333;
}

/* Preview pane */
.iu-preview-pane {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    background-image: repeating-conic-gradient(#e8e8e8 0% 25%, #f5f5f5 0% 50%);
    background-size: 16px 16px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.iu-preview-pane #instaupload-preview {
    width: 100%;
    padding: 12px;
}
.iu-preview-pane #instaupload-preview img {
    max-width: 100%;
    max-height: 320px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

/* Trim overlay viewer */
.iu-trim-pane {
    flex-direction: column;
    background: #f5f5f5;
    background-image: repeating-conic-gradient(#e8e8e8 0% 25%, #f5f5f5 0% 50%);
    background-size: 16px 16px;
}
.iu-trim-viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    overflow: hidden;
}
.iu-trim-viewer__img {
    display: block;
    max-width: 100%;
    max-height: 320px;
    height: auto;
    object-fit: contain;
}
/* Overlay: semi-transparent layer with a clear "window" for the trim area */
.iu-trim-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
/* The trim window: positioned via inline style by JS, uses box-shadow to dim outside */
.iu-trim-overlay__window {
    position: absolute;
    border: 2.5px solid #fff;
    outline: 1px solid rgba(0,0,0,0.4);
    box-shadow:
        0 0 0 9999px rgba(0,0,0,0.55),
        inset 0 0 0 1px rgba(255,255,255,0.12);
    z-index: 3;
}
.iu-trim-overlay__bleed {
    position: absolute;
    border: 2px dashed rgba(239, 68, 68, 0.75);
    background: rgba(239, 68, 68, 0.08);
    z-index: 2;
    pointer-events: none;
    display: none;
}
.iu-trim-overlay__bleed.is-visible {
    display: block;
}
.iu-view-btn--rotate {
    margin-left: auto;
}
/* Corner marks for trim window (all 4 corners via pseudo-elements + extra divs in JS) */
.iu-trim-overlay__window::before,
.iu-trim-overlay__window::after {
    content: '';
    position: absolute;
    border-color: #fff;
    border-style: solid;
    width: 12px;
    height: 12px;
    z-index: 3;
}
.iu-trim-overlay__window::before {
    top: -2px;
    left: -2px;
    border-width: 3px 0 0 3px;
}
.iu-trim-overlay__window::after {
    bottom: -2px;
    right: -2px;
    border-width: 0 3px 3px 0;
}
.iu-trim-label {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.iu-trim-info {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 12px 0 12px;
    padding: 6px 12px;
    border-radius: 4px;
}
.iu-trim-info--bleed {
    background: #d4edda;
    color: #155724;
}
.iu-trim-info--oversize {
    background: #fcf3cf;
    color: #856404;
}
.iu-trim-info--ok {
    background: #d4edda;
    color: #155724;
}
.iu-expected-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin: 6px 0 4px 0;
    font-style: italic;
}
/* (reserved) */

/* Multi-page navigation */
.iu-page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 12px;
    flex-shrink: 0;
}
.iu-page-nav--popup,
.iu-page-nav--media {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin: 0 0 8px;
}
.iu-page-nav__btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}
.iu-page-nav__btn:hover:not([disabled]) {
    background: #eef6fd;
    border-color: #2271b1;
    color: #2271b1;
}
.iu-page-nav__btn[disabled] {
    opacity: 0.35;
    cursor: default;
}
.iu-page-nav__label {
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    min-width: 88px;
    text-align: center;
}
.iu-page-nav.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Page carousel (preview popup) */
.iu-page-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin: 8px 0 0;
    flex-shrink: 0;
}
.iu-page-carousel.is-loading {
    opacity: 0.6;
    pointer-events: none;
}
.iu-page-carousel__arrow {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.iu-page-carousel__arrow:hover:not([disabled]) {
    background: #eef6fd;
    border-color: #2271b1;
    color: #2271b1;
}
.iu-page-carousel__arrow[disabled] {
    opacity: 0.35;
    cursor: default;
}
.iu-page-carousel__track-wrap {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.iu-page-carousel__track {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2px 4px;
    -webkit-overflow-scrolling: touch;
}
.iu-page-carousel__track::-webkit-scrollbar {
    height: 4px;
}
.iu-page-carousel__track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.iu-page-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    flex-shrink: 0;
    overflow: hidden;
}
.iu-page-chip.is-current {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}
.iu-page-chip.is-selected {
    border-color: #16a34a;
    background: #f0fdf4;
}
.iu-page-chip.is-selected.is-current {
    box-shadow: 0 0 0 1px #16a34a;
}
.iu-page-chip__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #94a3b8;
}
.iu-page-chip__check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.iu-page-chip.is-selected .iu-page-chip__check {
    color: #16a34a;
}
.iu-page-chip.is-selected .iu-page-chip__check-icon {
    border-color: #16a34a;
    background: #16a34a;
    color: #ffffff;
}
.iu-page-chip__num {
    min-width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    padding: 0 8px 0 4px;
}
.iu-page-chip__num:hover {
    color: #2271b1;
}
.iu-page-carousel__counter,
.iu-page-carousel__label {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    min-width: 36px;
    text-align: center;
}
.iu-page-carousel__counter {
    color: #64748b;
}
.iu-page-selection-panel {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    font-size: 11px;
}
.iu-page-selection-panel.is-complete {
    border-color: #d1fae5;
    background: #f8fafc;
    padding: 6px 10px;
}
.iu-page-selection-panel__title {
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 2px;
}
.iu-page-selection-panel.is-complete .iu-page-selection-panel__title {
    color: #166534;
}
.iu-page-selection-panel__hint {
    font-size: 11px;
    color: #78350f;
    margin: 0 0 4px;
    line-height: 1.35;
}
.iu-page-selection-panel.is-complete .iu-page-selection-panel__hint {
    display: none;
}
.iu-page-selection-panel__status {
    font-size: 11px;
    font-weight: 600;
    color: #b45309;
}
.iu-page-selection-panel.is-complete .iu-page-selection-panel__status {
    color: #15803d;
    font-weight: 500;
}
.iu-page-count-ok {
    margin: 6px 0 0;
    padding: 4px 8px;
    font-size: 11px;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    line-height: 1.4;
}
.iu-page-selection-panel.needs-note {
    border-color: #fca5a5;
    background: #fef2f2;
}
.iu-page-selection-panel.needs-note .iu-page-selection-panel__title {
    color: #b91c1c;
}
.iu-page-selection-panel.needs-note .iu-page-selection-panel__status {
    color: #b91c1c;
}

/* Existing files list */
.iu-existing-files {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
}
.iu-existing-files__title {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}
.iu-existing-files__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid #eef1f6;
}
.iu-existing-files__main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.iu-existing-files__item:last-child {
    border-bottom: none;
}
.iu-existing-files__name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: #1d2327;
}
button.iu-existing-files__name.iu-ef-preview {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: #2271b1;
    cursor: pointer;
    text-decoration: underline;
    text-align: left;
}
button.iu-existing-files__name.iu-ef-preview:hover {
    color: #135e96;
}
.iu-existing-files__note {
    flex: 0 1 auto;
    max-width: 50%;
    font-size: 11px;
    color: #666;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.iu-existing-files__actions {
    display: flex;
    gap: 4px;
    margin-left: 6px;
    flex-shrink: 0;
}
.iu-ef-preview,
.iu-ef-delete,
.iu-ef-delete-cart {
    background: none;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #555;
    transition: background 0.15s;
}
.iu-ef-preview:hover { background: #e7f5fe; }
.iu-ef-delete,
.iu-ef-delete-cart { color: #b3251a; }
.iu-ef-delete:hover,
.iu-ef-delete-cart:hover { background: #fce4e4; }

/* Preview error fallback */
.iu-preview-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: #94a3b8;
    text-align: center;
    min-height: 120px;
}
.iu-preview-fallback svg {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    opacity: 0.5;
}
.iu-preview-fallback p {
    margin: 0;
    font-size: 13px;
}

/* Note field */
.iu-note-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}
.iu-note-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 48px;
}

/* Action bar */
.iu-action-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.iu-cta-main {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
}

/* Re-upload button */
.iu-reupload {
    margin-top: 10px;
    text-align: center;
}
.iu-reupload-btn {
    background: #f1f3f5;
    border: 1px solid #d0d5dd;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.15s, border-color 0.15s;
}
.iu-reupload-btn:hover {
    background: #e2e8f0;
    border-color: #b0b8c4;
}

/* Compact validation in post-upload */
.iu-result-col-info #instaupload-validation {
    font-size: 13px;
}
.iu-result-col-info #instaupload-validation h4 {
    font-size: 14px;
    margin: 0 0 8px 0;
}

/* Responsive */
@media (max-width: 700px) {
    .instaupload-modal-content.iu-wide {
        max-width: 95%;
    }
    .iu-result-columns {
        flex-direction: column;
    }
    .iu-result-col-preview {
        flex: 1 1 auto;
        width: 100%;
    }
    .iu-result-col-info {
        width: 100%;
    }
    .iu-preview-pane {
        min-height: 120px;
    }
}

.instaupload-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Sprint B1 workflow ── */
.iu-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
    flex-wrap: wrap;
}
.iu-stepper__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 12px;
}
.iu-stepper__item.is-active {
    color: #1d4ed8;
    font-weight: 600;
}
.iu-stepper__item.is-done {
    color: #15803d;
}
.iu-stepper__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
}
.iu-stepper__item.is-active .iu-stepper__num {
    background: #1d4ed8;
    color: #fff;
}
.iu-stepper__item.is-done .iu-stepper__num {
    background: #86efac;
    color: #14532d;
}
.iu-stepper__sep {
    width: 24px;
    height: 1px;
    background: #cbd5e1;
    margin: 0 8px;
}
.iu-workflow-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 20px;
    border-bottom: 1px solid #f1f5f9;
    min-height: 0;
}
.iu-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.4;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.iu-chip--neutral {
    background: #f8fafc;
    color: #334155;
}
.iu-chip--ok {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}
.iu-chip--warn {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}
.iu-wf-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}
.iu-wf-banner {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
}
.iu-wf-banner--action {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.iu-wf-banner--action strong {
    display: block;
    margin-bottom: 2px;
}
.iu-wf-banner--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.iu-wf-info-accordion {
    margin-top: 8px;
    font-size: 11px;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 6px 10px;
    background: #f8fafc;
}
.iu-wf-info-accordion summary {
    cursor: pointer;
    font-weight: 600;
    color: #475569;
}
.iu-wf-info-accordion__lead {
    margin: 4px 0;
    font-size: 11px;
}
.iu-wf-info-accordion ul {
    margin: 4px 0 0;
    padding-left: 16px;
}
.iu-faces-org {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}
.iu-faces-org__title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
}
.iu-faces-org__hint {
    margin: 0 0 8px;
    font-size: 11px;
    color: #64748b;
}
.iu-faces-org__option {
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 6px;
    font-size: 12px;
    background: #fff;
}
.iu-faces-org__option.is-suggested {
    border-color: #93c5fd;
    background: #f0f9ff;
}
.iu-faces-org__option strong {
    display: block;
    font-size: 12px;
}
.iu-faces-org__detail {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}
.iu-faces-org__match {
    margin: 6px 0 0;
    font-size: 11px;
    color: #166534;
}
.iu-wf-step-faces .instaupload-format-panel {
    display: none !important;
}
.iu-wf-step-crop #iu-panel-faces-org,
.iu-wf-step-validation #iu-panel-faces-org {
    display: none !important;
}
.iu-page-count-ok {
    margin: 6px 0 0;
    padding: 4px 8px;
    font-size: 11px;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    line-height: 1.4;
    display: inline-block;
}
.instaupload-preview-popup__footer {
    padding: 12px 20px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}
