﻿* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            font-size: 15px;
        }

        body {
            font-family: -apple-system, "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
            background: linear-gradient(180deg, #eef1f5 0%, #e4e8f0 100%);
            color: #2a2a3a;
            padding: 0 0 40px;
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
            line-height: 1.6;
        }

        .main {
            max-width: 100%;
            margin: 0 auto;
            padding: 14px;
        }

        .lang-row {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 14px;
            justify-content: flex-end;
        }

        .lang-row button {
            background: rgba(255, 255, 255, .7);
            border: 1px solid #d5d8e6;
            color: #7a7d99;
            padding: 4px 10px;
            border-radius: 8px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.25s ease;
            font-weight: 500;
        }

        .lang-row button:active {
            transform: scale(0.92);
            transition: transform 0.1s ease;
        }

        .lang-row button.active {
            background: linear-gradient(135deg, #5b6abf 0%, #8b7fd4 100%);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 2px 8px rgba(91, 106, 191, .3);
        }

        .head {
            background: linear-gradient(135deg, #5b6abf 0%, #8b7fd4 100%);
            color: #fff;
            border-radius: 20px;
            padding: 28px 22px 22px;
            margin-bottom: 14px;
            text-align: center;
            box-shadow: 0 8px 28px rgba(91, 106, 191, .18);
            position: relative;
            overflow: hidden;
        }

        .head::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, .1);
            border-radius: 50%;
            pointer-events: none;
        }

        .head .m {
            font-size: 24px;
            font-weight: 700;
            letter-spacing: .5px;
            position: relative;
            z-index: 1;
        }

        .head .t {
            font-size: 14px;
            opacity: .85;
            margin-top: 4px;
            position: relative;
            z-index: 1;
        }

        .block {
            margin-bottom: 14px;
        }

        .company-card,
        .info-card {
            background: #fff;
            border-radius: 18px;
            padding: 18px;
            box-shadow: 0 4px 20px rgba(91, 106, 191, .08);
            transition: box-shadow 0.3s ease;
        }

        .company-card:active,
        .info-card:active {
            box-shadow: 0 2px 10px rgba(91, 106, 191, .05);
        }

        .company-card .c-label {
            font-size: 12px;
            font-weight: 600;
            color: #8e8ea0;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .company-card .c-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 6px;
            line-height: 1.5;
            color: #2a2a3a;
        }

        .company-card .c-addr {
            font-size: 13px;
            color: #6b6b7b;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .company-card .c-row {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            font-size: 13px;
            color: #2a2a3a;
        }

        .company-card .c-row .link {
            color: #5b6abf;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        .company-card .c-row .link:active {
            color: #4a58a8;
        }

        .info-card .ic-label {
            font-size: 12px;
            font-weight: 600;
            color: #8e8ea0;
            margin: 14px 0 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .info-card .ic-label:first-child {
            margin-top: 0;
        }

        .row {
            display: flex;
            padding: 7px 0;
            font-size: 13.5px;
            line-height: 1.6;
            align-items: flex-start;
        }

        .row .l {
            color: #6b6b7b;
            min-width: 110px;
            flex-shrink: 0;
            padding-right: 10px;
            font-weight: 500;
        }

        .row .v {
            font-weight: 500;
            color: #2a2a3a;
            word-break: break-word;
            line-height: 1.6;
            flex: 1;
        }

        .row .v.link {
            color: #5b6abf;
            text-decoration: none;
        }

        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, #e0e2ed, transparent);
            margin: 12px 0;
        }

        .hz {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-top: 8px;
        }

        .hz-i {
            background: #f4f3fd;
            border-radius: 12px;
            padding: 12px 8px;
            text-align: center;
            transition: transform 0.2s;
        }

        .hz-i:active {
            transform: scale(0.95);
        }

        .hz-i .sym {
            font-size: 16px;
            font-weight: 700;
            color: #5b6abf;
        }

        .hz-i .nm {
            font-size: 11px;
            color: #8e8ea0;
            margin: 3px 0;
        }

        .hz-i .st {
            font-size: 11px;
            color: #5b6abf;
            font-weight: 600;
        }

        .hz-i.warn {
            background: #fdeeef;
        }

        .hz-i.warn .sym {
            color: #c83a4a;
        }

        .hz-i.warn .nm {
            color: #c83a4a;
        }

        .fr {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 6px;
            margin-top: 8px;
        }

        .fr-i {
            padding: 10px 12px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 500;
            text-align: center;
            transition: transform 0.2s;
        }

        .fr-i:active {
            transform: scale(0.95);
        }

        .fr-i.ok {
            background: #eef6ef;
            color: #3b7d4a;
        }

        .fr-i.no {
            background: #fdeeef;
            color: #c83a4a;
        }

        .chem-tbl {
            border-radius: 12px;
            overflow: hidden;
            margin-top: 8px;
            background: #fafafe;
        }

        .chem-hdr {
            display: flex;
            padding: 10px 14px;
            font-size: 12px;
            font-weight: 600;
            color: #5b6abf;
            background: #f0eefb;
        }

        .chem-row {
            display: flex;
            padding: 9px 14px;
            font-size: 13px;
            border-bottom: 1px solid #f0eefb;
            transition: background 0.2s;
        }

        .chem-row:last-child {
            border-bottom: none;
        }

        .chem-row:active {
            background: #f8f8ff;
        }

        .chem-row .ch-n {
            flex: 1;
            min-width: 0;
            padding-right: 8px;
            color: #2a2a3a;
        }

        .chem-row .ch-p {
            width: 70px;
            text-align: center;
            flex-shrink: 0;
            color: #5b6abf;
            font-weight: 600;
        }

        .chem-hdr .ch-n {
            flex: 1;
            min-width: 0;
            padding-right: 8px;
        }

        .chem-hdr .ch-p {
            width: 70px;
            text-align: center;
            flex-shrink: 0;
        }

        .foot {
            text-align: center;
            padding: 24px 16px 0;
            font-size: 11px;
            color: #8e8ea0;
            line-height: 1.6;
        }

        .foot a {
            color: #5b6abf;
            text-decoration: none;
        }

        .cert-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 28px;
        }

        .attach-section {
            margin-bottom: 14px;
        }

        .attach-card {
            background: #fff;
            border-radius: 18px;
            padding: 18px;
            box-shadow: 0 4px 20px rgba(91, 106, 191, .08);
        }

        .attach-title {
            font-size: 14px;
            font-weight: 600;
            color: #2a2a3a;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .attach-title::before {
            content: '';
            width: 4px;
            height: 16px;
            background: linear-gradient(180deg, #5b6abf, #8b7fd4);
            border-radius: 2px;
        }

        .attach-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .attach-item {
            display: flex;
            align-items: center;
            padding: 14px;
            background: #f8f8fc;
            border-radius: 14px;
            text-decoration: none;
            color: inherit;
            transition: all 0.25s ease;
            border: 1px solid transparent;
        }

        .attach-item:active {
            transform: scale(0.98);
            background: #f0eefb;
            border-color: #e0d8f5;
        }

        .attach-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-right: 12px;
            font-size: 20px;
        }

        .attach-icon.pdf {
            background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
            color: #fff;
        }

        .attach-icon.doc {
            background: linear-gradient(135deg, #5b6abf, #8b7fd4);
            color: #fff;
        }

        .attach-icon.img {
            background: linear-gradient(135deg, #3b7d4a, #5ba86b);
            color: #fff;
        }

        .attach-info {
            flex: 1;
            min-width: 0;
        }

        .attach-name {
            font-size: 14px;
            font-weight: 600;
            color: #2a2a3a;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .attach-meta {
            font-size: 11px;
            color: #8e8ea0;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .attach-arrow {
            color: #b0b0c0;
            font-size: 18px;
            flex-shrink: 0;
            transition: transform 0.2s, color 0.2s;
        }

        .attach-item:active .attach-arrow {
            transform: translateX(4px);
            color: #5b6abf;
        }

        .info-tag {
            display: inline-block;
            padding: 4px 10px;
            background: #f0eefb;
            color: #5b6abf;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 600;
            margin-top: 4px;
        }

        .warn-box {
            background: #fff8f0;
            border: 1px solid #ffe0b2;
            border-radius: 12px;
            padding: 12px 14px;
            margin-top: 8px;
        }

        .warn-box .warn-title {
            font-size: 12px;
            font-weight: 600;
            color: #e65100;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .warn-box .warn-content {
            font-size: 12px;
            color: #6b4c2a;
            line-height: 1.6;
        }

        .life-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 8px;
            padding: 10px 12px;
            background: linear-gradient(135deg, #eef6ef 0%, #f8faf9 100%);
            border-radius: 12px;
        }

        .life-bar-icon {
            font-size: 20px;
        }

        .life-bar-text {
            font-size: 12px;
            color: #3b7d4a;
            font-weight: 500;
            flex: 1;
        }

        @media (max-width: 360px) {
            html {
                font-size: 14px;
            }

            .head .m {
                font-size: 20px;
            }

            .hz {
                grid-template-columns: repeat(2, 1fr);
            }

            .row .l {
                min-width: 95px;
                font-size: 12.5px;
            }

            .row .v {
                font-size: 12.5px;
            }

            .lang-row {
                justify-content: center;
            }
        }

        @media (max-width: 320px) {
            .row {
                flex-direction: column;
                gap: 2px;
            }

            .row .l {
                min-width: auto;
            }
        }