/* 衍生版工作流扩展，沿用原工作台字体、色彩及按钮体系。 */
.pro-page {max-width:1500px;margin:0 auto}.pro-actions,.pro-inline,.pro-toolbar,.pro-between,.pro-paper-foot {display:flex;align-items:center;gap:10px}.pro-actions {flex-wrap:wrap}.pro-between {justify-content:space-between}.pro-toolbar {margin:20px 0;flex-wrap:wrap}.pro-toolbar label {display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink2)}.pro-toolbar .sel {min-width:155px}.pro-toolbar .inp {width:250px}.pro-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.pro-paper {padding:22px;display:flex;flex-direction:column}.pro-paper h2,.pro-topup h2,.pro-account-head h2 {font-size:17px;line-height:1.5;margin:16px 0 6px}.pro-paper p {font-size:12px;line-height:1.7}.pro-excerpt {white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:var(--ink2);font-size:13px;line-height:1.7;margin:12px 0 22px;min-height:66px}.pro-paper-foot {margin-top:auto;gap:6px}.pro-notice {padding:14px 16px;border-radius:10px;background:var(--fill);color:var(--ink2);font-size:13px;line-height:1.8;margin-bottom:18px}.pro-empty {padding:65px 20px;text-align:center;color:var(--ink2)}.pro-empty>div>svg {width:32px;height:32px}.pro-empty h3 {font-size:16px;margin:16px 0}.pro-empty p {font-size:13px;margin-bottom:18px}.pro-error {color:#9c2525;background:#fff0ee;border:1px solid #efb5ae;padding:13px 15px;border-radius:8px;font-size:13px;line-height:1.7;margin:12px 0;white-space:pre-wrap}.pro-error[hidden]{display:none}.pro-loading {padding:70px 20px;text-align:center;color:var(--ink2)}.pro-consent {font-size:12px;line-height:1.7;align-items:flex-start;margin:14px 0}.pro-consent input {margin-top:4px;flex-shrink:0}.pro-questions {margin-top:20px}.pro-question {border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:16px}.pro-question.pro-low {border-color:#d6ac4c;background:#fffcf3}.pro-question p {font-size:13px;line-height:1.8;white-space:pre-wrap}.pro-answer {font-size:13px;line-height:1.8;padding:12px 0;white-space:pre-wrap}.pro-score {font-size:30px;font-weight:700}.pro-score small {font-size:15px;font-weight:400;color:var(--ink2)}.pro-communications {display:grid;gap:16px}.pro-communication {padding:22px}.pro-communication .tag {margin-left:8px}.pro-pre {white-space:pre-wrap;font-size:14px;line-height:1.9;margin:18px 0}.pro-feedback {font-size:13px;padding:14px;background:var(--fill);border-radius:8px;white-space:pre-wrap;line-height:1.8}.pro-communication>.pro-between:last-child {font-size:12px;margin-top:15px}.pro-draft {border:1px solid var(--line);border-radius:10px;padding:15px;margin-bottom:20px}.pro-draft summary {cursor:pointer;font-size:13px;font-weight:600;margin-bottom:12px}.pro-login {max-width:440px;margin:30px auto;padding:30px}.pro-tabs {display:flex;gap:8px;margin-bottom:24px}.pro-wide {width:100%;margin-top:8px}.pro-account-head {padding:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.pro-account-head>div:first-child {display:flex;align-items:center;gap:16px}.pro-account-head h2 {margin:0 0 3px}.pro-account-head .muted {font-size:12px}.pro-account-stats {display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.pro-account-stats .panel {padding:24px;display:flex;flex-direction:column;gap:12px;font-size:12px}.pro-account-stats strong {font-size:28px;font-weight:650;word-break:break-all}.pro-topup {padding:24px;margin-bottom:18px}.pro-topup h2 {margin:0 0 20px}.pro-topup p {font-size:13px;line-height:1.8}.pro-topup .row2 {max-width:620px}.pro-payment {display:flex;align-items:center;gap:25px;border-top:1px solid var(--line);margin-top:25px;padding-top:25px;font-size:13px}.pro-qr {width:210px;flex-shrink:0;background:#fff;padding:8px;border:1px solid #ddd;border-radius:8px}.pro-qr svg {display:block;width:100%;height:auto}.pro-payment p {word-break:break-all}.pro-account-launch {position:fixed;top:12px;right:18px;z-index:85;box-shadow:0 2px 10px #00000012}.side>.nav {overflow-y:auto;flex-shrink:1;min-height:140px}.side .recent {max-height:80px}.pro-page>.page-head {padding-right:100px}.pro-page .tbl td {vertical-align:middle}.pro-page .tbl td .muted {font-size:12px;margin-top:5px}.pro-page .tbl td .btn+.btn {margin-left:4px}
@media(max-width:900px){.pro-page>.page-head{padding-right:0;padding-top:30px}.pro-account-stats{grid-template-columns:1fr}.pro-account-head{align-items:flex-start;flex-direction:column}.pro-payment{flex-direction:column;align-items:flex-start}.pro-toolbar .inp{width:180px}.pro-grid{grid-template-columns:1fr}.pro-page .page-head{flex-wrap:wrap;gap:12px}.pro-account-launch{top:8px;right:8px}}
@media(prefers-reduced-motion:reduce){.pro-page *{scroll-behavior:auto}}
.pro-evidence{margin:20px 0;font-size:13px}.pro-thumbnails{display:flex;gap:12px;overflow-x:auto;padding:12px 0}.pro-thumbnails button{padding:3px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:zoom-in;flex-shrink:0}.pro-thumbnails img{display:block;width:100px;height:130px;object-fit:contain}.pro-image-lightbox{position:fixed;inset:0;z-index:1000;overflow:auto;background:#171717ee;display:flex;align-items:flex-start;justify-content:center;padding:65px 20px 20px}.pro-image-lightbox img{max-width:100%;height:auto;object-fit:contain;background:#fff}.pro-image-lightbox button{position:fixed;right:25px;top:20px;z-index:1001}
.pro-auth-app{width:100%;height:100dvh;overflow:auto;background:#f7f7f5;display:block}.pro-auth-shell{width:min(100% - 32px,440px);margin:0 auto;padding:clamp(45px,10vh,110px) 0 35px}.pro-auth-brand{display:flex;align-items:center;justify-content:center;gap:11px;font-size:21px;font-weight:650;letter-spacing:-.5px;margin-bottom:32px}.pro-auth-brand .brand-mark{width:43px;height:43px}.pro-auth-shell .pro-login{margin:0;padding:30px;box-shadow:0 6px 28px #15151506}.pro-auth-links{display:flex;justify-content:center;gap:26px;margin-top:23px}.pro-auth-links button{font-size:12px;color:var(--ink2);background:none;border:0;cursor:pointer;padding:6px}.pro-auth-links button:hover{color:var(--ink);text-decoration:underline}.pro-auth-help{font-size:14px;line-height:1.9;color:var(--ink2)}
.pro-auth-title{font-size:23px;line-height:1.4;margin:0 0 25px;font-weight:650;letter-spacing:-.6px}.pro-auth-shell .btn-dark{background:#2563eb;border-color:#2563eb;color:#fff}.pro-auth-shell .btn-dark:hover{background:#1d4ed8;border-color:#1d4ed8}.pro-auth-shell .inp:focus{border-color:#4b83ef;box-shadow:0 0 0 3px #2563eb15}.pro-auth-shell .pro-tabs{margin-bottom:22px}.pro-auth-shell .pro-tabs .btn{flex:1}
.pro-model-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));column-gap:28px;row-gap:3px;margin-bottom:18px}.pro-model-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;font-size:13px;min-width:0}.pro-model-row b{font-weight:550;overflow-wrap:anywhere}.pro-model-tags{display:flex;gap:5px;flex-shrink:0}.pro-support-contact{text-align:center}.pro-support-qr{display:block;max-width:min(240px,100%);height:auto;margin:18px auto;background:#fff;border-radius:8px}.pro-support-contact .pro-auth-help{white-space:pre-wrap;overflow-wrap:anywhere}

.pro-paper-generation-fields{min-width:0;margin:0;padding:0;border:0}

.pro-model-card{min-width:0;padding:0 0 12px;border-bottom:1px solid var(--line)}
.pro-model-prices{margin:0;color:var(--ink2);font-size:12px;line-height:1.6}
.pro-model-prices div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:0 10px}
.pro-model-prices dd{margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pro-model-price-missing{margin-top:0}

.pro-recharge {display:grid;gap:16px}
.pro-recharge .field,.pro-recharge .pro-error {margin:0}
.pro-recharge .pro-payment {margin:0;padding:0;border:0;line-height:1.7}
.pro-recharge .pro-payment-summary {font-size:15px;line-height:1.75}
.pro-recharge .pro-payment-order-id {font-size:12px;overflow-wrap:anywhere}
.pro-recharge-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}

