      .hero {
        background: linear-gradient(90deg, #eef5ff 0%, #f9fbff 52%, #edf4ff 100%);
        border: 1px solid #e4eefc;
        border-radius: 18px;
        padding: 28px 40px;
        box-shadow: var(--shadow);
        position: relative;
        overflow: hidden;
      }
      .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 12% 36%, rgba(108, 178, 255, 0.18), transparent 28%),
          radial-gradient(circle at 88% 18%, rgba(47, 126, 247, 0.12), transparent 24%);
        pointer-events: none;
      }
      .hero h1 {
        color: #1f2d3d;
        position: relative;
      }
      .hero p {
        color: #6b7280;
        position: relative;
      }
      .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .section-stack {
        display: grid;
        gap: 16px;
        margin-top: 4px;
      }
      .page {
        max-width: none;
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow-x: hidden;
        padding: 16px 16px 0 0;
      }
      .admin-only {
        display: none !important;
      }
      .app-shell {
        height: 100vh;
        display: flex;
        font-size: 13px;
        background: linear-gradient(180deg, #EFF4F9 0%, #EFF4F9 100%);
      }
      .sidebar {
        width: 280px;
        flex: 0 0 280px;
        height: 100vh;
        position: sticky;
        top: 0;
        z-index: 10009;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px 12px 14px 10px;
        color: #0f172a;
        overflow: visible;
      }
      .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 32px;
      }
      .sidebar-brand {
        color: #0f172a;
        text-decoration: none;
        font-weight: 800;
        letter-spacing: 0;
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .sidebar-brand-logo {
        width: 45px;
        height: 45px;
        border-radius: 0;
        border: none;
        flex: 0 0 55px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
      }
      .sidebar-brand-logo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        object-position: center;
        transform: none;
      }
      .sidebar-brand-text {
        line-height: 1;
      }
      .sidebar-toggle {
        width: 22px;
        height: 22px;
        border-radius: 0;
        border: none;
        background: transparent;
        color: rgba(15, 23, 42, 0.7);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        box-shadow: none;
      }
      .sidebar-toggle svg {
        width: 14px;
        height: 14px;
      }
      .sidebar-toggle img {
        width: 23px;
        height: 23px;
        display: block;
        object-fit: contain;
      }
      .sidebar-primary {
        width: 100%;
        height: 34px;
        border-radius: 10px;
        border: none;
        background: linear-gradient(180deg, #16275a 0%, #0e1c4b 100%);
        color: rgba(255, 255, 255, 0.94);
        font-size: 12.5px;
        font-weight: 600;
        letter-spacing: 0.2px;
        cursor: pointer;
        box-shadow: 0 6px 14px rgba(11, 22, 54, 0.16);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
      }
      .sidebar-primary-icon {
        width: 16px;
        height: 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        line-height: 1;
        font-weight: 700;
        flex-shrink: 0;
      }
      .sidebar-primary-plus {
        display: inline-block;
        color: rgba(255, 255, 255, 0.98);
        font-size: 16px;
        line-height: 1;
        font-weight: 700;
      }
      .sidebar-primary-image {
        display: none;
        width: 18px;
        height: 18px;
        object-fit: contain;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        transform: translateZ(0);
      }
      .sidebar-primary-text {
        display: inline-block;
      }
      .sidebar-primary:hover {
        filter: brightness(1.03);
      }
      .sidebar-nav {
        display: grid;
        gap: 12px;
      }
      .sidebar-recent {
        display: grid;
        gap: 8px;
        padding: 0 4px 2px;
      }
      .sidebar-recent-empty {
        padding: 4px 0;
        border-radius: 0;
        font-size: 13px;
        line-height: 1.35;
        color: rgba(1, 8, 47, 0.28);
        background: transparent;
        border: none;
      }
      .sidebar-recent-list {
        display: grid;
        gap: 6px;
        max-height: 320px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 2px;
      }
      .sidebar-recent-list::-webkit-scrollbar {
        width: 6px;
      }
      .sidebar-recent-list::-webkit-scrollbar-track {
        background: transparent;
      }
      .sidebar-recent-list::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.55);
        border-radius: 999px;
      }
      .sidebar-recent-list::-webkit-scrollbar-thumb:hover {
        background: rgba(100, 116, 139, 0.55);
      }
      .sidebar-recent-item {
        display: block;
        padding: 2px 0;
        border-radius: 0;
        text-decoration: none;
        color: rgba(1, 8, 47, 0.72);
        background: transparent;
        border: none;
        width: 100%;
        font-size: 13px;
        line-height: 1.45;
        text-align: left;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .sidebar-recent-item:hover {
        color: #6a73f2;
        background: transparent;
      }
      .sidebar-link {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 36px;
        padding: 7px 12px;
        border-radius: 8px;
        color: rgba(1, 8, 47, 0.88);
        text-decoration: none;
        border: 1px solid transparent;
        font-size: 13px;
        font-weight: 500;
        position: relative;
        transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
      }
      .sidebar-link:hover {
        background: rgba(255, 255, 255, 0.44);
        border-color: transparent;
        transform: translateY(-1px);
      }
      .sidebar-link.active {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(227, 226, 255, 0.72) 100%);
        border-color: transparent;
        color: #01082f;
        transform: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
      }
      .sidebar-link.active::before {
        display: none;
      }
      .sidebar-link-icon {
        width: 22px;
        text-align: center;
        font-size: 12px;
        line-height: 1;
        flex: 0 0 22px;
        color: rgba(1, 8, 47, 0.7);
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .sidebar-link-icon svg {
        width: 20px;
        height: 20px;
      }
      .sidebar-link-icon img {
        width: 22px;
        height: 22px;
        display: block;
        object-fit: contain;
      }
      .sidebar-link.active .sidebar-link-icon {
        color: #01082f;
      }
      .sidebar-link-text {
        font-size: 13px;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .sidebar-divider {
        height: 1px;
        background: rgba(1, 8, 47, 0.06);
        margin: 6px 0 2px;
      }
      .sidebar-section {
        padding: 2px 0 0;
        font-size: 10.5px;
        line-height: 1.4;
        font-weight: 400;
        color: rgba(1, 8, 47, 0.28);
        letter-spacing: 0.4px;
      }
      .sidebar-footer {
        margin-top: auto;
        padding-top: 8px;
        border-top: none;
      }
      .user-area {
        width: 100%;
      }
      .sidebar-user {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        position: relative;
      }
      .sidebar-user-meta {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .sidebar-user-avatar {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: linear-gradient(180deg, #172554 0%, #1d4ed8 100%);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        flex: 0 0 26px;
      }
      .sidebar-user-name {
        font-size: 11.5px;
        font-weight: 500;
        color: rgba(1, 8, 47, 0.72);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .sidebar-footer .settings-dropdown {
        display: inline-flex;
      }
      .floating-settings {
        position: fixed;
        bottom: 18px;
        right: 18px;
        z-index: 300;
      }
      .floating-settings-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(148, 163, 184, 0.22);
        background: rgba(255, 255, 255, 0.94);
        color: #475569;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
        transition: box-shadow 0.18s ease, transform 0.18s ease;
      }
      .floating-settings-btn:hover {
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
        transform: translateY(-1px);
      }
      .floating-settings-btn svg {
        width: 18px;
        height: 18px;
      }
      .floating-settings .settings-dropdown {
        display: inline-flex;
        position: relative;
      }
      .floating-settings .settings-menu {
        right: 0;
        bottom: calc(100% + 8px);
        top: auto;
      }
      .sidebar-settings-dropdown {
        position: relative;
        display: inline-flex;
        margin-left: auto;
      }
      .sidebar-settings-btn {
        width: 20px;
        height: 20px;
        padding: 0;
        border-radius: 0;
        border: none;
        background: transparent;
        color: rgba(1, 8, 47, 0.72);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 20px;
      }
      .sidebar-settings-btn:hover {
        background: transparent;
        color: #6a73f2;
      }
      .sidebar-settings-btn svg {
        width: 14px;
        height: 14px;
      }
      .sidebar-settings-dropdown .settings-menu {
        top: auto;
        bottom: 0;
        right: auto;
        left: calc(100% + 8px);
        min-width: 180px;
        max-width: 216px;
        width: max-content;
      }
      .app-main {
        flex: 1;
        min-width: 0;
        padding: 0;
        overflow-x: hidden;
      }
      .home-stage {
        position: relative;
        width: 100%;
        min-width: 0;
        min-height: calc(100vh - 25px);
        height: calc(100vh - 25px);
        border-radius: 24px;
        background: #ffffff;
        border: none;
        /* padding: 0 clamp(32px, 4.3vw, 82px) calc((100vh - 25px) * 0.21) clamp(18px, 1.5vw, 28px); */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: none;
        overflow: hidden;
        box-sizing: border-box;
      }
      .home-stage::before,
      .home-stage::after {
        content: "";
        position: absolute;
        pointer-events: none;
        filter: blur(180px);
        opacity: 0.68;
      }
      .home-stage::before {
        top: 0;
        left: 0;
        width: min(92vw, 1506px);
        height: clamp(260px, 26vw, 424px);
        background:
          radial-gradient(circle at 42% 64%, rgba(130, 255, 245, 0.42) 0%, rgba(130, 255, 245, 0) 36%),
          radial-gradient(circle at 55% 24%, rgba(153, 165, 255, 0.35) 0%, rgba(153, 165, 255, 0) 34%),
          radial-gradient(circle at 84% 22%, rgba(215, 179, 255, 0.3) 0%, rgba(215, 179, 255, 0) 38%);
      }
      .home-stage::after {
        right: clamp(-320px, -18vw, -120px);
        top: clamp(48px, 6vw, 90px);
        width: clamp(360px, 40vw, 720px);
        height: clamp(280px, 34vw, 620px);
        transform: rotate(-24deg);
        background: radial-gradient(circle at 50% 50%, rgba(204, 184, 255, 0.34) 0%, rgba(204, 184, 255, 0) 58%);
      }
      .home-welcome {
        position: relative;
        z-index: 1;
        text-align: center;
        width: 100%;
        padding: calc((100vh - 25px) * 0.16) 0 2% 0;
      }
      .home-welcome-title {
        font-size: 40px;
        font-weight: 600;
        letter-spacing: 0;
        color: #01082f;
        display: inline-flex;
        align-items: center;
        gap: clamp(10px, 1vw, 17px);
        justify-content: center;
        line-height: 1.25;
      }
      .home-welcome-icon {
        width: clamp(42px, 4.2vw, 60px);
        height: clamp(42px, 4.2vw, 60px);
        object-fit: contain;
      }
      .home-welcome-title span {
        background: linear-gradient(256deg, #aa75f4 5.19%, #86cfff 62.84%, #662eff 153.24%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }
      .home-welcome-sub {
        margin-top: 1%;
        font-size: 32px;
        color: rgba(1, 8, 47, 0.8);
        font-weight: 400;
        line-height: 1.45;
      }
      .home-center {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 3.5% 0 22px;
      }
      .parse-result-panel {
        width: 100%;
        min-height: calc(100vh - 20px);
        height: auto;
        padding: 16px 0px 16px;
        border-radius: 24px;
        border: none;
        background: #eff4f9;
        box-shadow: none;
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 16px;
      }
      .parse-result-panel[data-analysis-state="reading"],
      .parse-result-panel[data-analysis-state="paused"],
      .parse-result-panel[data-analysis-state="infering"] {
        height: calc(100vh - 20px);
        overflow: hidden;
      }
      .parse-result-panel[data-analysis-state="completed"],
      .parse-result-panel[data-analysis-state="error"] {
        min-height: auto;
      }
      .parse-result-panel[hidden] {
        display: none !important;
      }
      .parse-result-page-name {
        margin: 0;
        padding-left: 0;
        font-size: 18px;
        line-height: 22px;
        font-weight: 500;
        color: #01082f;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .parse-result-workspace {
        --parse-result-footer-bottom: calc(31px + env(safe-area-inset-bottom));
        --parse-result-footer-space: calc(208px + env(safe-area-inset-bottom));
        --parse-result-footer-width: min(1529px, calc(100vw - 390px));
        --parse-result-footer-center-x: calc(50% + 140px);
        position: relative;
        flex: 0 0 auto;
        width: min(100%, 1591px);
        align-self: center;
        min-height: auto;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(94, 95, 181, 0.08);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 18px 40px rgba(94, 95, 181, 0.06);
        overflow: visible;
      }
      .parse-result-panel[data-analysis-state="reading"] .parse-result-workspace,
      .parse-result-panel[data-analysis-state="paused"] .parse-result-workspace,
      .parse-result-panel[data-analysis-state="infering"] .parse-result-workspace {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
      }
      .parse-result-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 23px 31px 16px;
        position: relative;
        z-index: 6;
        background: transparent;
      }
      .parse-result-header-main {
        display: flex;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
        min-width: 0;
      }
      .parse-result-title {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
        color: #01082f;
      }
      .parse-result-export-btn {
        flex: 0 0 auto;
        font-size: 13px;
        padding: 4px 12px;
        background: linear-gradient(149deg, #8e7ae9 0%, #070f36 100%);
        color: #fff;
        border: none;
        box-shadow: 0 4px 12px rgba(45, 44, 107, 0.16);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border-radius: 8px;
      }
      .parse-result-export-btn::before {
        content: "";
        display: inline-block;
        width: 11px;
        height: 11px;
        flex: 0 0 11px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M9.472 8.219c-.825-.061-1.62-.366-2.26-.916a15.807 15.807 0 0 1-3.636 1.16C2.627 10.145 1.741 11 .978 11c-.153 0-.336-.03-.459-.122A.922.922 0 0 1 0 10.053c0-.275.061-1.04 2.964-2.292a13.114 13.114 0 0 0 1.62-3.789c-.367-.733-1.161-2.536-.611-3.453.183-.336.55-.553.947-.489.306 0 .611.153.794.397.397.55.367 1.711-.153 3.422.49.917 1.13 1.742 1.894 2.445a7.565 7.565 0 0 1 1.925-.214c1.436.03 1.651.703 1.62 1.1 0 1.039-1.008 1.039-1.528 1.039zm-8.555 1.895.091-.03c.428-.153.764-.459 1.009-.856-.459.183-.825.489-1.1.886zm4.064-9.167h-.092c-.03 0-.092 0-.122.03-.122.52-.03 1.07.183 1.559.184-.52.184-1.07.03-1.589zm.214 4.43-.03.062-.031-.03a13.121 13.121 0 0 0-.917 2.077l.061-.03v.062a7.602 7.602 0 0 1 2.078-.612l-.03-.03h.091a8.217 8.217 0 0 0-1.222-1.498zm4.155 1.62c-.275 0-.52 0-.795.06.306.153.611.214.917.245.214.03.428 0 .611-.061 0-.092-.122-.245-.733-.244z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Crect width='11' height='11' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
      }
      .parse-result-export-btn:hover {
        filter: brightness(1.12);
        box-shadow: 0 6px 16px rgba(45, 44, 107, 0.24);
      }
      .parse-result-body {
        flex: 0 0 auto;
        min-height: auto;
        padding: 0 31px var(--parse-result-footer-space);
        overflow: visible;
      }
      .parse-result-panel[data-analysis-state="reading"] .parse-result-body,
      .parse-result-panel[data-analysis-state="paused"] .parse-result-body,
      .parse-result-panel[data-analysis-state="infering"] .parse-result-body {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
      }
      .parse-result-body .output {
        margin-top: 0;
        max-height: none;
        overflow: visible;
      }
      .parse-result-output {
        height: auto;
        min-height: 320px;
        max-height: none;
        margin-top: 0;
        padding: 0;
        border: none;
        border-radius: 16px;
        background: linear-gradient(180deg, #f6f6fb 0%, #f2f2f7 100%);
        overflow: visible;
      }
      .parse-result-panel[data-analysis-state="reading"] .parse-result-output,
      .parse-result-panel[data-analysis-state="paused"] .parse-result-output,
      .parse-result-panel[data-analysis-state="infering"] .parse-result-output {
        height: 100%;
        overflow-y: auto;
      }
      .analysis-default-screen {
        display: grid;
        gap: 14px;
        width: 100%;
        min-height: 100%;
        padding: 14px 16px 18px;
        box-sizing: border-box;
      }
      .analysis-default-screen-dashboard {
        padding-bottom: 20px;
      }
      .analysis-default-hero {
        min-height: 44px;
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(238, 239, 247, 0.96) 0%, rgba(234, 236, 244, 0.96) 100%);
        position: relative;
        overflow: hidden;
      }
      .analysis-default-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 18px;
      }
      .analysis-default-card {
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(238, 239, 247, 0.96) 0%, rgba(234, 236, 244, 0.96) 100%);
        position: relative;
        overflow: hidden;
      }
      .analysis-default-card-sm {
        min-height: 62px;
      }
      .analysis-default-card-lg {
        min-height: 144px;
      }
      .analysis-default-card-xl {
        grid-column: 1 / -1;
        min-height: 174px;
      }
      .analysis-default-hero::after,
      .analysis-default-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -150px;
        width: 150px;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.6),
          transparent
        );
        animation: resultSkeletonShimmer 1.2s infinite;
      }
      @keyframes resultSkeletonShimmer {
        0% {
          left: -150px;
        }
        100% {
          left: 100%;
        }
      }
      .parse-result-output .dashboard-screen {
        min-height: calc(100vh - 310px);
      }
      .parse-result-panel[data-analysis-state="completed"] .parse-result-output .dashboard-screen,
      .parse-result-panel[data-analysis-state="error"] .parse-result-output .dashboard-screen {
        min-height: 0;
      }
      .result-error-card {
        min-height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        border-radius: 18px;
        border: 1px solid rgba(255, 173, 173, 0.72);
        background: linear-gradient(180deg, rgba(255, 251, 251, 0.98) 0%, rgba(255, 245, 245, 0.98) 100%);
        color: #b42318;
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
      }
      .parse-result-footer {
        position: fixed;
        left: var(--parse-result-footer-center-x);
        width: var(--parse-result-footer-width);
        bottom: var(--parse-result-footer-bottom);
        z-index: 4;
        padding: 0;
        background: transparent;
        pointer-events: none;
        transform: translateX(-50%);
      }
      .parse-result-footer-shell {
        display: grid;
        gap: 12px;
        padding: 8px 8px 12px;
        border-radius: 24px;
        background: rgba(248, 248, 255, 0.94);
        box-shadow:
          0 18px 42px rgba(94, 95, 181, 0.14),
          inset 0 0 0 1px rgba(94, 95, 181, 0.06);
        backdrop-filter: blur(18px);
        pointer-events: auto;
      }
      .parse-result-footer-top {
        display: grid;
        grid-template-columns: 30% 1px 65%;
        align-items: center;
        column-gap: 32px;
        padding: 12px;
        border-radius: 24px;
        background: #fff;
      }
      .parse-result-panel.parse-result-summary-collapsed .parse-result-footer-shell {
        padding: 16px 24px 12px;
      }
      .parse-result-panel.parse-result-summary-collapsed .parse-result-footer-top {
        display: none;
      }
      body.sidebar-collapsed .group-picker-overlay {
        left: 56px;
      }
      body.sidebar-collapsed .parse-result-workspace {
        --parse-result-footer-width: min(1529px, calc(100vw - 166px));
        --parse-result-footer-center-x: calc(50% + 28px);
      }
      .parse-result-footer-item {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .parse-result-footer-file {
        min-width: 0;
      }
      .parse-result-footer-model {
        min-width: 0;
        width: 100%;
      }
      .parse-result-footer-divider {
        width: 1px;
        height: 48px;
        justify-self: center;
        background: rgba(0, 0, 0, 0.05);
      }
      .parse-result-footer-media {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }
      .parse-result-footer-media-model {
        border-radius: 11.52px;
        background: #f4f5ff;
      }
      .parse-result-footer-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        object-fit: contain;
      }
      .parse-result-footer-model-icon {
        object-fit: cover;
      }
      .parse-result-footer-copy {
        min-width: 0;
        display: grid;
        gap: 8px;
        flex: 1 1 auto;
      }
      .parse-result-footer-title {
        font-size: 18px;
        line-height: 22px;
        font-weight: 500;
        color: #01082f;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .parse-result-footer-sub {
        font-size: 13px;
        line-height: 1.4;
        color: rgba(1, 8, 47, 0.5);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .parse-result-footer-sub-model {
        white-space: normal;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .parse-result-footer-status {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-width: 0;
        padding: 0 16px;
        width: 100%;
      }
      .parse-result-panel.parse-result-summary-collapsed .parse-result-footer-status {
        padding: 0;
      }
      .parse-result-status-label {
        display: none;
      }
      .parse-result-status-main {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        min-width: 0;
        flex: 1 1 auto;
      }
      .parse-result-status-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        border-radius: 999px;
        background:
          radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.28) 34%, rgba(255, 255, 255, 0) 56%),
          linear-gradient(180deg, #9cb7ff 0%, #7f8dff 100%);
        box-shadow: 0 4px 12px rgba(124, 136, 255, 0.18);
      }
      .parse-result-status-text {
        font-size: 16px;
        line-height: 22px;
        color: #01082f;
        white-space: normal;
      }
      .parse-result-action-btn {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border: none;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.96);
        background: linear-gradient(180deg, #8e7ae9 0%, #070f36 100%);
        box-shadow:
          0 4px 10px rgba(42, 49, 104, 0.28),
          inset 1px 1px 5px rgba(231, 234, 255, 0.95),
          inset -1px -2px 3px rgba(20, 27, 85, 0.95);
        cursor: pointer;
        transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
      }
      .parse-result-action-btn:hover:not(:disabled) {
        transform: translateY(-1px);
      }
      .parse-result-action-btn:active:not(:disabled) {
        transform: translateY(0);
      }
      .parse-result-action-btn:disabled {
        cursor: default;
      }
      .parse-result-action-btn[data-state="infering"] {
        opacity: 0.92;
      }
      .parse-result-action-btn[data-state="completed"] {
        opacity: 1;
      }
      .parse-result-action-btn[data-state="completed"]:disabled {
        cursor: pointer;
      }
      .parse-result-action-btn[hidden] {
        display: none !important;
      }
      .parse-result-action-glyph {
        position: relative;
        display: inline-block;
      }
      .parse-result-action-glyph-pause {
        width: 14px;
        height: 16px;
      }
      .parse-result-action-glyph-pause::before,
      .parse-result-action-glyph-pause::after {
        content: "";
        position: absolute;
        top: 0;
        width: 4px;
        height: 16px;
        border-radius: 999px;
        background: currentColor;
      }
      .parse-result-action-glyph-pause::before {
        left: 1px;
      }
      .parse-result-action-glyph-pause::after {
        right: 1px;
      }
      .parse-result-action-glyph-play {
        width: 0;
        height: 0;
        margin-left: 3px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 13px solid currentColor;
      }
      .parse-result-action-svg {
        width: 16px;
        height: 16px;
        display: block;
      }
      .parse-result-action-spinner {
        width: 16px;
        height: 16px;
        border-radius: 999px;
        border: 2px solid rgba(255, 255, 255, 0.22);
        border-top-color: rgba(255, 255, 255, 0.96);
        animation: parseResultActionSpin 0.9s linear infinite;
      }
      @keyframes parseResultActionSpin {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(360deg);
        }
      }
      .home-card {
        position: relative;
        z-index: 1;
        width: 980px;
        height: 456px;
        max-width: 980px;
        min-width: 980px;
        min-height: 456px;
        max-height: 456px;
        flex: 0 0 980px;
        box-sizing: border-box;
        padding: 32px;
        border-radius: 32px;
        border: 1.5px solid #FFFFFF;
        background: rgba(255, 255, 255, 0.7);
        box-shadow:
          0px -8px 16px 0px rgba(173, 197, 238, 0.10),
          0px 10px 32px 0px rgba(173, 197, 238, 0.20),
          inset -8px -6px 20px 6px rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        overflow: visible;
      }
      .home-card::before,
      .home-card::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 980px;
        height: 59px;
        border-radius: 50%;
        z-index: -1;
        pointer-events: none;
        opacity: 0.8;
        filter: blur(100px);
        background: linear-gradient(
          90deg,
          #A3AEFF 0%,
          #9CF3FF 20%,
          #9EBDFF 40%,
          #D6ABFF 50%,
          #A1C7FF 70%,
          #AFF7FF 80%,
          #D6ABFF 90%,
          #8AABFF 100%
        );
      }
      .home-card::before {
        top: -22px;
      }
      .home-card::after {
        bottom: -22px;
      }
      .home-card-grid {
        display: grid;
        grid-template-columns: 442px 442px;
        grid-auto-rows: 300px;
        justify-content: center;
        gap: 32px;
        width: 100%;
        min-width: 0;
      }
      .home-slot {
        position: relative;
        width: 442px;
        height: 300px;
        flex: 0 0 442px;
      }
      .home-dropzone {
        --home-dropzone-fill: transparent;
        --home-dropzone-border-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='442' height='300' viewBox='0 0 442 300' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' y1='0' x2='442' y2='300' gradientUnits='userSpaceOnUse'><stop offset='0' stop-color='%236A73F2' stop-opacity='0.3'/><stop offset='1' stop-color='%23AA75F4' stop-opacity='0.3'/></linearGradient></defs><rect x='1' y='1' width='440' height='298' rx='23' ry='23' fill='none' stroke='url(%23g)' stroke-width='2' stroke-dasharray='8 8'/></svg>");
        width: 100%;
        height: 100%;
        position: relative;
        border: 0;
        border-radius: 24px;
        padding: 32px;
        background-color: var(--home-dropzone-fill);
        background-image: var(--home-dropzone-border-svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-origin: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        text-align: center;
        transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
      }
      .home-dropzone-body {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
      }
      .home-dropzone-media {
        flex: 0 0 auto;
        min-width: clamp(90px, 8vw, 120px);
        display: grid;
        justify-items: center;
        gap: 8px;
      }
      .home-dropzone-copy {
        min-width: 0;
        display: grid;
        gap: 8px;
        justify-items: center;
        text-align: center;
      }
      .home-dropzone:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 28px rgba(142, 163, 255, 0.12);
      }
      .home-dropzone-icon {
        width: clamp(64px, 6vw, 84px);
        height: clamp(64px, 6vw, 84px);
        border-radius: 16px;
        background: transparent;
        border: none;
        color: rgba(1, 8, 47, 0.8);
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0;
      }
      .home-dropzone-icon img {
        width: clamp(64px, 6vw, 84px);
        height: clamp(64px, 6vw, 84px);
        object-fit: contain;
        border-radius: 16px;
      }
      .home-dropzone-img {
        width: clamp(64px, 6vw, 84px);
        height: clamp(64px, 6vw, 84px);
        object-fit: contain;
      }
      .home-dropzone-icon svg {
        width: 34px;
        height: 34px;
      }
      .home-dropzone-mark {
        margin-top: 0;
        font-size: 11px;
        font-weight: 700;
        color: rgba(30, 41, 59, 0.55);
        letter-spacing: 0.6px;
      }
      .home-dropzone-title {
        font-weight: 500;
        font-size: 16px;
        color: #01082f;
        line-height: 1.5;
      }
      .home-dropzone-title-accent {
        color: #6a73f2;
        font-weight: 500;
      }
      .home-dropzone-title-text {
        font-weight: 400;
      }
      .home-dropzone-sub {
        font-size: clamp(12px, 0.95vw, 13px);
        color: rgba(1, 8, 47, 0.5);
        font-weight: 400;
        line-height: 1.4;
      }
      .home-dropzone-filename {
        font-size: 12px;
        color: rgba(1, 8, 47, 0.8);
        font-weight: 500;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .home-upload-status {
        display: none;
        width: min(260px, 100%);
        grid-auto-flow: row;
        gap: 6px;
        justify-items: stretch;
      }
      .home-upload-file-name {
        font-size: 18px;
        line-height: 24px;
        font-weight: 500;
        text-align: left;
        color: #01082f;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .home-upload-meta {
        font-size: 13px;
        line-height: 18px;
        color: rgba(1, 8, 47, 0.5);
        text-align: left;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .home-upload-progress {
        width: 100%;
        height: 6px;
        border-radius: 999px;
        background: rgba(226, 233, 248, 0.9);
        overflow: hidden;
        box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.12);
      }
      .home-upload-progress-row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
      }
      .home-upload-progress-bar {
        width: 0%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #aa75f4 0%, #86cfff 62%, #662eff 100%);
        transition: width 0.18s ease;
      }
      .home-upload-cancel {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        border: 0;
        padding: 0;
        border-radius: 999px;
        background: transparent;
        color: rgba(1, 8, 47, 0.25);
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
      }
      .home-upload-cancel[hidden] {
        display: none;
      }
      .excel-doc-upload {
        --home-dropzone-fill: transparent;
      }
      .excel-doc-upload.is-uploading,
      .excel-doc-upload.is-uploaded {
        --home-dropzone-fill: #ffffff;
      }
      .excel-doc-upload.is-uploading .home-dropzone-body {
        padding-top: 36px;
        padding-bottom: 36px;
      }
      .excel-doc-upload.is-uploading .home-dropzone-body {
        width: 264px;
        display: grid;
        grid-template-columns: 48px minmax(0, 184px) 16px;
        grid-template-rows: auto auto auto;
        align-content: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 16px;
      }
      .excel-doc-upload.is-uploading .home-dropzone-media {
        grid-column: 1;
        grid-row: 1;
        min-width: 48px;
        width: 48px;
        display: grid;
        place-items: center;
      }
      .excel-doc-upload.is-uploading .home-dropzone-icon,
      .excel-doc-upload.is-uploading .home-dropzone-icon img,
      .excel-doc-upload.is-uploading .home-dropzone-img {
        width: 48px;
        height: 48px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        object-fit: contain;
      }
      .excel-doc-upload.is-uploading .home-dropzone-copy,
      .excel-doc-upload.is-uploading .home-upload-status {
        display: contents;
      }
      .excel-doc-upload.is-uploading .home-upload-file-name {
        grid-column: 2 / 4;
        grid-row: 1;
        align-self: center;
        font-size: 18px;
        line-height: 22px;
        font-weight: 500;
        color: #01082f;
        text-align: left;
      }
      .excel-doc-upload.is-uploading .home-upload-meta {
        grid-column: 1 / 4;
        grid-row: 2;
        text-align: center;
        font-size: 13px;
        line-height: 18px;
      }
      .excel-doc-upload.is-uploading .home-upload-progress-row {
        grid-column: 1 / 4;
        grid-row: 3;
      }
      .excel-doc-upload.is-uploading .home-upload-progress {
        flex: 1 1 auto;
      }
      .excel-doc-upload.is-uploading .home-upload-cancel {
        display: inline-flex;
      }
      .excel-doc-upload.is-uploaded .home-dropzone-body {
        width: 346px;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 24px;
        padding-top: 16px;
      }
      .excel-doc-upload.is-uploaded .home-dropzone-media {
        min-width: 100px;
        width: 100px;
        height: 100px;
        display: grid;
        place-items: center;
      }
      .excel-doc-upload.is-uploaded .home-dropzone-icon,
      .excel-doc-upload.is-uploaded .home-dropzone-icon img,
      .excel-doc-upload.is-uploaded .home-dropzone-img {
        width: 80px;
        height: 80px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        object-fit: contain;
      }
      .excel-doc-upload.is-uploaded .home-dropzone-copy,
      .excel-doc-upload.is-uploaded .home-upload-status {
        width: 346px;
        max-width: 346px;
        display: grid;
        justify-items: center;
        gap: 12px;
        text-align: center;
      }
      .excel-doc-upload.is-uploaded .home-upload-file-name,
      .home-model-picker.has-logo .home-model-name {
        text-align: center;
        width: 100%;
        min-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 22px;
      }
      .excel-doc-upload.is-uploaded .home-upload-meta,
      .home-model-picker.has-logo .home-model-desc {
        width: 100%;
        min-height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .excel-doc-upload.is-uploading .home-dropzone-title-idle,
      .excel-doc-upload.is-uploading .home-dropzone-sub-idle,
      .excel-doc-upload.is-uploaded .home-dropzone-title-idle,
      .excel-doc-upload.is-uploaded .home-dropzone-sub-idle {
        display: none;
      }
      .excel-doc-upload.is-uploaded .home-upload-progress {
        display: none;
      }
      .excel-doc-upload.is-uploaded .home-upload-cancel {
        display: none;
      }
      .home-upload-reupload,
      .home-model-reselect {
        position: absolute;
        left: 50%;
        bottom: 32px;
        transform: translateX(-50%);
        width: 173px;
        font-family: "PingFang SC", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 18px;
        color: #6a73f2;
        opacity: 0.8;
        text-align: center;
        cursor: pointer;
        user-select: none;
      }
      .home-upload-reupload[hidden] {
        display: none;
      }
      .home-dropzone input[type="file"] {
        display: none;
      }
      .home-dropzone-remove {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        border-radius: 10px;
        border: 1px solid rgba(148, 163, 184, 0.18);
        background: rgba(255, 255, 255, 0.72);
        color: rgba(15, 23, 42, 0.8);
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
      }
      .excel-doc-upload.is-uploaded + .home-dropzone-remove,
      .excel-doc-upload.is-uploading + .home-dropzone-remove {
        display: none;
      }
      .home-model-picker {
        --home-dropzone-fill: #ffffff;
        border: 0;
        -webkit-appearance: none;
        appearance: none;
        color: inherit;
        font-family: inherit;
      }
      .home-model-picker .home-dropzone-copy {
        gap: 8px;
      }
      .home-model-status {
        display: none;
        width: min(346px, 100%);
        justify-items: center;
        gap: 12px;
      }
      .home-model-name {
        font-size: 18px;
        line-height: 22px;
        font-weight: 500;
        color: #01082f;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .home-model-desc {
        font-size: 13px;
        line-height: 18px;
        color: rgba(1, 8, 47, 0.5);
        text-align: center;
        display: -webkit-box;
        line-clamp: 1;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .home-model-reselect {
        bottom: 32px;
        transform: translateX(-50%);
      }
      .home-model-picker.has-logo {
        --home-dropzone-fill: #ffffff;
      }
      .home-model-picker.has-logo .home-dropzone-icon {
        width: 100px;
        height: 100px;
        background: #f4f7ff;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: inset 0 0 0 1px rgba(214, 226, 255, 0.65);
      }
      .home-model-picker.has-logo .home-dropzone-icon img {
        width: 100px;
        height: 100px;
        border-radius: 24px;
        object-fit: cover;
      }
      .home-model-picker.has-logo .home-dropzone-body {
        width: 346px;
        height: 100%;
        box-sizing: border-box;
        gap: 24px;
        padding-top: 16px;
        justify-content: flex-start;
      }
      .home-model-picker.has-logo .home-dropzone-media {
        min-width: 100px;
        width: 100px;
        height: 100px;
        display: grid;
        place-items: center;
      }
      .home-model-picker.has-logo .home-dropzone-copy {
        width: 346px;
        justify-items: center;
        text-align: center;
      }
      .home-model-picker.has-logo .home-model-title-idle,
      .home-model-picker.has-logo .home-model-sub-idle {
        display: none;
      }
      .home-model-picker.has-logo .home-model-status {
        display: grid;
        width: 346px;
        max-width: 346px;
        justify-items: center;
        gap: 12px;
      }
      .home-model-picker.has-logo .home-model-name,
      .home-model-picker.has-logo .home-model-desc {
        width: 346px;
        max-width: 346px;
        text-align: center;
      }
      .home-model-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.18);
        background: rgba(255, 255, 255, 0.72);
        color: rgba(15, 23, 42, 0.8);
        display: none;
        align-items: center;
        justify-content: center;
      }
      .home-model-picker.has-logo .home-model-remove {
        display: none;
      }
      .home-action {
        margin-top: 24px;
        display: grid;
        gap: 0;
        justify-items: center;
      }
      .home-parse-btn {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        width: 916px;
        height: 68px;
        max-width: 100%;
        border-radius: 16px;
        /* 默认态：双层 linear-gradient 叠加，两层整体不透明度均为 60% */
        background:
          linear-gradient(
            90deg,
            rgba(163, 174, 255, 0.6) 0%,
            rgba(214, 171, 255, 0.6) 20%,
            rgba(158, 189, 255, 0.6) 40%,
            rgba(156, 214, 255, 0.336) 50%,
            rgba(161, 199, 255, 0.6) 70%,
            rgba(214, 171, 255, 0.6) 80%,
            rgba(138, 171, 255, 0.6) 100%
          ),
          linear-gradient(
            90deg,
            rgba(234, 239, 255, 0.6) 0%,
            rgba(226, 244, 253, 0.6) 20%,
            rgba(233, 240, 255, 0.6) 50%,
            rgba(236, 250, 255, 0.6) 80%,
            rgba(244, 243, 255, 0.6) 100%
          );
        box-shadow:
          inset 0px 12px 20px 0px rgba(255, 255, 255, 0.60),
          inset 0px -12px 20px 0px rgba(255, 255, 255, 0.60);
        cursor: pointer;
        font-family: "PingFang SC", sans-serif;
        outline: none;
        transition:
          background 0.18s ease,
          box-shadow 0.18s ease,
          transform 0.18s ease;
      }
      .home-parse-btn-label {
        position: relative;
        z-index: 2;
        display: inline-block;
        font-family: "PingFang SC", sans-serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 22px;
        text-align: center;
        color: transparent;
        background-image: linear-gradient(
          90deg,
          #AA75F4 0%,
          #44B4FF 50%,
          #662EFF 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: background-image 0.18s ease;
      }
      .home-parse-btn:disabled {
        cursor: not-allowed;
        background: linear-gradient(
          90deg,
          rgba(234, 255, 255, 0.8) 0%,
          rgba(226, 244, 253, 0.8) 20%,
          rgba(233, 240, 255, 0.8) 50%,
          rgba(236, 250, 255, 0.8) 80%,
          rgba(244, 243, 255, 0.8) 100%
        );
        box-shadow: none;
        transform: none;
      }
      .home-parse-btn:disabled .home-parse-btn-label {
        background-image: linear-gradient(
          90deg,
          rgba(170, 117, 244, 0.5) 0%,
          rgba(68, 180, 255, 0.5) 50%,
          rgba(102, 46, 255, 0.5) 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        text-shadow: 0 0 0 transparent;
      }
      .home-parse-btn:not(:disabled) {
        cursor: pointer;
      }
      .home-parse-btn:not(:disabled):hover,
      .home-parse-btn:not(:disabled):focus,
      .home-parse-btn:not(:disabled):focus-visible {
        outline: none;
        transform: none;
        /* 悬浮态：表层 60% 不透明度的彩色渐变，底层 100% 不透明度的浅色渐变 */
        background:
          linear-gradient(
            90deg,
            rgba(163, 174, 255, 0.6) 0%,
            rgba(214, 171, 255, 0.6) 20%,
            rgba(158, 189, 255, 0.6) 40%,
            rgba(156, 214, 255, 0.336) 50%,
            rgba(161, 199, 255, 0.6) 70%,
            rgba(214, 171, 255, 0.6) 80%,
            rgba(138, 171, 255, 0.6) 100%
          ),
          linear-gradient(
            90deg,
            #EAEFFF 0%,
            #E2F4FD 20%,
            #E9F0FF 50%,
            #ECFAFF 80%,
            #F4F3FF 100%
          );
        box-shadow:
          inset 0px 12px 20px 0px rgba(255, 255, 255, 0.60),
          inset 0px -12px 20px 0px rgba(255, 255, 255, 0.60);
      }
      .home-parse-btn:not(:disabled):hover .home-parse-btn-label,
      .home-parse-btn:not(:disabled):focus .home-parse-btn-label,
      .home-parse-btn:not(:disabled):focus-visible .home-parse-btn-label {
        /* 文字多层填充：表层 20% 黑色遮罩 + 底层彩色渐变 */
        background-image:
          linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
          linear-gradient(90deg, #AA75F4 0%, #44B4FF 52%, #662EFF 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
      }
      .home-parse-btn:not(:disabled):active {
        transform: translateY(1px) scale(0.998);
      }
      body.sidebar-collapsed .sidebar {
        width: 56px;
        flex-basis: 56px;
        padding: 14px 6px 18px;
      }
      body.sidebar-collapsed .sidebar-brand-text,
      body.sidebar-collapsed .sidebar-link-text,
      body.sidebar-collapsed .sidebar-section {
        display: none;
      }
      body.sidebar-collapsed .sidebar-brand {
        display: none;
      }
      body.sidebar-collapsed .sidebar-primary {
        display: inline-flex;
        width: 100%;
        min-height: 44px;
        align-self: stretch;
        justify-content: center;
        padding: 10px 6px;
        gap: 0;
        border-radius: 14px;
        background: transparent;
        box-shadow: none;
        filter: none;
        color: #64748b;
      }
      body.sidebar-collapsed .sidebar-primary:hover {
        filter: none;
        transform: none;
        background: rgba(59, 130, 246, 0.05);
      }
      body.sidebar-collapsed .sidebar-primary-text {
        display: none;
      }
      body.sidebar-collapsed .sidebar-primary-icon {
        width: 22px;
        height: 22px;
        background: transparent;
        box-shadow: none;
      }
      body.sidebar-collapsed .sidebar-primary-plus {
        display: none;
      }
      body.sidebar-collapsed .sidebar-primary-image {
        display: block;
        width: 20px;
        height: 20px;
      }
      body.sidebar-collapsed .sidebar-user-name {
        display: none;
      }
      body.sidebar-collapsed .sidebar-header {
        justify-content: center;
        gap: 12px;
        margin-bottom: 8px;
      }
      body.sidebar-collapsed .sidebar-brand {
        flex: 0 0 auto;
        gap: 0;
      }
      body.sidebar-collapsed .sidebar-brand-logo {
        width: 30px;
        height: 30px;
        border-radius: 10px;
      }
      body.sidebar-collapsed .sidebar-toggle {
        width: 32px;
        height: 32px;
        margin-left: auto;
        margin-right: auto;
      }
      body.sidebar-collapsed .sidebar-toggle svg {
        width: 23px;
        height: 23px;
      }
      body.sidebar-collapsed .sidebar-toggle img {
        width: 23px;  
        height: 23px;
      }
      body.sidebar-collapsed .sidebar-nav {
        gap: 14px;
        padding-top: 10px;
      }
      body.sidebar-collapsed .sidebar-link {
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 6px;
        border-radius: 14px;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
      }
      body.sidebar-collapsed .sidebar-link:hover {
        transform: none;
        background: rgba(59, 130, 246, 0.05);
        border-color: rgba(147, 197, 253, 0.45);
      }
      body.sidebar-collapsed .sidebar-link.active {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(147, 197, 253, 0.7);
        box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.22);
      }
      body.sidebar-collapsed .sidebar-link.active::before {
        left: 0;
        top: 12px;
        bottom: 12px;
        width: 4px;
        background: #3b82f6;
      }
      body.sidebar-collapsed .sidebar-link-icon {
        width: 22px;
        flex-basis: 22px;
        color: #64748b;
      }
      body.sidebar-collapsed .sidebar-link-icon svg {
        width: 20px;
        height: 20px;
      }
      body.sidebar-collapsed .sidebar-link-icon img {
        width: 22px;
        height: 22px;
      }
      body.sidebar-collapsed .sidebar-divider {
        margin: 4px 4px 0;
      }
      body.sidebar-collapsed .sidebar-recent {
        display: none;
      }
      body.sidebar-collapsed .sidebar-footer {
        margin-top: auto;
        padding-top: 16px;
      }
      body.sidebar-collapsed .sidebar-user {
        min-height: 0;
        padding: 8px 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 14px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      body.sidebar-collapsed .sidebar-user-meta {
        flex: 0 0 auto;
        order: 2;
        justify-content: center;
      }
      body.sidebar-collapsed .sidebar-user-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
        flex-basis: 32px;
      }
      body.sidebar-collapsed .sidebar-settings-dropdown {
        margin-left: 0;
        order: 1;
        align-self: center;
      }
      body.sidebar-collapsed .sidebar-settings-btn {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        background: transparent;
        border: none;
        box-shadow: none;
      }
      body.sidebar-collapsed .sidebar-settings-btn svg {
        width: 16px;
        height: 16px;
      }
      body.sidebar-collapsed .sidebar-settings-dropdown .settings-menu {
        left: calc(100% + 8px);
        right: auto;
      }
      .btn-light {
        background: #ffffff;
        color: var(--primary);
        border: 1px solid #d8e4f7;
      }
      .btn-light:hover {
        background: #f7faff;
        border-color: #c9dbfb;
        color: var(--primary);
      }
      .history-table {
        margin-top: var(--space);
      }
      .badge {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        font-size: var(--text-xs);
        padding: 4px 10px;
        font-weight: 700;
      }
      .badge-ok {
        background: #dcfce7;
        color: #166534;
      }
      .badge-danger {
        background: #fee2e2;
        color: #991b1b;
      }
      .output {
        margin-top: var(--space);
        background: #fbfdff;
        color: #1e293b;
        border: 1px solid #e6edf7;
        border-radius: var(--radius-lg);
        padding: 0px;
        max-height: 500px;
        overflow: auto;
        font-size: 12px;
        line-height: 1.6;
      }
      .conclusion-block {
        display: grid;
        gap: 12px;
      }
      .conclusion-line {
        padding: 14px 16px;
        border-radius: var(--radius);
        background: #ffffff;
        border: 1px solid #e6edf7;
      }
      .conclusion-total {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary);
      }
      .conclusion-text {
        white-space: pre-wrap;
        color: #475569;
      }
      .report-shell {
        display: grid;
        gap: 16px;
      }
      .report-overview {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
      }
      .report-overview-card {
        background: #ffffff;
        border: 1px solid #dce8fb;
        border-radius: 14px;
        padding: 14px 16px;
      }
      .report-overview-label {
        font-size: 12px;
        color: var(--muted);
      }
      .report-overview-value {
        margin-top: 8px;
        font-size: 22px;
        line-height: 1.2;
        font-weight: 700;
        color: #1f2d3d;
      }
      .report-overview-value.primary {
        color: var(--primary);
      }
      .report-status {
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid #dbe7f6;
        background: #f8fbff;
        color: #475569;
        font-size: 13px;
        line-height: 1.6;
      }
      .report-group {
        border: 1px solid #dce8fb;
        border-radius: 14px;
        overflow: hidden;
        background: #ffffff;
      }
      .report-group-title {
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 700;
        color: var(--primary);
        background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
        border-bottom: 1px solid #dce8fb;
      }
      .report-table-wrap {
        overflow-x: auto;
      }
      .report-table {
        width: 100%;
        min-width: 760px;
        border-collapse: collapse;
        table-layout: fixed;
      }
      .report-table th,
      .report-table td {
        border-bottom: 1px solid #e8eef7;
        padding: 12px 14px;
        text-align: center;
        vertical-align: middle;
        font-size: 13px;
      }
      .report-table th {
        background: #f8fbff;
        color: #475569;
        font-weight: 700;
        white-space: nowrap;
      }
      .report-table tbody tr:last-child td {
        border-bottom: none;
      }
      .report-table td:first-child {
        text-align: left;
      }
      .report-item-title {
        font-size: 14px;
        font-weight: 700;
        color: #1f2d3d;
      }
      .report-item-desc {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.5;
        color: #64748b;
      }
      .report-score {
        display: inline-flex;
        min-width: 56px;
        align-items: center;
        justify-content: center;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 700;
      }
      .report-score.positive {
        background: rgba(22, 163, 74, 0.1);
        color: #166534;
      }
      .report-score.negative {
        background: rgba(220, 38, 38, 0.1);
        color: #b91c1c;
      }
      .report-score.neutral {
        background: rgba(100, 116, 139, 0.12);
        color: #475569;
      }
      .report-ref,
      .report-unit {
        color: #334155;
      }
      .report-hint {
        text-align: left;
        color: #475569;
        line-height: 1.7;
        white-space: pre-wrap;
        word-break: break-word;
      }
      .report-conclusion-grid {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 12px;
      }
      .report-conclusion-card {
        background: #ffffff;
        border: 1px solid #dce8fb;
        border-radius: 14px;
        padding: 16px;
      }
      .report-conclusion-label {
        font-size: 12px;
        color: var(--muted);
      }
      .report-conclusion-value {
        margin-top: 8px;
        font-size: 28px;
        font-weight: 700;
        color: var(--primary);
      }
      .report-conclusion-text {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.8;
        color: #475569;
        white-space: pre-wrap;
        word-break: break-word;
      }
      .summary-section {
        display: grid;
        gap: 12px;
      }
      .summary-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--primary);
      }
      .summary-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }
      .summary-card {
        background: #ffffff;
        border: 1px solid #e6edf7;
        border-radius: var(--radius);
        padding: 14px;
      }
      .summary-card-label {
        color: var(--muted);
        font-size: 12px;
      }
      .summary-card-value {
        margin-top: 6px;
        color: var(--primary);
        font-size: 18px;
        font-weight: 700;
      }
      .summary-signals {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .summary-signal {
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(47, 126, 247, 0.08);
        border: 1px solid rgba(47, 126, 247, 0.16);
        color: var(--primary);
        font-size: 12px;
      }
      .report-shell {
        gap: 12px;
        background: #fff;
        border: 1px solid #9bb7d7;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
      }
      .report-paper-header {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr) 240px;
        align-items: center;
        gap: 16px;
        padding-bottom: 14px;
        border-bottom: 2px solid #7ea6d8;
      }
      .report-paper-logo {
        width: 72px;
        height: 72px;
        object-fit: contain;
      }
      .report-paper-title {
        text-align: center;
      }
      .report-paper-title h1 {
        margin: 0;
        font-size: 24px;
        line-height: 1.2;
        color: #1f2d3d;
      }
      .report-paper-subtitle {
        margin-top: 6px;
        font-size: 13px;
        color: #475569;
        letter-spacing: 1px;
      }
      .report-paper-side {
        display: grid;
        gap: 6px;
        justify-items: end;
        font-size: 12px;
        color: #475569;
      }
      .report-paper-side strong {
        color: #1f2d3d;
      }
      .report-basic-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        border: 1px solid #b8cbe2;
        border-top: none;
      }
      .report-basic-item {
        min-height: 44px;
        padding: 10px 12px;
        border-top: 1px solid #b8cbe2;
        border-right: 1px solid #b8cbe2;
        background: #fff;
        font-size: 13px;
        color: #334155;
      }
      .report-basic-item:nth-child(4n) {
        border-right: none;
      }
      .report-basic-label {
        margin-right: 6px;
        font-weight: 700;
        color: #1f2d3d;
      }
      .report-section-table {
        border: 1px solid #7ea6d8;
      }
      .report-section-caption {
        padding: 10px 16px;
        text-align: center;
        font-size: 15px;
        font-weight: 700;
        color: #2f5f98;
        background: #f2f7fd;
        border-bottom: 1px solid #7ea6d8;
      }
      .report-table {
        min-width: 0;
      }
      .report-table th,
      .report-table td {
        border: 1px solid #c1d0e0;
        padding: 8px 10px;
        font-size: 13px;
      }
      .report-table th {
        background: #f7f9fc;
        color: #1f2d3d;
      }
      .report-table td:first-child {
        text-align: left;
      }
      .report-category-row td {
        background: #f2f7fd;
        color: #2f5f98;
        font-weight: 700;
        text-align: left;
      }
      .report-item-title {
        font-size: 13px;
      }
      .report-item-desc {
        color: #64748b;
      }
      .report-score {
        min-width: 48px;
        padding: 0;
        border: none;
        background: transparent;
        border-radius: 0;
        font-size: 13px;
      }
      .report-score.positive,
      .report-score.negative,
      .report-score.neutral {
        background: transparent;
        border-color: transparent;
      }
      .report-status {
        border-radius: 0;
        border-color: #b8cbe2;
        background: #f8fbff;
        color: #334155;
      }
      .summary-section {
        border: 1px solid #7ea6d8;
        padding: 14px;
        background: #fff;
      }
      .summary-title {
        color: #2f5f98;
      }
      .summary-card {
        border-radius: 0;
        border-color: #c1d0e0;
      }
      .report-summary-grid {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        border: 1px solid #7ea6d8;
      }
      .report-summary-block {
        min-height: 120px;
        padding: 14px 16px;
        border-right: 1px solid #7ea6d8;
      }
      .report-summary-block:last-child {
        border-right: none;
      }
      .report-summary-title {
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 700;
        color: #2f5f98;
      }
      .report-summary-text {
        font-size: 14px;
        line-height: 1.9;
        color: #334155;
        white-space: pre-wrap;
        word-break: break-word;
      }
      .report-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding-top: 10px;
        border-top: 1px solid #b8cbe2;
        color: #475569;
        font-size: 12px;
        flex-wrap: wrap;
      }
      .report-footer-note {
        width: 100%;
        color: #64748b;
      }
      .history-action {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 999px;
      }
      .file-upload-wrapper {
        position: relative;
      }
      .file-upload-wrapper input[type="file"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
        padding: 0;
        border: none;
        width: 100%;
        height: 100%;
      }
      .file-upload-wrapper input[type="file"]::file-selector-button {
        display: none;
      }
      .file-upload-area {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
        border: 2px dashed var(--line);
        border-radius: var(--radius-lg);
        background: #fafbfc;
        transition: all 0.25s ease;
        cursor: pointer;
      }
      .file-upload-wrapper input[type="file"]:hover ~ .file-upload-area {
        border-color: var(--primary);
        background: rgba(47, 126, 247, 0.04);
      }
      .file-upload-wrapper input[type="file"]:focus-visible ~ .file-upload-area {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(47, 126, 247, 0.12);
      }
      .file-upload-wrapper.dragover .file-upload-area {
        border-color: var(--primary);
        background: rgba(47, 126, 247, 0.06);
      }
      .file-upload-icon {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius);
        background: rgba(47, 126, 247, 0.08);
        color: var(--primary);
      }
      .file-upload-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
      }
      .file-upload-label {
        font-weight: 600;
        font-size: 14px;
        color: var(--text);
      }
      .file-upload-hint {
        font-size: 12px;
        color: var(--muted);
      }
      .file-upload-name {
        font-size: 13px;
        color: var(--primary);
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
        flex-shrink: 0;
      }
      .home-studio-section {
        gap: 20px;
      }
      .studio-panel {
        display: grid;
        gap: 22px;
        width: 70%;
        margin: 0 auto;
        border: 1px solid rgba(208, 217, 232, 0.9);
        border-radius: 20px;
        padding: 12px 16px 16px;
        background:
          radial-gradient(circle at top left, rgba(47, 126, 247, 0.08), transparent 34%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
        box-shadow: 0 18px 44px rgba(31, 61, 120, 0.08);
      }
      .studio-header {
        display: grid;
        gap: 10px;
        max-width: 720px;
      }
      .studio-header-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        padding: 8px 14px;
        border-radius: 999px;
        background: #eef5ff;
        color: var(--primary);
        border: 1px solid #d6e5ff;
        font-size: 13px;
        font-weight: 700;
      }
      .studio-title {
        margin: 0;
        font-size: clamp(20px, 2vw, 28px);
        line-height: 1.18;
        letter-spacing: -0.02em;
        color: #10243e;
      }
      .studio-subtitle {
        margin: 0;
        font-size: 15px;
        line-height: 1.75;
        color: #5f6f86;
      }
      .studio-main {
        display: grid;
        gap: 10px;
      }
      .studio-workbench {
        --studio-media-size: clamp(112px, 11vw + 24px, 136px);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
        gap: clamp(10px, 1.4vw, 14px);
      }
      .studio-step-card {
        display: grid;
        gap: 10px;
        padding: clamp(12px, 1.2vw, 14px);
        border-radius: 18px;
        border: 1px solid rgba(214, 226, 242, 0.95);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 28px rgba(31, 61, 120, 0.05);
        min-height: clamp(196px, 22vw, 208px);
      }
      .studio-step-card-action {
        background:
          linear-gradient(180deg, rgba(238, 245, 255, 0.96), rgba(229, 239, 255, 0.98));
        border-color: rgba(191, 212, 255, 0.98);
        align-content: start;
      }
      .studio-step-head {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-top: -2px;
      }
      .studio-step-no {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #f0f5ff;
        color: var(--primary);
        font-size: 14px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .studio-step-card-action .studio-step-no {
        background: rgba(47, 126, 247, 0.14);
      }
      .studio-step-copy {
        display: grid;
        gap: 2px;
        min-width: 0;
      }
      .studio-step-title {
        font-size: 15px;
        font-weight: 800;
        color: #13253c;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .studio-step-desc {
        display: block;
        font-size: 11px;
        line-height: 1.35;
        color: #6b7a90;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .studio-step-status {
        margin-top: auto;
        min-height: 44px;
        font-size: 13px;
        line-height: 1.7;
        color: #607087;
      }
      .studio-file-picker {
        position: relative;
        display: block;
        width: fit-content;
        margin: 0 auto;
      }
      .studio-parse-btn {
        position: relative;
        width: 100%;
        height: 56px;
        border: 1px solid var(--primary);
        border-radius: 14px;
        background: linear-gradient(90deg, #2f7ef7 0%, #4f8fff 100%);
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .studio-parse-btn:hover {
        background: linear-gradient(90deg, #246fe2 0%, #4588f7 100%);
        border-color: #246fe2;
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
      }
      .studio-parse-btn:disabled {
        background: #cbd5e1;
        border-color: #cbd5e1;
        color: #94a3b8;
        cursor: not-allowed;
        box-shadow: none;
        pointer-events: none;
      }
      .studio-parse-hint {
        display: none;
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        padding: 6px 12px;
        font-size: 12px;
        color: #fff;
        background: rgba(31, 45, 61, 0.85);
        border-radius: 6px;
        white-space: nowrap;
        pointer-events: none;
        z-index: 10;
      }
      .studio-parse-area {
        position: relative;
        width: 100%;
        display: grid;
        place-items: center;
        margin-top: auto;
      }
      .studio-action-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        min-height: 72px;
      }
      .studio-action-visual-mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        border-radius: 18px;
        background: transparent;
        font-size: 34px;
        line-height: 1;
      }
      .studio-picker-btn {
        position: relative;
        width: var(--studio-media-size);
        height: var(--studio-media-size);
        margin: 0 auto;
        aspect-ratio: 1 / 1;
        border: 1px dashed #d2deef;
        border-radius: 16px;
        background: #fff;
        display: grid;
        place-items: center;
        gap: 4px;
        cursor: pointer;
        color: #1f2d3d;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.2s ease;
        overflow: hidden;
      }
      .studio-picker-btn:hover {
        border-color: var(--primary);
        background: #f7faff;
        color: var(--primary);
      }
      .studio-picker-btn.has-logo {
        border-style: solid;
        border-color: #d2deef;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
      }
      .studio-picker-btn.has-logo:hover {
        border-color: var(--primary);
      }
      .studio-picker-btn.has-logo .studio-picker-icon {
        position: absolute;
        inset: 2% 2% 2% 2%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 12px;
      }
      .studio-picker-logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .studio-picker-btn.has-logo #ruleGroupPickerLabel {
        position: absolute;
        left: 2%;
        right: 2%;
        bottom: 2%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #fff;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 100%);
        padding: 0 12px;
        text-align: center;
        line-height: 1.5;
        min-height: 34px;
        z-index: 1;
      }
      .studio-picker-btn.has-logo:hover #ruleGroupPickerLabel {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.78) 100%);
      }
      .studio-picker-remove {
        display: none;
        position: absolute;
        top: 3px;
        right: 3px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--danger);
        color: #fff;
        font-size: 14px;
        line-height: 22px;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        z-index: 2;
      }
      .studio-picker-btn:hover .studio-picker-remove {
        display: block;
      }
      .studio-picker-remove:hover {
        background: #dc2626;
        transform: scale(1.1);
      }
      .studio-picker-icon {
        font-size: 24px;
        line-height: 1;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .studio-picker-btn:hover .studio-picker-icon {
        color: var(--primary);
      }
      .excel-doc-upload {
        position: relative;
        overflow: hidden;
        margin: 0;
        cursor: pointer;
        color: #1f2d3d;
      }
      .excel-doc-upload input[type="file"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 3;
      }
      .excel-doc-default {
        display: grid;
        place-items: center;
        gap: 8px;
      }
      .excel-doc-upload.has-file {
        border: 0;
      }
      .excel-doc-upload.has-file .excel-doc-default {
        display: none;
      }
      .excel-doc-preview {
        display: none;
      }
      .excel-doc-upload.has-file .excel-doc-preview {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        inset: 2% 2% 2% 2%;
        background: transparent;
        border-radius: 12px;
      }
      .excel-doc-preview svg {
        width: 56px;
        height: 56px;
        color: #21a366;
      }
      .excel-doc-plus {
        font-size: 28px;
        line-height: 1;
        color: #6b7280;
      }
      .excel-doc-text {
        font-size: 14px;
        font-weight: 700;
        color: #6b7280;
      }
      .excel-doc-file-name {
        display: none;
      }
      .excel-doc-upload.has-file .excel-doc-file-name {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 2%;
        right: 2%;
        bottom: 2%;
        font-size: 12px;
        color: #fff;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 100%);
        padding: 0 12px;
        text-align: center;
        line-height: 1.5;
        min-height: 34px;
        border-radius: 0 0 12px 12px;
      }
      .excel-doc-upload.has-file:hover .excel-doc-file-name {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.78) 100%);
      }
      .excel-doc-remove {
        display: none;
        position: absolute;
        top: 3px;
        right: 3px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--danger);
        color: #fff;
        font-size: 14px;
        line-height: 22px;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        z-index: 2;
      }
      .excel-doc-upload.has-file:hover + .excel-doc-remove {
        display: block;
      }
      .excel-doc-remove:hover {
        background: #dc2626;
        transform: scale(1.1);
      }
      #featuredRulesPanel {
        position: fixed;
        left: 148px;
        right: 0;
        bottom: 0;
        transform: none;
        width: auto;
        margin: 0;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        border: none;
        background: transparent;
        z-index: 40;
        pointer-events: none;
      }
      body #featuredRulesPanel {
        display: none !important;
      }
      body.sidebar-collapsed #featuredRulesPanel {
        left: 56px;
      }
      .featured-rules-inner {
        width: 100%;
        padding: 14px 16px 16px;
        border: none;
        border-radius: 20px 20px 0 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        pointer-events: auto;
      }
      .featured-rules-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
      }
      .featured-rules-header h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
      }
      .featured-rules-header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .featured-rules-more {
        font-size: 14px;
        color: var(--primary);
        text-decoration: none;
        font-weight: 700;
        flex-shrink: 0;
        white-space: nowrap;
      }
      .featured-rules-more:hover {
        text-decoration: underline;
      }
      .featured-rules-toggle {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(47, 126, 247, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        color: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(31, 61, 120, 0.08);
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
      }
      .featured-rules-toggle:hover {
        transform: translateY(-1px);
        border-color: rgba(47, 126, 247, 0.32);
        box-shadow: 0 12px 24px rgba(31, 61, 120, 0.12);
      }
      .featured-rules-toggle-icon {
        font-size: 28px;
        line-height: 1;
        font-weight: 700;
      }
      .featured-rules-row {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
      }
      #featuredRulesPanel.is-collapsed .featured-rules-row {
        display: none;
      }
      #featuredRulesPanel.is-collapsed .featured-rules-header {
        margin-bottom: 0;
      }
      .featured-rule-card {
        min-width: 0;
        cursor: pointer;
        transition: all 0.2s ease;
        display: block;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid rgba(214, 226, 242, 0.95);
        background: #fff;
        box-shadow: 0 10px 24px rgba(31, 61, 120, 0.05);
        position: relative;
        overflow: visible;
      }
      .featured-rule-card:hover {
        transform: translateY(-2px);
        border-color: rgba(47, 126, 247, 0.3);
        box-shadow: 0 16px 32px rgba(31, 61, 120, 0.08);
      }
      .featured-rule-card.active {
        border-color: rgba(47, 126, 247, 0.62);
        box-shadow:
          inset 0 0 0 2px rgba(47, 126, 247, 0.16),
          0 10px 24px rgba(31, 61, 120, 0.08);
      }
      .featured-rule-card-media {
        position: relative;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        border: none;
        background: transparent;
      }
      .featured-rule-card-logo {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        display: block;
        border: 1px solid rgba(191, 212, 255, 0.95);
        border-radius: 12px;
        background: #f7faff;
        box-sizing: border-box;
      }
      .featured-rule-card-name {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 28px 10px 10px;
        font-size: 13px;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.78) 100%);
        text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
      }
      .featured-rule-card-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(220, 38, 38, 0.9);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 6px 14px rgba(220, 38, 38, 0.22);
        backdrop-filter: blur(4px);
      }
      .featured-rule-card-desc {
        position: absolute;
        left: 50%;
        bottom: calc(100% + 10px);
        transform: translateX(-50%) translateY(4px);
        width: min(220px, calc(100vw - 32px));
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.92);
        color: #fff;
        font-size: 12px;
        line-height: 1.6;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
        z-index: 4;
      }
      .featured-rule-card:hover .featured-rule-card-desc {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
      .studio-mobile-actionbar {
        display: none;
      }
      .group-picker-overlay {
        position: fixed;
        inset: 0;
        left: 280px;
        background: rgba(15, 23, 42, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1300;
        padding: 20px;
        backdrop-filter: blur(4px);
      }
      .group-picker-overlay.active {
        display: flex;
      }
      .group-picker-modal {
        width: min(96vw, 960px);
        max-height: 88vh;
        overflow: auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        padding: 20px;
      }
      .group-picker-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
      }
      .group-picker-title {
        font-size: 18px;
        font-weight: 700;
      }
      .group-picker-close {
        border: none;
        background: transparent;
        font-size: 24px;
        color: var(--muted);
        cursor: pointer;
      }
      .group-picker-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
      }
      .group-picker-card {
        position: relative;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        overflow: hidden;
        background: #fff;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .group-picker-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
        height: 26px;
        display: inline-flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        background: rgba(220, 38, 38, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 6px 14px rgba(220, 38, 38, 0.22);
        backdrop-filter: blur(6px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 2;
      }
      .group-picker-badge::before {
        content: "";
        position: absolute;
        left: -7px;
        top: 0;
        width: 16px;
        height: 100%;
        background: rgba(127, 29, 29, 0.28);
        transform: skewX(-28deg);
      }
      .group-picker-card:hover {
        transform: translateY(-2px);
        border-color: var(--primary-light);
        box-shadow: var(--shadow-md);
      }
      .group-picker-card.selected {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(47, 126, 247, 0.2);
      }
      .group-picker-logo {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
        background: #f5f8fd;
      }
      .group-picker-body {
        padding: 10px 12px;
        display: grid;
        gap: 4px;
      }
      .group-picker-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .group-picker-desc {
        font-size: 12px;
        color: var(--muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .group-picker-meta {
        font-size: 11px;
        color: var(--muted);
      }
      .group-picker-empty {
        padding: 20px 0;
        color: var(--muted);
        font-size: 14px;
        text-align: center;
      }
      .group-picker-footer {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
      }
      .group-picker-summary {
        font-size: 13px;
        color: var(--muted);
      }
      .rule-group-option {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .rule-group-option .public-icon {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        background: rgba(47, 126, 247, 0.08);
        color: var(--primary);
      }
      .rule-group-option .public-icon svg {
        width: 14px;
        height: 14px;
      }
      .history-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: var(--space);
        gap: 12px;
        flex-wrap: wrap;
      }
      .history-toolbar-right {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .history-page-size {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        color: var(--muted);
        white-space: nowrap;
        flex-shrink: 0;
      }
      .history-page-size select {
        padding: 4px 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        font-size: 14px;
        outline: none;
        cursor: pointer;
        min-width: 70px;
        text-align: center;
      }
      .history-page-size select:focus {
        border-color: var(--primary);
      }
      .history-footer {
        display: flex;
        justify-content: center;
        margin-top: var(--space);
      }
      .history-summary {
        font-size: 13px;
        color: var(--muted);
      }
      .history-pagination {
        display: flex;
        align-items: center;
      }
      .pagination {
        display: flex;
        align-items: center;
        gap: 4px;
      }
      .pagination button {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.15s;
      }
      .pagination button:hover:not(:disabled):not(.active) {
        border-color: var(--primary);
        color: var(--primary);
      }
      .pagination button.active {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
      }
      .pagination button:disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }
      .detail-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1250;
        padding: 20px;
        backdrop-filter: blur(4px);
      }
      .detail-modal-overlay.active {
        display: flex;
      }
      .detail-modal {
        width: min(96vw, 1080px);
        max-height: 88vh;
        overflow: auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        padding: 28px;
      }
      .detail-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
      }
      .detail-modal-title {
        font-size: var(--text-xl);
        font-weight: 700;
        color: var(--text);
      }
      .detail-close {
        border: 0;
        background: transparent;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        color: var(--muted);
      }
      .detail-close:hover {
        color: var(--text);
      }
      .detail-meta {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 16px;
      }
      .detail-meta-item {
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 14px;
      }
      .detail-meta-label {
        color: var(--muted);
        font-size: 12px;
      }
      .detail-meta-value {
        margin-top: 6px;
        font-size: 14px;
        font-weight: 700;
        color: var(--text);
        word-break: break-word;
      }
      .detail-body {
        display: grid;
        gap: 16px;
      }
      .detail-output {
        margin-top: 0;
      }
      .progress-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.72);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1200;
        padding: 20px;
        backdrop-filter: blur(8px);
      }
      .progress-modal-overlay.active {
        display: flex;
      }
      .progress-modal {
        position: relative;
        overflow: hidden;
        width: min(94vw, 820px);
        min-height: min(72vh, 620px);
        border-radius: 24px;
        border: 1px solid rgba(191, 219, 254, 0.7);
        box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
        padding: 26px 28px 24px;
        background:
          radial-gradient(circle at 50% 32%, rgba(96, 165, 250, 0.18), transparent 22%),
          radial-gradient(circle at 52% 38%, rgba(147, 197, 253, 0.2), transparent 30%),
          linear-gradient(180deg, #f8fbff 0%, #eef5ff 55%, #eaf2ff 100%);
        color: #1e3a5f;
      }
      .progress-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 14px;
        position: relative;
        z-index: 2;
      }
      .progress-modal-title {
        font-size: clamp(24px, 3.2vw, 38px);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.02em;
        color: #2563eb;
        text-shadow: none;
      }
      .progress-modal-close {
        border: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(191, 219, 254, 0.9);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        color: #64748b;
        transition: transform 0.2s, background 0.2s;
      }
      .progress-modal-close:hover {
        background: #ffffff;
        transform: scale(1.04);
      }
      .progress-file {
        position: relative;
        z-index: 2;
        color: #64748b;
        font-size: 13px;
        margin-bottom: 12px;
        word-break: break-all;
      }
      .progress-status {
        position: relative;
        z-index: 2;
        max-width: 520px;
        font-size: 15px;
        line-height: 1.7;
        white-space: pre-wrap;
        color: #334155;
        margin-bottom: 12px;
      }
      .progress-tip {
        position: relative;
        z-index: 2;
        color: #64748b;
        font-size: 13px;
      }
      .progress-modal-body {
        position: relative;
        min-height: 500px;
        padding-bottom: 148px;
        z-index: 1;
      }
      .progress-hero {
        position: absolute;
        inset: 36px 0 160px;
        display: grid;
        place-items: center;
        pointer-events: none;
      }
      .progress-core {
        position: relative;
        width: min(58vw, 380px);
        height: min(52vw, 380px);
        max-width: 380px;
        max-height: 380px;
        min-width: 220px;
      }
      .progress-core::before,
      .progress-core::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
      }
      .progress-core::before {
        background:
          radial-gradient(circle, rgba(96, 165, 250, 0.32) 0%, rgba(96, 165, 250, 0.16) 28%, rgba(96, 165, 250, 0.06) 48%, transparent 72%),
          radial-gradient(circle, rgba(191, 219, 254, 0.92) 0%, rgba(191, 219, 254, 0.22) 42%, transparent 76%);
        filter: blur(10px);
        animation: progressPulse 4s ease-in-out infinite;
      }
      .progress-core::after {
        inset: 15%;
        border: 1px solid rgba(96, 165, 250, 0.26);
        box-shadow: 0 0 24px rgba(96, 165, 250, 0.2);
      }
      .progress-orbit {
        position: absolute;
        inset: 8%;
        border-radius: 50%;
        border: 1px solid rgba(96, 165, 250, 0.18);
        box-shadow: inset 0 0 24px rgba(96, 165, 250, 0.08);
        animation: orbitSpin 10s linear infinite;
      }
      .progress-orbit.orbit-alt {
        inset: 18%;
        border-color: rgba(125, 211, 252, 0.24);
        animation-direction: reverse;
        animation-duration: 12s;
      }
      .progress-orbit::before,
      .progress-orbit::after,
      .progress-orbit.orbit-alt::before,
      .progress-orbit.orbit-alt::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: radial-gradient(circle, #ffffff 0%, #93c5fd 42%, rgba(59, 130, 246, 0.08) 100%);
        box-shadow: 0 0 18px rgba(96, 165, 250, 0.36);
      }
      .progress-orbit::before {
        top: 12%;
        right: 14%;
      }
      .progress-orbit::after {
        left: 9%;
        bottom: 18%;
        width: 8px;
        height: 8px;
      }
      .progress-orbit.orbit-alt::before {
        left: 14%;
        top: 10%;
        width: 8px;
        height: 8px;
      }
      .progress-orbit.orbit-alt::after {
        right: 12%;
        bottom: 16%;
        width: 12px;
        height: 12px;
      }
      .progress-sphere {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 48%;
        height: 48%;
        transform: translate(-50%, -50%);
        background:
          radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(191, 219, 254, 0.92) 22%, rgba(96, 165, 250, 0.4) 52%, rgba(59, 130, 246, 0.14) 68%, transparent 100%),
          radial-gradient(circle at 62% 62%, rgba(168, 85, 247, 0.14), transparent 55%);
        border-radius: 50%;
        border: 1px solid rgba(191, 219, 254, 0.78);
        box-shadow:
          0 0 48px rgba(96, 165, 250, 0.24),
          inset 0 0 32px rgba(255, 255, 255, 0.4);
        overflow: hidden;
      }
      .progress-sphere::before,
      .progress-sphere::after {
        content: "";
        position: absolute;
        inset: 10%;
        border-radius: 50%;
      }
      .progress-sphere::before {
        background:
          radial-gradient(circle at 22% 32%, rgba(255,255,255,0.96) 0 4px, transparent 5px),
          radial-gradient(circle at 42% 22%, rgba(196,181,253,0.95) 0 4px, transparent 5px),
          radial-gradient(circle at 67% 24%, rgba(96,165,250,0.98) 0 4px, transparent 5px),
          radial-gradient(circle at 31% 56%, rgba(125,211,252,0.96) 0 4px, transparent 5px),
          radial-gradient(circle at 57% 48%, rgba(255,255,255,0.98) 0 4px, transparent 5px),
          radial-gradient(circle at 74% 56%, rgba(129,140,248,0.96) 0 4px, transparent 5px),
          radial-gradient(circle at 48% 74%, rgba(192,132,252,0.96) 0 4px, transparent 5px),
          linear-gradient(118deg, transparent 46%, rgba(147, 197, 253, 0.44) 48%, transparent 50%),
          linear-gradient(38deg, transparent 47%, rgba(196, 181, 253, 0.34) 49%, transparent 51%),
          linear-gradient(160deg, transparent 48%, rgba(125, 211, 252, 0.28) 50%, transparent 52%);
        opacity: 0.92;
        filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.34));
      }
      .progress-sphere::after {
        inset: -16%;
        border: 2px solid rgba(96, 165, 250, 0.14);
        border-left-color: rgba(34, 211, 238, 0.56);
        border-right-color: rgba(129, 140, 248, 0.52);
        filter: blur(0.2px);
        animation: orbitSpin 7s linear infinite;
      }
      .progress-sphere-core {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 50%;
        height: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background:
          radial-gradient(circle, rgba(255,255,255,0.96) 0%, rgba(191, 219, 254, 0.84) 28%, rgba(96, 165, 250, 0.24) 70%, transparent 100%);
        box-shadow:
          0 0 26px rgba(96, 165, 250, 0.24),
          inset 0 0 22px rgba(255,255,255,0.5);
      }
      .progress-sphere-core::before,
      .progress-sphere-core::after {
        content: "";
        position: absolute;
        inset: -22%;
        border-radius: 50%;
      }
      .progress-sphere-core::before {
        border: 1px solid rgba(96, 165, 250, 0.24);
        border-top-color: rgba(34, 211, 238, 0.65);
        border-bottom-color: rgba(168, 85, 247, 0.42);
        transform: rotate(20deg);
      }
      .progress-sphere-core::after {
        inset: -34%;
        border: 1px solid rgba(125, 211, 252, 0.18);
        transform: rotate(-28deg);
      }
      .progress-thought {
        position: absolute;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,0.92), rgba(125, 211, 252, 0.38));
        box-shadow: 0 0 14px rgba(96, 165, 250, 0.24);
      }
      .progress-thought.t1 { left: 14%; top: 26%; }
      .progress-thought.t2 { left: 20%; top: 18%; width: 10px; height: 10px; }
      .progress-thought.t3 { right: 15%; top: 24%; width: 12px; height: 12px; }
      .progress-thought.t4 { right: 22%; top: 17%; width: 8px; height: 8px; }
      .progress-thought-cloud {
        position: absolute;
        top: 10%;
        width: 18%;
        height: 14%;
        border-radius: 22px;
        background:
          linear-gradient(180deg, rgba(255,255,255,0.86), rgba(219, 234, 254, 0.74));
        border: 1px solid rgba(191, 219, 254, 0.72);
        filter: drop-shadow(0 10px 24px rgba(96, 165, 250, 0.14));
      }
      .progress-thought-cloud.left {
        left: 0;
      }
      .progress-thought-cloud.right {
        right: 0;
      }
      .progress-bulb,
      .progress-question {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: #60a5fa;
        font-weight: 900;
        font-size: clamp(22px, 2vw, 28px);
        text-shadow: none;
      }
      .progress-question {
        color: #818cf8;
      }
      .progress-ai-badge {
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid rgba(147, 197, 253, 0.7);
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 8px 20px rgba(96, 165, 250, 0.18);
        color: #2563eb;
        font-weight: 800;
        letter-spacing: 0.08em;
      }
      .progress-ai-badge.complete {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(96, 165, 250, 0.16));
        border-color: rgba(74, 222, 128, 0.58);
        color: #15803d;
        box-shadow: 0 10px 24px rgba(34, 197, 94, 0.16);
      }
      .progress-panel {
        position: absolute;
        width: min(24vw, 170px);
        max-width: 170px;
        min-width: 132px;
        padding: 14px 14px 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.74);
        border: 1px solid rgba(191, 219, 254, 0.78);
        box-shadow: 0 14px 32px rgba(148, 163, 184, 0.14);
        backdrop-filter: blur(10px);
        color: #1e3a5f;
      }
      .progress-panel.left {
        left: 4%;
        top: 32%;
      }
      .progress-panel.right {
        right: 4%;
        top: 34%;
      }
      .progress-panel-title {
        font-weight: 700;
        font-size: 13px;
        margin-bottom: 12px;
      }
      .progress-ring {
        width: 70px;
        height: 70px;
        margin: 0 auto 10px;
        border-radius: 50%;
        border: 7px solid rgba(191, 219, 254, 0.4);
        border-top-color: #60a5fa;
        border-right-color: #60a5fa;
        animation: orbitSpin 1.4s linear infinite;
      }
      .progress-chart {
        height: 72px;
        display: flex;
        align-items: end;
        gap: 6px;
      }
      .progress-chart span {
        flex: 1;
        border-radius: 999px 999px 0 0;
        background: linear-gradient(180deg, rgba(96, 165, 250, 0.78), rgba(59, 130, 246, 0.18));
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.12);
      }
      .progress-chart span:nth-child(1) { height: 26%; }
      .progress-chart span:nth-child(2) { height: 48%; }
      .progress-chart span:nth-child(3) { height: 42%; }
      .progress-chart span:nth-child(4) { height: 70%; }
      .progress-chart span:nth-child(5) { height: 82%; }
      .progress-chart span:nth-child(6) { height: 94%; }
      .progress-footer {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        z-index: 2;
      }
      .progress-track {
        position: relative;
        height: 18px;
        padding: 3px;
        border-radius: 999px;
        background: rgba(219, 234, 254, 0.72);
        border: 1px solid rgba(147, 197, 253, 0.7);
        box-shadow:
          inset 0 0 14px rgba(96, 165, 250, 0.12),
          0 10px 24px rgba(148, 163, 184, 0.1);
        overflow: hidden;
      }
      .progress-bar-fill {
        width: 0%;
        height: 100%;
        border-radius: inherit;
        background:
          linear-gradient(90deg, #34d399 0%, #22d3ee 28%, #60a5fa 62%, #a855f7 100%);
        box-shadow: 0 0 18px rgba(96, 165, 250, 0.18);
        transition: width 0.28s ease;
      }
      .progress-bar-fill::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.55) 50%, transparent 82%);
        animation: shimmerSlide 1.8s linear infinite;
      }
      .progress-metrics {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
        font-size: clamp(18px, 2vw, 28px);
        font-weight: 800;
        color: #2563eb;
        text-shadow: none;
      }
      .progress-metrics small {
        font-size: 0.7em;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: #475569;
      }
      .progress-metrics.complete span,
      .progress-metrics.complete small {
        color: #15803d;
      }
      .progress-spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid rgba(47, 126, 247, 0.18);
        border-top-color: var(--primary);
        animation: spin 1s linear infinite;
        margin-right: 8px;
        vertical-align: -2px;
      }
      @keyframes orbitSpin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
      }
      @keyframes progressPulse {
        0%, 100% { transform: scale(0.98); opacity: 0.72; }
        50% { transform: scale(1.04); opacity: 1; }
      }
      @keyframes shimmerSlide {
        from { transform: translateX(-120%); }
        to { transform: translateX(120%); }
      }
      @media (max-width: 900px) {
        .progress-modal {
          min-height: 590px;
          padding: 22px 20px 22px;
        }
        .progress-modal-body {
          min-height: 520px;
          padding-bottom: 156px;
        }
        .progress-panel {
          display: none;
        }
        .progress-hero {
          inset: 66px 0 170px;
        }
      }
      @media (max-width: 640px) {
        .progress-modal {
          min-height: 560px;
        }
        .progress-modal-body {
          min-height: 500px;
          padding-bottom: 164px;
        }
        .progress-modal-title {
          font-size: 26px;
        }
        .progress-hero {
          inset: 62px 0 184px;
        }
        .progress-status {
          font-size: 14px;
          margin-bottom: 10px;
        }
        .progress-file,
        .progress-tip {
          font-size: 12px;
        }
        .progress-track {
          height: 16px;
        }
      }
      .key-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1300;
        padding: 20px;
        backdrop-filter: blur(4px);
      }
      .key-modal-overlay.active {
        display: flex;
      }
      .key-modal {
        width: min(92vw, 480px);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        padding: 28px;
      }
      .key-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
      }
      .key-modal-title {
        font-size: var(--text-xl);
        font-weight: 700;
      }
      .key-modal-close {
        border: 0;
        background: transparent;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        color: var(--muted);
      }
      .key-modal-close:hover {
        color: var(--text);
      }
      .key-modal-body {
        display: grid;
        gap: 14px;
      }
      .key-modal-body .field label {
        font-weight: 600;
      }
      .key-modal-body .field input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        font-size: var(--text-base);
        outline: none;
        transition: border-color 0.2s;
        box-sizing: border-box;
      }
      .key-modal-body .field input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
      }
      .key-modal-body .field .hint {
        color: var(--muted);
        font-size: 12px;
        margin-top: 4px;
      }
      .key-save-btn {
        padding: 10px 20px;
        border: 0;
        border-radius: var(--radius);
        font-size: var(--text-base);
        font-weight: 700;
        cursor: pointer;
        background: var(--primary);
        color: #fff;
        transition: all 0.2s ease;
      }
      .key-save-btn:hover {
        background: var(--primary-dark);
        box-shadow: 0 10px 20px rgba(47, 126, 247, 0.24);
      }
      .key-save-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
      .key-status {
        font-size: var(--text-sm);
        color: #16a34a;
        display: none;
      }
      .key-status.visible {
        display: block;
      }
      .field-checkbox-label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 8px 0;
      }
      .field-checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
        flex-shrink: 0;
      }
      .field-checkbox-label span {
        font-size: 14px;
        color: var(--text);
      }
      @media (max-width: 980px) {
        .app-shell {
          display: block;
          background: #EFF4F9;
        }
        .sidebar {
          position: relative;
          width: 100%;
          height: auto;
          flex-basis: auto;
          z-index: 10009;
          border-right: none;
          border-bottom: none;
          padding: 12px;
          background: #dde4eb;
          overflow: visible;
        }
        body.sidebar-collapsed .sidebar {
          width: 100%;
          flex-basis: auto;
        }
        body.sidebar-collapsed .sidebar-brand-text,
        body.sidebar-collapsed .sidebar-link-text,
        body.sidebar-collapsed .sidebar-section {
          display: block;
        }
        body.sidebar-collapsed .sidebar-link {
          justify-content: flex-start;
        }
        .group-picker-overlay {
          left: 0;
        }
        .app-main {
          padding: 10px 12px 0;
        }
        .home-stage {
          min-height: auto;
          height: auto;
          /* padding: 44px 18px 48px; */
          border-radius: 20px;
          align-items: center;
        }
        .home-stage::before {
          width: min(100%, 980px);
          height: 280px;
          left: 50%;
          transform: translateX(-50%);
          opacity: 0.58;
        }
        .home-stage::after {
          right: -160px;
          /* top: 80px; */
          width: 420px;
          height: 360px;
          opacity: 0.5;
        }
        .parse-result-panel {
          min-height: auto;
          border-radius: 20px;
        }
        .parse-result-workspace {
          --parse-result-footer-bottom: 18px;
          --parse-result-footer-space: calc(224px + env(safe-area-inset-bottom));
          --parse-result-footer-width: calc(100vw - 36px);
          --parse-result-footer-center-x: 50%;
        }
        .parse-result-header {
          padding: 18px;
        }
        .parse-result-body {
          padding: 0 16px var(--parse-result-footer-space);
        }
        .parse-result-output {
          min-height: 280px;
          padding: 5px;
        }
        .result-skeleton-item {
          width: 100%;
        }
        .parse-result-footer-shell {
          padding: 14px;
          gap: 10px;
        }
        .parse-result-panel.parse-result-summary-collapsed .parse-result-footer-shell {
          padding: 16px 18px 12px;
        }
        .parse-result-footer-top {
          grid-template-columns: 1fr;
          align-items: stretch;
          gap: 12px;
        }
        .parse-result-footer-divider {
          width: 100%;
          height: 1px;
        }
        .parse-result-status-text {
          white-space: normal;
        }
        .parse-result-action-btn {
          justify-self: end;
        }
        .dashboard-skeleton-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 12px;
        }
        .home-welcome {
          margin-top: 0;
          padding-top: calc((100vh - 25px) * 0.16);
        }
        .home-welcome-title {
          font-size: 28px;
        }
        .home-welcome-sub {
          font-size: 18px;
        }
        .home-card {
          padding: 32px;
          border-radius: 32px;
          border: 1.5px solid #FFFFFF;
          background: rgba(255, 255, 255, 0.7);
          box-shadow:
            0px -8px 16px 0px rgba(173, 197, 238, 0.10),
            0px 10px 32px 0px rgba(173, 197, 238, 0.20),
            inset -8px -6px 20px 6px rgba(255, 255, 255, 0.25);
          width: 980px;
          max-width: 980px;
          min-width: 980px;
          height: 456px;
          min-height: 456px;
          max-height: 456px;
          flex: 0 0 980px;
        }
        .home-card-grid {
          grid-template-columns: 442px 442px;
          grid-auto-rows: 300px;
          gap: 32px;
        }
        .home-slot {
          width: 442px;
          height: 300px;
          flex: 0 0 442px;
        }
        .home-dropzone {
          height: 100%;
          padding: 32px;
        }
        .home-center {
          padding: 3.5% 0 22px;
        }
        .home-dropzone-icon,
        .home-dropzone-icon img,
        .home-dropzone-img {
          width: 84px;
          height: 84px;
        }
        .sidebar-recent-list {
          max-height: none;
          overflow: visible;
          padding-right: 0;
        }
        .form-grid {
          grid-template-columns: 1fr;
        }
        .detail-meta {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .report-overview {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .report-conclusion-grid {
          grid-template-columns: 1fr;
        }
        .studio-panel {
          width: 82%;
        }
        .studio-workbench {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .studio-step-card-action {
          grid-column: 1 / -1;
          min-height: auto;
        }
        #featuredRulesPanel {
          left: 0;
          right: 0;
          bottom: calc(72px + env(safe-area-inset-bottom));
          transform: none;
          padding: 8px 0 0;
        }
      }
      @media (max-height: 820px) {
        .home-stage::before {
          height: 220px;
          opacity: 0.52;
        }
        .home-stage::after {
          top: 48px;
          width: 320px;
          height: 260px;
          opacity: 0.42;
        }
        .home-welcome {
          padding-top: calc((100vh - 25px) * 0.10);
        }
        .home-welcome-title {
          font-size: 40px;
          line-height: 1.18;
        }
        .home-welcome-icon {
          width: clamp(36px, 4vh, 48px);
          height: clamp(36px, 4vh, 48px);
        }
        .home-welcome-sub {
          margin-top: 1%;
          font-size: 32px;
          line-height: 1.32;
        }
        .home-center {
          padding: 3.5% 0 22px;
        }
        .home-card {
          min-height: 456px;
          height: 456px;
          max-height: 456px;
          padding: 32px;
          border-radius: 32px;
          border: 1.5px solid #FFFFFF;
          background: rgba(255, 255, 255, 0.7);
          box-shadow:
            0px -8px 16px 0px rgba(173, 197, 238, 0.10),
            0px 10px 32px 0px rgba(173, 197, 238, 0.20),
            inset -8px -6px 20px 6px rgba(255, 255, 255, 0.25);
        }
        .home-card-grid {
          grid-template-columns: 442px 442px;
          grid-auto-rows: 300px;
          gap: 32px;
        }
        .home-slot {
          width: 442px;
          height: 300px;
          flex: 0 0 442px;
        }
        .home-dropzone {
          padding: 32px;
          border-radius: 24px;
        }
        .home-dropzone-icon,
        .home-dropzone-icon img,
        .home-dropzone-img {
          width: 72px;
          height: 72px;
        }
        .home-dropzone-media {
          min-width: 88px;
        }
        .home-dropzone-title {
          font-size: 16px;
          line-height: 1.4;
        }
        .home-dropzone-sub {
          font-size: 12px;
        }
        .home-action {
          margin-top: 24px;
        }
      }
      @media (max-width: 950px) {
        .studio-panel {
          width: 88%;
          padding: 24px;
        }
        .studio-title {
          font-size: 24px;
        }
        .featured-rules-header h2 {
          font-size: 20px;
        }
      }
      @media (max-width: 560px) {
        .page {
          padding-left: 0;
          padding-right: 0;
          padding-bottom: calc(300px + env(safe-area-inset-bottom));
        }
        .panel {
          padding-left: 12px;
          padding-right: 12px;
          border-radius: 0;
          border-left: none;
          border-right: none;
        }
        .home-studio-section {
          gap: 0;
        }
        .summary-grid {
          grid-template-columns: 1fr;
        }
        .detail-meta {
          grid-template-columns: 1fr;
        }
        .report-overview {
          grid-template-columns: 1fr;
        }
        .studio-footer {
          justify-content: stretch;
        }
        .studio-footer .btn {
          width: 100%;
        }
        .studio-panel {
          width: 100%;
          gap: 18px;
          padding: 18px 16px 22px;
        }
        .studio-header {
          gap: 8px;
        }
        .studio-header-badge {
          font-size: 12px;
          padding: 7px 12px;
        }
        .studio-title {
          font-size: 26px;
        }
        .studio-subtitle {
          font-size: 14px;
        }
        .studio-workbench {
          --studio-media-size: 118px;
          grid-template-columns: 1fr;
          gap: 14px;
        }
        .studio-step-card {
          grid-column: auto;
          min-height: auto;
          padding: 12px;
          gap: 8px;
          border-radius: 16px;
        }
        .studio-step-head {
          gap: 12px;
        }
        .studio-step-no {
          width: 30px;
          height: 30px;
          font-size: 13px;
        }
        .studio-step-title {
          font-size: 14px;
        }
        .studio-step-desc {
          font-size: 10px;
        }
        .studio-file-picker {
          width: 100%;
        }
        .studio-picker-btn,
        .excel-doc-upload {
          width: var(--studio-media-size);
          height: var(--studio-media-size);
        }
        .studio-action-visual-mark {
          width: 64px;
          height: 64px;
          font-size: 28px;
        }
        .studio-picker-btn.has-logo #ruleGroupPickerLabel,
        .excel-doc-upload.has-file .excel-doc-file-name {
          flex-basis: 48px;
          font-size: 11px;
        }
        .studio-step-card-action .studio-parse-area {
          display: none;
        }
        .studio-parse-btn {
          height: 50px;
          font-size: 15px;
        }
        .studio-mobile-actionbar {
          position: sticky;
          bottom: 0;
          display: grid;
          gap: 6px;
          padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
          background: linear-gradient(180deg, rgba(245, 247, 251, 0), rgba(245, 247, 251, 0.88) 24%, rgba(245, 247, 251, 0.98) 100%);
          z-index: 20;
        }
        .studio-mobile-parse-btn {
          width: 100%;
          height: 52px;
          border: 1px solid var(--primary);
          border-radius: 14px;
          background: linear-gradient(90deg, #2f7ef7 0%, #4f8fff 100%);
          color: #fff;
          font-size: 16px;
          font-weight: 800;
          cursor: pointer;
          box-shadow: 0 16px 32px rgba(47, 126, 247, 0.18);
        }
        .studio-mobile-parse-btn:disabled {
          background: #cbd5e1;
          border-color: #cbd5e1;
          color: #94a3b8;
          box-shadow: none;
          cursor: not-allowed;
        }
        .studio-mobile-action-hint {
          text-align: center;
          font-size: 12px;
          color: #6b7280;
          line-height: 1.5;
        }
        .group-picker-grid {
          grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        }
        .studio-panel {
          width: 100%;
          border-left: none;
          border-right: none;
          border-radius: 0;
        }
        #featuredRulesPanel {
          width: 100%;
          left: 0;
          right: 0;
          bottom: calc(72px + env(safe-area-inset-bottom));
          transform: none;
          padding: 8px 0 0;
        }
        .studio-picker-btn.has-logo .studio-picker-remove,
        .excel-doc-upload.has-file + .excel-doc-remove {
          display: block;
        }
        .featured-rules-header {
          padding-left: 12px;
          padding-right: 12px;
          margin-bottom: 10px;
        }
        .featured-rules-header-actions {
          gap: 10px;
        }
        .featured-rules-header h2 {
          font-size: 18px;
        }
        .featured-rules-toggle {
          width: 36px;
          height: 36px;
        }
        .featured-rules-toggle-icon {
          font-size: 24px;
        }
        .featured-rules-row {
          display: flex;
          gap: 12px;
          overflow-x: auto;
          padding: 0 12px 4px;
          scroll-snap-type: x proximity;
          -webkit-overflow-scrolling: touch;
        }
        .featured-rules-row::-webkit-scrollbar {
          display: none;
        }
        .featured-rule-card {
          flex: 0 0 min(72vw, 248px);
          scroll-snap-align: start;
        }
        .history-table th[data-col="view"],
        .history-table td[data-col="view"] {
          min-width: auto;
          white-space: nowrap;
        }
        .featured-rules-inner {
          margin: 0 12px;
          padding: 12px 0 12px;
          border-radius: 18px;
        }
        .parse-result-header {
          padding: 18px 16px 14px;
          align-items: flex-start;
        }
        .parse-result-workspace {
          --parse-result-footer-bottom: calc(12px + env(safe-area-inset-bottom));
          --parse-result-footer-space: calc(188px + env(safe-area-inset-bottom));
          --parse-result-footer-width: calc(100vw - 24px);
          --parse-result-footer-center-x: 50%;
        }
        .parse-result-body {
          padding: 16px 12px var(--parse-result-footer-space);
        }
        .parse-result-output {
          border-radius: 0 0 16px 16px;
        }
        .detail-view-switch {
          padding: 4px;
          gap: 4px;
        }
        .detail-view-switch button {
          padding: 6px 10px;
        }
        .parse-result-footer-shell {
          padding: 12px;
          border-radius: 16px;
        }
        .parse-result-panel.parse-result-summary-collapsed .parse-result-footer-shell {
          padding: 12px;
        }
        .parse-result-footer-item {
          gap: 10px;
        }
        .parse-result-footer-media,
        .parse-result-footer-icon {
          width: 36px;
          height: 36px;
        }
        .parse-result-status-main {
          align-items: flex-start;
        }
        .parse-result-action-btn {
          width: 30px;
          height: 30px;
          flex-basis: 30px;
        }
        .dashboard-skeleton-grid {
          grid-template-columns: 1fr;
        }
      }

      /* "报表"大屏视图 */
      .detail-view-switch {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px;
        border: none;
        border-radius: 12px;
        background: #efeff9;
        position: relative;
        z-index: 7;
      }
      .detail-view-switch button {
        border: 0;
        background: #efeff9;
        font-size: 16px;
        font-weight: 400;
        padding: 6px 24px;
        border-radius: 12px;
        cursor: pointer;
        color: rgba(1, 8, 47, 0.5);
        transition: all 0.15s;
        white-space: nowrap;
      }
      .detail-view-switch button.active {
        background:
          linear-gradient(149deg, #8e7ae9 0%, #070f36 100%);
        color: #fff;
        box-shadow: 0 4px 12px rgba(45, 44, 107, 0.16);
      }
      .detail-view-switch button:hover:not(.active) {
        color: #01082f;
      }
      .quarter-analysis-screen {
        display: grid;
        gap: 16px;
      }
      .quarter-analysis-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        align-items: start;
        padding: 18px 20px;
        border: 1px solid #dce8fb;
        border-radius: 18px;
        background: linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
      }
      .quarter-analysis-title {
        font-size: 24px;
        font-weight: 800;
        color: #1f2d3d;
      }
      .quarter-analysis-subtitle {
        margin-top: 6px;
        font-size: 13px;
        color: #6b7280;
      }
      .quarter-analysis-badges {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .quarter-meta-badge {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #dce8fb;
        color: #475569;
        font-size: 13px;
        font-weight: 700;
      }
      .quarter-meta-badge.primary {
        background: rgba(47, 126, 247, 0.08);
        border-color: rgba(47, 126, 247, 0.16);
        color: #1e40af;
      }
      .quarter-switch-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      .quarter-chip {
        min-width: 108px;
        height: 40px;
        border: 1px solid #dce8fb;
        border-radius: 999px;
        background: #fff;
        color: #475569;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.15s ease;
      }
      .quarter-chip.supported {
        border-color: rgba(34, 197, 94, 0.22);
      }
      .quarter-chip.limited {
        border-color: rgba(148, 163, 184, 0.28);
      }
      .quarter-chip.active {
        background: linear-gradient(149deg, #8e7ae9 0%, #070f36 100%);
        color: #fff;
        box-shadow: 0 6px 16px rgba(45, 44, 107, 0.16);
      }
      .quarter-analysis-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
        gap: 16px;
      }
      .quarter-list-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
      }
      .quarter-card,
      .quarter-empty-card {
        border-radius: 18px;
        border: 1px solid #dce8fb;
        background: #fff;
        box-shadow: 0 8px 24px rgba(31, 61, 120, 0.05);
      }
      .quarter-card {
        padding: 18px 20px;
      }
      .quarter-empty-card {
        padding: 36px 24px;
        text-align: center;
      }
      .quarter-empty-title {
        font-size: 18px;
        font-weight: 800;
        color: #1f2d3d;
      }
      .quarter-empty-desc {
        margin-top: 8px;
        color: #64748b;
        line-height: 1.8;
      }
      .quarter-card-top {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: start;
      }
      .quarter-card-title {
        font-size: 20px;
        font-weight: 800;
        color: #1f2d3d;
      }
      .quarter-card-subtitle {
        margin-top: 6px;
        font-size: 13px;
        color: #64748b;
      }
      .quarter-state-pill {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0 12px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        border: 1px solid transparent;
      }
      .quarter-state-pill.supported {
        background: rgba(34, 197, 94, 0.12);
        border-color: rgba(34, 197, 94, 0.2);
        color: #15803d;
      }
      .quarter-state-pill.limited {
        background: rgba(148, 163, 184, 0.12);
        border-color: rgba(148, 163, 184, 0.2);
        color: #475569;
      }
      .quarter-section + .quarter-section,
      .quarter-side-block + .quarter-side-meta {
        margin-top: 16px;
      }
      .quarter-section-label {
        font-size: 13px;
        font-weight: 800;
        color: #1e3a8a;
      }
      .quarter-section-text {
        margin-top: 8px;
        color: #334155;
        font-size: 14px;
        line-height: 1.85;
        white-space: pre-wrap;
        word-break: break-word;
      }
      .quarter-side-meta {
        display: grid;
        gap: 10px;
      }
      .quarter-side-meta-item {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 14px;
        background: #f8fbff;
        border: 1px solid #e6edf7;
        color: #64748b;
        font-size: 13px;
      }
      .quarter-side-meta-item strong {
        color: #1f2d3d;
      }
      .quarter-list {
        display: grid;
        gap: 10px;
        margin-top: 10px;
      }
      .quarter-list-item,
      .quarter-list-empty {
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 14px;
        border: 1px solid #e6edf7;
        background: #f8fbff;
        color: #334155;
        font-size: 13px;
        line-height: 1.7;
      }
      .quarter-list-empty {
        color: #64748b;
      }
      @media (max-width: 1180px) {
        .quarter-analysis-header,
        .quarter-analysis-grid,
        .quarter-list-grid {
          grid-template-columns: 1fr;
        }
        .quarter-analysis-badges {
          justify-content: flex-start;
        }
      }
      @media (max-width: 720px) {
        .quarter-analysis-header,
        .quarter-card,
        .quarter-empty-card {
          padding: 16px;
        }
        .quarter-chip {
          min-width: calc(50% - 5px);
        }
      }
      .dashboard-screen {
        position: relative;
        border-radius: 18px;
        background: linear-gradient(180deg, #f8faff 0%, #eef3ff 65%, #e8effd 100%);
        border: 1px solid #dce8fb;
        box-shadow: 0 8px 32px rgba(31, 61, 120, 0.08);
        padding: 16px;
        color: #334155;
        overflow: hidden;
      }
      .dashboard-topbar {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: 14px;
        margin-bottom: 14px;
      }
      .dashboard-title {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: 0.5px;
        color: #1f2d3d;
      }
      .dashboard-subtitle {
        margin-top: 6px;
        font-size: 12px;
        color: #6b7280;
      }
      .dashboard-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: end;
        flex-wrap: wrap;
      }
      .dash-btn {
        height: 34px;
        padding: 0 12px;
        border-radius: 10px;
        border: 1px solid #dce8fb;
        background: #fff;
        color: #334155;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.15s;
        white-space: nowrap;
      }
      .dash-btn:hover {
        border-color: #6cb2ff;
        background: rgba(47, 126, 247, 0.06);
      }
      .dash-btn.primary {
        background: rgba(34, 197, 94, 0.12);
        border-color: rgba(34, 197, 94, 0.22);
        color: #15803d;
      }
      .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 14px;
      }
      .dash-card {
        background: #fff;
        border: 1px solid #e6edf7;
        border-radius: 16px;
        padding: 14px;
        box-shadow: 0 2px 8px rgba(31, 61, 120, 0.04);
      }
      .dash-kpi {
        grid-column: span 3;
        min-height: 104px;
        display: grid;
        gap: 8px;
      }
      .dash-kpi-label {
        font-size: 12px;
        color: #6b7280;
      }
      .dash-kpi-value {
        font-size: 26px;
        font-weight: 900;
        line-height: 1;
      }
      .dash-kpi-meta {
        font-size: 12px;
        color: #6b7280;
      }
      .dash-kpi-value.money { color: #059669; }
      .dash-kpi-value.count-blue { color: #2563eb; }
      .dash-kpi-value.count-orange { color: #d97706; }
      .dash-kpi-value.count-purple { color: #7c3aed; }
      .dash-panel {
        grid-column: span 8;
        min-height: 260px;
      }
      .dash-panel.small {
        grid-column: span 4;
        min-height: 260px;
      }
      .dash-panel-title {
        font-size: 14px;
        font-weight: 800;
        color: #1f2d3d;
        margin-bottom: 10px;
      }
      .dash-legend {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 6px;
      }
      .dash-legend-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #6b7280;
      }
      .dash-dot {
        width: 10px;
        height: 10px;
        border-radius: 99px;
        background: #059669;
      }
      .dash-dot.blue { background: #2563eb; }
      .dash-chart {
        width: 100%;
        height: 200px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e6edf7;
        overflow: hidden;
      }
      .dash-chart-empty,
      .dash-chart-empty-text {
        width: 100%;
        height: 100%;
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(148, 163, 184, 0.9);
        font-size: 13px;
      }
      .dash-chart-pie-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        padding: 8px;
      }
      .dash-chart-pie {
        flex: 0 0 136px;
        width: 136px;
        height: 136px;
      }
      .dash-chart-legend {
        flex: 1 1 auto;
        display: grid;
        gap: 10px;
        min-width: 0;
      }
      .dash-chart-bar {
        padding: 12px 12px 0;
        box-sizing: border-box;
      }
      .dash-bottom {
        grid-column: span 4;
        min-height: 220px;
      }
      .dash-list {
        display: grid;
        gap: 10px;
      }
      .dash-alert-row {
        display: grid;
        grid-template-columns: 56px 1fr auto;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e6edf7;
      }
      .dash-alert-tag {
        height: 44px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.5px;
        border: 1px solid transparent;
      }
      .dash-alert-tag.red {
        background: rgba(239, 68, 68, 0.1);
        border-color: rgba(239, 68, 68, 0.18);
        color: #b91c1c;
      }
      .dash-alert-tag.yellow {
        background: rgba(217, 119, 6, 0.1);
        border-color: rgba(217, 119, 6, 0.18);
        color: #b45309;
      }
      .dash-alert-tag.pink {
        background: rgba(190, 24, 93, 0.1);
        border-color: rgba(190, 24, 93, 0.18);
        color: #9d174d;
      }
      .dash-alert-main {
        display: grid;
        gap: 4px;
      }
      .dash-alert-title {
        font-size: 13px;
        font-weight: 800;
        color: #1f2d3d;
      }
      .dash-alert-desc {
        font-size: 12px;
        color: #6b7280;
      }
      .dash-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 32px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 900;
        border: 1px solid #e6edf7;
        background: #fff;
        color: #334155;
        white-space: nowrap;
      }
      .dash-pill.blue { background: rgba(37, 99, 235, 0.08); border-color: rgba(37, 99, 235, 0.18); color: #1d4ed8; }
      .dash-pill.green { background: rgba(5, 150, 105, 0.08); border-color: rgba(5, 150, 105, 0.18); color: #047857; }
      .dash-pill.red { background: rgba(185, 28, 28, 0.08); border-color: rgba(185, 28, 28, 0.18); color: #991b1b; }
      .dash-pill.orange { background: rgba(217, 119, 6, 0.08); border-color: rgba(217, 119, 6, 0.18); color: #b45309; }
      .dash-pill.purple { background: rgba(124, 58, 237, 0.08); border-color: rgba(124, 58, 237, 0.18); color: #6d28d9; }
      .dash-pill.gray { background: rgba(107, 114, 128, 0.08); border-color: rgba(107, 114, 128, 0.18); color: #4b5563; }
      .dash-two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }
      .dash-kv {
        display: grid;
        gap: 6px;
        padding: 10px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e6edf7;
      }
      .dash-kv-label { font-size: 12px; color: #6b7280; }
      .dash-kv-value { font-size: 18px; font-weight: 900; color: #1f2d3d; }
      @media (max-width: 980px) {
        .dash-kpi { grid-column: span 6; }
        .dash-panel { grid-column: span 12; }
        .dash-panel.small { grid-column: span 12; }
        .dash-bottom { grid-column: span 12; }
      }
      @media (max-width: 560px) {
        .dashboard-title { font-size: 18px; }
        .dash-kpi { grid-column: span 12; }
      }
