* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body.ss-page {
    background: #f6f7f9;
    color: #30343b;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

.ss-page a {
    color: inherit;
    text-decoration: none;
}

.ss-topbar {
    align-items: center;
    color: #727984;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px;
}

.ss-topbar b,
.ss-topbar a {
    color: #087cef;
    font-weight: normal;
}

.ss-home-page {
    background: #fff;
}

.ss-home {
    margin: 0 auto;
    max-width: 520px;
    min-height: calc(100vh - 150px);
    padding: 12vh 20px 130px;
    text-align: center;
}

.ss-logo {
    display: block;
    height: auto;
    margin: 0 auto 48px;
    max-width: 335px;
    width: min(82vw, 335px);
}

.ss-home-actions,
.ss-login-form {
    margin: 0 auto;
    max-width: 300px;
}

.ss-primary-button,
.ss-secondary-button {
    align-items: center;
    border-radius: 22px;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    height: 44px;
    justify-content: center;
    margin: 16px auto 0;
    max-width: 300px;
    position: relative;
    width: 100%;
}

.ss-primary-button {
    background: #087cef;
    border: 1px solid #087cef;
    color: #fff !important;
}

.ss-primary-button:hover,
.ss-primary-button:focus {
    background: #056acb;
    border-color: #056acb;
}

.ss-primary-button:disabled {
    background: #9ba8b5;
    border-color: #9ba8b5;
    cursor: not-allowed;
}

.ss-secondary-button {
    background: #fff;
    border: 1px solid #087cef;
    color: #087cef;
}

.ss-button-icon {
    font-size: 20px;
    left: 18px;
    line-height: 1;
    position: absolute;
}

.ss-login-form {
    text-align: left;
}

.ss-login-form label,
.ss-field label {
    color: #555d68;
    display: block;
    font-size: 13px;
    margin-bottom: 7px;
}

.ss-login-form input,
.ss-field input,
.ss-field select,
.ss-field textarea {
    background: #fff;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    color: #30343b;
    display: block;
    font: inherit;
    min-height: 40px;
    padding: 8px 10px;
    width: 100%;
}

.ss-login-form input {
    margin-bottom: 16px;
}

.ss-login-form input:focus,
.ss-field input:focus,
.ss-field select:focus,
.ss-field textarea:focus {
    border-color: #087cef;
    outline: 2px solid rgba(8, 124, 239, 0.12);
}

.ss-field select:disabled,
.ss-field input:disabled {
    background: #f0f2f5;
    color: #737b86;
}

.ss-field-error {
    color: #c92f3e;
    min-height: 20px;
    text-align: center;
}

.ss-message {
    align-items: center;
    border: 1px solid #e8c36d;
    border-radius: 8px;
    color: #72540d;
    display: flex;
    gap: 12px;
    margin: 0 auto;
    max-width: 360px;
    padding: 16px;
    text-align: left;
}

.ss-message-icon {
    align-items: center;
    background: #f2b93b;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 28px;
    font-weight: bold;
    height: 28px;
    justify-content: center;
}

.ss-footer {
    bottom: 22px;
    color: #b4bac2;
    font-size: 12px;
    left: 0;
    line-height: 1.7;
    position: fixed;
    text-align: center;
    width: 100%;
}

.ss-app-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e5e8ec;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.ss-app-header h1 {
    font-size: 17px;
    font-weight: 500;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-back {
    color: #087cef !important;
    font-size: 34px;
    line-height: 48px;
    padding-left: 16px;
}

.ss-header-link {
    color: #087cef !important;
    font-size: 13px;
    padding-right: 14px;
    text-align: right;
}

.ss-content,
.ss-list-content {
    margin: 0 auto;
    max-width: 760px;
    padding: 18px 16px 88px;
}

.ss-form-section {
    background: #fff;
    border-bottom: 1px solid #e3e7eb;
    margin-bottom: 14px;
    padding: 18px 16px 4px;
}

.ss-form-section h2 {
    border-left: 5px solid #087cef;
    color: #555d68;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 18px;
    padding-left: 8px;
}

.ss-form-grid {
    display: grid;
    gap: 0 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ss-field {
    margin-bottom: 18px;
    min-width: 0;
}

.ss-field-wide {
    width: 100%;
}

.ss-field textarea {
    min-height: 110px;
    resize: vertical;
}

.ss-field-hint {
    color: #939aa4;
    font-size: 12px;
    font-weight: normal;
    margin-left: 5px;
}

.ss-file-input {
    height: 1px !important;
    left: -10000px;
    opacity: 0;
    position: absolute;
    width: 1px !important;
}

.ss-upload-button {
    align-items: center;
    border: 1px dashed #b8c0ca;
    border-radius: 6px;
    color: #087cef !important;
    cursor: pointer;
    display: flex !important;
    height: 92px;
    justify-content: center;
    margin-top: 10px;
    width: 92px;
}

.ss-upload-button img {
    height: 58px;
    object-fit: contain;
    width: 58px;
}

.ss-picture-grid,
.ss-detail-images {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
}

.ss-picture-item {
    aspect-ratio: 1;
    background: #eef1f4;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.ss-picture-item img,
.ss-detail-images img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ss-picture-remove {
    background: rgba(31, 38, 46, 0.78);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    height: 26px;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 26px;
}

.ss-submit-bar {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e6ea;
    bottom: 0;
    left: 0;
    padding: 8px 16px 12px;
    position: fixed;
    width: 100%;
    z-index: 20;
}

.ss-submit-bar .ss-primary-button {
    margin-top: 0;
}

.ss-report-row {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e4e7eb;
    display: grid;
    gap: 12px;
    grid-template-columns: 88px minmax(0, 1fr) 42px;
    min-height: 112px;
    padding: 12px;
}

.ss-report-row:hover {
    background: #f8fbff;
}

.ss-report-image {
    align-items: center;
    background: #edf1f5;
    border-radius: 6px;
    color: #9aa4af;
    display: flex;
    height: 82px;
    justify-content: center;
    overflow: hidden;
    width: 88px;
}

.ss-report-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ss-report-main {
    min-width: 0;
}

.ss-report-heading {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.ss-report-heading strong,
.ss-report-main p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-report-main p {
    color: #68717c;
    margin: 10px 0;
}

.ss-report-main time {
    color: #a0a7b0;
    font-size: 12px;
}

.ss-status {
    border: 1px solid #087cef;
    border-radius: 4px;
    color: #087cef;
    flex: 0 0 auto;
    font-size: 12px;
    padding: 2px 6px;
}

.ss-report-score {
    color: #c23c4b;
    font-size: 18px;
    text-align: center;
}

.ss-pagination {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 20px auto 0;
    max-width: 360px;
}

.ss-pagination a,
.ss-pagination .disabled {
    border: 1px solid #d4d9df;
    border-radius: 5px;
    padding: 8px 12px;
}

.ss-pagination a {
    color: #087cef;
}

.ss-pagination .disabled {
    color: #afb5bd;
}

.ss-empty {
    color: #9ba3ad;
    padding: 20vh 20px;
    text-align: center;
}

.ss-empty span {
    font-size: 34px;
}

.ss-empty p {
    margin-top: 12px;
}

.ss-detail-status {
    align-items: center;
    background: #e9edf1;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 12px 16px;
}

.ss-detail-status strong {
    border: 1px solid #087cef;
    border-radius: 4px;
    color: #087cef;
    font-size: 12px;
    font-weight: normal;
    padding: 3px 8px;
}

.ss-detail-images a {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
}

.ss-detail-list > div {
    border-bottom: 1px solid #edf0f3;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(110px, 35%) minmax(0, 1fr);
    padding: 12px 0;
}

.ss-detail-list dt {
    color: #7b838d;
}

.ss-detail-list dd {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {
    .ss-home {
        padding-top: 8vh;
    }

    .ss-logo {
        margin-bottom: 38px;
    }

    .ss-content,
    .ss-list-content {
        padding-left: 0;
        padding-right: 0;
    }

    .ss-form-grid {
        grid-template-columns: 1fr;
    }

    .ss-report-row {
        grid-template-columns: 82px minmax(0, 1fr) 36px;
    }

    .ss-report-image {
        width: 82px;
    }
}
