:root { font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: #151b27; background: #f6f7f9; font-size: 14px; line-height: 1.6; font-synthesis: none; --blue: #316bff; --line: #e7eaf0; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; flex: none; stroke-width: 1.8; }
a:focus-visible, button:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #316bff; outline-offset: 4px; }
.wrap { max-width: 1240px; padding: 0 28px; margin: auto; }
.top { height: 68px; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; min-width: 0; }
.brand #siteName { overflow-wrap: anywhere; }
.mark { display: grid; place-items: center; background: var(--blue); color: white; width: 30px; height: 30px; border-radius: 7px; flex: none; }
.mark svg { width: 18px; height: 18px; }
#siteLogo { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; flex: none; }
.nav { display: flex; align-items: center; height: 100%; gap: 28px; color: #7a8495; font-size: 13px; flex-shrink: 0; }
.nav a { display: flex; align-items: center; height: 100%; white-space: nowrap; position: relative; }
.nav a.active { color: var(--blue); font-weight: 600; }
.nav a.active:after { position: absolute; content: ""; height: 2px; background: var(--blue); bottom: 0; left: 0; right: 0; }
.heading { padding: 34px 0 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: #8491a3; font-size: 12px; }
.crumb svg { width: 14px; height: 14px; }
.heading h1 { font-size: 32px; line-height: 1.4; margin: 8px 0 4px; color: #111827; }
.heading p { margin: 0; color: #7e899a; font-size: 13px; }
.heading-note { display: flex; align-items: center; gap: 8px; color: #728095; font-size: 12px; }
.heading-note svg { color: #6a85b7; width: 16px; }
.workspace { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto minmax(282px, auto) minmax(46px, auto) auto; column-gap: 24px; row-gap: 0; align-items: stretch; }
.panel { display: grid; grid-template-rows: subgrid; grid-row: span 4; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; min-width: 0; box-shadow: 0 6px 24px rgba(28, 42, 65, .025); }
.panel-head { grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 23px; }
.input-body { grid-row: 2; display: flex; flex-direction: column; min-width: 0; margin: 0; padding-bottom: 19px; }
.result-body { grid-row: 2; display: flex; flex-direction: column; min-width: 0; padding-bottom: 19px; }
.panel h2 { font-size: 17px; margin: 0; font-weight: 650; }
.panel-head small { color: #7e8c9f; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.panel-head small svg { width: 13px; height: 13px; }
.field-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.field-label a { color: var(--blue); font-size: 12px; font-weight: 400; display: flex; align-items: center; gap: 4px; }
.field-label a svg { width: 13px; height: 13px; }
.required { color: #c45364; margin-left: 3px; }
textarea { display: block; width: 100%; flex: 1; height: 220px; min-height: 180px; resize: vertical; border: 1px solid #e0e6ef; border-radius: 10px; padding: 15px; color: #344154; font-size: 12px; line-height: 1.8; background: #fff; }
textarea::placeholder { color: #8c98aa; }
textarea[aria-invalid="true"] { border-color: #d4828e; }
.field-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 10px 0 0; color: #7e8da1; font-size: 11px; }
.plain { background: none; border: 0; color: #7e8a9c; padding: 2px; font-size: 11px; flex-shrink: 0; }
.plain svg { width: 13px; height: 13px; }
.primary { border-radius: 10px; min-height: 46px; padding: 10px 16px; font-size: 13px; font-weight: 600; border: 1px solid var(--blue); display: flex; align-items: center; justify-content: center; gap: 7px; color: white; background: var(--blue); }
.primary:hover { background: #275ded; }
.primary svg { width: 16px; height: 16px; }
.query-button { grid-row: 3; width: 100%; }
.query-button[disabled] { cursor: wait; }
.input-foot { grid-row: 4; padding-top: 16px; color: #7f8da1; font-size: 11px; line-height: 1.8; display: flex; align-items: flex-start; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.input-foot svg { width: 14px; height: 14px; margin-top: 2px; color: #8098ba; }
.status-message { font-size: 12px; line-height: 1.8; margin: 15px 0 0; color: #5c75a0; overflow-wrap: anywhere; white-space: pre-wrap; }
.status-message.error { color: #b44f60; }
.result-actions { grid-row: 3; display: flex; min-width: 0; }
.result-foot-wrap { grid-row: 4; padding-top: 16px; min-width: 0; }
.platform-notice { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin: 0; padding: 10px 14px; border-radius: 10px; background: #f3f6fa; color: #657992; text-align: center; overflow-wrap: anywhere; font-size: 12px; }
.state-label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8a97a8; }
.dot { height: 5px; width: 5px; background: currentColor; border-radius: 50%; }
.empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 260px; padding: 20px 0; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #94a9c6; background: #f4f7fb; margin-bottom: 12px; }
.empty-icon svg { width: 26px; height: 26px; }
.empty h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.empty p { color: #8996a9; font-size: 12px; margin: 0; }
.result-foot { color: #8996a8; font-size: 11px; margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.billing-hint:not([hidden]) + .result-foot { margin-top: 8px; font-size: 10px; }
.account { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; padding-bottom: 17px; border-bottom: 1px solid #edf0f5; }
.account > div:last-child { min-width: 0; }
.account-icon { width: 39px; height: 39px; border-radius: 11px; display: grid; place-items: center; color: #14886a; background: #eaf8f1; flex: none; }
.account strong { font-size: 16px; font-weight: 650; display: block; overflow-wrap: anywhere; }
.account span { color: #7c8ba0; font-size: 12px; overflow-wrap: anywhere; }
.badge { font-size: 11px; background: #eaf8f1; color: #108562; padding: 3px 8px; border-radius: 5px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.badge.inactive { color: #9b7634; background: #fff7e8; }
.badge.unknown { color: #697c97; background: #f0f3f8; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 24px; margin: 0; }
.detail-grid div { min-width: 0; }
.detail-grid dt { color: #8290a3; font-size: 11px; margin-bottom: 3px; }
.detail-grid dd { font-size: 12px; color: #4c5b71; margin: 0; overflow-wrap: anywhere; }
.detail-grid .long { grid-column: 1/-1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid #edf0f5; }
.detail-grid .long dt { flex-shrink: 0; }
.detail-grid .long dd { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.detail-grid .long dd span { min-width: 0; overflow-wrap: anywhere; }
.detail-grid button { border: 0; background: none; padding: 2px; color: #8198b9; flex: none; }
.detail-grid button svg { width: 13px; height: 13px; }
.billing-action { width: 100%; min-height: 46px; }
.billing-hint { font-size: 11px; color: #8291a6; margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.guide { margin-top: 26px; padding: 0 1px; }
.section-title { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; }
.section-title h2 { font-size: 16px; margin: 0; font-weight: 650; }
.section-title > a { color: #7b8ba2; font-size: 12px; display: flex; align-items: center; gap: 5px; }
.section-title > a svg { width: 14px; height: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; padding-bottom: 25px; border-bottom: 1px solid #e4e8ee; }
.step { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.step > span { display: grid; place-items: center; border-radius: 50%; width: 24px; height: 24px; background: #eaf0ff; color: #6185d3; flex: none; font-size: 11px; font-weight: 600; }
.step strong { display: block; font-size: 12px; color: #4f5f77; font-weight: 600; margin: 1px 0 5px; }
.step p { font-size: 11px; color: #7f8da1; margin: 0; line-height: 1.8; }
.faq { margin-top: 20px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.faq details { border-bottom: 1px solid #e5e9ef; padding: 12px 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; color: #69788e; font-size: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 13px; height: 13px; color: #9ba7b8; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { font-size: 12px; color: #7c8ba1; margin: 10px 0 2px; line-height: 1.8; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; color: #8390a3; font-size: 11px; }
.footer-links { display: flex; gap: 21px; flex-shrink: 0; }
#footerText { overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 11px 18px; border-radius: 8px; background: #fff; box-shadow: 0 4px 26px #152a4b24; border: 1px solid #dce7f2; color: #556780; font-size: 12px; z-index: 20; max-width: 90%; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
    .wrap { padding: 0 18px; }
    .top { height: auto; }
    .top .wrap { min-height: 64px; flex-wrap: wrap; gap: 3px; padding-top: 12px; padding-bottom: 8px; }
    .brand { font-size: 17px; }
    .nav { height: 35px; gap: 20px; font-size: 12px; }
    .heading { padding: 23px 0 20px; }
    .heading h1 { font-size: 28px; }
    .heading-note { display: none; }
    .workspace { grid-template-columns: 1fr; grid-template-rows: none; gap: 18px; }
    .panel { grid-row: auto; grid-template-rows: auto auto minmax(46px, auto) auto; padding: 22px 20px; }
    .panel-head { padding-bottom: 20px; }
    .empty { min-height: 210px; }
    .steps { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .faq-grid { grid-template-columns: 1fr; }
    .section-title > a { font-size: 11px; }
    .footer { flex-wrap: wrap; gap: 12px; }
    .detail-grid { gap: 15px; }
    .guide { margin-top: 24px; }
    .field-label { font-size: 12px; }
    .field-label a { font-size: 11px; }
}
@media (max-width: 360px) { .nav { gap: 15px; font-size: 11px; } .panel { padding: 20px 16px; } .panel-head { gap: 8px; } .panel-head small { font-size: 10px; } }
