@import url("./knowledge-media.css");
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#30343d;background:#fafbfc;font-synthesis:none;--muted:#8a91a1;--line:#dee2e9;--ink:#30343d;--accent:#46596f}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:2px solid #526880;outline-offset:4px}input:focus-visible,textarea:focus-visible{outline:2px solid #526880;outline-offset:2px}[hidden]{display:none!important}
main{max-width:1120px;margin:94px auto 80px}.corner{position:absolute;top:26px;right:32px;display:flex;gap:16px}.subtle{border:0;background:none;color:var(--muted);font-size:12px;padding:6px 0}.subtle span{margin-left:5px}.skip{position:fixed;top:-60px;left:20px;background:#fff;padding:12px;z-index:20}.skip:focus{top:10px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:65px}h1{font-size:30px;line-height:1.3;letter-spacing:.02em;margin:0;font-weight:650}h2{font-size:16px;line-height:1.5;font-weight:600;margin:0}.search-wrap{width:352px;position:relative;z-index:2}.search{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;padding:0 14px;height:44px}.search svg{width:17px;height:17px;stroke:var(--muted);stroke-width:1.4;fill:none;flex:none}.search input{border:0;min-width:0;width:100%;background:transparent;height:100%;outline:none;font-size:12px;color:var(--ink)}.search:focus-within{outline:2px solid #9aa8b7;outline-offset:2px}.search input::placeholder{color:var(--muted)}kbd{font:10px -apple-system,BlinkMacSystemFont,sans-serif;white-space:nowrap;color:#969dac}section+section{margin-top:47px}.section-heading{display:flex;align-items:center;gap:15px;margin-bottom:19px}.section-heading span{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:15px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;min-height:144px}.card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid var(--line);border-radius:8px;background:white;padding:29px 25px 25px;min-height:144px;transition:border-color .15s,background .15s,transform .15s}.card:hover{border-color:#a6b0bf;background:#fdfefe;transform:translateY(-2px)}.icon{width:22px;height:22px;stroke:#667286;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}.card .icon{margin-bottom:18px}.card strong{font-size:14px;font-weight:600;line-height:1.5}.card small{font-size:12px;line-height:1.7;color:var(--muted);margin-top:3px}.search-results{position:absolute;top:52px;width:100%;padding:6px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px #30343d0c}.search-result{display:flex;gap:12px;align-items:center;width:100%;padding:12px;border:0;background:white;text-align:left;border-radius:4px}.search-result:hover{background:#f4f6f8}.search-result span{display:flex;flex-direction:column;gap:4px;font-size:13px}.search-result small{font-size:11px;color:var(--muted)}.empty{padding:15px;color:var(--muted);font-size:13px}.skeleton{border:1px solid var(--line);border-radius:8px;background:#fff}.back{border:0;background:none;padding:0;margin-bottom:30px;font-size:13px;color:#667286}.tool-heading p{font-size:14px;color:#7c8491;margin:14px 0 30px}.tool-panel{max-width:800px;background:white;border:1px solid var(--line);border-radius:8px;padding:28px}.tool-panel label{display:block;font-size:14px;margin-bottom:15px}.tool-panel textarea{width:100%;height:270px;border:1px solid var(--line);border-radius:5px;resize:vertical;padding:15px;line-height:1.7;font-size:14px;color:var(--ink)}.tool-info{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:12px 0 22px}.tool-actions{display:flex;gap:10px;flex-wrap:wrap}.tool-actions button:not(.subtle),.action{border:1px solid var(--line);background:#fff;border-radius:5px;padding:9px 15px;font-size:13px}.action.primary{background:var(--accent);color:white;border-color:var(--accent)}dialog{border:1px solid var(--line);border-radius:12px;padding:26px;max-width:480px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 20px 80px #30343d22}dialog::backdrop{background:#29323e30}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-heading button{border:0;background:none;font-size:25px;line-height:1;color:var(--muted)}#dialog-body{font-size:14px;line-height:1.9;margin:18px 0;color:#667080;overflow-wrap:anywhere}#dialog-body p{margin:10px 0}#dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.status-list{list-style:none;margin:0;padding:0}.status-list li{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0f3;padding:8px 0}.status-list span{font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 36px);padding:12px 20px;background:#30343d;color:white;border-radius:7px;font-size:13px;z-index:30}#load-error{font-size:14px;color:#885843}#load-error button{margin-left:12px;border:0;background:none;text-decoration:underline}
@media(max-width:1232px){main{margin-left:56px;margin-right:56px}}@media(max-width:850px){main{margin:90px 32px 60px}.cards{grid-template-columns:repeat(2,1fr);gap:14px}.heading{margin-bottom:45px}.search-wrap{width:300px}}@media(max-width:540px){main{margin:80px 22px 45px}.corner{right:22px;top:24px}.heading{align-items:stretch;flex-direction:column;gap:25px;margin-bottom:34px}h1{font-size:27px}.search-wrap{width:100%}.search{height:44px}.card{padding:22px 20px;min-height:148px}.card small{font-size:11px}section+section{margin-top:32px}.section-heading{gap:12px;margin-bottom:14px}.section-heading span{padding-left:12px;font-size:11px}h2{font-size:15px}.tool-panel{padding:18px}.tool-panel textarea{height:300px}dialog{padding:22px}.search input{font-size:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.card:hover{transform:none}}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.internal-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:12px;color:#798595;letter-spacing:.04em;margin:0 0 10px}.internal-heading nav{display:flex;gap:6px;flex-wrap:wrap}.internal-heading nav button{border:0;background:none;padding:10px 13px;border-radius:6px;color:#798595;font-size:13px}.internal-heading nav button[aria-current=page]{background:#eaf0f5;color:#344a61;font-weight:600}.panel{border:1px solid var(--line);border-radius:9px;background:#fff;padding:28px}.gate{max-width:640px}.gate p{line-height:1.8}.gate label{display:flex;flex-direction:column;gap:9px;margin:20px 0;font-size:13px}.gate input,input[type=search],select{border:1px solid var(--line);border-radius:6px;background:#fff;padding:12px;color:var(--ink);min-width:0;max-width:100%}.gate details{margin:16px 0 24px;font-size:13px}.gate summary{cursor:pointer;color:#60758b}.muted{color:#7a8594;font-size:13px;line-height:1.8}.fine-print{color:#7a8594;font-size:12px;line-height:1.8;margin-top:22px}.filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filter-row .grow{flex:1;min-width:160px}.filter-row label.grow input{width:100%}.filter-row label{font-size:13px}.filter-row .action{flex:none}.knowledge-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.knowledge-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px}.knowledge-card:hover{border-color:#8fa0b4}.knowledge-card h2{margin:9px 0;font-size:15px}.knowledge-card p{margin-bottom:0;overflow-wrap:anywhere}.knowledge-card small{font-size:11px}.notice:empty,.notice p:empty{display:none}.notice{font-size:13px;color:#786852;line-height:1.8;margin:12px 0 20px}.notice p{margin:0}.answer-body{font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:22px 0}#knowledge-detail h2{font-size:22px;margin-top:10px}#knowledge-detail .eyebrow{margin-top:28px}#knowledge-more{margin-top:20px}.scope-note{font-size:12px;background:#f1f4f7;padding:10px 14px;color:#52667e;border-radius:6px}.question-title{font-size:19px;line-height:1.8;white-space:pre-wrap}.choices{border:0;margin:24px 0;padding:0;display:grid;gap:12px}.choice{display:flex;align-items:flex-start;gap:12px;line-height:1.8;font-size:14px;border:1px solid var(--line);padding:14px 16px;border-radius:6px;cursor:pointer}.choice:has(input:checked){border-color:#667e98;background:#f0f4f8}.choice input{flex:none;margin-top:5px;accent-color:#46596f}.feedback{padding:20px;border-radius:6px;margin-bottom:24px;font-size:14px;line-height:1.8}.feedback p{white-space:pre-wrap}.correct{background:#edf5f0;color:#3e6452}.incorrect{background:#fbf4ea;color:#805f37}.confirm-panel{background:#f6f8fb;margin-bottom:24px}.confirm-panel button{margin-right:10px}.ai-thread{max-width:840px;margin:0 auto}.ai-welcome{padding:48px 20px;text-align:center;color:#7b8696;line-height:1.8}.ai-welcome span{display:block;font-size:32px;color:#60758b;margin-bottom:20px}.ai-welcome h2{color:#46596f;font-size:22px}.ai-turn{margin-bottom:30px}.user-question{background:#eaf0f5;color:#3b5169;border-radius:8px;padding:18px 22px;white-space:pre-wrap;line-height:1.8;margin-left:10%;overflow-wrap:anywhere}.ai-answer .action{margin-right:10px}.ai-compose{max-width:840px;margin:28px auto 0}.ai-compose label{display:block;font-size:13px;margin-bottom:14px}.ai-compose textarea{resize:vertical;width:100%;border:0;padding:0;line-height:1.8;font-size:15px;min-height:100px}.ai-compose .filter-row{margin-top:18px}.ai-turn .panel+.panel{margin-top:14px}
@media(max-width:850px){.internal-heading{align-items:flex-start;flex-direction:column;gap:20px}.knowledge-list{grid-template-columns:1fr}}@media(max-width:540px){.internal-heading nav{gap:2px;width:100%;justify-content:space-between}.internal-heading nav button{padding:10px 7px;font-size:12px}.panel{padding:20px}.filter-row{gap:10px}.filter-row .grow{flex-basis:100%}.knowledge-card{padding:20px}.question-title{font-size:17px}.choice{padding:12px;font-size:13px}.ai-compose{padding:18px}.user-question{margin-left:0}.ai-welcome{padding:28px 8px}.internal-heading{margin-bottom:24px}}
/* Compact employee home: office strip, personal app dock, knowledge tools. */
#home{margin-top:76px}#home .heading{margin-bottom:36px}#home section+section{margin-top:32px}#home .section-heading{margin-bottom:14px}#home .cards{min-height:0;gap:14px}#home .card{padding:20px;min-height:104px;gap:12px;flex-direction:row;align-items:center}#home .card .icon{margin:0;flex:none;width:24px;height:24px}.card-copy{display:flex;flex-direction:column;min-width:0}#home #native-cards .card{min-height:76px;padding:16px 20px;background:#f4f6f8;border-color:transparent}#home #native-cards .card:hover{background:#eef1f5;border-color:#cdd5df;transform:none}#home #native-cards .card small{font-size:11px}.section-actions{display:flex;gap:16px;margin-left:auto}.section-actions .subtle{color:var(--accent);font-size:12px;white-space:nowrap}.shortcut-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.shortcut-item{position:relative;border:1px solid var(--line);border-radius:8px;background:#fff;min-width:0;transition:border-color .15s}.shortcut-item:hover{border-color:#9eaebf}.shortcut-launch{display:flex;align-items:center;gap:12px;padding:20px 16px;min-height:92px;color:var(--ink);text-decoration:none;border-radius:8px}.shortcut-launch img,.search-result img{width:38px;height:38px;flex:none;object-fit:contain;border-radius:9px}.shortcut-launch>span:not(.shortcut-monogram){min-width:0;display:flex;flex-direction:column;gap:5px}.shortcut-launch strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.shortcut-launch small{font-size:11px;color:#7b8594}.shortcut-monogram{width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:10px;background:#edf1f6;color:#536c85;font-size:20px;font-weight:600}.shortcut-add{display:flex;align-items:center;justify-content:center;gap:9px;background:transparent;border:1px dashed #cdd5df;border-radius:8px;color:#718095;min-height:92px;padding:16px}.shortcut-add>span{font-size:24px;font-weight:300}.shortcut-add strong{font-weight:400;font-size:12px}.shortcut-add:hover{border-color:#879aaf;background:#f3f6f9}.shortcut-edit{display:block;width:100%;border:0;border-top:1px solid #eef1f5;background:#fafbfc;border-radius:0 0 8px 8px;padding:8px;font-size:11px;color:#526880}.shortcut-footer{display:flex;justify-content:space-between;margin-top:9px}.shortcut-footer .subtle{font-size:11px;color:#7a8594}.shortcut-status{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#6d7a8b;font-size:12px}.shortcut-status:empty{display:none}.shortcut-status .subtle{color:#526880;text-decoration:underline}.shortcut-form{margin:0}.shortcut-form label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:12px;color:var(--ink)}.shortcut-form input{width:100%;border:1px solid var(--line);background:#fff;border-radius:6px;padding:10px 12px;font-size:13px;color:var(--ink)}.shortcut-form summary{cursor:pointer;font-size:12px;color:#536c85;margin:18px 0 10px}.shortcut-form .fine-print{font-size:11px;margin-top:8px}.shortcut-form .form-error{font-size:12px;color:#946243}.shortcut-form .form-error:empty{display:none}#dialog:has(.shortcut-form){max-width:500px;max-height:calc(100dvh - 40px);overflow-y:auto}.search-results a{color:var(--ink);text-decoration:none}.search .search input,#home .search input{border:0;padding:0;background:transparent;border-radius:0}
@media(max-width:1050px){.shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#home .card{padding:18px 15px;gap:10px}}
@media(max-width:850px){#home{margin-top:72px}#home .heading{margin-bottom:30px}#home #native-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#home #native-cards .card{padding:14px 10px;gap:7px}#home #native-cards .card .icon{width:19px;height:19px}#home #native-cards .card strong{font-size:12px}#home #native-cards .card small{display:none}.shortcut-launch{padding:16px 12px;min-height:84px}.shortcut-add{min-height:84px}}
@media(max-width:540px){#home{margin:72px 18px 40px}#home .heading{gap:20px;margin-bottom:28px}#home h1{font-size:26px}#home section+section{margin-top:27px}#home #native-cards .card{flex-direction:column;justify-content:center;gap:7px;min-height:72px;padding:12px 6px}#home #native-cards .card .icon{width:21px;height:21px}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shortcut-launch{padding:15px 12px;gap:10px}.shortcut-launch strong{font-size:12px}.shortcut-launch small{font-size:10px}.shortcut-launch img,.shortcut-monogram{width:34px;height:34px}#home .section-heading{gap:10px}#home .section-heading>span{padding-left:10px;font-size:10px}.section-actions{gap:10px}#home #service-cards .card{min-height:104px;padding:16px 13px;gap:10px}#home #service-cards .card strong{font-size:12px}#home #service-cards .card small{font-size:10px;line-height:1.6}#home #service-cards .icon{width:21px;height:21px}}
.shortcut-types{display:flex;padding:4px;background:#f0f3f6;border-radius:7px;gap:4px;margin:18px 0}.shortcut-types button{flex:1;background:transparent;border:0;border-radius:5px;padding:8px;font-size:13px;color:#667080}.shortcut-types button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #24354715;font-weight:600}.desktop-picker{padding:16px;border:1px solid var(--line);border-radius:8px;background:#fafbfc}.desktop-choose{display:block;text-align:center;text-decoration:none;color:var(--accent);background:#fff}.desktop-choose[aria-disabled=true]{opacity:.5;cursor:wait}.desktop-selection{display:flex;align-items:center;gap:12px;margin-bottom:12px}.desktop-selection:empty{display:none}.desktop-selection img{width:40px;height:40px;object-fit:contain}.desktop-selection strong{color:var(--ink);font-size:14px}.desktop-install summary{font-size:12px;cursor:pointer;color:#536c85}.desktop-install a{color:#46596f;margin-right:18px;font-size:12px}.desktop-install .fine-print{font-size:11px}.shortcut-form .muted{font-size:12px}
/* Five office actions and compact, copy-first service directory. */
#home #native-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}#home #native-cards .card{padding:14px;min-height:72px}

.resource-copy{font-size:12px;border:1px solid #e2e7ed;border-radius:5px;padding:7px 10px;background:#fff;color:#62748a;white-space:nowrap}.resource-copy:hover{border-color:#9daec0;background:#f2f5f8}.resource-copy-fallback input{width:100%;padding:12px;border:1px solid var(--line);border-radius:5px}.search-results{max-height:min(65vh,580px);overflow-y:auto}
.vault-home{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:18px 22px}.vault-home-main{display:flex;align-items:center;gap:16px;flex:1;min-width:0;text-align:left;border:0;background:none;padding:0;color:var(--ink)}.vault-home-main .icon{width:26px;height:26px;flex:none;margin:0;color:#718095}.vault-home-main>span:not(.vault-home-arrow){display:flex;flex-direction:column;gap:6px}.vault-home-main strong{font-size:15px}.vault-home-main small{font-size:12px;color:#8590a0}.vault-home-arrow{margin-left:auto;font-size:12px;color:var(--accent);white-space:nowrap}.vault-home>.action{font-size:12px;flex:none}
#vault{margin-top:70px}.vault-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.vault-heading h1{font-size:32px}.vault-heading .muted{margin:12px 0 0}.vault-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.vault-toolbar input{width:270px;font-size:13px}.vault-tabs{display:flex;gap:6px}.vault-tabs button{border:0;background:none;color:#7a8594;padding:10px 13px;border-radius:6px;font-size:13px}.vault-tabs button[aria-pressed=true]{background:#eaf0f5;color:#344a61;font-weight:600}.vault-list-meta{display:flex;justify-content:space-between;color:#8590a0;font-size:11px;margin-bottom:12px}.vault-list{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.vault-row{display:flex;gap:16px;align-items:center;min-width:0;padding:18px 22px;border-bottom:1px solid #edf0f3}.vault-row:last-child{border-bottom:0}.vault-row:hover{background:#fcfdff}.vault-monogram{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#f0f3f7;color:#63778e;font-size:17px;flex:none}.vault-name{display:flex;flex-direction:column;gap:6px;flex:1;min-width:90px}.vault-name strong{font-size:14px;font-weight:550;overflow-wrap:anywhere}.vault-name small{font-size:11px;color:#8a91a1;overflow-wrap:anywhere}.vault-saved{display:flex;flex-direction:column;gap:4px;width:95px;flex:none;color:#8590a0;font-size:12px}.vault-saved small{font-size:11px}.vault-saved span{letter-spacing:.08em}.vault-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.vault-actions>.subtle{font-size:11px;padding:7px 3px;color:#8590a0}.vault-open{padding:7px 12px;border-radius:5px;background:#eef2f6;color:#46596f;text-decoration:none;font-size:12px;white-space:nowrap}.vault-open:hover{background:#e3eaf1}.vault-empty{padding:40px 24px;text-align:center;color:#8590a0;font-size:14px}.vault-form label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:12px;color:var(--ink)}.vault-form input:not([type=checkbox]){width:100%;border:1px solid var(--line);border-radius:6px;padding:11px 12px;background:white;font-size:14px;color:var(--ink)}.vault-form .fine-print{font-size:11px;margin:16px 0}.vault-form .form-error{font-size:12px;color:#946243}.vault-form .form-error:empty{display:none}.vault-password-options{display:flex;align-items:center;justify-content:space-between}.vault-password-options>.subtle{font-size:12px;color:#62748a}.vault-form .vault-clear-password{flex-direction:row;align-items:center;font-size:11px;margin:0;gap:5px;color:#8590a0}#dialog:has(.vault-form){max-width:500px;max-height:calc(100dvh - 40px);overflow-y:auto}.search-results .vault-row{padding:14px;gap:10px;flex-wrap:wrap}.search-results .vault-saved{display:none}.search-results .vault-actions{width:100%;justify-content:flex-start}
@media(max-width:950px){.vault-row{flex-wrap:wrap}.vault-actions{width:100%;padding-left:54px;justify-content:flex-start}.vault-name{min-width:0}.vault-home-arrow{display:none}}
@media(max-width:540px){#home #native-cards{gap:6px}#home #native-cards .card{padding:10px 4px;min-height:66px;gap:7px}.vault-home{padding:18px 14px;gap:10px;flex-wrap:wrap}.vault-home-main{gap:12px}.vault-home-main small{font-size:10px}.vault-home>.action{font-size:11px;padding:8px}.vault-home-main strong{font-size:14px}#vault{margin:68px 18px 36px}.vault-heading{align-items:flex-start;gap:12px;margin-bottom:24px}.vault-heading h1{font-size:26px}.vault-heading>.action{font-size:12px;padding:10px;white-space:nowrap}.vault-heading .muted{font-size:11px}.vault-toolbar{flex-wrap:wrap;gap:14px}.vault-toolbar label,.vault-toolbar input{width:100%}.vault-list-meta{font-size:10px;gap:12px}.vault-row{padding:16px 14px;gap:12px}.vault-monogram{width:32px;height:32px}.vault-saved{width:74px;font-size:11px}.vault-actions{padding-left:0;gap:7px}.vault-actions .resource-copy{font-size:11px;padding:8px}.vault-name strong{font-size:13px}.vault-open{font-size:11px}.vault-password-options{gap:10px}}
@media(min-width:951px){.vault-list .vault-row{display:grid;grid-template-columns:38px minmax(160px,1fr) 95px 390px;gap:16px}.vault-list .vault-actions{width:390px}}
@media(max-width:540px){.vault-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.vault-actions>*{text-align:center}.vault-actions .subtle{padding:8px}}
/* Handoff checklist: a compact working list with clear next actions. */
#tools{margin-top:70px}.handoff-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.handoff-heading h1{font-size:32px}.handoff-heading .muted{margin:12px 0 0}.handoff-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.handoff-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:12px 3px;color:#7a8594;font-size:13px}.handoff-tabs button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);font-weight:600}.handoff-toolbar{display:flex;align-items:center;gap:12px}.handoff-search{flex:1;min-width:0}.handoff-search input{width:100%;font-size:13px}.handoff-toolbar select{font-size:13px}.handoff-toolbar .action{white-space:nowrap}.handoff-list{display:grid;gap:12px}.handoff-row{display:flex;align-items:flex-start;gap:18px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:23px 26px}.handoff-check{width:23px;height:23px;flex:none;border:1.5px solid #a8b4c3;border-radius:6px;background:#fff;color:white;padding:0;margin-top:1px;font-size:14px;line-height:20px}.handoff-check:hover{border-color:var(--accent);background:#f1f5f8}.handoff-check[aria-pressed=true]{background:#758d80;border-color:#758d80}.handoff-body{flex:1;min-width:0}.handoff-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.handoff-title h2{font-size:16px;line-height:1.65;font-weight:600;overflow-wrap:anywhere}.handoff-badge{font-size:10px;line-height:1.4;padding:3px 7px;border-radius:4px}.handoff-badge.urgent{background:#f9eee7;color:#975b3a}.handoff-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:#8190a1;margin-top:7px;line-height:1.7}.handoff-meta .overdue{color:#ac654c}.handoff-reference{font-size:12px;color:#65758a;line-height:1.8;margin:12px 0 0;overflow-wrap:anywhere}.handoff-details{margin-top:11px;color:#667587;font-size:13px;line-height:1.8}.handoff-details summary{font-size:11px;color:#8590a0;cursor:pointer}.handoff-details p{white-space:pre-wrap;margin:6px 0 0;overflow-wrap:anywhere}.handoff-actions{display:flex;gap:20px;justify-content:flex-end;margin-top:15px}.handoff-actions .subtle{font-size:12px;padding:4px 0;color:#6d7f94}.handoff-actions .subtle:first-child{color:#46596f;font-weight:550}.handoff-row.is-done .handoff-title h2{color:#84918a;text-decoration:line-through}.handoff-empty{text-align:center;border:1px dashed #cdd5df;border-radius:10px;background:#f9fafc;padding:65px 24px}.handoff-empty h2{font-size:18px;margin-bottom:12px;color:#596d84}.handoff-empty p{font-size:13px;color:#8590a0;line-height:1.8;max-width:410px;margin:0 auto 24px}.handoff-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.handoff-form label{display:flex;flex-direction:column;gap:7px;color:var(--ink);font-size:12px;min-width:0}.handoff-form input,.handoff-form select,.handoff-form textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink);font-family:inherit;font-size:13px}.handoff-form textarea{resize:vertical;line-height:1.8}.handoff-wide{grid-column:1/-1}.handoff-form .fine-print{margin:0;font-size:11px}.handoff-form .form-error{margin:0;color:#946243;font-size:12px}.handoff-form .form-error:empty{display:none}#dialog:has(.handoff-form){max-width:590px;max-height:calc(100dvh - 40px);overflow-y:auto}.handoff-copy-text{width:100%;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:6px;font-size:13px;line-height:1.8}.action:disabled{opacity:.45;cursor:default}#handoff-result:empty,#handoff-status:empty{display:none}
@media(max-width:540px){#tools{margin:68px 18px 36px}.handoff-heading{align-items:flex-start;gap:12px;margin-bottom:24px}.handoff-heading h1{font-size:26px}.handoff-heading .muted{font-size:11px}.handoff-heading>.action{font-size:12px;padding:9px 11px;white-space:nowrap}.handoff-tabs{gap:20px;margin-bottom:18px}.handoff-tabs button{font-size:12px;padding:10px 0}.handoff-toolbar{flex-wrap:wrap;gap:10px}.handoff-search{flex-basis:100%}.handoff-toolbar>label:not(.handoff-search){flex:1}.handoff-toolbar select{width:100%}.handoff-row{padding:18px 14px;gap:12px}.handoff-check{width:21px;height:21px}.handoff-title h2{font-size:14px}.handoff-meta{font-size:10px;gap:5px 10px}.handoff-details{font-size:12px}.handoff-actions{gap:20px}.handoff-actions .subtle{font-size:11px}.handoff-form{grid-template-columns:1fr;gap:12px}.handoff-wide{grid-column:auto}.handoff-empty{padding:40px 20px}}
/* A quiet navigation rail; AI entry points stay beside the user's daily work. */
body{padding-left:190px}.sidebar{position:fixed;inset:0 auto 0 0;width:190px;background:#f1f3f6;border-right:1px solid #e5e8ed;z-index:4;overflow-y:auto}.sidebar-content{padding:29px 14px 24px}.sidebar summary{display:none}.sidebar-brand{border:0;background:none;display:flex;align-items:center;gap:10px;padding:0 10px 30px;font-size:15px;font-weight:650;white-space:nowrap}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar nav>button,.sidebar-ai{display:flex;align-items:center;gap:11px;min-height:40px;padding:9px 12px;border:0;border-radius:6px;background:none;color:#626f80;font-size:13px;text-align:left;text-decoration:none}.sidebar nav>button>span{width:21px;text-align:center;font-size:18px;color:#8795a6}.sidebar nav>button:hover,.sidebar-ai:hover{background:#e8ecf1}.sidebar nav>button[aria-current=page]{background:#fff;color:#344a61;box-shadow:0 1px 3px #33496208;font-weight:600}.sidebar-label{display:flex;justify-content:space-between;align-items:center;margin:24px 12px 6px;font-size:10px;color:#8a94a2;letter-spacing:.05em}.sidebar-label small{font-size:9px;letter-spacing:0}.sidebar-external{margin-left:auto;font-size:11px;color:#a0a9b5}.sidebar-note{border-top:1px solid #e0e5eb;margin:26px 10px 0;padding-top:16px;color:#8a94a2;font-size:10px;line-height:1.9}.sidebar-ai[aria-disabled=true]{opacity:.5;cursor:wait}
#home,#ai-tools,#vault,#tools,#internal,#courier{width:calc(100% - 72px);max-width:1120px;margin:76px auto 64px}.corner{right:36px}.ai-tools-heading{margin-bottom:30px}.ai-tools-heading h1{font-size:29px;font-weight:650;letter-spacing:.02em}.ai-tools-heading .muted{font-size:14px;margin:12px 0 0}.ai-tools-heading .eyebrow{font-size:11px;margin:0 0 14px;color:#8190a1}.ai-providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.ai-provider{padding:24px;min-width:0;border-right:1px solid var(--line)}.ai-provider:last-child{border:0}.ai-provider-heading{display:flex;align-items:center;gap:13px;margin-bottom:22px}.ai-provider-heading h2{font-size:17px}.ai-provider-heading p{font-size:11px;color:#8792a1;margin:5px 0 0}.ai-mark{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;font-size:19px;font-weight:650;line-height:1;background:#edf0f5;color:#51637c}.ai-mark.doubao{color:#65616d;background:#f2edf2}.ai-mark.qianwen{color:#655775;background:#efedf5}.ai-mark.deepseek{color:#476ab1;background:#edf2fc;font-family:Georgia,serif;font-style:italic}.sidebar .ai-mark{width:22px;height:22px;border-radius:6px;font-size:12px}.ai-provider-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.ai-provider-actions .action{font-size:12px;text-decoration:none;padding:9px 12px}.ai-browser-link{color:#718399;font-size:11px;text-underline-offset:4px;text-decoration-color:#c3ccd8}.ai-access-note{font-size:11px;line-height:1.9;color:#8390a0;margin:12px 0 38px}.ai-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.ai-prompt-heading h2{font-size:16px}.ai-prompt-heading>span{font-size:11px;color:#8590a0}.ai-prompt-layout{display:grid;grid-template-columns:180px minmax(0,1fr);border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}#ai-template-tabs{padding:12px;background:#f5f7f9;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:7px}.ai-template-tab{border:1px solid transparent;background:none;border-radius:6px;text-align:left;padding:14px 10px;display:flex;flex-direction:column;gap:7px}.ai-template-tab strong{font-size:13px;font-weight:550;color:#65768a}.ai-template-tab small{font-size:10px;color:#93a0ad;line-height:1.7}.ai-template-tab[aria-pressed=true]{background:#fff;border-color:#dce3eb}.ai-template-tab[aria-pressed=true] strong{color:#354d65}.ai-template-editor{padding:25px 27px;min-width:0}.ai-template-editor label{display:block;font-size:14px;font-weight:600;margin-bottom:16px}.ai-template-editor textarea{display:block;width:100%;min-height:300px;resize:vertical;border:1px solid #e1e6ed;border-radius:5px;background:#fcfdfe;padding:16px;font-size:12px;line-height:1.95;color:#56677b}.ai-template-editor>p{color:#8a96a5;font-size:10px;line-height:1.8;margin:13px 0}.ai-template-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.ai-template-actions .action{font-size:12px;padding:10px 18px}.ai-template-actions .subtle{font-size:11px}#ai-template-status{margin:12px 0 0;color:#536e65}#ai-template-status:empty{display:none}.ai-knowledge-tip{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:11px;color:#8995a4}.ai-knowledge-tip .subtle{color:#5e748c;font-size:11px}.search-results a.search-result{text-decoration:none;color:inherit}.search-results .ai-mark{width:25px;height:25px;font-size:14px}
@media(min-width:801px) and (max-width:1200px){#home #native-cards .card{flex-direction:column;align-items:center;text-align:center;gap:8px;padding:12px 5px}#home #native-cards .card small{font-size:10px}#home #service-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vault-list .vault-row{display:flex;flex-wrap:wrap}.vault-list .vault-actions{width:100%;justify-content:flex-start;padding-left:54px}.ai-provider{padding:19px 15px}.ai-provider-actions{gap:13px}.ai-prompt-layout{grid-template-columns:155px minmax(0,1fr)}.ai-template-editor{padding:23px 20px}.ai-prompt-heading{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:800px){body{padding-left:0}.sidebar{position:relative;inset:auto;width:100%;overflow:visible;border-right:0;border-bottom:1px solid #e5e8ed}.sidebar summary{display:flex;align-items:center;gap:10px;padding:16px 18px;font-size:13px;color:#46596f;cursor:pointer;list-style:none}.sidebar summary::-webkit-details-marker{display:none}.sidebar summary>span{margin-left:auto}.sidebar-brand,.sidebar-note{display:none}.sidebar-content{padding:0 18px 18px}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}.sidebar-label{grid-column:1/-1;margin:16px 12px 4px}#sidebar-ai-links{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-ai{font-size:12px;gap:7px;padding:10px 6px}.sidebar-external{font-size:9px}.sidebar nav>button{font-size:12px}.corner{position:relative;top:auto;right:auto;justify-content:flex-end;padding:13px 18px 0}#home,#ai-tools,#vault,#tools,#internal,#courier{width:calc(100% - 36px);margin:24px auto 36px}.ai-tools-heading h1{font-size:25px}.ai-tools-heading .muted{font-size:12px}.ai-providers{grid-template-columns:1fr}.ai-provider{border-right:0;border-bottom:1px solid var(--line);padding:18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.ai-provider-heading{margin:0;gap:11px}.ai-provider-heading h2{font-size:15px}.ai-provider-actions{gap:11px}.ai-provider-actions .action{font-size:11px}.ai-prompt-heading{align-items:flex-start;flex-direction:column;gap:8px}.ai-prompt-layout{grid-template-columns:1fr}#ai-template-tabs{border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px}.ai-template-tab{padding:10px 2px;text-align:center;align-items:center}.ai-template-tab strong{font-size:11px}.ai-template-tab small{display:none}.ai-template-editor{padding:20px 17px}.ai-template-editor textarea{padding:12px;min-height:330px}.ai-access-note{font-size:10px;margin-bottom:28px}.ai-knowledge-tip{flex-wrap:wrap;gap:4px}.ai-provider-actions{flex-direction:column;gap:8px}.ai-browser-link{font-size:10px}.ai-provider .ai-mark{width:31px;height:31px;font-size:16px}.ai-provider-heading p{font-size:10px}.sidebar summary:focus-visible{outline:2px solid #526880;outline-offset:-3px}}
/* v12: work happens in DingTalk's QwenWork; other providers are compact shortcuts. */
.ai-brand-icon{display:block;flex:none;width:30px;height:30px;object-fit:contain;border-radius:8px;background:#fff}.ai-brand-icon.qianwen{padding:4px;background:#6554eb}.sidebar .ai-brand-icon{width:21px;height:21px;border-radius:5px}.sidebar .ai-brand-icon.qianwen{padding:3px}.search-result .ai-brand-icon{width:25px;height:25px}.ai-native-feature{background:#fff;border:1px solid #dae2e9;border-radius:12px;padding:28px 30px;box-shadow:0 3px 12px #20334604}.ai-native-top{display:flex;align-items:center;gap:14px}.ai-native-top .ai-brand-icon{width:44px;height:44px}.ai-native-top h2{font-size:22px;letter-spacing:0;font-weight:650}.ai-native-top .eyebrow{font-size:11px;margin-bottom:6px}.ai-free-label{margin-left:auto;background:#edf5f0;color:#527862;border:1px solid #dcebe1;padding:5px 9px;border-radius:5px;font-size:11px;white-space:nowrap}.ai-native-description{font-size:14px;color:#738091;line-height:1.9;margin:22px 0}.ai-native-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}.ai-native-bottom>span{color:#7c8998;font-size:12px;line-height:1.8}.ai-native-bottom>span>span{padding:0 9px;color:#c1c9d2}.ai-native-bottom a{text-decoration:none;display:inline-flex;align-items:center;min-height:43px;font-size:13px;padding:11px 19px}.ai-free-note{font-size:11px;line-height:1.9;color:#818d9c;margin:12px 2px 32px}.ai-free-note a{color:#687f97;text-underline-offset:3px;white-space:nowrap}.ai-other-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.ai-other-heading h2{font-size:14px;font-weight:600}.ai-other-heading label{font-size:11px;color:#8491a0}.ai-other-heading select{font-size:11px;padding:6px 7px;margin-left:5px;color:#617285;background:transparent;border:0;cursor:pointer}.ai-compact-links{display:flex;align-items:center;gap:12px}.ai-compact-link{display:flex;align-items:center;gap:10px;text-decoration:none;background:#fff;border:1px solid #dfe5ec;border-radius:8px;padding:13px 17px;color:#374657;min-width:0;flex:1;font-size:14px;transition:border-color .15s,background .15s}.ai-compact-link:hover{border-color:#a5b3c4;background:#fcfdff}.ai-compact-link .ai-link-arrow{margin-left:auto;color:#9ba7b5;font-size:12px}.ai-other-tools .ai-access-note{margin:11px 0 29px;font-size:11px}.ai-prompt-workspace{border-top:1px solid #e0e5ec;margin-top:0;padding-top:0}.ai-prompt-workspace>summary{display:flex;align-items:center;justify-content:space-between;padding:19px 0;font-size:13px;color:#677a8f;cursor:pointer;list-style:none}.ai-prompt-workspace>summary::-webkit-details-marker{display:none}.ai-prompt-workspace>summary span{font-size:18px;color:#8e9dad}.ai-prompt-workspace[open]>summary span{transform:rotate(45deg)}.ai-prompt-workspace[open]{padding-bottom:8px}.ai-template-editor textarea{min-height:210px}.ai-prompt-heading h2{font-size:14px}.ai-knowledge-tip{margin-top:12px}.ai-tools-heading{margin-bottom:25px}.ai-tools-heading h1{font-size:28px}.ai-tools-heading .muted{font-size:13px}
@media(max-width:800px){#sidebar-ai-links{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-native-feature{padding:21px}.ai-native-top h2{font-size:20px}.ai-native-top .ai-brand-icon{width:38px;height:38px}.ai-native-description{font-size:13px;margin:19px 0}.ai-native-bottom{align-items:flex-start;flex-direction:column;gap:17px}.ai-native-bottom>span{font-size:11px}.ai-native-bottom a{font-size:12px}.ai-compact-links{gap:8px}.ai-compact-link{flex-direction:column;justify-content:center;gap:9px;padding:13px 6px;font-size:12px}.ai-compact-link .ai-link-arrow{display:none}.ai-brand-icon{width:28px;height:28px}.ai-free-label{font-size:10px;padding:4px 6px}.ai-native-top{gap:10px}.ai-native-top .eyebrow{font-size:10px}.ai-free-note{font-size:10px;margin-bottom:27px}.ai-prompt-workspace>summary{font-size:12px}.ai-other-heading select{max-width:103px}.ai-template-editor textarea{min-height:240px}.ai-tools-heading h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.ai-compact-link{transition:none}}

/* Daily launcher: keep the common desktop home within one viewport without scaling text. */
#home .shortcut-add-action{font-size:12px;min-height:34px;padding:7px 11px;white-space:nowrap;color:var(--accent)}
#home .shortcut-add-action:hover{background:#f3f6f9;border-color:#a6b0bf}
#home .shortcut-add-action>span{border:0;padding:0;color:inherit;font-size:14px}
@media(min-width:801px){
  #home{width:calc(100% - 56px);margin:56px auto 24px}
  #home .heading{margin-bottom:24px}
  #home h1{font-size:28px}
  #home section+section{margin-top:22px}
  #home .section-heading{margin-bottom:10px;min-height:26px}
  #home .cards{gap:12px}
  #home #native-cards .card{flex-direction:row;text-align:left;min-height:64px;padding:12px;gap:10px}
  #home #native-cards .card small{font-size:11px}
  #home #service-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
  #home #service-cards .card{min-height:78px;padding:14px;gap:12px}
  #home .shortcut-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
  #home .shortcut-launch{min-height:78px;padding:15px 12px;gap:10px}
  #home .shortcut-launch img,#home .shortcut-monogram{width:32px;height:32px;border-radius:8px}
  #home .shortcut-footer{margin-top:5px}
  #home .vault-home{padding:13px 18px;min-height:64px}
  .sidebar-content{padding:20px 14px 18px}
  .sidebar-brand{padding-bottom:20px}
  .sidebar nav{gap:3px}
  .sidebar nav>button,.sidebar-ai{min-height:35px;padding:7px 12px}
  .sidebar-label{margin-top:16px;margin-bottom:4px}
  .sidebar-note{margin-top:16px;padding-top:12px}
}
@media(min-width:801px) and (max-width:1100px){
  #home #native-cards .card{justify-content:center;gap:8px;padding:12px 8px}
  #home #native-cards .card small{display:none}
  #home .shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  #home #service-cards .card{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}
  #home #service-cards .card small{font-size:11px}
  #home #quick-work .section-heading>span{display:none}
}
@media(min-width:801px) and (max-height:740px){
  .corner{top:8px}
  #home{margin-top:40px;margin-bottom:16px}
  #home .heading{margin-bottom:16px}
  #home section+section{margin-top:16px}
  #home .section-heading{margin-bottom:8px}
  #home #service-cards .card{min-height:72px}
  #home .shortcut-launch{min-height:72px;padding-top:12px;padding-bottom:12px}
  .sidebar nav{gap:2px}
  .sidebar nav>button,.sidebar-ai{min-height:32px;padding-top:5px;padding-bottom:5px}
  .sidebar-label{margin-top:12px}
  .sidebar-note{display:none}
}
@media(max-width:800px){
  #home .section-heading{flex-wrap:wrap}
  #home #quick-work .section-heading>span{display:none}
  #home .section-actions{gap:12px;flex-wrap:wrap;justify-content:flex-end}
  #home .shortcut-add-action{min-height:36px;font-size:11px;padding:7px 9px}
  #home .shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:540px){
  #home .shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #home .shortcut-launch{min-height:76px}
  #home .heading{gap:16px;margin-bottom:24px}
  #home section+section{margin-top:24px}
  #home #service-cards .card{min-height:88px}
}

/* Shared and personal vault records keep their visibility explicit. */
.vault-scope{align-self:flex-start;border-radius:4px;padding:2px 6px;background:#f0f3f7;color:#718094;font-size:10px;line-height:1.4}.vault-scope.shared{background:#e9f2ee;color:#4d7769}.vault-tabs{flex-wrap:wrap}.vault-toolbar{flex-wrap:wrap}.vault-list-meta{align-items:center}.vault-list-meta .subtle{font-size:11px}
@media(max-width:540px){.vault-tabs{gap:3px}.vault-tabs button{font-size:12px;padding:8px}.vault-heading>.action{white-space:normal;max-width:104px}.vault-home>.action{white-space:nowrap}}

/* Dense vault rows: keep names readable and frequent actions in sight. */
#vault{margin-top:56px}
#vault>.back{margin-bottom:18px}
.vault-heading{margin-bottom:20px}
.vault-heading h1{font-size:28px}
.vault-heading .eyebrow{margin-bottom:7px}
.vault-heading .muted{margin-top:6px}
.vault-toolbar{gap:12px;margin-bottom:10px}
.vault-toolbar input{padding:9px 11px}
.vault-tabs button{padding:8px 11px}
.vault-list-meta{margin-bottom:8px}
.vault-list .vault-row{padding:10px 16px;gap:12px;min-height:64px}
.vault-monogram{width:32px;height:32px;border-radius:7px;font-size:15px}
.vault-name{gap:4px;min-width:0}
.vault-name-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vault-name strong{line-height:1.4}
.vault-name-heading .vault-scope{align-self:center;flex:none;white-space:nowrap;padding:1px 5px}
.vault-name small{line-height:1.4}
.vault-saved{gap:2px;width:80px;line-height:1.4}
.vault-list .vault-actions{gap:6px;padding-left:0}
.vault-actions .resource-copy,.vault-actions .vault-open{padding:6px 9px;min-height:32px;line-height:18px}
.vault-actions>.subtle{padding:6px 3px;min-height:32px;line-height:18px}
@media(min-width:1100px){
  .vault-list .vault-row{display:grid;grid-template-columns:32px minmax(160px,1fr) 80px 345px}
  .vault-list .vault-actions{display:flex;width:auto;justify-content:flex-end;flex-wrap:nowrap}
}
@media(min-width:541px) and (max-width:1099px){
  .vault-list .vault-row{display:grid;grid-template-columns:32px minmax(0,1fr) 80px;gap:8px 12px}
  .vault-list .vault-actions{width:auto;grid-column:2 / -1;justify-content:flex-start}
}
@media(max-width:540px){
  #vault{margin-top:24px}
  .vault-heading h1{font-size:25px}
  .vault-list .vault-row{display:grid;grid-template-columns:28px minmax(0,1fr) 66px;padding:11px 12px;gap:9px}
  .vault-monogram{width:28px;height:28px;font-size:14px}
  .vault-name-heading{gap:4px 6px}
  .vault-saved{width:66px;font-size:10px}
  .vault-saved small{font-size:10px}
  .vault-list .vault-actions{width:100%;grid-column:1 / -1;gap:6px}
  .vault-actions .resource-copy,.vault-actions .vault-open,.vault-actions>.subtle{min-height:36px;padding:8px 6px}
}

/* One compact purchase-platform control stays beside New question above the conversation. */
.ai-assistant-toolbar{align-items:center;gap:16px;margin-bottom:20px}
.ai-assistant-toolbar>.grow{margin:0}
.ai-toolbar-actions{display:flex;align-items:center;gap:10px;flex:0 1 280px;min-width:0;max-width:100%;margin-left:auto}
.ai-platform-switch{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;margin:0;color:var(--accent);font-size:13px}
.ai-platform-switch>span{flex:none}
.ai-platform-select{flex:1 1 auto;width:140px;min-width:0;min-height:40px;padding:8px;color:var(--accent);font:inherit;cursor:pointer}
.ai-platform-select:focus-visible{outline:2px solid #526880;outline-offset:3px}
.ai-platform-select:disabled{cursor:default;opacity:.5}
.ai-toolbar-actions #ai-new{min-height:40px;white-space:nowrap;flex:none}
.ai-review-note{margin:13px 0 0;color:#718094;font-size:11px;line-height:1.7}
.ai-turn-platform{margin:10px 0;color:#718094;font-size:12px}
.ai-response-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;margin:18px 0;padding-top:14px;border-top:1px solid var(--line)}
.ai-feedback-label{color:#60758b;font-size:12px}
.ai-feedback-options{display:flex;flex-wrap:wrap;gap:7px}
.ai-feedback-option.action{min-height:34px;padding:6px 10px;color:#60758b;font-size:12px}
.ai-feedback-option:hover:not(:disabled),.ai-feedback-option[aria-pressed=true]{color:#344a61;border-color:#8fa0b4;background:#eaf0f5}
.ai-feedback-status{flex-basis:100%;margin:0;color:#60758b;font-size:12px;line-height:1.6}
.ai-feedback-status:empty{display:none}
@media(max-width:540px){.ai-toolbar-actions{flex-basis:100%;width:100%;max-width:none;margin-left:0}.ai-platform-select,.ai-toolbar-actions #ai-new{min-height:42px}.ai-feedback-option.action{min-height:40px}}

/* Staff answer reading layout. Keep other workbench pages and their actions unchanged. */
#internal:has(#assistant-view:not([hidden])) { margin-top: 34px; }
#internal:has(#assistant-view:not([hidden])) .internal-heading { margin-bottom: 18px; }
#assistant-view { margin-top: 0; }
#assistant-view .ai-assistant-toolbar { position: sticky; top: 8px; z-index: 4; display: flex; padding: 0 0 10px; margin: 0 auto 12px; max-width: 840px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fafbfc; }
#assistant-view .ai-toolbar-actions { display: flex; flex-wrap: nowrap; align-items: center; flex: 1 1 0; width: 100%; min-width: 0; max-width: none; margin: 0; gap: 10px; }
#assistant-view .ai-platform-switch { flex: 0 1 auto; min-width: 0; color: #46596f; font-size: 14px; font-weight: 600; gap: 8px; }
#assistant-view .ai-platform-select { flex: 0 1 140px; width: 140px; min-height: 40px; padding: 7px 10px; border: 1.5px solid #1769e0; border-radius: 6px; color: #0d4fae; background: #fff; font-size: 14px; font-weight: 600; }
#assistant-view .ai-toolbar-actions #ai-new { min-height: 40px; margin-left: auto; padding: 8px 13px; }
#assistant-view .ai-thread:empty { display: none; }
#assistant-view .ai-turn { margin-bottom: 18px; scroll-margin-top: 80px; }
#assistant-view .user-question { padding: 10px 14px; margin-top: 0; margin-bottom: 8px; font-size: 15px; line-height: 1.65; }
#assistant-view .ai-turn-platform { margin: 5px 0 8px; }
#assistant-view .panel { padding: 14px 16px; }
#assistant-view .ai-answer { border-color: #b8dfd2; border-left: 3px solid #087b5b; background: #fcfffd; }
#assistant-view .ai-answer-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#assistant-view .ai-answer-heading h2 { color: #087b5b; font-size: 14px; flex: none; }
#assistant-view .ai-answer-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
#assistant-view .ai-answer-actions .action { min-height: 36px; margin: 0; padding: 7px 10px; font-size: 13px; }
#assistant-view .ai-answer-actions .action:first-child { color: #087b5b; background: #edf8f3; border-color: #bedccd; }
#assistant-view .ai-answer-title { color: #456255; margin: 6px 0; font-size: 13px; line-height: 1.5; font-weight: 500; }
#assistant-view .answer-body { font-size: 16px; line-height: 1.7; margin: 8px 0 2px; }
#assistant-view .ai-answer-details > summary, #assistant-view .ai-answer-source > summary { padding: 8px 0; font-size: 13px; line-height: 1.55; color: #456255; cursor: pointer; }
#assistant-view summary:focus-visible { outline: 2px solid #1769e0; outline-offset: 3px; }
#assistant-view .ai-answer-source { margin-top: 8px; border-top: 1px solid #dcebe3; }
#assistant-view .ai-answer-source .fine-print { margin: 4px 0; }
#assistant-view .ai-response-feedback { margin: 12px 0; padding-top: 10px; }
#assistant-view .ai-compose { margin-top: 12px; }
#assistant-view .ai-thread:empty + .ai-compose { margin-top: 0; }
#assistant-view .ai-compose label { margin-bottom: 8px; }
#assistant-view .ai-compose textarea { display: block; min-height: 78px; }
#assistant-view .ai-compose .filter-row { margin-top: 12px; }
@media(max-width:540px) {
 #internal:has(#assistant-view:not([hidden])) { margin-top: 18px; }
 #internal:has(#assistant-view:not([hidden])) .internal-heading { gap: 12px; }
 #internal:has(#assistant-view:not([hidden])) .back { margin-bottom: 18px; }
 #assistant-view .ai-assistant-toolbar { top: 5px; padding-bottom: 8px; margin-bottom: 10px; }
 #assistant-view .ai-toolbar-actions { gap: 8px; }
 #assistant-view .ai-platform-switch { flex: 0 1 auto; font-size: 14px; gap: 7px; }
 #assistant-view .ai-platform-select { width: 132px; min-height: 44px; font-size: 16px; }
 #assistant-view .ai-toolbar-actions #ai-new { min-height: 44px; padding: 8px 12px; font-size: 14px; }
 #assistant-view .ai-compose textarea { font-size: 16px; }
 #assistant-view .panel { padding: 11px 12px; }
 #assistant-view .answer-body { font-size: 15px; line-height: 1.7; }
 #assistant-view .ai-answer-actions .action { min-height: 40px; padding: 7px 8px; font-size: 12px; }
 #assistant-view .user-question { margin-left: 4%; }
}

/* Keep question actions together; image previews and errors appear only when present. */
#assistant-view .ai-compose .qa-images { margin: 0; }
#assistant-view .qa-image-list:empty { display: none; }
#assistant-view .ai-compose-actions { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; }
#assistant-view .ai-compose-actions .qa-images-toolbar { flex: 1 1 auto; min-width: 0; gap: 6px 9px; }
#assistant-view .ai-compose-actions .qa-image-add { min-height: 40px; padding: 7px 10px; }
#assistant-view .ai-compose-actions .qa-image-hint { font-size: 12px; }
#assistant-view #ai-submit { min-height: 40px; padding: 9px 15px; white-space: nowrap; }
#assistant-view .ai-compose-help { margin: 8px 0 0; color: #637488; font-size: 12px; line-height: 1.6; }
#assistant-view .ai-compose-help summary { width: fit-content; padding: 3px 0; cursor: pointer; }
#assistant-view .ai-compose-help p { margin: 4px 0 0; }
@media(max-width:540px) {
 #assistant-view .ai-compose-actions { gap: 8px; }
 #assistant-view .ai-compose-actions .qa-image-add, #assistant-view #ai-submit { min-height: 44px; font-size: 14px; }
 #assistant-view .ai-compose-actions .qa-image-hint { font-size: 11px; }
 #assistant-view .ai-compose-help summary { min-height: 36px; padding: 8px 0; }
}

/* Image drafts stay alongside the question, with the same layout in both entrances. */
.qa-images{margin:10px 0 12px;color:#0b2542;font-size:13px}.qa-images-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.qa-image-add,.qa-image-remove{font:inherit;cursor:pointer}.qa-image-add{border:1px solid #bed0e7;background:#fff;border-radius:7px;padding:7px 11px;color:#1769e0}.qa-image-add:focus-visible,.qa-image-remove:focus-visible{outline:3px solid #1769e0;outline-offset:2px}.qa-image-hint{color:#546b82;font-size:12px}.qa-image-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.qa-image-preview{margin:0;position:relative;width:98px;padding:4px;border:1px solid #d4dfec;border-radius:8px;background:#f3f7fc}.qa-image-preview img{display:block;width:88px;height:72px;object-fit:contain;background:white;border-radius:4px}.qa-image-preview figcaption{font-size:11px;line-height:24px;padding-left:2px}.qa-image-remove{position:absolute;right:4px;bottom:4px;border:0;background:transparent;color:#365777;font-size:12px;padding:3px}.qa-image-status{font-size:12px;line-height:1.6;margin:6px 0 0;color:#49637d;overflow-wrap:anywhere}.qa-image-status:empty{display:none}.qa-image-status.is-error{color:#a32720}.qa-images button:disabled{opacity:.5;cursor:default}.qa-image-understanding{font-size:12px;line-height:1.6;color:#546b82;margin:8px 0 14px;padding-left:10px;border-left:2px solid #bed0e7}@media(max-width:420px){.qa-image-hint{font-size:11px}.qa-image-list{gap:7px}.qa-image-preview{width:91px}.qa-image-preview img{width:81px}}

/* Knowledge conditions stay separate; only the selected answer is shown and copied. */
#knowledge-detail .knowledge-branches{margin:14px 0;max-width:840px}
#knowledge-detail .knowledge-staff-notes{margin:6px 0;font-size:13px;line-height:1.65;color:#52667e}
#knowledge-detail .knowledge-staff-notes summary{cursor:pointer;padding:5px 0}
#knowledge-detail .knowledge-staff-notes ul,#knowledge-detail .knowledge-staff-notes ol{margin:6px 0 10px;padding-left:22px;overflow-wrap:anywhere}
#knowledge-detail .knowledge-followup{display:flex;align-items:flex-start;gap:8px 14px;flex-wrap:wrap;margin:10px 0}
#knowledge-detail .knowledge-followup p{flex:1 1 260px;margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
#knowledge-detail .knowledge-branch-choices{min-width:0;border:0;margin:12px 0;padding:0}
#knowledge-detail .knowledge-branch-choices legend{padding:0;margin-bottom:8px;font-size:13px;color:#52667e}
#knowledge-detail .knowledge-branch-choices>div{display:flex;flex-wrap:wrap;gap:8px}
#knowledge-detail .knowledge-branch-choices .action{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;min-height:44px;padding:8px 12px;font-size:13px;line-height:1.5}
#knowledge-detail .knowledge-branch-choices [aria-pressed=true]{border-color:#647f9a;background:#eaf0f5;color:#344a61}
#knowledge-detail .knowledge-branch-answer .answer-body{margin:10px 0;font-size:15px;line-height:1.75}
#knowledge-detail .knowledge-branch-answer .scope-note{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#knowledge-detail .knowledge-branches button:focus-visible,#knowledge-detail .knowledge-branches summary:focus-visible{outline:2px solid #1769e0;outline-offset:3px}
@media(max-width:540px){#knowledge-detail .knowledge-followup p{flex-basis:100%}#knowledge-detail .knowledge-branch-choices>div{gap:6px}}

/* Courier lookup: compact home action, dedicated form, provider-owned results. */
#courier{margin-top:38px}.courier-heading{margin-bottom:18px}.courier-heading .eyebrow{display:none}.courier-heading h1{margin:0 0 8px;font-size:27px}.courier-heading .muted{margin:0;font-size:13px}
.courier-panel{max-width:880px;padding:20px;border:1px solid var(--line);border-radius:12px;background:white}
.courier-provider{display:flex;align-items:center;gap:12px;margin-bottom:16px}.courier-provider strong{font-size:18px}.courier-provider span{font-size:13px;color:var(--muted)}
.courier-fields{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.courier-fields label{display:grid;align-content:start;gap:7px;font-size:14px;font-weight:600}.courier-fields input,.courier-fields select{width:100%;min-width:0;min-height:46px;font-size:16px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink)}
.courier-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
#courier-note,.courier-help,#courier-status{font-size:13px;line-height:1.7}.courier-help{max-width:880px;color:#657589;margin-top:18px}#courier-note{margin:14px 0 0;font-size:12px}#courier-status{margin:8px 0 0}#courier-status:empty{display:none}#courier-fallback{display:inline-block;margin-top:8px;color:#465e78}#courier-fallback[hidden]{display:none}
@media(max-width:600px){.courier-fields{grid-template-columns:1fr}.courier-panel{padding:18px}.courier-actions .action{min-height:44px}.courier-home-action{min-height:38px}.courier-heading{margin-bottom:18px}}
/* v17: readable in-page tracking; the original website remains a secondary action. */
.courier-fields label[hidden]{display:none}.courier-fields label small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.6}
#courier-phone-field{grid-column:1/-1;max-width:410px}
.courier-backup{display:flex;align-items:center;gap:18px;margin-top:18px;flex-wrap:wrap;font-size:13px;color:#7b8999}.courier-backup .subtle{font-size:13px}
.courier-help{margin:10px 0 22px;font-size:12px}
.courier-result{max-width:880px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px 26px}
.courier-result-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.courier-result-heading h2{font-size:21px;color:#376854;margin:0}.courier-result-heading p{font-size:14px;margin:8px 0 0;color:#556779;overflow-wrap:anywhere}#courier-result-source{font-size:11px;margin:14px 0 24px}
.courier-events{list-style:none;padding:0;margin:0}.courier-events li{display:grid;grid-template-columns:145px minmax(0,1fr);gap:24px;padding:0 0 23px}.courier-events li:last-child{padding-bottom:0}.courier-events time{font-size:12px;line-height:1.8;color:#7c8997;font-variant-numeric:tabular-nums}.courier-events li>div{position:relative;border-left:1px solid #e0e7ed;padding-left:20px}.courier-events li>div:before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#c4cfd8;left:-4px;top:6px}.courier-events li:first-child>div:before{background:#518773}.courier-events strong{font-size:14px;font-weight:600}.courier-events p{font-size:13px;line-height:1.8;color:#657588;margin:7px 0 0;overflow-wrap:anywhere}
@media(max-width:600px){.courier-result{padding:20px 18px}.courier-result-heading{align-items:flex-start}.courier-result-heading h2{font-size:19px}.courier-result-heading .action{white-space:nowrap;padding:8px 10px;font-size:12px}.courier-events li{grid-template-columns:1fr;gap:7px}.courier-events time{padding-left:20px}.courier-backup{gap:14px}.courier-provider{align-items:flex-start;flex-direction:column;gap:6px}.courier-provider strong{font-size:18px}}

/* Installation replies: compact reading, complete source kept separately. */
.kb-answer-compact .kb-answer-lead{font-size:16px;line-height:1.55;margin:10px 0 6px;color:#263d34;font-weight:550}
.kb-answer-compact .kb-answer-scope{font-size:12px;line-height:1.5;margin:5px 0;color:#52665c;overflow-wrap:anywhere}
.kb-answer-compact .kb-answer-cautions{font-size:13px;line-height:1.55;margin:6px 0 10px;padding-left:18px;color:#52665c}
.kb-answer-compact .kb-answer-cautions li{margin:2px 0}
.kb-answer-compact .kb-media-compact{margin:10px 0 0;padding:10px 0 0;border-top:1px solid #dce6e0}
.kb-media-compact .kb-media-item{padding:0;border:0;background:transparent;display:block}
.kb-media-compact .kb-media-title{font-size:13px;font-weight:550;margin:0 0 8px;color:#456255}
.kb-media-compact .kb-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(116px,1fr));gap:10px;margin:8px 0;align-items:start}
.kb-media-compact .kb-media-thumb{display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;border:1px solid #dce6e0;border-radius:7px;background:#fff;padding:6px;cursor:pointer;color:#345046;font:inherit;font-size:12px;line-height:1.4}
.kb-media-compact .kb-media-thumb:hover{border-color:#7da68e;background:#f4f8f5}
.kb-media-compact .kb-media-thumb img{display:block;width:100%;height:128px;object-fit:contain;background:#fff;margin:0 0 6px}
.kb-media-compact .kb-media-actions{margin-top:8px;gap:8px}
.kb-media-compact .kb-media-actions a{font-size:12px;min-height:32px;padding:5px 9px}
.kb-answer-compact .kb-answer-full{margin:10px 0 0;border-top:1px solid #edf1ee;padding-top:3px}
.kb-media-zoom{box-sizing:border-box;width:min(94vw,960px);max-width:960px;max-height:94vh;padding:16px;border:1px solid #cbd8ce;border-radius:10px;background:#fff;color:#263d34;overflow:auto}
.kb-media-zoom::backdrop{background:#1e2d2a80}
.kb-media-zoom img{display:block;max-width:100%;width:auto;height:auto;max-height:74vh;object-fit:contain;margin:10px auto}
.kb-media-zoom .kb-media-actions{position:sticky;bottom:0;background:#fff;padding:8px 0}
.kb-media-zoom button,.kb-media-zoom a{font:inherit;font-size:13px;border:1px solid #b6cadd;border-radius:6px;background:#fff;padding:8px 12px;color:#245a80;cursor:pointer;text-decoration:none}
.kb-media-zoom button:focus-visible,.kb-media-thumb:focus-visible{outline:3px solid #487cac;outline-offset:3px}
@media(max-width:560px){.kb-media-compact .kb-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.kb-media-compact .kb-media-thumb img{height:98px}.kb-answer-compact .kb-answer-lead{font-size:15px}.kb-answer-compact .kb-answer-cautions{font-size:12px}.kb-media-zoom{padding:10px;max-height:96vh}}

.kb-media-zoom-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:#fff;padding:0 0 8px;font-size:14px}.kb-media-provenance{margin-top:10px;font-size:12px;color:#52665c}.kb-media-provenance>summary{cursor:pointer;padding:5px 0}.kb-media-provenance .kb-media-note{font-size:12px;line-height:1.5}

/* Product selection and comparison: one compact shelf, aligned facts, quiet sources. */
.product-picker,.product-parameters{--pp-ink:#243d38;--pp-muted:#587167;--pp-line:#dbe6e1;--pp-accent:#087f64;--pp-soft:#edf6f2;color:var(--pp-ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-variant-numeric:tabular-nums;min-width:0}
.product-picker [hidden],.product-picker[hidden],.pp-result[hidden],.parameter-scroll tr[hidden],.product-parameters [hidden]{display:none!important}
/* The product entry belongs to the question toolbar, not a separate banner. */
.product-entry.action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;margin:0;width:auto;white-space:nowrap;font-size:14px;font-weight:400;color:var(--accent);background:#fff;border:1px solid var(--line);border-radius:6px}
.product-entry.action:hover{background:#f0f3f6;border-color:#a6b0bf}
.product-entry.action:focus-visible{outline:2px solid #526880;outline-offset:4px}
#assistant-view .ai-toolbar-actions .product-entry{margin-left:auto}
#assistant-view .ai-toolbar-actions #ai-new{margin-left:0}
#knowledge-view>.product-entry{margin-bottom:16px}
@media(max-width:540px){#assistant-view .ai-toolbar-actions{flex-wrap:wrap}#assistant-view .ai-platform-switch{flex-basis:100%}#assistant-view .product-entry.action{min-height:44px}}
.product-picker{padding:24px;background:#fff;border:1px solid var(--pp-line);border-radius:12px;margin:16px 0 28px;scroll-margin-top:90px}
.product-picker button,.product-picker input,.product-picker select,.product-parameters button{font:inherit;font-size:14px;line-height:1.5;border-radius:6px;border:1px solid var(--pp-line);padding:8px 12px;background:#fff;color:var(--pp-ink);box-sizing:border-box;min-height:38px}
.product-picker button,.product-parameters button{cursor:pointer;transition:background .16s,border-color .16s}.product-picker button:hover,.product-parameters button:hover{background:var(--pp-soft);border-color:#9fc6b6}.product-picker button:active,.product-parameters button:active{transform:translateY(1px)}
.product-picker button:disabled{opacity:.5;cursor:default;transform:none}.product-picker :focus-visible,.product-parameters :focus-visible,.product-entry:focus-visible{outline:3px solid #81bca8;outline-offset:3px}
.pp-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.pp-header h2{font-size:24px;line-height:1.3;letter-spacing:-.4px;margin:0;color:var(--pp-ink)}.pp-header p{margin:7px 0 0;color:var(--pp-muted);font-size:14px;line-height:1.5}.pp-header .pp-close{white-space:nowrap}
.pp-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);gap:12px}.pp-filters label{margin:0;display:grid;gap:6px;font-size:12px;font-weight:500;color:var(--pp-muted)}.pp-filters input,.pp-filters select{width:100%;min-width:0;background:#f9fbfa;font-size:15px;padding:10px 12px}
.pp-meta{font-size:12px;color:var(--pp-muted);margin:18px 0 8px}.pp-list{max-height:360px;overflow:auto;overscroll-behavior:contain;border-top:1px solid var(--pp-line);border-bottom:1px solid var(--pp-line);scrollbar-gutter:stable}
.pp-product{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;gap:18px;align-items:center;padding:13px 4px;border-bottom:1px solid #edf2ef}.pp-product:last-child{border-bottom:0}.pp-product-identity strong{display:block;font-size:15px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.pp-product-identity small,.pp-slot small{display:block;color:var(--pp-muted);font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;margin-top:3px}
.pp-product-facts{display:grid;gap:4px;color:#435c51;font-size:12px;line-height:1.5}.pp-product-facts>span{display:grid;grid-template-columns:5em minmax(0,1fr);gap:4px}.pp-product-facts small{font-size:12px;color:var(--pp-muted)}.pp-add{white-space:nowrap}.pp-add[aria-pressed=true]{background:var(--pp-soft);border-color:#a2cdbb;color:var(--pp-accent)}.pp-more{display:block;margin:10px auto 0}.pp-empty{padding:22px 8px}.pp-empty p{color:var(--pp-muted);font-size:14px}
.pp-shelf{background:#f4f8f6;padding:16px;margin-top:20px;border-radius:8px;border:1px solid var(--pp-line)}.pp-shelf-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.pp-shelf-heading strong{font-size:14px}.pp-shelf-heading .pp-clear{padding:2px 6px;border:0;min-height:28px;background:transparent;color:var(--pp-muted);font-size:12px}
.pp-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pp-slot{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;background:#fff;border-radius:6px;border:1px solid var(--pp-line)}.pp-slot>div{flex:1;min-width:0}.pp-slot strong{font-size:13px;line-height:1.5;font-weight:600}.pp-slot .pp-remove{padding:0;border:0;background:transparent;min-height:24px;font-size:12px;color:var(--pp-muted);white-space:nowrap}.pp-empty-selection{font-size:13px;color:var(--pp-muted);margin:4px 0 10px;grid-column:1/-1}
.product-picker .pp-submit{background:var(--pp-accent);border-color:var(--pp-accent);color:#fff;font-weight:600;width:100%;margin-top:14px;padding:11px}.product-picker .pp-submit:hover{background:#096d57}.pp-scope{font-size:12px;color:var(--pp-muted);line-height:1.5;margin:10px 0 0}.pp-status{font-size:14px;line-height:1.6;color:#866125;margin:12px 0 0}.pp-status:empty{display:none}.pp-result{margin-top:30px;padding-top:24px;border-top:2px solid var(--pp-accent);scroll-margin-top:80px;outline:none}.pp-result-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.pp-result-heading h3{font-size:20px;line-height:1.4;flex:1;margin:0;min-width:130px}.pp-result-heading button{font-size:13px}.pp-result-heading .pp-edit{border:0;color:var(--pp-muted)}
.product-parameters{margin-top:12px;border:0;padding:0}.parameter-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 12px;font-size:13px}.parameter-modes{display:flex;gap:2px;padding:3px;background:var(--pp-soft);border-radius:7px}.parameter-modes button{padding:5px 10px;border:0;min-height:30px;background:transparent;font-size:13px;color:var(--pp-muted)}.parameter-modes button[aria-pressed=true]{background:#fff;color:var(--pp-accent);box-shadow:0 1px 3px #1b4e3920;font-weight:600}.parameter-toolbar label{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400;cursor:pointer;color:var(--pp-muted)}.parameter-toolbar input{width:16px;height:16px;min-height:0;accent-color:var(--pp-accent)}.parameter-count{margin-left:auto;color:var(--pp-muted);font-size:12px}
.parameter-scroll{overflow:auto;max-height:560px;border:1px solid var(--pp-line);border-radius:8px;margin-top:0;overscroll-behavior:contain}.parameter-scroll table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px;line-height:1.6;text-align:left;color:var(--pp-ink);table-layout:auto}.parameter-scroll caption{font-size:12px;text-align:left;padding:10px 14px;color:var(--pp-muted);caption-side:bottom;background:#f9fbfa}.parameter-scroll th,.parameter-scroll td{padding:13px 16px;border-bottom:1px solid var(--pp-line);min-width:185px;max-width:320px;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap;font-weight:400}
.parameter-scroll th:first-child{min-width:102px;width:115px;position:sticky;left:0;background:#f6f9f7;z-index:1;font-weight:500;font-size:13px}.parameter-scroll thead th{position:sticky;top:0;background:#edf6f2;z-index:2;padding-top:16px;padding-bottom:16px}.parameter-scroll thead th:first-child{z-index:3}.parameter-scroll tr:last-child>th,.parameter-scroll tr:last-child>td{border-bottom:0}.parameter-product-name{display:block;font-weight:650;font-size:15px;line-height:1.5;margin-top:7px}.parameter-scroll .parameter-model{display:block;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--pp-muted);margin-top:5px;white-space:normal}
.parameter-letter{display:inline-flex;align-items:center;justify-content:center;font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;width:23px;height:23px;flex-shrink:0;background:#d6eade;border-radius:5px;color:#226249}.parameter-unverified{color:#866125;background:#fcfaf3}.parameter-cell-source{font-size:11px;color:#75867d;margin-top:7px}.parameter-cell-source summary{cursor:pointer;font-size:11px}.parameter-cell-source small{display:block;font-size:11px;max-width:270px;white-space:normal;margin-top:5px}.parameter-note{color:var(--pp-muted);font-size:12px;line-height:1.6;margin:10px 0 0}.parameter-choose-link{margin-bottom:10px}.parameter-copy-preview{border-top:1px solid #e3ece7;padding-top:12px;margin-top:14px;color:#587167;font-size:13px}.parameter-copy-preview summary{cursor:pointer}.parameter-copy-preview p{white-space:pre-wrap;line-height:1.75;font-size:14px;color:#304c40;max-width:65ch;margin:12px 0}.qa-parameter-answer .qa-answer-title,.qa-parameter-answer .ai-answer-title{display:none}
@media(min-width:1100px){.qa-view:has(.product-picker:not([hidden])) .qa-workspace{grid-template-columns:1fr}.qa-view:has(.product-picker:not([hidden])) .qa-guide{display:none}}
@media(max-width:650px){.product-picker{padding:16px 12px}.pp-header{gap:10px}.pp-header h2{font-size:21px}.pp-header p{font-size:13px}.pp-header .pp-close{font-size:12px;padding:7px 9px}.pp-filters{grid-template-columns:minmax(0,1fr) 110px;gap:8px}.pp-filters input,.pp-filters select{font-size:14px;padding:9px 8px}.pp-product{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:12px 2px}.pp-product-facts{grid-column:1;grid-row:2;font-size:11px}.pp-add{grid-column:2;grid-row:1/3;font-size:12px!important;padding:8px!important}.pp-product-identity strong{font-size:14px}.pp-product-identity small{font-size:11px}.pp-slots{grid-template-columns:1fr}.pp-shelf{padding:12px}.parameter-count{margin-left:0}.parameter-scroll{max-height:480px}.parameter-scroll th,.parameter-scroll td{min-width:170px;padding:10px;font-size:13px}.parameter-scroll th:first-child{min-width:85px;width:85px;font-size:12px}.parameter-product-name{font-size:14px}.parameter-scroll .parameter-model{font-size:11px}}
@media(prefers-reduced-motion:reduce){.product-picker button,.product-parameters button{transition:none}}

.parameter-swipe-hint{display:none}
@media(max-width:650px){.parameter-swipe-hint{display:block;font-size:12px;color:var(--pp-muted);margin:6px 0}.parameter-scroll[data-columns="2"] table{table-layout:fixed}.parameter-scroll[data-columns="2"] th,.parameter-scroll[data-columns="2"] td{min-width:0;max-width:none;padding:10px 8px}.parameter-scroll[data-columns="2"] th:first-child{width:70px;min-width:70px}.parameter-scroll[data-columns="2"] .parameter-model{font-size:10px}.parameter-scroll[data-columns="2"] .parameter-product-name{font-size:13px}}

.qa-conversation:has(.product-picker:not([hidden]))>#qa-thread,.qa-conversation:has(.product-picker:not([hidden]))>#qa-form,.qa-conversation:has(.product-picker:not([hidden]))>.qa-platform-switch,#assistant-view:has(.product-picker:not([hidden])) #ai-thread,#assistant-view:has(.product-picker:not([hidden])) #ai-form{display:none}

/* Keep selection and the next action before the catalogue, including narrow webviews. */
.pp-shelf{position:sticky;top:72px;z-index:3;margin:0 0 18px;padding:12px 14px;background:#f4f8f6;box-shadow:0 4px 12px #243d380a;scroll-margin-top:80px}
.pp-shelf-heading{margin-bottom:8px;min-height:40px}.pp-shelf-actions{display:flex;align-items:center;gap:12px;flex:none}
.product-picker .pp-shelf-heading .pp-submit{width:auto;min-width:144px;margin:0;padding:8px 16px;min-height:40px}
.pp-slots{gap:8px}.pp-slot{padding:9px 10px;gap:8px;align-items:center}.pp-empty-selection{margin:0;font-size:13px}
.pp-shelf .pp-scope{margin-top:8px;font-size:11px}.pp-filters{margin-top:18px}.pp-result{margin:0 0 24px;padding:16px 0 20px;border-bottom:1px solid var(--pp-line)}
.pp-result-open .pp-shelf{position:static;box-shadow:none}
@media(max-width:650px){.pp-shelf{padding:10px;margin-bottom:16px;top:116px}.pp-shelf-heading{gap:8px}.pp-shelf-heading strong{font-size:13px;white-space:nowrap}.pp-shelf-actions{gap:6px}.product-picker .pp-shelf-heading .pp-submit{min-width:0;padding:8px 10px;font-size:13px;min-height:44px}.pp-shelf-heading .pp-clear{min-height:44px;font-size:12px}.pp-slots{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity}.pp-slot{flex:0 0 250px;scroll-snap-align:start}.pp-empty-selection{flex:1;min-width:0}.pp-shelf .pp-scope{font-size:11px}.pp-result{padding-top:14px}}

.knowledge-web-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--accent);font-size:13px;line-height:1.5;text-decoration:none;white-space:nowrap;box-sizing:border-box}.knowledge-web-link:hover{background:#f0f3f6}.knowledge-web-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.internal-heading nav{flex-wrap:wrap}.knowledge-web-link[aria-busy=true]{opacity:.6;cursor:wait}@media(max-width:540px){.knowledge-web-link{min-height:44px;font-size:12px}}
