      :root {
        --ink: #1f2937;
        --muted: #5b6473;
        --line: #d8dde7;
        --paper: #fcfbf7;
        --panel: rgba(255, 255, 255, 0.9);
        --navy: #11324d;
        --teal: #0f766e;
        --teal-soft: #d6f5f1;
        --amber: #a16207;
        --amber-soft: #fff0c7;
        --red: #b42318;
        --red-soft: #fee4e2;
        --sky: #1d4ed8;
        --sky-soft: #dbeafe;
        --radius: 20px;
        --radius-sm: 14px;
        --shadow: 0 20px 40px rgba(17, 50, 77, 0.14);
      }

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      body {
        min-height: 100vh;
        background:
          radial-gradient(circle at top left, rgba(253, 224, 71, 0.16), transparent 28%),
          radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 34%),
          linear-gradient(180deg, #f5efe3 0%, #e7eef7 52%, #f8fafc 100%);
        color: var(--ink);
        font-family: "Avenir Next", "PingFang TC", "Noto Sans TC", sans-serif;
        padding: 18px 14px 28px;
      }

      .shell {
        width: min(100%, 1180px);
        margin: 0 auto;
      }

      .hero {
        position: relative;
        overflow: hidden;
        padding: 24px 22px;
        border-radius: 28px;
        background: linear-gradient(135deg, rgba(17, 50, 77, 0.96), rgba(29, 78, 216, 0.92));
        box-shadow: var(--shadow);
        color: white;
        margin-bottom: 18px;
      }

      .hero::after {
        content: "";
        position: absolute;
        inset: auto -30px -30px auto;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        filter: blur(2px);
      }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        font-size: 0.76rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 12px;
      }

      .hero h1 {
        font-family: "Iowan Old Style", "Times New Roman", serif;
        font-size: clamp(2rem, 5vw, 3rem);
        line-height: 1.02;
        letter-spacing: -0.04em;
        max-width: 10ch;
      }

      .hero p {
        max-width: 48ch;
        margin-top: 10px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.96rem;
      }

      .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 18px;
      }

      .hero-stat {
        padding: 12px 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
      }

      .hero-stat strong {
        display: block;
        font-size: 1.1rem;
        margin-top: 2px;
      }

      .layout {
        display: grid;
        gap: 16px;
      }

      .panel {
        background: var(--panel);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 18px;
        backdrop-filter: blur(16px);
      }

      .panel-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
      }

      .panel-title h2 {
        font-size: 1rem;
        letter-spacing: -0.02em;
      }

      .panel-title span {
        font-size: 0.78rem;
        color: var(--muted);
      }

      .grid {
        display: grid;
        gap: 12px;
      }

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

      .grid.three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .field {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }

      label {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--ink);
      }

      .hint {
        font-size: 0.76rem;
        color: var(--muted);
        font-weight: 500;
      }

      input,
      select,
      textarea,
      button,
      summary {
        font: inherit;
      }

      input,
      select,
      textarea {
        width: 100%;
        border: 1.5px solid var(--line);
        background: rgba(255, 255, 255, 0.88);
        border-radius: 14px;
        color: var(--ink);
        padding: 13px 14px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        min-height: 48px;
      }

      textarea {
        min-height: 110px;
        resize: vertical;
        line-height: 1.5;
      }

      input:focus,
      select:focus,
      textarea:focus {
        outline: none;
        border-color: var(--sky);
        box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.14);
      }

      .input-wrap {
        position: relative;
      }

      .prefix,
      .suffix {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-size: 0.84rem;
        pointer-events: none;
      }

      .prefix { left: 14px; }
      .suffix { right: 14px; }

      .input-wrap input {
        padding-left: 32px;
        padding-right: 54px;
      }

      .chip-row,
      .actions,
      .checklist {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .chip {
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.9);
        padding: 11px 14px;
        border-radius: 999px;
        cursor: pointer;
        font-size: 0.84rem;
        font-weight: 700;
        color: var(--ink);
      }

      .chip.active {
        border-color: rgba(15, 118, 110, 0.35);
        background: var(--teal-soft);
        color: var(--teal);
      }

      .button,
      .ghost {
        min-height: 48px;
        border-radius: 14px;
        border: none;
        cursor: pointer;
        padding: 0 16px;
        font-weight: 800;
        letter-spacing: 0.01em;
      }

      .button {
        background: linear-gradient(135deg, var(--navy), var(--sky));
        color: white;
        box-shadow: 0 12px 24px rgba(17, 50, 77, 0.2);
      }

      .ghost {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid var(--line);
        color: var(--muted);
      }

      .strip {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 14px;
      }

      .stat-card,
      .metric,
      .watch-item,
      .check-item,
      .suggestion-card,
      .report-card {
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.88);
      }

      .stat-card {
        padding: 16px;
      }

      .result-hero {
        padding: 18px;
        background: linear-gradient(135deg, rgba(219, 234, 254, 0.95), rgba(209, 250, 229, 0.95));
        border: 1px solid rgba(29, 78, 216, 0.14);
        border-radius: 22px;
        margin-bottom: 14px;
      }

      .result-hero small,
      .label,
      .mini-label {
        display: block;
        color: var(--muted);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        font-size: 0.72rem;
        font-weight: 800;
      }

      .result-hero strong {
        display: block;
        margin-top: 6px;
        font-size: clamp(2rem, 6vw, 3rem);
        line-height: 1;
        letter-spacing: -0.05em;
        color: var(--navy);
      }

      .result-hero p {
        margin-top: 8px;
        color: var(--muted);
        line-height: 1.6;
        font-size: 0.9rem;
      }

      .metric {
        padding: 14px;
      }

      .metric strong {
        display: block;
        font-size: 1.45rem;
        margin-top: 5px;
        letter-spacing: -0.03em;
      }

      .metric p {
        margin-top: 4px;
        font-size: 0.78rem;
        line-height: 1.45;
      }

      .metric.pass {
        background: var(--teal-soft);
        border-color: rgba(15, 118, 110, 0.28);
        color: var(--teal);
      }

      .metric.warn {
        background: var(--amber-soft);
        border-color: rgba(161, 98, 7, 0.25);
        color: var(--amber);
      }

      .metric.fail {
        background: var(--red-soft);
        border-color: rgba(180, 35, 24, 0.24);
        color: var(--red);
      }

      .metric.neutral {
        background: #f8fafc;
        color: var(--ink);
      }

      details {
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.84);
        overflow: hidden;
      }

      summary {
        list-style: none;
        cursor: pointer;
        padding: 16px 18px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      summary::-webkit-details-marker {
        display: none;
      }

      .details-body {
        border-top: 1px solid var(--line);
        padding: 14px 18px 16px;
      }

      .formula-row,
      .report-row,
      .watch-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 8px 0;
        font-size: 0.9rem;
      }

      .formula-row + .formula-row,
      .report-row + .report-row,
      .watch-row + .watch-row {
        border-top: 1px dashed rgba(91, 100, 115, 0.24);
      }

      .negative { color: var(--red); font-weight: 800; }
      .positive { color: var(--teal); font-weight: 800; }

      .checklist {
        flex-direction: column;
      }

      .check-item {
        display: grid;
        grid-template-columns: 28px 1fr;
        gap: 12px;
        align-items: flex-start;
        padding: 14px;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
      }

      .check-item.active {
        border-color: rgba(15, 118, 110, 0.32);
        background: var(--teal-soft);
        transform: translateY(-1px);
      }

      .tick {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        border: 1.5px solid var(--line);
        background: white;
        position: relative;
        margin-top: 1px;
      }

      .check-item.active .tick {
        border-color: var(--teal);
        background: var(--teal);
      }

      .check-item.active .tick::after {
        content: "";
        position: absolute;
        left: 9px;
        top: 5px;
        width: 6px;
        height: 12px;
        border: 2px solid white;
        border-top: none;
        border-left: none;
        transform: rotate(45deg);
      }

      .progress-shell {
        margin-top: 14px;
      }

      .progress-track {
        height: 8px;
        border-radius: 999px;
        background: #e8edf5;
        overflow: hidden;
      }

      .progress-fill {
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, var(--amber), var(--teal));
        transition: width 0.25s ease;
      }

      .suggestion-card,
      .report-card,
      .watch-item {
        padding: 15px;
      }

      .suggestion-card {
        background: linear-gradient(135deg, rgba(255, 240, 199, 0.94), rgba(255, 255, 255, 0.92));
      }

      .suggestion-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
      }

      .mini-btn {
        min-height: 38px;
        border-radius: 999px;
        border: 1px solid rgba(17, 50, 77, 0.14);
        background: white;
        padding: 0 14px;
        cursor: pointer;
        font-weight: 800;
        color: var(--navy);
      }

      .verdict {
        padding: 18px;
        border-radius: 22px;
        border: 1px solid var(--line);
        text-align: left;
      }

      .verdict.go {
        background: linear-gradient(135deg, rgba(214, 245, 241, 0.95), rgba(255, 255, 255, 0.92));
        border-color: rgba(15, 118, 110, 0.25);
      }

      .verdict.no-go {
        background: linear-gradient(135deg, rgba(254, 228, 226, 0.95), rgba(255, 255, 255, 0.92));
        border-color: rgba(180, 35, 24, 0.22);
      }

      .verdict.neutral {
        background: linear-gradient(135deg, rgba(219, 234, 254, 0.85), rgba(255, 255, 255, 0.92));
        border-color: rgba(29, 78, 216, 0.16);
      }

      .verdict h3 {
        font-size: 1.35rem;
        margin-bottom: 6px;
        letter-spacing: -0.03em;
      }

      .verdict p {
        line-height: 1.65;
        color: var(--muted);
      }

      .report-grid,
      .metrics-grid,
      .watch-list {
        display: grid;
        gap: 12px;
      }

      .tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 800;
      }

      .tag.good {
        background: var(--teal-soft);
        color: var(--teal);
      }

      .tag.bad {
        background: var(--red-soft);
        color: var(--red);
      }

      .watch-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
      }

      .watch-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
      }

      .auto-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .auto-result-list {
        margin-top: 12px;
        display: grid;
        gap: 10px;
      }

      .source-status-list {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .source-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 800;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.88);
      }

      .source-pill.good {
        color: var(--teal);
        background: var(--teal-soft);
        border-color: rgba(15, 118, 110, 0.28);
      }

      .source-pill.warn {
        color: var(--amber);
        background: var(--amber-soft);
        border-color: rgba(161, 98, 7, 0.22);
      }

      .source-pill.bad {
        color: var(--red);
        background: var(--red-soft);
        border-color: rgba(180, 35, 24, 0.22);
      }

      .auto-item {
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.9);
      }

      .auto-item h4 {
        font-size: 0.95rem;
        line-height: 1.4;
      }

      .auto-meta {
        margin-top: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
        font-size: 0.8rem;
        color: var(--muted);
      }

      .auto-item .actions {
        margin-top: 10px;
      }

      .risk-row {
        margin-top: 8px;
        font-size: 0.78rem;
        line-height: 1.5;
        color: var(--muted);
      }

      .risk-chip {
        display: inline-block;
        margin-right: 6px;
        margin-bottom: 6px;
        border-radius: 999px;
        padding: 2px 8px;
        font-size: 0.72rem;
        font-weight: 800;
      }

      .risk-chip.warn {
        background: var(--amber-soft);
        color: var(--amber);
      }

      .risk-chip.fail {
        background: var(--red-soft);
        color: var(--red);
      }

      .auto-status {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 4px 10px;
        font-size: 0.74rem;
        font-weight: 800;
      }

      .auto-status.good {
        color: var(--teal);
        background: var(--teal-soft);
      }

      .auto-status.bad {
        color: var(--red);
        background: var(--red-soft);
      }

      .auto-status.warn {
        color: var(--amber);
        background: var(--amber-soft);
      }

      .watch-item small {
        color: var(--muted);
      }

      .empty-state {
        border: 1px dashed var(--line);
        border-radius: 18px;
        padding: 18px;
        color: var(--muted);
        text-align: center;
        line-height: 1.6;
        background: rgba(255, 255, 255, 0.68);
      }

      @media (min-width: 920px) {
        body {
          padding: 24px 22px 36px;
        }

        .layout {
          grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
          align-items: start;
        }

        .sticky {
          position: sticky;
          top: 18px;
        }

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

      @media (max-width: 720px) {
        .grid.two,
        .grid.three,
        .strip,
        .hero-stats {
          grid-template-columns: 1fr;
        }

        .panel {
          padding: 16px;
        }

        .hero {
          padding: 22px 18px;
        }

        .actions > * {
          flex: 1 1 calc(50% - 5px);
        }
      }
