* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #f5f7fb;
    color: #111827;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
}

.mobile-page {
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    background:
        radial-gradient(circle at top left, rgba(191, 219, 254, 0.7), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 46%, #eef2f7 100%);
    box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.mobile-header {
    padding: 28px 20px 18px;
}

.mobile-brand {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mobile-header h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.mobile-header p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

.mobile-main {
    padding: 0 14px 28px;
}

.mobile-card {
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.mobile-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    color: #111827;
}

.mobile-hint {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

.mobile-section-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}

.mobile-text-form {
    margin-top: 14px;
}

.mobile-quick-text-input {
    min-height: 108px;
}

.text-submit-btn {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.24);
}

.mobile-form {
    margin-top: 14px;
}

.mobile-unified-capture-form .mobile-note-input {
    min-height: 108px;
}


.mobile-upload-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0 14px;
}

.mobile-upload-btn {
    min-height: 62px;
    border-radius: 20px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        border-color 0.12s ease,
        background 0.12s ease;
}

.mobile-upload-btn:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.mobile-upload-btn .upload-icon {
    font-size: 21px;
    line-height: 1;
}

.camera-btn {
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.gallery-btn {
    background: linear-gradient(135deg, #f5f3ff, #ffffff);
    border-color: #ddd6fe;
    color: #6d28d9;
}

.mobile-file-input {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mobile-selected-file {
    margin: 4px 0 12px;
    padding: 9px 11px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-image-preview-wrap {
    margin: 12px 0;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mobile-image-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mobile-image-preview-grid.single {
    grid-template-columns: 1fr;
}

.mobile-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #e5e7eb;
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e8f0;
}

.mobile-image-preview-grid.single .mobile-preview-item {
    aspect-ratio: 4 / 3;
}

.mobile-preview-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mobile-preview-index {
    position: absolute;
    left: 6px;
    top: 6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}

.mobile-preview-remove-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
    -webkit-tap-highlight-color: transparent;
}

.mobile-preview-remove-btn:active {
    transform: scale(0.94);
    background: rgba(185, 28, 28, 0.88);
}

.mobile-note-input {
    width: 100%;
    min-height: 92px;
    box-sizing: border-box;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #111827;
    background: #ffffff;
    outline: none;
    resize: vertical;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mobile-note-input:focus {
    border-color: #93c5fd;
    box-shadow:
        0 0 0 4px rgba(147, 197, 253, 0.22),
        0 8px 20px rgba(15, 23, 42, 0.06);
}

.mobile-note-input::placeholder {
    color: #9ca3af;
}

.mobile-submit-btn {
    width: 100%;
    margin-top: 12px;
    min-height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-submit-btn:active {
    transform: scale(0.99);
}

.mobile-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.mobile-status {
    min-height: 22px;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.mobile-status:not(:empty) {
    padding: 9px 11px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.mobile-status-success {
    color: #166534;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.mobile-status-error {
    color: #b91c1c;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.mobile-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-section-header > div {
    min-width: 0;
}

.mobile-refresh-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.mobile-recent-list {
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.mobile-recent-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
}

.mobile-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-recent-thumb {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 16px;
    object-fit: cover;
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
}

.mobile-recent-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
}

.mobile-recent-thumbs-grid {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.mobile-recent-grid-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
}

.mobile-recent-grid-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mobile-recent-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.58);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.mobile-recent-content {
    min-width: 0;
    flex: 1;
}

.mobile-recent-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.mobile-recent-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.mobile-recent-state {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}


.mobile-recent-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
}

.mobile-recent-footer:empty {
    display: none;
}

.mobile-recent-state-pending {
    background: #fff7ed;
    color: #c2410c;
}

.mobile-recent-state-partial {
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-recent-state-organized {
    background: #f0fdf4;
    color: #166534;
}

.mobile-recent-linked {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.text-thumb {
    background: linear-gradient(135deg, #ecfeff, #f8fafc);
    border-color: #bae6fd;
    color: #0f766e;
}

.text-thumb span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

@media (max-width: 520px) {
    .mobile-page {
        max-width: none;
        box-shadow: none;
    }
}

@media (max-width: 360px) {
    .mobile-upload-actions {
        grid-template-columns: 1fr;
    }

    .mobile-header h1 {
        font-size: 27px;
    }

    .mobile-card {
        border-radius: 22px;
        padding: 16px;
    }
}


/* ================= STEP 42C MOBILE ASSET SEARCH ================= */
.mobile-recent-asset-search-box {
    margin-top: 14px;
}

.mobile-recent-asset-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-recent-asset-search-input {
    min-width: 0;
    flex: 1;
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 0 13px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    outline: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.mobile-recent-asset-search-input:focus {
    border-color: #93c5fd;
    box-shadow:
        0 0 0 4px rgba(147, 197, 253, 0.2),
        0 6px 16px rgba(15, 23, 42, 0.05);
}

.mobile-recent-asset-search-input::placeholder {
    color: #9ca3af;
}

.mobile-recent-asset-search-clear {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-asset-search-clear:active {
    transform: scale(0.98);
    background: #f8fafc;
}

.mobile-recent-asset-search-clear[hidden] {
    display: none;
}

.mobile-recent-asset-search-meta {
    min-height: 18px;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}


/* ================= MOBILE RECENT ASSETS ================= */
.mobile-recent-asset-list {
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.mobile-recent-asset-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    background: transparent;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-asset-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-recent-asset-item:active {
    transform: scale(0.995);
}

.mobile-recent-asset-cover {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 17px;
    object-fit: cover;
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
}

.mobile-recent-asset-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    color: #64748b;
    font-weight: 850;
}

.mobile-recent-asset-cover-empty span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.mobile-recent-asset-content {
    min-width: 0;
    flex: 1;
}

.mobile-recent-asset-title {
    color: #1f2937;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.45;
    word-break: break-word;
}

.mobile-recent-asset-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
}

.mobile-recent-asset-meta span {
    display: inline-flex;
    max-width: 120px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f8fafc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-recent-asset-story {
    margin-top: 5px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-recent-asset-action {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}


.mobile-load-more-btn {
    width: 100%;
    margin-top: 12px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    -webkit-tap-highlight-color: transparent;
}

.mobile-load-more-btn:active {
    transform: scale(0.99);
    background: #f8fafc;
}

.mobile-load-more-btn[hidden] {
    display: none;
}

/* ================= MOBILE ASSIGN ENTRY ================= */
.mobile-assign-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-assign-open-btn-pending,
.mobile-assign-open-btn-partial {
    border-color: #d1d5db;
    background: #ffffff;
    color: #1f2937;
}

.mobile-assign-open-btn:active {
    transform: scale(0.98);
    background: #f8fafc;
}

.mobile-assign-open-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ================= MOBILE ASSIGN SHEET ================= */
.mobile-sheet-open {
    overflow: hidden;
}

.mobile-assign-overlay[hidden] {
    display: none;
}

.mobile-assign-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mobile-assign-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.mobile-assign-sheet {
    position: relative;
    z-index: 1;
    width: min(480px, 100vw);
    max-height: 88vh;
    overflow: auto;
    padding: 10px 16px 20px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.24);
}

.mobile-assign-handle {
    width: 44px;
    height: 5px;
    margin: 4px auto 14px;
    border-radius: 999px;
    background: #cbd5e1;
}

.mobile-assign-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-assign-header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 850;
    color: #0f172a;
}

.mobile-assign-header p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.mobile-assign-close-btn {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.mobile-assign-summary {
    margin-top: 13px;
    padding: 12px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.mobile-assign-summary-title {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.mobile-assign-summary-title span {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.mobile-assign-summary-text {
    margin-top: 8px;
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.mobile-assign-summary-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.mobile-assign-summary-images-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.mobile-assign-summary-images-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-assign-summary-images-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mobile-assign-summary-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #e5e7eb;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-assign-summary-images-count-1 .mobile-assign-summary-image {
    aspect-ratio: 4 / 3;
}

.mobile-assign-summary-image:active {
    transform: scale(0.98);
}

.mobile-assign-summary-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-assign-summary-image-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.58);
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
}

.mobile-assign-status {
    margin-top: 10px;
}

.mobile-assign-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    padding: 5px;
    border-radius: 999px;
    background: #f1f5f9;
}

.mobile-assign-tab {
    min-height: 38px;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.mobile-assign-tab.active {
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.mobile-assign-panel {
    display: none;
    margin-top: 14px;
}

.mobile-assign-panel.active {
    display: block;
}

.mobile-asset-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.mobile-asset-search-input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    outline: none;
    color: #111827;
    background: #ffffff;
    font-size: 14px;
}

.mobile-asset-search-input:focus,
.mobile-field-input:focus,
.mobile-field-textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.2);
}

.mobile-asset-reload-btn {
    width: 62px;
    height: 42px;
    flex: 0 0 62px;
    border-radius: 15px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.mobile-asset-list {
    max-height: 36vh;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-right: 2px;
    color: #64748b;
    font-size: 14px;
}

.mobile-asset-empty {
    grid-column: 1 / -1;
    padding: 18px 10px;
    text-align: center;
    color: #94a3b8;
}

.mobile-asset-option {
    width: 100%;
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 10px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-option:active {
    transform: scale(0.99);
    background: #f8fafc;
}

.mobile-asset-option:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mobile-asset-option-name {
    max-width: 100%;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-asset-option-meta {
    max-width: 100%;
    overflow: hidden;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-asset-more-option {
    border-style: dashed;
    border-color: #bfdbfe;
    background: #f8fbff;
    color: #1d4ed8;
}

.mobile-asset-more-option .mobile-asset-option-name {
    color: #1d4ed8;
}

.mobile-asset-option-assigning {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.mobile-asset-option-assigning::after {
    content: "归入中...";
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
}

.mobile-new-asset-form {
    display: none;
}

.mobile-new-asset-form.active {
    display: block;
}

.mobile-field-label {
    display: block;
    margin-bottom: 11px;
}

.mobile-field-label span {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.mobile-field-input,
.mobile-field-textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 12px 13px;
    outline: none;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
}

.mobile-field-textarea {
    resize: vertical;
}

.mobile-new-asset-submit-btn {
    margin-top: 4px;
}

@media (max-height: 720px) {
    .mobile-assign-sheet {
        max-height: 94vh;
    }

    .mobile-asset-list {
        max-height: 30vh;
    }
}


/* ================= MOBILE ASSET DETAIL SHEET ================= */
.mobile-asset-detail-overlay[hidden] {
    display: none;
}

.mobile-asset-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mobile-asset-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.mobile-asset-detail-sheet {
    position: relative;
    z-index: 1;
    width: min(480px, 100vw);
    max-height: 90vh;
    overflow: auto;
    padding: 10px 16px 20px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.24);
}

.mobile-asset-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-asset-detail-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 850;
}

.mobile-asset-detail-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-asset-detail-status {
    margin-top: 10px;
}

.mobile-asset-detail-content {
    margin-top: 14px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.mobile-asset-detail-hero {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
}

.mobile-asset-detail-cover {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border-radius: 20px;
    object-fit: cover;
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
}

.mobile-asset-detail-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    color: #64748b;
    font-weight: 850;
}

.mobile-asset-detail-cover-empty span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.mobile-asset-detail-main {
    min-width: 0;
    flex: 1;
}

.mobile-asset-detail-name {
    color: #111827;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 850;
    word-break: break-word;
}

.mobile-asset-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
}

.mobile-asset-detail-meta span {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.mobile-asset-detail-section {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
}

.mobile-asset-detail-section-title {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
}

.mobile-asset-detail-info-grid {
    display: grid;
    gap: 8px;
}

.mobile-asset-detail-info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    color: #94a3b8;
    font-size: 13px;
}

.mobile-asset-detail-info-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.mobile-asset-detail-info-row strong {
    color: #334155;
    font-weight: 800;
    text-align: right;
    word-break: break-word;
}

.mobile-asset-detail-story {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    word-break: break-word;
}

.mobile-asset-detail-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.mobile-asset-detail-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #e5e7eb;
}

.mobile-asset-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mobile-asset-detail-more-text,
.mobile-asset-detail-empty {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-asset-detail-event-list {
    display: grid;
    gap: 10px;
}

.mobile-asset-detail-event-item {
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.mobile-asset-detail-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #94a3b8;
    font-size: 12px;
}

.mobile-asset-detail-event-meta span {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-asset-detail-event-title {
    margin-top: 6px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 850;
}

.mobile-asset-detail-event-content {
    margin-top: 4px;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.mobile-asset-detail-actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.mobile-asset-detail-full-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-asset-detail-full-link:active {
    transform: scale(0.98);
    background: #f8fafc;
}

@media (max-height: 720px) {
    .mobile-asset-detail-sheet {
        max-height: 94vh;
    }
}

/* ================= MOBILE IMAGE VIEWER ================= */
.mobile-asset-detail-image {
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-detail-image:active {
    transform: scale(0.98);
}

.mobile-image-viewer-overlay[hidden] {
    display: none;
}

.mobile-image-viewer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.mobile-image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(5px);
}

.mobile-image-viewer-panel {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-image-viewer-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #e5e7eb;
}

.mobile-image-viewer-counter {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.mobile-image-viewer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-image-viewer-original,
.mobile-image-viewer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-image-viewer-original {
    padding: 0 12px;
}

.mobile-image-viewer-close {
    width: 34px;
    font-size: 24px;
    line-height: 1;
}

.mobile-image-viewer-original:active,
.mobile-image-viewer-close:active,
.mobile-image-viewer-nav:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.18);
}

.mobile-image-viewer-stage {
    position: relative;
    min-height: 240px;
    max-height: calc(94vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-image-viewer-img {
    max-width: 100%;
    max-height: calc(94vh - 64px);
    display: block;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(15, 23, 42, 0.55);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.mobile-image-viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-image-viewer-prev {
    left: 8px;
}

.mobile-image-viewer-next {
    right: 8px;
}

.mobile-image-viewer-nav[hidden] {
    display: none;
}

/* ================= MOBILE ASSET DETAIL QUICK NOTE ================= */
.mobile-asset-detail-note-section {
    border-color: #dbeafe;
    background: #f8fbff;
}

.mobile-asset-note-form {
    margin-top: 10px;
}

.mobile-asset-note-input {
    width: 100%;
    min-height: 86px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 12px 13px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    line-height: 1.55;
    outline: none;
    resize: vertical;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.mobile-asset-note-input:focus {
    border-color: #93c5fd;
    box-shadow:
        0 0 0 4px rgba(147, 197, 253, 0.2),
        0 6px 16px rgba(15, 23, 42, 0.05);
}

.mobile-asset-note-input::placeholder {
    color: #9ca3af;
}

.mobile-asset-note-submit {
    width: 100%;
    margin-top: 9px;
    min-height: 42px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-note-submit:active {
    transform: scale(0.99);
    background: #f8fafc;
}

.mobile-asset-note-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mobile-asset-note-hint {
    margin-top: 7px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}


/* ================= STEP 42B MOBILE ASSET EDIT ================= */
.mobile-asset-edit-section {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mobile-asset-edit-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-asset-edit-subtitle {
    margin-top: -4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
}

.mobile-asset-edit-toggle {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-edit-toggle:active {
    transform: scale(0.98);
    background: #dbeafe;
}

.mobile-asset-edit-form {
    margin-top: 12px;
    display: grid;
    gap: 11px;
}

.mobile-asset-edit-form[hidden] {
    display: none;
}

.mobile-asset-edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-asset-edit-form .mobile-field-label {
    margin: 0;
}

.mobile-asset-edit-form select.mobile-field-input {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.mobile-asset-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 9px;
    margin-top: 2px;
}

.mobile-asset-edit-cancel,
.mobile-asset-edit-submit {
    min-height: 42px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-edit-cancel {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.mobile-asset-edit-submit {
    border: 1px solid #1d4ed8;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.mobile-asset-edit-cancel:active,
.mobile-asset-edit-submit:active {
    transform: scale(0.99);
}

.mobile-asset-edit-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 380px) {
    .mobile-asset-edit-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= STEP 42D MOBILE ASSET IMAGE UPLOAD ================= */
.mobile-asset-image-upload-section {
    border-color: #bae6fd;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
}

.mobile-asset-image-upload-form {
    margin-top: 10px;
}

.mobile-asset-image-upload-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-asset-image-upload-btn {
    min-height: 54px;
    border-radius: 18px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.mobile-asset-image-preview-wrap {
    margin: 10px 0;
    padding: 9px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mobile-asset-image-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.mobile-asset-image-preview-grid.single {
    grid-template-columns: 1fr;
}

.mobile-asset-image-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    background: #e5e7eb;
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e8f0;
}

.mobile-asset-image-preview-grid.single .mobile-asset-image-preview-item {
    aspect-ratio: 4 / 3;
}

.mobile-asset-image-preview-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mobile-asset-image-note {
    min-height: 78px;
    margin-top: 2px;
}

.mobile-asset-image-submit {
    width: 100%;
    margin-top: 9px;
    min-height: 44px;
    border-radius: 16px;
    border: 1px solid #0e7490;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(8, 145, 178, 0.2);
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-image-submit:active {
    transform: scale(0.99);
}

.mobile-asset-image-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 360px) {
    .mobile-asset-image-upload-actions {
        grid-template-columns: 1fr;
    }
}


/* ================= STEP 42F MOBILE IMAGE MANAGE ================= */
.mobile-asset-detail-image-manage-grid {
    align-items: start;
}

.mobile-asset-detail-image-card {
    min-width: 0;
}

.mobile-asset-image-card-actions {
    display: grid;
    gap: 5px;
    margin-top: 6px;
}

.mobile-asset-set-cover-btn,
.mobile-asset-remove-image-btn,
.mobile-asset-cover-badge {
    min-height: 28px;
    border-radius: 999px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
}

.mobile-asset-set-cover-btn {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-asset-remove-image-btn {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.mobile-asset-cover-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.mobile-asset-set-cover-btn:active,
.mobile-asset-remove-image-btn:active {
    transform: scale(0.98);
}

.mobile-asset-set-cover-btn:disabled,
.mobile-asset-remove-image-btn:disabled {
    opacity: 0.65;
}

.mobile-asset-detail-image-card .mobile-asset-detail-image {
    width: 100%;
}


/* ================= STEP 43 MOBILE DETAIL POLISH ================= */
.mobile-asset-detail-image-section {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mobile-asset-detail-events-section {
    border-color: #e0e7ff;
    background: #ffffff;
}

.mobile-asset-detail-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-asset-detail-title-row .mobile-asset-detail-section-title {
    margin-bottom: 0;
}

.mobile-asset-detail-section-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.mobile-asset-detail-more-events-btn {
    width: 100%;
    margin-top: 10px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-detail-more-events-btn:active {
    transform: scale(0.99);
    background: #f8fafc;
}

/* ================= STEP 44 MOBILE TIMELINE PHOTO THUMBS ================= */
.mobile-asset-event-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 9px 0 8px;
}

.mobile-asset-event-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #e5e7eb;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-event-thumb:active {
    transform: scale(0.98);
}

.mobile-asset-event-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-asset-event-thumb-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.58);
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
}

.mobile-asset-detail-full-timeline-btn {
    width: 100%;
    margin-top: 8px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-detail-full-timeline-btn:active {
    transform: scale(0.99);
    background: #dbeafe;
}

.mobile-asset-timeline-overlay[hidden] {
    display: none;
}

.mobile-asset-timeline-overlay {
    position: fixed;
    inset: 0;
    z-index: 1180;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mobile-asset-timeline-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.mobile-asset-timeline-sheet {
    position: relative;
    z-index: 1;
    width: min(480px, 100vw);
    max-height: 92vh;
    overflow: auto;
    padding: 10px 16px 20px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.24);
}

.mobile-asset-timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-asset-timeline-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 850;
}

.mobile-asset-timeline-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-asset-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-asset-timeline-list {
    display: grid;
    gap: 10px;
}

.mobile-asset-timeline-event-full {
    background: #ffffff;
}

.mobile-asset-timeline-event-full .mobile-asset-event-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* ================= STEP 45 MOBILE TIMELINE FILTERS ================= */
.mobile-asset-timeline-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-asset-timeline-stats span {
    color: #1d4ed8;
    font-weight: 850;
}

.mobile-asset-timeline-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
}

.mobile-asset-timeline-filters::-webkit-scrollbar {
    display: none;
}

.mobile-asset-timeline-filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-timeline-filter strong {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    line-height: 18px;
}

.mobile-asset-timeline-filter.active {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-asset-timeline-filter.active strong {
    background: #ffffff;
    color: #1d4ed8;
}

.mobile-asset-timeline-filter:active {
    transform: scale(0.98);
}

.mobile-asset-timeline-filter:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.mobile-asset-timeline-grouped-list {
    display: grid;
    gap: 12px;
}

.mobile-asset-timeline-month-group {
    display: grid;
    gap: 8px;
}

.mobile-asset-timeline-month-title {
    position: sticky;
    top: -10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 4px 6px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.mobile-asset-timeline-month-title strong {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 850;
}

/* ================= STEP 46 MOBILE RECORD FLOW ================= */
.mobile-recent-filter-panel {
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.mobile-recent-filter-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 4px;
    border-radius: 999px;
    background: #eaf0f7;
}

.mobile-recent-filter-tab {
    min-height: 34px;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-filter-tab.active {
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.mobile-recent-filter-tab:active {
    transform: scale(0.98);
}

.mobile-recent-filter-summary {
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.mobile-recent-empty-filter {
    margin-top: 12px;
    padding: 16px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.mobile-recent-item-status-pending {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    background: #fff7ed;
}

.mobile-recent-item-status-partial {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: #eff6ff;
}

.mobile-recent-item-status-organized {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    opacity: 0.78;
}

.mobile-recent-item-status-organized:active,
.mobile-recent-item-status-organized:hover {
    opacity: 1;
}

.mobile-recent-item-status-pending + .mobile-recent-item,
.mobile-recent-item-status-partial + .mobile-recent-item,
.mobile-recent-item-status-organized + .mobile-recent-item {
    border-top: none;
}

.mobile-recent-unlinked-count {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fed7aa;
}

.mobile-recent-assignment-hint {
    margin-top: 6px;
    color: #c2410c;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.mobile-recent-item-status-organized .mobile-recent-assignment-hint {
    color: #64748b;
}

.mobile-recent-item-status-organized .mobile-recent-linked {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.mobile-recent-item-status-partial .mobile-recent-linked {
    background: #ffffff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.mobile-recent-item-status-pending .mobile-assign-open-btn {
    border-color: #fdba74;
    background: #ffffff;
    color: #c2410c;
}

.mobile-recent-item-status-partial .mobile-assign-open-btn {
    border-color: #93c5fd;
    background: #ffffff;
    color: #1d4ed8;
}


/* ================= STEP 47 MOBILE ASSIGN VIEW LOOP ================= */
.mobile-recent-linked-btn {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-linked-btn:active {
    transform: scale(0.98);
    background: #dcfce7;
}

.mobile-recent-linked-more {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
}

.mobile-assign-success-box {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
}

.mobile-assign-success-text {
    font-size: 13px;
    line-height: 1.5;
    font-weight: 750;
}

.mobile-assign-view-asset-btn {
    width: 100%;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid #86efac;
    background: #ffffff;
    color: #166534;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-assign-view-asset-btn:active {
    transform: scale(0.99);
    background: #f0fdf4;
}

/* ================= STEP 48 MOBILE HOME POLISH ================= */
.mobile-home-priority-card {
    border-color: #fed7aa;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #fffaf5 100%);
}

.mobile-home-priority-card .mobile-section-header h2::before {
    content: "记录";
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-right: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 850;
    vertical-align: 2px;
}

.mobile-home-assets-card {
    background: rgba(255, 255, 255, 0.88);
}

.mobile-home-assets-card .mobile-section-header h2::before {
    content: "回看";
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-right: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
    vertical-align: 2px;
}

.mobile-home-priority-card .mobile-recent-filter-panel {
    margin-top: 14px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid #ffedd5;
    background: rgba(255, 255, 255, 0.76);
}

.mobile-home-priority-card .mobile-recent-filter-tabs {
    background: #fff7ed;
}

.mobile-home-priority-card .mobile-recent-filter-tab.active {
    color: #c2410c;
}

.mobile-home-priority-card .mobile-recent-filter-summary {
    color: #9a3412;
    font-weight: 750;
}

.mobile-home-priority-card .mobile-recent-empty-filter {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}


/* ================= STEP 49 MOBILE ALL IMAGES ================= */
.mobile-asset-detail-all-images-btn {
    width: 100%;
    margin-top: 10px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-detail-all-images-btn:active {
    transform: scale(0.99);
    background: #dbeafe;
}

.mobile-asset-images-overlay[hidden] {
    display: none;
}

.mobile-asset-images-overlay {
    position: fixed;
    inset: 0;
    z-index: 1190;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mobile-asset-images-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.mobile-asset-images-sheet {
    position: relative;
    z-index: 1;
    width: min(480px, 100vw);
    max-height: 92vh;
    overflow: auto;
    padding: 10px 16px 20px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.24);
}

.mobile-asset-images-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-asset-images-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 850;
}

.mobile-asset-images-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-asset-images-content {
    color: #64748b;
    font-size: 14px;
}

.mobile-asset-images-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mobile-asset-images-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    background: #e5e7eb;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-images-item:active {
    transform: scale(0.98);
}

.mobile-asset-images-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ================= STEP 50 MOBILE MEMORY FLOW ================= */
.mobile-record-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 14px 0 8px;
    padding: 4px;
    border-radius: 999px;
    background: #eef2f7;
}

.mobile-record-mode-btn {
    min-height: 36px;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-record-mode-btn.active {
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.mobile-record-mode-btn:active {
    transform: scale(0.98);
}

.mobile-record-mode-hint {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.mobile-smart-auto-assign {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 9px 11px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-smart-auto-assign[hidden] {
    display: none;
}

.mobile-smart-auto-assign input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #2563eb;
}

.mobile-smart-auto-assign-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-smart-auto-assign-main strong {
    color: #1f2937;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 850;
}

.mobile-smart-auto-assign-main em {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.35;
    font-style: normal;
}

.mobile-smart-auto-assign:active {
    transform: scale(0.995);
    background: #f1f5f9;
}

.mobile-recent-state-memory {
    background: #f5f3ff;
    color: #6d28d9;
}

.mobile-recent-item-status-memory {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #ddd6fe;
    border-radius: 18px;
    background: #faf5ff;
}

.mobile-recent-item-status-memory .mobile-recent-assignment-hint {
    color: #6d28d9;
}

.mobile-recent-item-status-memory .mobile-assign-open-btn {
    border-color: #ddd6fe;
    background: #ffffff;
    color: #6d28d9;
}

.mobile-mark-memory-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #ddd6fe;
    background: #ffffff;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-mark-memory-btn:active {
    transform: scale(0.98);
    background: #f5f3ff;
}

.mobile-mark-memory-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* ================= STEP 51 MOBILE MEMORY TIMELINE ================= */
.mobile-memory-timeline-list {
    display: grid;
    gap: 10px;
}

.mobile-memory-timeline-intro {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 18px;
    border: 1px solid #ddd6fe;
    background: #faf5ff;
    color: #6d28d9;
}

.mobile-memory-timeline-intro strong {
    color: #4c1d95;
    font-size: 14px;
    font-weight: 900;
}

.mobile-memory-timeline-intro span {
    color: #7c3aed;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 750;
}

.mobile-memory-month-divider {
    position: sticky;
    top: -1px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding: 8px 6px 5px;
    background: linear-gradient(180deg, #fffaf5 0%, rgba(255, 250, 245, 0.92) 100%);
    color: #4c1d95;
    font-size: 14px;
    font-weight: 900;
}

.mobile-memory-month-divider strong {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ffffff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
    font-size: 12px;
    font-weight: 850;
}

.mobile-memory-timeline-list .mobile-recent-item-status-memory {
    margin-top: 0;
}

/* ================= STEP 54A MOBILE RECORD FLOW ACTIONS ================= */
.mobile-capture-edit-btn,
.mobile-capture-delete-btn,
.mobile-recent-edit-cancel,
.mobile-recent-edit-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-capture-edit-btn {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-capture-delete-btn {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.mobile-capture-edit-btn:active,
.mobile-capture-delete-btn:active,
.mobile-recent-edit-cancel:active,
.mobile-recent-edit-submit:active {
    transform: scale(0.98);
}

.mobile-capture-edit-btn:disabled,
.mobile-capture-delete-btn:disabled,
.mobile-recent-edit-cancel:disabled,
.mobile-recent-edit-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mobile-recent-edit-form {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.mobile-recent-edit-form[hidden] {
    display: none;
}

.mobile-recent-edit-textarea {
    width: 100%;
    min-height: 84px;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    padding: 11px 12px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    line-height: 1.55;
    outline: none;
    resize: vertical;
}

.mobile-recent-edit-textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.2);
}

.mobile-recent-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 8px;
    margin-top: 8px;
}

.mobile-recent-edit-cancel {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.mobile-recent-edit-submit {
    border: 1px solid #1d4ed8;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

/* ================= STEP 54B MOBILE RECORD FLOW POLISH ================= */
.mobile-capture-manage-actions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.94);
    border: 1px solid #e2e8f0;
}

.mobile-capture-manage-actions .mobile-capture-edit-btn,
.mobile-capture-manage-actions .mobile-capture-delete-btn {
    min-height: 26px;
    padding: 0 8px;
    box-shadow: none;
}

.mobile-capture-manage-actions .mobile-capture-delete-btn {
    border-color: transparent;
    background: transparent;
    color: #dc2626;
}

.mobile-capture-manage-actions .mobile-capture-delete-btn:active {
    background: #fef2f2;
}

.mobile-recent-edit-title {
    margin-bottom: 7px;
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 900;
}

.mobile-recent-item-status-memory .mobile-recent-edit-form {
    border-color: #ddd6fe;
    background: #faf5ff;
}

.mobile-recent-item-status-memory .mobile-recent-edit-title {
    color: #6d28d9;
}

.mobile-recent-footer .mobile-assign-open-btn,
.mobile-recent-footer .mobile-mark-memory-btn,
.mobile-recent-footer .mobile-recent-linked,
.mobile-recent-footer .mobile-capture-manage-actions {
    margin-top: 1px;
    margin-bottom: 1px;
}

@media (max-width: 380px) {
    .mobile-recent-footer {
        gap: 6px;
    }

    .mobile-capture-manage-actions {
        width: 100%;
        justify-content: flex-end;
        background: transparent;
        border-color: transparent;
        padding: 0;
    }
}



/* ================= STEP 54C MOBILE RECORD TIMELINE GROUPS ================= */
.mobile-recent-timeline-list {
    display: grid;
    gap: 10px;
}

.mobile-recent-timeline-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
}

.mobile-recent-timeline-intro-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-recent-timeline-intro-todo {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.mobile-recent-timeline-intro-todo strong {
    color: #9a3412;
}

.mobile-recent-timeline-intro-todo span {
    color: #c2410c;
}

.mobile-recent-timeline-intro-all {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-recent-timeline-intro-all strong {
    color: #1e3a8a;
}

.mobile-recent-timeline-intro-all span {
    color: #1d4ed8;
}

.mobile-recent-group-mode-actions {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.mobile-recent-group-mode-btn {
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-group-mode-btn.active {
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 5px 13px rgba(15, 23, 42, 0.08);
}

.mobile-recent-group-mode-btn:active,
.mobile-recent-period-divider:active {
    transform: scale(0.98);
}

.mobile-recent-period-divider {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-period-title {
    min-width: 0;
}

.mobile-recent-period-meta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mobile-recent-period-meta em {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
}

.mobile-recent-period-divider.collapsed {
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
}

.mobile-recent-period-divider.collapsed .mobile-recent-period-meta em {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.mobile-recent-timeline-list .mobile-recent-item[hidden] {
    display: none;
}

.mobile-recent-timeline-list .mobile-recent-item {
    margin-top: 0;
}

@media (max-width: 380px) {
    .mobile-recent-timeline-intro {
        grid-template-columns: 1fr;
    }

    .mobile-recent-group-mode-actions {
        justify-self: start;
    }
}


/* ================= STEP 54D MOBILE CAPTURE DETAIL VIEWER ================= */
.mobile-recent-thumb-empty,
.mobile-recent-image-open,
.mobile-recent-detail-open,
.mobile-recent-grid-thumb {
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    text-align: left;
}

.mobile-recent-image-open.mobile-recent-thumb {
    overflow: hidden;
    display: block;
    background: #e5e7eb;
}

.mobile-recent-image-open.mobile-recent-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mobile-recent-detail-open.mobile-recent-text {
    width: 100%;
    display: block;
    border: none;
    padding: 0;
    background: transparent;
    text-align: left;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.mobile-recent-detail-open.mobile-recent-text:active,
.mobile-recent-image-open:active,
.mobile-recent-grid-thumb:active,
.mobile-capture-detail-image:active {
    transform: scale(0.99);
}

.mobile-capture-detail-overlay[hidden] {
    display: none;
}

.mobile-capture-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 1170;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mobile-capture-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.mobile-capture-detail-sheet {
    position: relative;
    z-index: 1;
    width: min(480px, 100vw);
    max-height: 90vh;
    overflow: auto;
    padding: 10px 16px 20px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.24);
}

.mobile-capture-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-capture-detail-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 850;
}

.mobile-capture-detail-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-capture-detail-content {
    margin-top: 14px;
    display: grid;
    gap: 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.mobile-capture-detail-card,
.mobile-capture-detail-section,
.mobile-capture-detail-hint {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    padding: 12px;
}

.mobile-capture-detail-card {
    background: #f8fafc;
}

.mobile-capture-detail-status-pending {
    border-color: #fed7aa;
    background: #fff7ed;
}

.mobile-capture-detail-status-partial {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.mobile-capture-detail-status-memory {
    border-color: #ddd6fe;
    background: #faf5ff;
}

.mobile-capture-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.mobile-capture-detail-meta span,
.mobile-capture-detail-title-row span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 800;
}

.mobile-capture-detail-text {
    white-space: pre-wrap;
    word-break: break-word;
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.mobile-capture-detail-section-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
}

.mobile-capture-detail-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-capture-detail-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.mobile-capture-detail-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #e5e7eb;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-capture-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mobile-capture-detail-image span {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    overflow: hidden;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-capture-detail-linked-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mobile-capture-detail-hint {
    border-style: dashed;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 380px) {
    .mobile-capture-detail-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ================= STEP 54D-2 MOBILE RECORD SEARCH ================= */
.mobile-recent-search-box {
    margin-bottom: 10px;
}

.mobile-recent-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-recent-search-input {
    min-width: 0;
    flex: 1;
    height: 40px;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    padding: 0 13px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    outline: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.mobile-recent-search-input:focus {
    border-color: #fdba74;
    box-shadow:
        0 0 0 4px rgba(251, 146, 60, 0.16),
        0 6px 16px rgba(15, 23, 42, 0.05);
}

.mobile-recent-search-input::placeholder {
    color: #9ca3af;
}

.mobile-recent-search-clear {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #fed7aa;
    background: #ffffff;
    color: #c2410c;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-search-clear:active {
    transform: scale(0.98);
    background: #fff7ed;
}

.mobile-recent-search-clear[hidden] {
    display: none;
}

.mobile-recent-search-meta {
    min-height: 18px;
    margin-top: 6px;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 750;
}

.mobile-recent-period-divider.search-open {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.mobile-recent-period-divider.search-open .mobile-recent-period-meta em {
    color: #1d4ed8;
}

/* ================= STEP 54E MOBILE QUICK ORGANIZE ================= */
.mobile-recent-bulk-actions {
    display: flex;
    gap: 8px;
    margin-top: 9px;
}

.mobile-recent-bulk-btn {
    flex: 1;
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid #fed7aa;
    background: #ffffff;
    color: #9a3412;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-bulk-btn:active {
    transform: scale(0.98);
    background: #fff7ed;
}

.mobile-recent-bulk-btn:disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.mobile-recent-period-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.mobile-recent-period-stat {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ffffff;
    color: #9a3412;
    border: 1px solid #ffedd5;
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.mobile-recent-period-stat-soft {
    color: #64748b;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.mobile-capture-detail-actions-section {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

.mobile-capture-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-capture-detail-action {
    flex: 1 1 auto;
    min-width: 96px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-capture-detail-action-primary {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-capture-detail-action-danger {
    border-color: #fecaca;
    background: #fff7f7;
    color: #b91c1c;
}

.mobile-capture-detail-action:active {
    transform: scale(0.98);
}

.mobile-capture-detail-action:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.mobile-capture-detail-edit-form {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #fed7aa;
}

.mobile-capture-detail-edit-form[hidden] {
    display: none;
}

.mobile-capture-detail-edit-textarea {
    min-height: 104px;
}

/* ================= STEP 54F MOBILE RECORD FLOW STABILITY ================= */
.mobile-recent-bulk-btn:disabled,
.mobile-recent-group-mode-btn:disabled,
.mobile-capture-detail-action:disabled,
.mobile-capture-edit-btn:disabled,
.mobile-capture-delete-btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.mobile-capture-detail-action:disabled:active,
.mobile-capture-edit-btn:disabled:active,
.mobile-capture-delete-btn:disabled:active,
.mobile-recent-bulk-btn:disabled:active {
    transform: none;
}


/* ================= STEP 54G MOBILE ASSET TIMELINE MORE MENU ================= */
.mobile-asset-detail-event-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.mobile-asset-detail-event-topline .mobile-asset-detail-event-meta {
    min-width: 0;
    flex: 1;
}

.mobile-asset-event-more-wrap {
    position: relative;
    flex: 0 0 auto;
}

.mobile-asset-event-more-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 3px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-event-more-btn:active,
.mobile-asset-event-more-btn[aria-expanded="true"] {
    transform: none;
    background: transparent;
    color: #64748b;
}

.mobile-asset-event-more-menu {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 4;
    min-width: 150px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.mobile-asset-event-more-menu[hidden] {
    display: none;
}

.mobile-asset-event-more-action {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: transparent;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-event-more-action:active {
    background: #eff6ff;
}

.mobile-asset-event-more-action:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.mobile-asset-event-more-danger {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: transparent;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-event-more-danger:active {
    background: #fef2f2;
}

.mobile-asset-event-more-danger:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

/* ================= STEP 54H MOBILE ASSET DETAIL ACTION POLISH ================= */
.mobile-asset-collapsible-section {
    background: #ffffff;
}

.mobile-asset-action-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-asset-action-subtitle {
    margin-top: -4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
}

.mobile-asset-action-toggle {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-action-toggle:active,
.mobile-asset-action-toggle[aria-expanded="true"] {
    transform: scale(0.98);
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-asset-collapsible-body {
    margin-top: 12px;
}

.mobile-asset-collapsible-body[hidden] {
    display: none;
}

.mobile-asset-form-actions {
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    gap: 9px;
    margin-top: 9px;
}

.mobile-asset-form-cancel,
.mobile-asset-form-actions .mobile-asset-note-submit,
.mobile-asset-form-actions .mobile-asset-image-submit {
    width: 100%;
    margin-top: 0;
    min-height: 42px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-form-cancel {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.mobile-asset-form-cancel:active,
.mobile-asset-form-actions .mobile-asset-note-submit:active,
.mobile-asset-form-actions .mobile-asset-image-submit:active {
    transform: scale(0.99);
}

.mobile-asset-form-cancel:disabled,
.mobile-asset-action-toggle:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

@media (max-width: 360px) {
    .mobile-asset-action-title-row {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-asset-action-toggle {
        width: 100%;
    }
}

/* ================= STEP 54I ASSET DETAIL VIEW POLISH ================= */
.mobile-asset-detail-image-title-row {
    margin-bottom: 10px;
}

.mobile-asset-detail-image-section .mobile-asset-detail-image-grid {
    gap: 8px;
}

.mobile-asset-detail-image,
.mobile-asset-images-item {
    position: relative;
}

.mobile-asset-image-cover-ribbon {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(22, 101, 52, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 850;
    line-height: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.mobile-asset-image-cover-ribbon-small {
    min-height: 19px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 19px;
}

.mobile-asset-detail-image-more-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 16px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
}

.mobile-asset-detail-image-more-row span {
    min-width: 0;
}

.mobile-asset-detail-image-more-row .mobile-asset-detail-all-images-btn {
    width: auto;
    flex: 0 0 auto;
    margin-top: 0;
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
    background: #ffffff;
}

.mobile-asset-images-summary {
    margin-bottom: 10px;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.mobile-asset-detail-event-list {
    gap: 9px;
}

.mobile-asset-detail-event-item {
    position: relative;
}

.mobile-asset-event-thumbs-count-1 {
    grid-template-columns: minmax(0, 0.62fr);
}

.mobile-asset-event-thumbs-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-asset-event-thumbs-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mobile-asset-timeline-event-full .mobile-asset-event-thumbs-count-1 {
    grid-template-columns: minmax(0, 0.7fr);
}

.mobile-asset-timeline-event-full .mobile-asset-event-thumbs-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-asset-timeline-event-full .mobile-asset-event-thumbs-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 360px) {
    .mobile-asset-detail-image-more-row {
        align-items: stretch;
        flex-direction: column;
    }

    .mobile-asset-detail-image-more-row .mobile-asset-detail-all-images-btn {
        width: 100%;
    }
}


/* ================= STEP 55J-5 MOBILE RECORD FLOW BULK TOGGLE ================= */
.mobile-recent-bulk-actions {
    display: none;
}

.mobile-recent-group-mode-actions {
    gap: 5px;
}

.mobile-recent-bulk-toggle-btn {
    min-width: 68px;
    border-left: 1px solid rgba(226, 232, 240, 0.95);
}

.mobile-recent-bulk-toggle-btn:disabled {
    opacity: 0.52;
    cursor: not-allowed;
}


/* ================= STEP 57A MOBILE ASSET DETAIL DENOISE ================= */
.mobile-asset-detail-hero-compact .mobile-asset-detail-meta {
    margin-top: 8px;
}

.mobile-asset-detail-meta-compact span {
    max-width: none;
    color: #64748b;
}

.mobile-asset-detail-image-section .mobile-asset-detail-image-grid {
    align-items: start;
}

.mobile-asset-detail-image-section .mobile-asset-detail-image-card {
    display: block;
}

.mobile-asset-image-card-actions-hidden,
.mobile-asset-detail-image-section .mobile-asset-image-card-actions-hidden {
    display: none !important;
}

.mobile-asset-detail-image-section .mobile-asset-detail-image {
    width: 100%;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.mobile-asset-detail-image-section .mobile-asset-detail-image:active {
    transform: scale(0.985);
}

.mobile-asset-detail-image-section .mobile-asset-image-cover-ribbon {
    left: 7px;
    top: 7px;
    background: rgba(37, 99, 235, 0.88);
}

.mobile-asset-detail-image-section .mobile-asset-detail-image-more-row {
    margin-top: 12px;
    background: rgba(248, 250, 252, 0.8);
}


/* ================= STEP 57A-1 MOBILE ALL IMAGES MANAGE ================= */
.mobile-asset-images-manage-grid {
    align-items: start;
}

.mobile-asset-images-card {
    min-width: 0;
}

.mobile-asset-images-card .mobile-asset-images-item {
    width: 100%;
}

.mobile-asset-images-card-actions {
    display: grid;
    gap: 6px;
    margin-top: 7px;
}

.mobile-asset-images-card-actions .mobile-asset-set-cover-btn,
.mobile-asset-images-card-actions .mobile-asset-remove-image-btn,
.mobile-asset-images-card-actions .mobile-asset-cover-badge {
    width: 100%;
    min-height: 30px;
    line-height: 30px;
}

.mobile-asset-images-card-actions .mobile-asset-remove-image-btn {
    background: #fff7f7;
}

/* ================= STEP 57B MOBILE ASSET DETAIL UNIFIED CONTINUE FORM ================= */
.mobile-asset-continue-section {
    border-color: #bae6fd;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
}

.mobile-asset-continue-section .mobile-asset-detail-section-title::before {
    content: "记录";
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-right: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
    vertical-align: 2px;
}

.mobile-asset-continue-section .mobile-asset-image-upload-actions {
    margin-bottom: 12px;
}

.mobile-asset-continue-section .mobile-asset-image-note {
    min-height: 96px;
}

.mobile-asset-continue-section .mobile-asset-image-submit {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}


/* ================= STEP 57C MOBILE DETAIL TIMELINE DENOISE ================= */
.mobile-asset-detail-events-hint {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

/* ================= STEP 58B MOBILE RECORD FLOW OWNER POLISH ================= */
.mobile-recent-period-divider {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 8px 10px;
}

.mobile-recent-period-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.mobile-recent-period-heading em {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
}

.mobile-recent-period-divider .mobile-recent-period-title {
    display: block;
    min-width: 0;
    color: #4c1d95;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
    word-break: keep-all;
}

.mobile-recent-period-divider .mobile-recent-period-meta {
    width: 100%;
    flex: none;
    display: block;
}

.mobile-recent-period-divider .mobile-recent-period-stats {
    justify-content: flex-start;
}

.mobile-recent-period-divider > .mobile-recent-period-meta > em {
    display: none;
}

.mobile-recent-period-divider.collapsed .mobile-recent-period-heading em {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.mobile-recent-period-divider.search-open .mobile-recent-period-heading em {
    color: #6d28d9;
    border-color: #ddd6fe;
    background: #faf5ff;
}

.mobile-recent-owner-btn {
    border: 1px solid #bbf7d0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-owner-btn::after {
    content: " ›";
    font-weight: 950;
}

.mobile-recent-owner-btn:active {
    transform: scale(0.98);
    background: #dcfce7;
}


/* ================= STEP 59A MOBILE ASSIGN FEEDBACK ================= */
.mobile-assign-feedback[hidden] {
    display: none;
}

.mobile-assign-feedback {
    margin: 12px 0 2px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(22, 101, 52, 0.08);
}

.mobile-assign-feedback-show {
    animation: mobileAssignFeedbackIn 0.18s ease-out;
}

.mobile-assign-feedback-main {
    display: grid;
    gap: 3px;
}

.mobile-assign-feedback-title {
    color: #166534;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 900;
}

.mobile-assign-feedback-subtitle {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

.mobile-assign-feedback-actions,
.mobile-assign-success-actions {
    display: flex;
    align-items: center;
    margin-top: 9px;
}

.mobile-assign-success-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.mobile-assign-feedback-view,
.mobile-assign-feedback-continue,
.mobile-assign-continue-btn {
    min-height: 38px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-assign-feedback-view {
    border: 1px solid #86efac;
    background: #ffffff;
    color: #166534;
}

.mobile-assign-feedback-continue,
.mobile-assign-continue-btn {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #475569;
}

.mobile-assign-feedback-view:active,
.mobile-assign-feedback-continue:active,
.mobile-assign-continue-btn:active {
    transform: scale(0.99);
    background: #f8fafc;
}

.mobile-assign-success-actions .mobile-assign-view-asset-btn,
.mobile-assign-success-actions .mobile-assign-continue-btn {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}

@keyframes mobileAssignFeedbackIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 360px) {
    .mobile-assign-feedback-actions {
        grid-template-columns: 1fr;
    }

    .mobile-assign-success-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }
}


/* ================= STEP 59D ASSIGN COMPLETED STATE ================= */
.mobile-assign-sheet.mobile-assign-completed .mobile-assign-tabs,
.mobile-assign-sheet.mobile-assign-completed .mobile-assign-panel {
    display: none !important;
}

.mobile-assign-sheet.mobile-assign-completed .mobile-assign-summary {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.mobile-assign-sheet.mobile-assign-completed .mobile-assign-summary::after {
    content: "本条已归入，可查看物品或继续下一条";
    display: block;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dashed #bbf7d0;
    color: #166534;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 800;
}


/* ================= STEP 60D MOBILE SAVE BUTTON BOTTOM GAP + PREVIEW REMOVE ================= */
.mobile-submit-btn-focus-hint {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 3px;
    transform: translateY(-1px);
}

/* ================= STEP 60E MOBILE IMAGE SELECTION MANAGEMENT ================= */
.mobile-image-selection-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.mobile-image-selection-hint {
    min-width: 0;
    flex: 1;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.mobile-image-clear-btn {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: #ffffff;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-image-clear-btn:active {
    transform: scale(0.98);
    background: #fef2f2;
}

.mobile-image-clear-btn[hidden] {
    display: none;
}


/* ================= STEP 62A MOBILE MISSING IMAGE FALLBACK ================= */
.mobile-image-missing {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 64px;
    border: 1px dashed #cbd5e1 !important;
    background: repeating-linear-gradient(
        135deg,
        #f8fafc 0,
        #f8fafc 8px,
        #f1f5f9 8px,
        #f1f5f9 16px
    ) !important;
    color: #94a3b8 !important;
    text-align: center;
    overflow: hidden;
}

.mobile-image-missing img,
.mobile-image-missing .mobile-recent-more,
.mobile-image-missing .mobile-asset-event-thumb-more,
.mobile-image-missing .mobile-asset-image-cover-ribbon,
.mobile-image-missing .mobile-assign-summary-image-more {
    display: none !important;
}

.mobile-image-missing-icon {
    display: block;
    font-size: 20px;
    line-height: 1;
    opacity: 0.9;
}

.mobile-image-missing-title {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

.mobile-image-missing-subtitle {
    display: block;
    max-width: 92%;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 750;
}

.mobile-image-missing-cover {
    flex: 0 0 auto;
}

.mobile-recent-thumb.mobile-image-missing,
.mobile-recent-grid-thumb.mobile-image-missing,
.mobile-asset-event-thumb.mobile-image-missing,
.mobile-assign-summary-image.mobile-image-missing {
    padding: 4px;
}

.mobile-recent-thumb.mobile-image-missing .mobile-image-missing-subtitle,
.mobile-recent-grid-thumb.mobile-image-missing .mobile-image-missing-subtitle,
.mobile-asset-event-thumb.mobile-image-missing .mobile-image-missing-subtitle,
.mobile-assign-summary-image.mobile-image-missing .mobile-image-missing-subtitle {
    display: none;
}

.mobile-asset-detail-image.mobile-image-missing,
.mobile-asset-images-item.mobile-image-missing,
.mobile-capture-detail-image.mobile-image-missing {
    padding: 8px;
    aspect-ratio: 1 / 1;
}

.mobile-image-viewer-stage-missing {
    min-height: 260px;
}

.mobile-image-viewer-stage-missing .mobile-image-viewer-img {
    display: none !important;
}

.mobile-image-viewer-missing {
    position: relative;
    z-index: 1;
    width: min(320px, 82vw);
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border: 1px dashed rgba(226, 232, 240, 0.58);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    text-align: center;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
}

.mobile-image-viewer-missing .mobile-image-missing-icon {
    font-size: 34px;
}

.mobile-image-viewer-missing .mobile-image-missing-title {
    color: #f8fafc;
    font-size: 16px;
}

.mobile-image-viewer-missing .mobile-image-missing-subtitle {
    color: #cbd5e1;
    font-size: 12px;
}

/* ================= STEP 64D MOBILE SAVE FEEDBACK COMPACT ROW ================= */
.mobile-save-feedback {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title title"
        "subtitle action";
    column-gap: 12px;
    row-gap: 7px;
    align-items: center;
    padding: 11px 12px !important;
    border-radius: 20px !important;
    border-color: #bbf7d0 !important;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
    box-shadow: 0 10px 24px rgba(22, 101, 52, 0.08);
}

.mobile-save-feedback-main {
    display: contents;
}

.mobile-save-feedback-title {
    grid-area: title;
    color: #166534;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}

.mobile-save-feedback-subtitle {
    grid-area: subtitle;
    min-width: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-save-feedback-actions {
    grid-area: action;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0;
}

.mobile-save-feedback-primary {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #86efac;
    background: #ffffff;
    color: #166534;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.mobile-save-feedback-primary:active {
    transform: scale(0.99);
    background: #f8fafc;
}

@media (max-width: 360px) {
    .mobile-save-feedback {
        column-gap: 9px;
    }

    .mobile-save-feedback-primary {
        padding: 0 12px;
    }
}



/* ================= STEP 66A MOBILE RECENT CARD ACTIONS ================= */
.mobile-recent-more-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    margin-bottom: 1px;
}

.mobile-recent-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.82);
    color: #64748b;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-more-btn:active,
.mobile-recent-more-btn[aria-expanded="true"] {
    transform: scale(0.98);
    background: #f8fafc;
    color: #1f2937;
}

.mobile-recent-more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    z-index: 8;
    min-width: 138px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.mobile-recent-more-menu[hidden] {
    display: none;
}

.mobile-recent-more-menu::before {
    content: "";
    position: absolute;
    right: 13px;
    top: -6px;
    width: 10px;
    height: 10px;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    transform: rotate(45deg);
}

.mobile-recent-more-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-more-menu-item:active {
    background: #f8fafc;
    transform: scale(0.99);
}

.mobile-recent-more-menu-danger {
    color: #dc2626;
}

.mobile-recent-more-menu-danger:active {
    background: #fef2f2;
}

.mobile-recent-footer .mobile-recent-more-wrap {
    margin-left: auto;
}

.mobile-recent-footer .mobile-assign-open-btn + .mobile-recent-more-wrap {
    margin-left: 4px;
}

@media (max-width: 380px) {
    .mobile-recent-footer .mobile-recent-more-wrap {
        margin-left: auto;
    }
}


/* ================= STEP 66B MOBILE RECENT CARD DENSITY ================= */
.mobile-home-priority-card .mobile-section-header h2::before,
.mobile-home-assets-card .mobile-section-header h2::before {
    content: none !important;
    display: none !important;
}

.mobile-recent-meta .mobile-recent-more-wrap {
    margin-left: auto;
    align-self: center;
}

.mobile-recent-meta .mobile-recent-more-btn {
    min-width: 34px;
    min-height: 30px;
    padding: 0 9px;
}

.mobile-recent-assignment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.mobile-recent-assignment-row .mobile-recent-assignment-hint {
    min-width: 0;
    flex: 1;
    margin-top: 0;
}

.mobile-recent-assignment-hint-empty {
    visibility: hidden;
}

.mobile-recent-assignment-row .mobile-assign-open-btn {
    flex: 0 0 auto;
    margin-left: auto;
}

.mobile-recent-footer .mobile-recent-more-wrap {
    margin-left: 0;
}

@media (max-width: 380px) {
    .mobile-recent-assignment-row {
        gap: 8px;
    }

    .mobile-recent-assignment-row .mobile-assign-open-btn {
        padding-left: 9px;
        padding-right: 9px;
    }
}


/* ================= STEP 66C MOBILE RECENT CARD TOPLINE ================= */
.mobile-recent-item {
    display: block;
}

.mobile-recent-meta-topline {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    overflow: visible;
}

.mobile-recent-meta-topline > span,
.mobile-recent-meta-topline > button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.mobile-recent-meta-topline .mobile-recent-more-wrap {
    margin-left: auto;
}

.mobile-recent-meta-topline .mobile-recent-more-menu {
    right: 0;
}

.mobile-recent-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mobile-recent-body .mobile-recent-thumb,
.mobile-recent-body .mobile-recent-thumbs-grid {
    margin-top: 0;
}

.mobile-recent-body .mobile-recent-content {
    min-width: 0;
    flex: 1;
}

@media (max-width: 380px) {
    .mobile-recent-meta-topline {
        gap: 6px;
        font-size: 12px;
    }

    .mobile-recent-meta-topline .mobile-recent-state {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* ================= STEP 70A MOBILE AUTO MATCH ================= */
.mobile-recent-auto-match-stat {
    border-color: #c4b5fd;
    background: #ffffff;
    color: #4f46e5;
}

.mobile-recent-period-action {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-period-action:active {
    transform: scale(0.97);
    background: #eef2ff;
}

.mobile-recent-auto-match-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.mobile-recent-auto-assign-btn {
    max-width: 100%;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-recent-auto-assign-btn:active {
    transform: scale(0.98);
    background: #dbeafe;
}

.mobile-recent-auto-assign-btn:disabled {
    opacity: 0.68;
    cursor: not-allowed;
}

/* ================= STEP 72 QUICK ASSIGN SELECT ================= */
.mobile-save-action-row {
    display: grid;
    grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
    gap: 9px;
    align-items: stretch;
    margin-top: 12px;
}

.mobile-save-action-row .mobile-submit-btn {
    margin-top: 0;
    height: 50px;
}

.mobile-save-action-row-memory {
    grid-template-columns: 1fr;
}

.mobile-quick-assign-select {
    min-width: 0;
    width: 100%;
    height: 50px;
    padding: 0 32px 0 12px;
    border-radius: 18px;
    border: 1px solid #dbe3ef;
    background:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%),
        #ffffff;
    background-position:
        calc(100% - 17px) 50%,
        calc(100% - 12px) 50%,
        0 0;
    background-size: 5px 5px, 5px 5px, 100% 100%;
    background-repeat: no-repeat;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    outline: none;
    appearance: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mobile-quick-assign-select:focus {
    border-color: #93c5fd;
    box-shadow:
        0 0 0 4px rgba(147, 197, 253, 0.22),
        0 8px 20px rgba(15, 23, 42, 0.06);
}

.mobile-quick-assign-select[hidden] {
    display: none;
}

@media (max-width: 360px) {
    .mobile-save-action-row {
        grid-template-columns: 1fr;
    }
}

/* ================= STEP 80D MOBILE QUICK ASSIGN PANELS STYLE RESTORE ================= */
.mobile-quick-selected-asset-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-quick-selected-asset-bar[hidden] {
    display: none !important;
}

.mobile-quick-selected-asset-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-quick-selected-asset-text strong {
    font-weight: 900;
}

.mobile-quick-selected-asset-cancel {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #ffffff;
    color: #166534;
    font-size: 12px;
    font-weight: 850;
}

.mobile-quick-selected-asset-cancel:active {
    transform: scale(0.98);
    background: #dcfce7;
}

.mobile-quick-asset-search-panel,
.mobile-quick-new-asset-panel {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.mobile-quick-asset-search-panel[hidden],
.mobile-quick-new-asset-panel[hidden] {
    display: none !important;
}

.mobile-quick-asset-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.mobile-quick-asset-search-input,
.mobile-quick-new-asset-input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    line-height: 42px;
    outline: none;
    box-shadow: none;
    appearance: none;
}

.mobile-quick-asset-search-input:focus,
.mobile-quick-new-asset-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.2);
}

.mobile-quick-asset-search-clear {
    height: 42px;
    padding: 0 13px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
}

.mobile-quick-asset-search-clear[hidden] {
    display: none !important;
}

.mobile-quick-asset-search-meta {
    min-height: 18px;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.mobile-quick-asset-search-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.mobile-quick-asset-search-item {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #ffffff;
    color: #1e293b;
    text-align: left;
}

.mobile-quick-asset-search-item:active {
    transform: scale(0.99);
    background: #eff6ff;
}

.mobile-quick-asset-search-item-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-quick-asset-search-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 900;
}

.mobile-quick-asset-search-item-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
}

.mobile-quick-new-asset-title {
    margin-bottom: 12px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 950;
}

.mobile-quick-new-asset-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.mobile-quick-new-asset-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}

.mobile-quick-new-asset-field span {
    display: block;
    padding-left: 2px;
    color: #475569;
    line-height: 1.4;
}

.mobile-quick-new-asset-field-name {
    grid-column: 1 / -1;
}

.mobile-quick-new-asset-suggest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px dashed #bfdbfe;
    border-radius: 15px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    line-height: 1.5;
}

.mobile-quick-new-asset-suggest[hidden] {
    display: none !important;
}

.mobile-quick-new-asset-suggest button {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
}

.mobile-quick-new-asset-hint {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 15px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
}

@media (min-width: 520px) {
    .mobile-quick-new-asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .mobile-quick-asset-search-row {
        grid-template-columns: 1fr;
    }

    .mobile-quick-asset-search-clear {
        width: 100%;
    }
}

/* ================= STEP 80E MOBILE HOME OVERVIEW STYLE RESTORE ================= */
.mobile-home-overview-card {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8fbff 100%);
}

.mobile-home-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.mobile-home-overview-item {
    position: relative;
    min-width: 0;
    min-height: 104px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-items: center;
    column-gap: 7px;
    row-gap: 6px;
    padding: 12px 10px 10px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-home-overview-item::before {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.mobile-home-overview-item-todo::before {
    content: "📌";
    background: #fff7ed;
}

.mobile-home-overview-item-memory::before {
    content: "📝";
    background: #f0fdf4;
}

.mobile-home-overview-item-assets::before {
    content: "📦";
    background: #eff6ff;
}

.mobile-home-overview-item:active {
    transform: scale(0.985);
    background: #ffffff;
}

.mobile-home-overview-label {
    display: block;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
}

.mobile-home-overview-item strong {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    justify-self: center;
    width: 100%;
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-align: center;
}


.mobile-home-overview-item em {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    width: 100%;
    color: #64748b;
    font-size: 11px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-home-overview-item-todo {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.mobile-home-overview-item-memory {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.mobile-home-overview-item-assets {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.mobile-home-overview-hint {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(239, 246, 255, 0.82);
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

@media (max-width: 420px) {
    .mobile-home-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-home-overview-item {
        min-height: 96px;
        padding: 10px 8px 9px;
        border-radius: 18px;
    }

    .mobile-home-overview-item::before {
        width: 28px;
        height: 28px;
        border-radius: 13px;
        font-size: 15px;
    }

    .mobile-home-overview-item strong {
        font-size: 22px;
    }

    .mobile-home-overview-label,
    .mobile-home-overview-item em {
        font-size: 11px;
    }
}

@media (max-width: 340px) {
    .mobile-home-overview-grid {
        grid-template-columns: 1fr;
    }

    .mobile-home-overview-item {
        min-height: 78px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 10px;
    }

    .mobile-home-overview-item::before {
        grid-column: 1;
        grid-row: 1;
    }

    .mobile-home-overview-label {
        grid-column: 2;
        grid-row: 1;
    }

    .mobile-home-overview-item strong {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        font-size: 24px;
    }

    .mobile-home-overview-item em {
        grid-column: 1 / 3;
        grid-row: 2;
    }
}

/* ================= STEP 80F MOBILE ASSET COMPLETION STYLE RESTORE ================= */
.mobile-asset-completion-section {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mobile-asset-completion-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-asset-completion-subtitle {
    margin-top: -3px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.mobile-asset-completion-score {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.mobile-asset-completion-bar {
    overflow: hidden;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: #e2e8f0;
}

.mobile-asset-completion-bar span {
    display: block;
    height: 100%;
    min-width: 6px;
    border-radius: inherit;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.mobile-asset-completion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.mobile-asset-completion-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.mobile-asset-completion-tags span.done {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.mobile-asset-completion-tags span.todo {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.mobile-asset-completion-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 9px;
    margin-top: 12px;
}

.mobile-asset-completion-primary,
.mobile-asset-completion-secondary {
    min-height: 40px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-asset-completion-primary {
    border: 1px solid #1d4ed8;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.mobile-asset-completion-secondary {
    border: 1px solid #bfdbfe;
    background: #ffffff;
    color: #1d4ed8;
}

.mobile-asset-completion-primary:active,
.mobile-asset-completion-secondary:active {
    transform: scale(0.99);
}

.mobile-asset-completion-hint {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 360px) {
    .mobile-asset-completion-actions {
        grid-template-columns: 1fr;
    }
}

/* ================= STEP 80G MOBILE CAPTURE DETAIL OVERVIEW RESTORE ================= */
.mobile-capture-detail-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background: #ffffff;
}

.mobile-capture-detail-overview-item {
    min-width: 0;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.mobile-capture-detail-overview-item span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
}

.mobile-capture-detail-overview-item strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-capture-detail-next {
    border-style: solid;
}

.mobile-capture-detail-next-title {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 900;
}

.mobile-capture-detail-next-text {
    margin-top: 6px;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.mobile-capture-detail-next-pending {
    border-color: #fed7aa;
    background: #fff7ed;
}

.mobile-capture-detail-next-partial {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.mobile-capture-detail-next-memory {
    border-color: #ddd6fe;
    background: #faf5ff;
}

.mobile-capture-detail-next-organized {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

@media (max-width: 360px) {
    .mobile-capture-detail-overview {
        grid-template-columns: 1fr;
    }
}

/* ================= STEP 80I MOBILE QUICK ASSET SEARCH OPTION STYLE RESTORE ================= */
.mobile-quick-asset-search-empty {
    padding: 14px 12px;
    border: 1px dashed #bfdbfe;
    border-radius: 16px;
    background: #f8fbff;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.mobile-quick-asset-search-option {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    padding: 11px 12px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mobile-quick-asset-search-option::after {
    content: "选择";
    grid-column: 2;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
}

.mobile-quick-asset-search-option:active {
    transform: scale(0.99);
    border-color: #93c5fd;
    background: #f8fbff;
}

.mobile-quick-asset-search-name {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-quick-asset-search-meta-text {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mobile-quick-asset-search-meta-text span {
    display: inline-flex;
    max-width: 118px;
    min-height: 21px;
    align-items: center;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .mobile-quick-asset-search-option {
        grid-template-columns: minmax(0, 1fr);
    }

    .mobile-quick-asset-search-option::after {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        margin-top: 3px;
    }
}
