/* 個人對話：對話優先設計。其他對話、同事對接及營運檢視不套用。 */
body.agent.personal-conversation .chat.show{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100%;overflow:hidden}
body.agent.personal-conversation .ag-work{display:contents}
body.agent.personal-conversation .ag-work .ag-top{display:none}
#pc-settings[hidden],#pc-plus[hidden],#pc-new[hidden],#pc-details[hidden],#pc-detail-close[hidden]{display:none!important}
body.agent.personal-conversation .ag-panel{position:static;inset:auto;width:auto;min-width:0;height:auto;margin:0;border:0;border-radius:0;box-shadow:none;grid-column:1;grid-row:1;background:var(--bg);z-index:auto}
body.agent.personal-conversation .ag-head{flex-wrap:wrap;padding:18px 24px;gap:12px;background:var(--bg);font-size:17px}
body.agent.personal-conversation .ag-head>.ag-x{display:none}
body.agent.personal-conversation .ag-head #ag-name{font-weight:500;margin-right:auto}
body.agent.personal-conversation .pc-head-button,body.agent.personal-conversation .pc-detail-close{border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--platform-raised);color:var(--ink);font:inherit;font-size:15px}
body.agent.personal-conversation .ag-page{display:block;grid-column:2;grid-row:1;max-width:none;width:340px;margin:0;padding:24px;overflow:auto;background:var(--card);border-left:1px solid var(--line);font-size:16px}
body.agent.personal-conversation .ag-page[hidden]{display:none!important}
body.agent.personal-conversation.pc-details-open .chat.show{grid-template-columns:minmax(0,1fr) 340px}
body.agent.personal-conversation .ag-page .talk-top{display:block}
body.agent.personal-conversation .ag-page .talk-top div{margin-top:14px}
body.agent.personal-conversation .ag-page .talk-top :is(b,span){font-size:15px}
body.agent.personal-conversation .ag-title{font-size:20px;margin-top:18px}
body.agent.personal-conversation .ag-desc{font-size:15px}
body.agent.personal-conversation .ag-log{font-size:15px}
body.agent.personal-conversation .pc-settings{display:grid;gap:12px;margin:22px 0}
body.agent.personal-conversation .ag-model{margin:0;display:flex;justify-content:space-between;padding:10px;font-size:15px;gap:8px}
body.agent.personal-conversation .ag-model select{font-size:15px;max-width:160px}
body.agent.personal-conversation .grade{height:auto;padding:9px 14px;font-size:15px}
body.agent.personal-conversation .grades{bottom:auto;top:46px;left:0;right:auto;max-width:100%;z-index:15}
body.agent.personal-conversation .thread{width:min(850px,100%);margin:0 auto;max-height:none;padding:28px 28px 18px;gap:22px}
body.agent.personal-conversation .turn :is(.prose,.ag-text){font-size:17px;line-height:1.8}
body.agent.personal-conversation .turn.me{align-self:flex-end;margin-left:30px;max-width:90%;padding:12px 18px;border-radius:18px;font-size:17px}
body.agent.personal-conversation .turn.ai{width:100%}
body.agent.personal-conversation .dock{width:min(850px,100%);margin:0 auto;padding:12px 24px 20px}
body.agent.personal-conversation .composer{border-radius:20px;padding:14px;position:relative}
body.agent.personal-conversation .composer textarea{font-size:18px;min-height:64px;background:transparent}
body.agent.personal-conversation .composer-tools{justify-content:flex-end;gap:12px}
body.agent.personal-conversation :is(#hold,#send){width:42px;height:42px}
body.agent.personal-conversation #send{margin-left:0;background:#7560ba}
body.agent.personal-conversation .fine{font-size:13px}
body.agent.personal-conversation .pc-plus{position:relative;margin-right:auto}
body.agent.personal-conversation .pc-plus>button{font:inherit;font-size:16px;padding:8px 12px;background:var(--platform-raised);border:1px solid var(--line);border-radius:10px;color:var(--ink)}
body.agent.personal-conversation .pc-add-menu{position:absolute;bottom:54px;left:0;width:min(310px,calc(100vw - 64px));padding:12px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 36px #0006;z-index:20;max-height:45dvh;overflow:auto}
body.agent.personal-conversation .pc-add-menu[hidden]{display:none}
body.agent.personal-conversation .pc-add-menu #attach{width:100%;height:auto;border-radius:8px;display:flex;gap:10px;justify-content:flex-start;padding:10px;font-size:16px}
body.agent.personal-conversation .pc-add-menu #attach svg{width:22px;height:22px}
body.agent.personal-conversation .pc-attach-label{display:inline}
.pc-attach-label{display:none}
body.agent.personal-conversation .pc-browser-link{display:block;padding:10px;color:var(--ink);font-size:16px;text-decoration:none}
body.agent.personal-conversation .pc-add-menu .ag-skills-wrap{margin:0;visibility:visible}
body.agent.personal-conversation .pc-add-menu .ag-skills{padding:10px;font-size:16px;width:100%;text-align:left}
body.agent.personal-conversation .pc-add-menu .ag-menu{position:static;width:100%;box-shadow:none;margin-top:4px}
body.agent.personal-conversation .ag-menu button{font-size:15px;padding:10px}
body.agent.personal-conversation .pc-welcome h2{font-size:28px;font-weight:500;margin:30px 0 14px}
body.agent.personal-conversation .pc-examples{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
body.agent.personal-conversation .pc-examples button{font:inherit;font-size:15px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--card);color:var(--ink)}
body.agent.personal-conversation .artifact-panel{top:88px;bottom:24px;right:24px;width:min(560px,calc(100vw - 310px));z-index:50}
body.agent.personal-conversation :is(.ag-b,.ag-worked,.ag-sub,.ag-note,.ag-ctx,.ag-msg,.ag-sum){font-size:14px}
@media(max-width:1200px){body.agent.personal-conversation.pc-details-open .chat.show{grid-template-columns:minmax(0,1fr) 290px}body.agent.personal-conversation .ag-page{width:290px;padding:18px}body.agent.personal-conversation .thread{padding:22px 18px}}
@media(max-width:900px){body.agent.personal-conversation.pc-details-open .chat.show{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(480px,1fr) auto;overflow:auto}body.agent.personal-conversation .ag-page{grid-column:1;grid-row:2;width:100%;max-height:none;border-left:0;border-top:1px solid var(--line)}body.agent.personal-conversation .ag-panel{position:static;height:100%;min-height:480px;margin:0;width:100%}body.agent.personal-conversation .artifact-panel{left:12px;right:12px;top:30px;width:auto}body.agent.personal-conversation .ag-head{padding:14px;gap:8px}body.agent.personal-conversation .dock{padding:12px}body.agent.personal-conversation .pc-head-button{font-size:14px}}
