/* V0.3：专业研判的完整工作流与统一阅读节奏。 */
#planningStudio{background:#10121c;padding-bottom:32px}
body:has(#planningStudio.active) .lounge-switcher,body:has(#agentChat.active) .lounge-switcher,body:has(#chat.active) .lounge-switcher{display:none}
.ps-shell{padding:22px 20px 48px;color:#f0ede7}
.ps-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.ps-topbar .back{margin:0;white-space:nowrap;font-size:12px;background:#ffffff07;border:1px solid #ffffff16;box-shadow:none}
.ps-top-status{font-size:10px;color:#aaa6b9;white-space:nowrap}
.ps-top-status.available{color:#d7c9a8}
.ps-heading{position:relative;overflow:hidden;min-height:200px;border:1px solid #ffffff13;border-radius:10px;background:#1a1d29;display:flex;align-items:center;margin-bottom:24px}
.ps-heading>div{position:relative;z-index:2;padding:28px 24px}
.ps-eyebrow{display:block;color:#ccb89c;font-size:9px;letter-spacing:2px;line-height:1.7;font-weight:400}
.ps-heading h1{font-size:32px;font-weight:500;line-height:1.5;margin:8px 0 10px}
.ps-heading p{font-size:13px;color:#d3cdd5;line-height:1.9;margin:0;max-width:235px}
.ps-heading>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:50% 55%;opacity:.3}
.ps-heading:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#1a1d29e0,transparent)}
.ps-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.ps-input-panel,.ps-output-panel{min-width:0}
.ps-input-panel{align-self:start;background:#191c28;border:1px solid #ffffff13;border-radius:10px;padding:20px}
.ps-input-panel fieldset{border:0;margin:0;padding:0;min-width:0}
.ps-input-panel fieldset:disabled{opacity:.6}
.ps-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:#11141e;border:1px solid #ffffff0a;border-radius:6px}
.ps-mode-tabs button{padding:10px 3px;border-radius:4px;background:none;font-size:11px;color:#aca9b9;white-space:nowrap}
.ps-mode-tabs button.active{background:#35303d;color:#e4d0b0}
.ps-input-intro{margin:24px 0}
.ps-input-intro h2{font-size:19px;font-weight:500;line-height:1.6;margin:0 0 8px}
.ps-input-intro p{font-size:12px;line-height:1.9;color:#b6b4c0;margin:0 0 9px}
.ps-example{font-size:12px;color:#d6c0e3;background:none;padding:8px 0;text-align:left}
.ps-input-panel label,.ps-review label{display:block;margin:18px 0;color:#ded8e1;font-size:12px;line-height:1.8}
.ps-input-panel label>small{font-size:10px;color:#9f9bac;margin-left:4px}
.ps-input-panel input:not([type=checkbox]):not([type=file]),.ps-input-panel textarea,.ps-input-panel select,.ps-review textarea{display:block;width:100%;min-width:0;margin-top:8px;background:#11141e;color:#ece8ef;border:1px solid #ffffff19;border-radius:5px;padding:11px 12px;line-height:1.85;font-size:13px;box-shadow:none}
.ps-input-panel select{min-height:47px}
.ps-input-panel textarea,.ps-review textarea{resize:vertical;min-height:90px}
.ps-input-panel textarea::placeholder,.ps-input-panel input::placeholder{color:#8f8c9d;font-size:12px}
.ps-input-panel input:focus,.ps-input-panel textarea:focus,.ps-review textarea:focus{border-color:#cdbda8;outline:1px solid #cdbda830}
.ps-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ps-two-fields label{margin:0}
.ps-materials{border-block:1px solid #ffffff13;margin:20px 0;padding:8px 0}
.ps-materials>summary,.ps-history>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:12px;color:#d9c7b0}
.ps-materials>summary::-webkit-details-marker,.ps-history>summary::-webkit-details-marker{display:none}
.ps-materials[open]>summary span{transform:rotate(45deg)}
.ps-file-label{padding:12px;border:1px dashed #c5b1ce33;border-radius:6px;background:#ffffff03}
.ps-file-label input{display:block;margin:8px 0;font-size:11px;width:100%;color:#b9b3c7}
.ps-file-label input::file-selector-button{border:1px solid #ffffff24;color:#e4d4ba;background:#222331;padding:7px 10px;border-radius:4px;font-size:11px}
.ps-file-label small{display:block;margin:4px 0 0!important;font-size:10px;line-height:1.8}
.ps-input-panel .ps-consent{display:flex;gap:9px;align-items:flex-start;font-size:10px;line-height:1.8;color:#b0aabb;margin:22px 0 14px}
.ps-consent input{accent-color:#cbb99c;flex-shrink:0;margin:3px 0 0;width:14px;height:14px}
#psSubmit{min-height:48px;font-size:13px;display:flex;justify-content:space-between;padding:12px 18px}
.ps-form-note{font-size:10px;color:#a8a0b1;line-height:1.85;margin:14px 0 0}
#psError{margin-top:16px;padding:12px;border:1px solid #dc9f7755;border-radius:5px;background:#9d592014;color:#f0c4aa;font-size:12px;line-height:1.8}
.ps-history{margin-top:24px;border-top:1px solid #ffffff15;padding-top:8px}
.ps-history summary span{font-size:10px;padding:2px 7px;background:#ffffff09;border-radius:4px}
#psHistory{display:grid;gap:8px;max-height:330px;overflow:auto}
#psHistory>button{padding:12px;text-align:left;background:#11141e;border:1px solid #ffffff12;border-radius:5px}
#psHistory>button span{display:block;font-size:12px;line-height:1.8;color:#e4dcd2}
#psHistory>button small{display:block;font-size:9px;color:#aba3b8;margin-top:5px}
#psHistory>p{font-size:11px;color:#aca6b7;line-height:1.8}
.ps-new{font-size:12px;color:#d3c2ac;background:none;padding:14px 0 0}
.ps-empty{background:#191c28;border:1px solid #ffffff12;border-radius:10px;overflow:hidden}
.ps-empty>img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.ps-empty>div:not(.ps-deliver-preview){padding:28px 24px}
.ps-empty h2{font-size:25px;line-height:1.7;font-weight:500;margin:10px 0}
.ps-empty p{font-size:13px;line-height:1.95;color:#bcb4c5;margin:0}
.ps-empty>small{display:block;padding:0 24px 20px;color:#9a91a5;font-size:9px}
.ps-deliver-preview{display:grid;gap:18px;padding:0 24px 24px}
.ps-deliver-preview article{display:grid;grid-template-columns:25px 1fr;gap:6px 14px;padding-top:18px;border-top:1px solid #ffffff13}
.ps-deliver-preview b{grid-row:span 2;color:#cdbb9f;font-size:16px;font-weight:400}
.ps-deliver-preview strong{font-size:14px;font-weight:500}
.ps-deliver-preview span{font-size:11px;line-height:1.8;color:#b4aebc}
.ps-progress{padding:40px 24px;background:#191c28;border:1px solid #d1b99a44;border-radius:10px;text-align:center}
.ps-spinner{display:block;width:38px;height:38px;border:1px solid #d3c3a530;border-top-color:#d3c3a5;border-radius:50%;animation:ps-spin 1.5s linear infinite;margin:0 auto 26px}
@keyframes ps-spin{to{transform:rotate(360deg)}}
.ps-progress>small{font-size:10px;letter-spacing:2px;color:#c7b6d8}
.ps-progress h2{font-size:22px;font-weight:500;line-height:1.8;margin:14px 0}
.ps-progress p{font-size:12px;line-height:1.9;color:#b6b0c1}
.ps-progress>div{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff17;margin-top:28px;padding-top:18px;color:#bab3c4;font-size:10px}
.ps-progress button{background:none;color:#d7c0a4;font-size:11px;padding:8px}
.ps-report-head{padding:26px 24px;background:#191c28;border:1px solid #ffffff14;border-radius:10px}
.ps-report-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px;line-height:1.8;color:#cbb99c}
.ps-report-meta b{font-size:9px;font-weight:400;border:1px solid #d0b79e3d;padding:4px 7px;border-radius:4px;color:#d5c4b0}
.ps-report-head h2{font-size:28px;font-weight:500;line-height:1.6;margin:18px 0 14px;overflow-wrap:anywhere}
.ps-report-head p{font-size:14px;color:#c8c1ce;line-height:1.95;margin:0 0 20px}
.ps-report-head>small{font-size:9px;color:#a99fb7}
.ps-report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.ps-report-actions button,.ps-review>button,.ps-next-service button{font-size:11px;background:#d2bd9922;color:#ead7b4;border:1px solid #d2bd9940;border-radius:5px;padding:11px 13px;line-height:1.7}
.ps-report-actions button:last-child{background:none;color:#d7c0e6;border-color:#d7c0e633}
.ps-focus{border-left:2px solid #c9b796;margin:24px 0;padding:5px 0 5px 18px;display:grid;gap:8px}
.ps-focus>span{font-size:10px;color:#c6b695}
.ps-focus strong{font-size:16px;font-weight:500;line-height:1.8}
.ps-focus>small{font-size:11px;color:#a79bb6}
.ps-result-section{margin-top:36px}
.ps-changes article{display:grid;gap:15px;padding:22px 20px;background:#191c28;border:1px solid #cdb7992b;border-radius:7px;margin-top:12px}
.ps-changes article small{font-size:10px;color:#cfb997}
.ps-changes article p{font-size:12px;color:#c1b8ce;line-height:1.9;margin:8px 0}
.ps-changes article strong{display:block;font-weight:400;font-size:11px;line-height:1.9;color:#b0a1c4;margin:12px 0}
.ps-comparison article{padding:22px 20px;background:#191c28;border:1px solid #ffffff15;border-radius:7px;margin-top:12px}
.ps-comparison h4{font-size:16px;font-weight:500;color:#dfc9a9;line-height:1.8;margin:0 0 15px}
.ps-comparison article>div{display:grid;gap:14px}
.ps-comparison p{font-size:12px;line-height:1.9;color:#c6bccf;margin:0;background:#121520;padding:15px;border-radius:4px}
.ps-comparison p b{display:block;font-size:10px;color:#d0bda0;font-weight:400;margin-bottom:8px}
.ps-comparison article>small{display:block;margin-top:16px;font-size:11px;color:#af9fbe;line-height:1.9}
#psResume{font-size:12px;color:#e0c4a3;border:1px solid #d0bc9b44;background:#d0bc9b14;border-radius:5px;margin-top:16px;padding:12px;width:100%}
.ps-result-section>header{margin-bottom:20px}
.ps-result-section h3,.ps-review h3,.ps-next-service h3{font-size:21px;font-weight:500;line-height:1.6;margin:9px 0}
.ps-directions{display:grid;gap:18px}
.ps-direction{padding:24px 22px;background:#191c28;border:1px solid #ffffff14;border-radius:8px}
.ps-direction-top{display:flex;justify-content:space-between;gap:15px;align-items:center}
.ps-direction-top span{font-size:18px;font-weight:400;color:#d3c09e}
.ps-direction-top small{font-size:9px;color:#b9adc8}
.ps-direction h4{font-size:20px;font-weight:500;line-height:1.6;margin:15px 0 10px}
.ps-position{font-size:13px;line-height:1.9;color:#d2c6da;margin:0 0 20px}
.ps-direction dl{margin:0;font-size:12px}
.ps-direction dt{color:#cdbba0;font-size:10px;margin-top:17px}
.ps-direction dd{margin:5px 0 0;color:#beb6c8;line-height:1.9}
.ps-evidence-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px;padding-top:16px;border-top:1px solid #ffffff13}
.ps-evidence-link{padding:6px 9px;font-size:9px;color:#cbb5dd;background:#2b2636;border:1px solid #d5b6ee21;border-radius:4px}
.ps-gaps{display:grid;gap:12px}
.ps-gaps article{display:flex;gap:17px;padding:19px 18px;border:1px solid #ffffff13;border-radius:7px;background:#171a25}
.ps-gaps article>span{color:#ceb895;font-size:14px;line-height:1.8}
.ps-gaps h4{font-size:14px;font-weight:500;line-height:1.8;margin:0 0 7px}
.ps-gaps p{font-size:12px;line-height:1.9;color:#beb5ca;margin:0 0 8px}
.ps-gaps small{font-size:11px;color:#a9a2b5;line-height:1.9}
.ps-tasks{display:grid;gap:12px}
.ps-tasks article{padding:21px 20px;border:1px solid #ffffff14;background:#191c28;border-radius:7px}
.ps-tasks b{font-size:15px;color:#cbb89a;font-weight:400}
.ps-tasks h4{font-size:15px;line-height:1.8;font-weight:500;margin:12px 0}
.ps-tasks p{font-size:11px;line-height:1.8;color:#afa4be;margin:0 0 18px}
.ps-tasks strong{font-size:12px;font-weight:400;color:#dcc9ae;border-top:1px solid #ffffff13;padding-top:14px;display:block;line-height:1.9}
.ps-questions>button{display:flex;width:100%;text-align:left;gap:12px;justify-content:space-between;align-items:center;background:none;border-bottom:1px solid #ffffff16;padding:16px 0;font-size:13px;line-height:1.9;color:#dbd4e2}
.ps-questions>button b{font-size:10px;color:#cbb596;white-space:nowrap;font-weight:400}
.ps-source-ledger{border:1px solid #ffffff17;border-radius:7px;background:#161923;margin-top:32px;padding:0 20px}
.ps-source-ledger>summary{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:20px 0;cursor:pointer;font-size:12px;color:#d4c2a6;list-style:none}
.ps-source-ledger>summary span{color:#a69bba;font-size:9px}
.ps-source-ledger article{display:flex;gap:15px;padding:18px 0;border-top:1px solid #ffffff15}
.ps-source-ledger article>b{font-size:10px;color:#cbb99c}
.ps-source-ledger article strong{font-size:12px;font-weight:500}
.ps-source-ledger article small{display:block;font-size:9px;margin-top:7px;color:#a9a0b8}
.ps-source-ledger article p{font-size:12px;line-height:1.95;color:#beb7ca;white-space:pre-wrap;overflow-wrap:anywhere}
.ps-review{border-block:1px solid #ffffff1b;padding:24px 0;margin-top:34px}
.ps-review ul{padding-left:18px;font-size:12px;line-height:2;color:#c3b9ce}
.ps-review>p{font-size:11px;line-height:1.9;color:#b0a6bf}
.ps-review>small{display:block;font-size:11px;line-height:1.9;color:#d8c09f;margin-top:16px}
.ps-next-service{margin-top:28px;padding:25px 22px;border:1px solid #c8afdf26;background:linear-gradient(140deg,#292535,#171a25);border-radius:8px}
.ps-next-service>span{font-size:10px;color:#d5c0a2}
.ps-next-service>p{font-size:12px;line-height:1.9;color:#bdb2cc;margin:14px 0 18px}
.ps-next-service>small{display:block;font-size:10px;color:#a99db6;line-height:1.8;margin-top:14px}
.ps-revision{padding-top:8px;border-top:1px solid #d4bb9844}
.ps-revision p{font-size:10px;color:#c8b39a}
.lxz-smart-entry{display:grid;border:1px solid #ffffff17;border-radius:10px;overflow:hidden;background:#191c28;margin-top:34px}
.lxz-smart-entry figure{position:relative;margin:0;aspect-ratio:3/2}
.lxz-smart-entry figure img{width:100%;height:100%;object-fit:cover}
.lxz-smart-copy{padding:28px 24px}
.lxz-smart-copy h2{font-size:26px;line-height:1.6;font-weight:500;margin:12px 0}
.lxz-smart-copy>p{font-size:13px;color:#bcb4c6;line-height:1.9;margin:0 0 22px}
.lxz-smart-modes{display:grid;gap:10px}
.lxz-smart-modes button{display:flex;justify-content:space-between;gap:12px;align-items:center;width:100%;text-align:left;padding:16px;background:#11141e;border:1px solid #ffffff15;border-radius:6px}
.lxz-smart-modes strong{display:block;font-size:14px;font-weight:500;color:#e6ddd2}
.lxz-smart-modes small{display:block;font-size:11px;color:#aea3bb;margin-top:6px;line-height:1.8}
.lxz-smart-modes button>span:last-child{color:#d3bc9d}
.lxz-smart-copy footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid #ffffff16;font-size:10px;color:#c8b59b}
.lxz-smart-copy footer>button{font-size:10px;color:#d1badf;background:none;padding:6px 0}
.ps-backend-entry{border:1px solid #d0bc9b33;border-radius:9px;background:#1d1d2c;margin:26px 0;padding:24px;display:flex;justify-content:space-between;gap:24px;align-items:center}
.ps-backend-entry h2{font-size:22px;font-weight:500;margin:9px 0}
.ps-backend-entry p{font-size:12px;color:#b6aac5;line-height:1.9;margin:0}
.ps-backend-entry button{white-space:nowrap;font-size:12px;border:1px solid #d0bc9b44;border-radius:5px;background:#d0bc9b18;color:#e0ccad;padding:13px}
.ps-backend-entry small{font-size:10px;color:#b9aac8}
#backend .future-grid,#backend .coming-soon{display:none}
#backend .backend-subscription-card{background:#191c28;border:1px solid #ffffff15;box-shadow:none}
.lxz-owner-tools{padding:28px 0;margin:24px 0;border-block:1px solid #ffffff15}
.lxz-owner-tools h2{font-size:26px;font-weight:500;line-height:1.65;margin:12px 0}
.lxz-owner-tools header>p{font-size:13px;line-height:1.9;color:#b6a8c4}
.lxz-owner-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
.lxz-owner-tool-grid>a{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #d0b79725;border-radius:8px;background:linear-gradient(130deg,#282433,#191c28);text-decoration:none;min-width:0}
.lxz-owner-tool-grid b{font-size:10px;color:#ceb694;font-weight:400;letter-spacing:1px}
.lxz-owner-tool-grid strong{font-size:17px;line-height:1.75;color:#e7dcd0;font-weight:500}
.lxz-owner-tool-grid small{font-size:11px;line-height:1.9;color:#b4a5c3}
.lxz-showcases{margin:38px 0;padding-top:30px;border-top:1px solid #ffffff17}
.lxz-showcases h2{font-size:29px;font-weight:500;margin:12px 0;line-height:1.65}
.lxz-showcases>p{color:#b6aac4;font-size:13px;line-height:1.9}
.lxz-showcase-card{border:1px solid #d1b99833;background:linear-gradient(135deg,#282433,#171b28);border-radius:9px;padding:28px;margin:20px 0}
.lxz-showcase-card h3{font-size:22px;font-weight:500;line-height:1.7;color:#e5d3b8;margin:12px 0}
.lxz-showcase-card p{font-size:13px;line-height:1.95;color:#bdb0cc;white-space:pre-wrap}
.lxz-showcase-card small{display:block;font-size:10px;line-height:1.9;color:#c7b293}
.lxz-showcase-card details{margin:18px 0;border-top:1px solid #ffffff17;padding-top:18px}
.lxz-showcase-card summary{font-size:12px;color:#dcc6a4;cursor:pointer}
.lxz-showcase-card h4{font-size:15px;font-weight:500;color:#dbc3a1;margin:22px 0 10px}
.lxz-showcase-card button{padding:12px 16px;border:1px solid #c9b18f44;border-radius:5px;background:#c9b18f16;color:#ead5b2;font-size:12px}
@media(max-width:640px){.lxz-owner-tool-grid{grid-template-columns:1fr}.lxz-owner-tool-grid>a{padding:22px}.lxz-showcase-card{padding:22px 20px}.lxz-showcases h2{font-size:25px}}
#backend .agent-card{border:1px solid #ffffff15;border-radius:9px;background:#191c28;box-shadow:none}
#backend .agent-card::before{display:none}
#agentChat .agent-workflow-panel{background:#191c28;border-color:#ffffff18;box-shadow:none;border-radius:9px}
#agentChat .chat-head,#chat .chat-head{background:#191c28;border-color:#ffffff18;box-shadow:none;border-radius:9px}
#chat .msg.ai,#agentChat .msg.ai{background:#191c28;border-color:#ffffff15;box-shadow:none;font-size:14px;line-height:1.95}
#agentChat .msg.user,#chat .msg.user{background:#343040;border-color:#cdb19e33;box-shadow:none}
#chat .msg.ai strong,#agentChat .msg.ai strong{font-weight:600;color:#ead9bc}
#chat .chat-section-title,#agentChat .chat-section-title{display:inline-block;margin-top:6px}
#backend .backend-stat:last-of-type b{font-size:19px;color:#d8c39f}
#backend .backend-knowledge-entry{background:linear-gradient(135deg,#302b3a,#1b1e2b);border:1px solid #c9af9240}
#agentChat .agent-model-picker,#chat .public-channel-picker{background:#191c28}
button[disabled]{cursor:default}
[hidden]{display:none!important}
@media(min-width:700px){
 .ps-shell{padding:24px 32px 48px}
 .ps-heading{min-height:230px}
 .ps-heading>div{padding:38px}
 .ps-heading h1{font-size:38px}
 .ps-heading p{max-width:440px}
 .ps-heading>img{left:auto;width:55%;opacity:.65}
 .ps-heading:after{background:linear-gradient(90deg,#1a1d29 40%,#1a1d2955 74%,transparent)}
 .ps-layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1.3fr);gap:24px}
 .ps-input-panel{padding:24px}
 .lxz-smart-entry{grid-template-columns:.85fr 1.15fr}
 .lxz-smart-entry figure{aspect-ratio:auto;height:100%;min-height:480px}
 .lxz-smart-copy{padding:34px}
 .ps-directions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ps-comparison article>div,.ps-changes article{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ps-directions .ps-direction:first-child:last-child{grid-column:1/-1}
}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 body:has(#planningStudio.active){--lounge-max-width:min(1180px,calc(100vw - 80px));--desktop-half-width:min(590px,calc(50vw - 40px))}
 .ps-shell{padding:24px 40px 48px}
 .ps-layout{grid-template-columns:320px minmax(0,1fr);gap:28px}
 .ps-heading{min-height:250px;margin-bottom:32px}
 .ps-heading h1{font-size:40px}
 .ps-output-panel .ps-empty>img{aspect-ratio:16/8}
 .ps-deliver-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .ps-deliver-preview article{display:flex;flex-direction:column}
 .ps-report-head{padding:32px}
 .ps-tasks{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ps-tasks h4{font-size:14px}
 .ps-direction{padding:24px 21px}
 .lxz-smart-copy{padding:42px}
 .lxz-smart-copy h2{font-size:30px}
}
@media(max-width:359px){
 .ps-shell{padding-inline:16px}
 .ps-topbar{gap:6px}
 .ps-topbar .back{padding-inline:9px;font-size:10px}
 .ps-top-status{font-size:8px}
 .ps-input-panel{padding:18px 16px}
 .ps-report-head{padding:22px 18px}
 .ps-report-head h2{font-size:24px}
 .ps-report-meta{flex-wrap:wrap}
 .ps-questions>button{align-items:flex-start}
 .ps-questions>button b{font-size:9px}
 .ps-backend-entry{flex-direction:column;align-items:flex-start}
}