/* Shared task, price and payment components. Theme tokens come from theme.css. */
.pro-table-hint{display:none;color:var(--ink2);font-size:12px;margin:0 0 10px}
.pro-history-more{margin-top:16px}
.pro-pending-order{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:15px 0;margin-top:14px;font-size:13px}
.pro-pending-order>div{min-width:0}.pro-pending-order .btn{flex-shrink:0}
.pro-payment-order-id{overflow-wrap:anywhere}
.pro-model-row{flex-wrap:wrap;align-items:flex-start}
.pro-model-row .chk{flex:1;min-width:0;align-items:flex-start}
.pro-model-row .chk input{flex-shrink:0;margin-top:3px}
.pro-model-tags{flex-wrap:wrap}.pro-model-tags [hidden]{display:none}
.pro-model-card .pro-model-row{padding-bottom:8px}
.pro-model-card.is-enabled{border-color:var(--line2)}
.pro-model-prices dt{min-width:0;overflow-wrap:anywhere}
.pro-model-prices dd{max-width:100%;text-align:right}
.pro-task-list{min-width:0}
@media(max-width:640px){
 .pro-table-hint{display:block}
 .pro-topup,.pro-account-head{padding:18px}
 .pro-toolbar label{width:100%;min-width:0}
 .pro-toolbar .sel,.pro-toolbar .inp{width:100%;min-width:0;flex:1}
 .pro-account-head h2{overflow-wrap:anywhere}
 .pro-account-head>div:first-child{min-width:0;max-width:100%}
 .pro-account-head>div:first-child>.ava{flex-shrink:0}
 .pro-account-head>div:first-child>div{min-width:0}
 .pro-task-list{padding:16px 12px}
 .pro-model-prices div{display:block;margin-bottom:6px}
 .pro-model-prices dd{text-align:left}
 .pro-pending-order{align-items:flex-start;flex-wrap:wrap}
 .pro-between,.pro-paper-foot{flex-wrap:wrap}
}
