/* ============ 图片拼接工具：is-* ============ */

/* ---------- Hero 外壳 ---------- */
.is-hero {
    margin: 18px 0 26px;
    padding: 22px;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 55%, #f2fbf6 100%);
    border: 1px solid #e3ebf7;
    border-radius: 18px;
}
.is-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.is-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.is-logo {
    width: 46px;
    height: 46px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(64, 108, 190, .16);
}
.is-title { font-size: 20px; font-weight: 800; color: #1f2b45; letter-spacing: .3px; }
.is-tagline { font-size: 13px; color: #6b7a96; margin-top: 2px; }
.is-privacy {
    font-size: 12px;
    color: #2f7d55;
    background: #e8f7ef;
    border: 1px solid #c6ead8;
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* ---------- 上传区 ---------- */
.is-drop {
    border: 2px dashed #b9c6dc;
    border-radius: 16px;
    padding: 36px 18px;
    text-align: center;
    background: rgba(255, 255, 255, .65);
    transition: border-color .2s, background .2s;
    margin-bottom: 18px;
}
.is-drop.is-drag {
    border-color: #2b62d9;
    background: rgba(223, 233, 255, .8);
}
.is-drop-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 10px;
}
.is-drop-title {
    margin: 4px 0 8px;
    color: #1f2b45;
    font-size: 16px;
    font-weight: 600;
}
.is-drop-desc {
    color: #6b7a96;
    font-size: 13px;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 14px;
}
.is-drop-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #2b62d9;
    color: #fff;
    transition: background .15s, transform .1s;
}
.is-drop-btn:hover { background: #1e4cb8; }

/* ---------- 工作区两栏 ---------- */

.is-workspace { margin-top: 8px; }
.is-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
}
@media (max-width: 900px) {
    .is-grid { grid-template-columns: 1fr; }
}

/* ---------- 卡片 / 标题 / 信息 ---------- */

.is-card {
    background: #fff;
    border: 1px solid #e3e8f1;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}
.is-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.is-card-head b { font-size: 14px; color: #1a2b4a; }
.is-card-info {
    color: #6b7a96;
    font-size: 12px;
    text-align: right;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
}
.is-cmp-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* ---------- 字段 ---------- */

.is-field {
    margin-bottom: 12px;
}
.is-field:last-child { margin-bottom: 0; }
.is-label {
    display: block;
    color: #4a587a;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}
.is-label b { color: #2b62d9; font-variant-numeric: tabular-nums; }
.is-range {
    width: 100%;
    accent-color: #2b62d9;
}
.is-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}
.is-slider .is-range { flex: 1; }
.is-slider b {
    min-width: 44px;
    text-align: right;
    color: #2b62d9;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.is-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.is-color-row input[type="color"] {
    width: 40px;
    height: 30px;
    border: 1px solid #c5d1e3;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    cursor: pointer;
}
.is-hint {
    color: #6b7a96;
    font-size: 12px;
}
.is-note {
    color: #6b7a96;
    font-size: 12px;
    margin: 4px 0 0;
}

/* ---------- 段控件（seg） ---------- */

.is-seg {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    background: #eef3fc;
    border-radius: 10px;
    padding: 4px;
}
.is-seg.col3 { grid-template-columns: repeat(3, 1fr); }
.is-seg.col4 { grid-template-columns: repeat(4, 1fr); }
.is-seg-btn {
    border: 0;
    background: transparent;
    padding: 7px 10px;
    font-size: 13px;
    color: #4a587a;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.is-seg-btn:hover { color: #1a2b4a; }
.is-seg-btn.active {
    background: #fff;
    color: #1a2b4a;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* ---------- 队列工具条 ---------- */

.is-strip-tools {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.is-mini-btn {
    border: 1px solid #c5d1e3;
    background: #fff;
    color: #2b62d9;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.is-mini-btn:hover { background: #eef3fc; border-color: #2b62d9; }

/* ---------- 文件队列 ---------- */

.is-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
}
.is-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f7faff;
    border: 1px solid #e3e8f1;
    border-radius: 10px;
    transition: border-color .15s, background .15s;
}
.is-row:hover { border-color: #c5d1e3; }
.is-row.is-drag { opacity: .5; border-style: dashed; border-color: #2b62d9; }
.is-row-grip {
    color: #b9c6dc;
    cursor: grab;
    font-size: 18px;
    user-select: none;
    line-height: 1;
}
.is-row-grip:active { cursor: grabbing; }
.is-row-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #fff center/cover no-repeat;
    border: 1px solid #e3e8f1;
    flex-shrink: 0;
}
.is-row-info {
    flex: 1;
    min-width: 0;
}
.is-row-name {
    font-size: 13px;
    color: #1a2b4a;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.is-row-meta {
    font-size: 11px;
    color: #6b7a96;
    font-variant-numeric: tabular-nums;
}
.is-row-del {
    border: 0;
    background: transparent;
    color: #b9c6dc;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
}
.is-row-del:hover { color: #c0392b; background: rgba(192, 57, 43, .08); }

/* ---------- 主预览区 ---------- */

.is-stage {
    background: repeating-conic-gradient(#f0f3f9 0% 25%, #fff 25% 50%) 0 0 / 18px 18px;
    border: 1px solid #e3e8f1;
    border-radius: 10px;
    min-height: 280px;
    max-height: 70vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.is-stage img {
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 6px 24px rgba(20, 35, 70, .12);
}
.is-empty {
    color: #b9c6dc;
    font-size: 14px;
}

/* ---------- 按钮 ---------- */

.is-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.is-btn {
    border: 1px solid #c5d1e3;
    background: #fff;
    color: #1a2b4a;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.is-btn:hover { background: #f7faff; border-color: #2b62d9; }
.is-btn:disabled { opacity: .5; cursor: not-allowed; }
.is-btn.primary {
    background: #2b62d9;
    color: #fff;
    border-color: #2b62d9;
}
.is-btn.primary:hover { background: #1e4cb8; border-color: #1e4cb8; }

/* ---------- 进度条 / 状态 ---------- */

.is-progress {
    width: 100%;
    height: 8px;
    background: #eef3fc;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}
.is-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2b62d9, #4c8af0);
    transition: width .25s;
}
.is-status {
    margin-top: 10px;
    color: #4a587a;
    font-size: 13px;
}
.is-status.is-ok { color: #2b62d9; }
.is-status.is-warn { color: #c0392b; }

/* ---------- 简介块 / 免责说明 ---------- */

.is-info-block { margin-bottom: 26px; }

.is-info-block .detail-icon {
    --icon-bg: linear-gradient(135deg, #f59e0b, #ef4444);
    --icon-shadow: rgba(245, 158, 11, .32);
}

.is-disclaim {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff8ea;
    border: 1px solid #f3e2b8;
    font-size: 12.5px;
    line-height: 1.8;
    color: #8a6516;
}