/* Measured reference geometry. Each composition keeps the same 600 x 450 stage. */
.ypm-wrap{min-width:0;font-family:var(--body);color:#20201e}.ypm{height:450px;position:relative;overflow:hidden;isolation:isolate;border-radius:6px;background:#f1ebe2;outline-offset:5px}.ypm *{box-sizing:border-box}.ypm :where(p,h4,blockquote,ul,dl,dd){margin:0}.ypm h4{font-family:var(--body);font-weight:500;letter-spacing:-.015em}.ypm a,.ypm button{font-family:var(--body)}.ypm-view{position:absolute;inset:0;animation:ypm-view-in .2s ease-out}.ypm-view[hidden]{display:none!important}@keyframes ypm-view-in{from{opacity:.3}to{opacity:1}}
/* Message close-up: a 32px inset, right and bottom edges cropped. */
.ypm-workspace{position:absolute;left:32px;top:32px;width:620px;min-height:510px;background:#fff;border:1px solid #efebe5;border-radius:12px 12px 0 0;box-shadow:0 2px 5px #332c2005;overflow:hidden}.ypm-channel{height:46px;padding:0 20px;display:flex;align-items:center;gap:7px;border-bottom:1px solid #dededc;font-size:16px;white-space:nowrap}.ypm-channel>span{font-size:21px;font-weight:500}.ypm-channel strong{font-weight:500;letter-spacing:-.025em}.ypm-channel>svg{width:16px;height:16px}.ypm-workspace-body{padding:20px 22px 32px 20px}.ypm-message+.ypm-message{margin-top:20px}.ypm-author{display:flex;gap:10px;align-items:flex-start}.ypm-author>div{display:flex;align-items:center;gap:5px;padding-top:1px;font-size:13px;line-height:18px}.ypm-author strong{font-weight:500;color:#252624}.ypm-author>div>span{font-size:9px;background:#f1f1ef;color:#777875;padding:0 3px;line-height:13px;border-radius:2px}.ypm-message-body{margin-left:42px;margin-top:-12px;font-size:14px;line-height:1.6;max-width:510px}.ypm-message-body h4{font-size:14px;line-height:21px;margin-bottom:8px;color:#21221f}.ypm-message-body p{font-size:14px;line-height:1.6;color:#3e403c}.ypm-message-body p+p{margin-top:12px}.ypm-message-body h4:not(:first-child){margin-top:16px}.ypm-message-body mark,.ypm-message-body em{background:#f2e3df;border:1px solid #e8d6ce;border-radius:3px;color:#a44c3c;font-style:normal;padding:0 2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.ypm-message-body .ypm-commentary{margin-top:10px}.ypm-message-body blockquote{padding:11px 14px;border-left:3px solid #dbd6ce;font-size:14px;line-height:1.7;color:#4e5049;background:#f9f9f7;margin:10px 0 16px}.ypm-attachment{display:flex;align-items:center;gap:10px;padding:10px 13px;width:310px;max-width:100%;border:1px solid #e4e4e0;border-radius:7px;background:#fff;margin:12px 0}.ypm-attachment .ypm-app-mark{width:29px;height:29px}.ypm-attachment>span{flex:1;min-width:0}.ypm-attachment strong{display:block;font-size:12px;line-height:1.5;font-weight:500}.ypm-attachment small{display:block;font-size:10px;line-height:1.4;color:#8b8c86;margin-top:3px}.ypm-attachment>svg:last-child{color:#969a90;width:16px;height:16px}.ypm-continuation{display:grid;gap:12px;margin:12px 0 20px;opacity:.8}.ypm-continuation i{display:block;height:8px;background:#f1f1f0;border-radius:5px}.ypm-continuation i:nth-child(2){width:92%}.ypm-continuation i:nth-child(3){width:74%}.ypm-continuation i:nth-child(4){width:86%}.ypm-answer-footer{margin-top:22px;padding-top:13px;border-top:1px solid #eee;display:flex;align-items:center;gap:8px;color:#777b74;font-size:12px;line-height:1.5}.ypm-comparison>div{padding:13px 0;border-bottom:1px solid #eceeea}.ypm-comparison small{display:block;color:#888b83;font-size:10px;margin-bottom:7px;letter-spacing:.025em}.ypm-comparison>div:last-child p{color:#316851}.ypm-message-body .ypm-question{font-weight:500;font-size:16px;margin:8px 0 12px}
/* Scanning silhouette: centered 368px device, 392px visible, 58px below. */
.ypm-review-device{position:absolute;left:50%;top:-98px;transform:translateX(-50%);width:368px;height:490px;padding:20px;background:#fff;border:4px solid #23221e;border-radius:39px;box-shadow:0 9px 12px -8px #45382042;overflow:hidden}.ypm-device-context{height:148px;overflow:hidden}.ypm-device-title{display:flex;gap:9px;align-items:center;font-size:15px}.ypm-device-title .ypm-app-mark{width:26px;height:26px}.ypm-device-context>p{margin-top:12px;font-size:14px}.ypm-device-context .ypm-continuation{margin-top:16px;gap:12px}.ypm-device-context .ypm-continuation i{height:8px}.ypm-review-divider{display:flex;align-items:center;gap:5px;font-size:10px;color:#85847f;margin-bottom:17px;white-space:nowrap}.ypm-review-divider:before,.ypm-review-divider:after{content:'';height:1px;background:#e8e8e5;flex:1}.ypm-review-list{position:relative}.ypm-review-list:before{content:'';position:absolute;left:7px;top:79px;height:94px;border-left:1px dashed #ddd8cd}.ypm-review-row{display:flex;align-items:center;gap:10px;position:relative;height:34px;font-size:13px;color:#252623;white-space:nowrap}.ypm-review-row>.yn-icon:first-child{width:16px;height:16px;background:#fff;z-index:1}.ypm-review-row>.ypm-avatar,.ypm-review-row>.ypm-app-mark{width:20px;height:20px;background:#fff;z-index:1}.ypm-review-row>svg:last-child:not(:first-child){width:14px;height:14px;color:#8b8e86;margin-left:auto}.ypm-review-row>span{overflow:hidden;text-overflow:ellipsis}.ypm-device-toolbar{display:flex;align-items:center;gap:8px;margin-top:17px;height:44px}.ypm-device-toolbar>span{display:flex;width:43px;height:43px;border:1px solid #e5e5e2;border-radius:50%;align-items:center;justify-content:center;background:#fff}.ypm-device-toolbar>span>svg{width:21px;height:21px}.ypm-device-toolbar>span:first-child{color:#607e92}.ypm-device-toolbar>div{display:flex;flex:1;align-items:center;justify-content:center;gap:9px;border:1px solid #dfdfdb;height:43px;border-radius:23px;font-size:13px;white-space:nowrap}.ypm-device-toolbar>div svg{width:20px;height:20px;border-radius:4px}.ypm-source-passage{padding:14px 0 18px}.ypm-source-passage p{padding:5px 7px;margin-left:-7px;border-radius:3px}.ypm-source-passage .is-emphasized{background:#edf3ec;color:#326045;box-shadow:inset 3px 0 #83a58e}.ypm-source-details{margin:20px 0}.ypm-source-details>div{display:grid;grid-template-columns:72px 1fr;gap:16px;border-bottom:1px solid #efefec;padding:10px 0;font-size:12px;line-height:1.6}.ypm-source-details dt{color:#85877f}.ypm-source-details dd{color:#34382f}
/* Response composition: 388px conversation with restrained workflow objects. */
.ypm-team-thread{position:absolute;top:80px;left:108px;width:388px;background:#fff;border:1px solid #e9e7e2;border-radius:9px;padding:16px;box-shadow:0 4px 5px #3a302a0b;z-index:1}.ypm-team-thread .ypm-app-mark,.ypm-team-thread .ypm-avatar{width:27px;height:27px}.ypm-team-thread .ypm-author{gap:8px}.ypm-team-thread .ypm-author>div{font-size:11px;line-height:15px;padding-top:0;gap:4px}.ypm-team-thread .ypm-author>div>span{font-size:8px;line-height:11px}.ypm-team-thread .ypm-message-body{margin-left:35px;margin-top:-11px;font-size:11px;line-height:1.5}.ypm-team-thread .ypm-message-body p{font-size:11px;line-height:1.5}.ypm-team-thread .ypm-message+.ypm-message{margin-top:15px}.ypm-mention{color:#347d97;font-weight:500}.ypm-thread-source{display:flex;gap:5px;align-items:center;font-size:10px;color:#6c7775;margin-top:6px}.ypm-thread-source svg{width:14px;height:14px}.ypm-thread-actions{display:flex;align-items:center;gap:6px;margin-top:8px;flex-wrap:wrap}.ypm-thread-actions>span{font-size:9px;color:#96988f;border:1px solid #dedfd9;border-radius:3px;padding:3px 6px;line-height:1.5}.ypm-copy-button{display:inline-flex;align-items:center;gap:5px;border:1px solid #347158;border-radius:4px;background:#3f8064;color:#fff;padding:6px 9px;font-size:11px;line-height:1.4;cursor:pointer;transition:background .15s}.ypm-copy-button svg{width:16px;height:16px}.ypm-copy-button:hover{background:#2e694e}.ypm-thread-actions .ypm-copy-button{padding:3px 6px;font-size:9px;gap:4px}.ypm-thread-actions .ypm-copy-button svg{width:14px;height:14px}.ypm-workflow-label,.ypm-workflow-end{position:absolute;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #efeeea;border-radius:5px;font-size:10px;color:#787a71;padding:8px 10px;z-index:2;box-shadow:0 2px 2px #6f594008;white-space:nowrap}.ypm-workflow-label{top:58px;left:30px;transform:rotate(-6deg)}.ypm-workflow-label svg,.ypm-workflow-end svg{width:14px;height:14px}.ypm-workflow-end{right:16px;top:280px;transform:rotate(-4deg)}.ypm-workflow-end:before,.ypm-workflow-end:after{content:'';position:absolute;width:40px;height:25px;border:2px solid #e6dfd2;z-index:-1;border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;right:16px}.ypm-workflow-end:before{bottom:calc(100% + 7px);transform:rotate(-20deg)}.ypm-workflow-end:after{top:calc(100% + 5px);transform:rotate(125deg)}.ypm-editor-label{font-size:10px;color:#93958c;display:flex;gap:8px;margin:3px 0 16px;letter-spacing:.03em}.ypm-message-body .ypm-suggestion{background:#edf4eb;border-left:3px solid #86a878;padding:10px 14px;font-size:16px;line-height:1.7;margin-top:12px}.ypm-draft-comment{display:flex;align-items:center;gap:8px;margin:20px 0 12px}.ypm-draft-comment .ypm-avatar{width:22px;height:22px}.ypm-draft-comment p{font-size:12px;color:#7b8173}.ypm-draft-actions{display:flex;align-items:center;gap:12px;margin-top:20px}.ypm-draft-actions>span{font-size:10px;color:#909387}.ypm-evidence-list{list-style:none;padding:0;margin:15px 0}.ypm-evidence-list li{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:13px}.ypm-evidence-list svg{color:#4b8565;width:15px;height:15px}.ypm-faq-preview{position:absolute;top:32px;left:32px;width:620px;min-height:510px;border-radius:10px;background:#fff;border:1px solid #efebe5;overflow:hidden}.ypm-faq-top{height:54px;border-bottom:1px solid #e8e8e3;padding:0 26px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.ypm-faq-top strong{font-weight:500}.ypm-faq-top strong span{font-weight:400;color:#8b8d84;margin-left:8px}.ypm-faq-top>span{color:#97998f}.ypm-faq-main{padding:38px 32px;width:530px}.ypm-faq-main>small{font-size:10px;letter-spacing:.04em;color:#96998d}.ypm-faq-main h4{font-size:22px;line-height:1.45;margin-top:14px}.ypm-faq-main p{font-size:16px;line-height:1.8;margin-top:22px;color:#54594e}.ypm-faq-source{margin:26px 0 25px;display:flex;align-items:center;gap:7px;font-size:11px;color:#89907f}
/* Four equal controls, full active baseline, measured 32px above the tabs. */
.ypm-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:32px}.ypm-tabs button{display:flex;align-items:center;gap:8px;position:relative;padding:9px 0 20px;border:0;border-bottom:1px solid #e4e0d9;border-radius:0;background:transparent;color:#75736d;font:500 14px/1.5 var(--body);min-height:51px;cursor:pointer;text-align:left;white-space:nowrap;transition:color .15s}.ypm-tabs svg{width:16px;height:16px;color:#848178}.ypm-tabs button[aria-selected=true]{color:#20211d}.ypm-tabs button[aria-selected=true] svg{color:#ed6947}.ypm-tabs button i{position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:#ed7759;transform:scaleX(0);transform-origin:left;transition:transform .18s}.ypm-tabs button[aria-selected=true] i{transform:scaleX(1)}.ypm-tabs button:hover{color:#dd6548}.ypm-wrap :is(a,button):focus-visible,.ypm:focus-visible{outline:2px solid #ce7558;outline-offset:4px}.ys-copy-status{font:11px/1.6 var(--body);color:#688169;min-height:18px;display:block;margin-top:6px;text-align:right}
@media(min-width:761px) and (max-width:1299px){.ypm-tabs{gap:12px}.ypm-tabs button{font-size:12px;gap:6px}.ypm-team-thread{left:50%;transform:translateX(-50%);max-width:calc(100% - 70px)}.ypm-workflow-end{right:10px}}
@media(max-width:760px){.ypm{height:410px;border-radius:6px}.ypm-workspace{left:16px;top:20px;width:calc(100% - 16px);min-height:450px;border-radius:9px 0 0 0}.ypm-channel{padding:0 12px;font-size:13px;height:42px;gap:6px}.ypm-channel>span{font-size:17px}.ypm-workspace-body{padding:18px 12px 26px}.ypm-author>:is(.ypm-app-mark,.ypm-avatar){width:27px;height:27px}.ypm-author{gap:8px}.ypm-author>div{font-size:12px;line-height:16px;flex-wrap:wrap}.ypm-message-body{margin-left:35px;margin-top:-9px;font-size:13px;max-width:none;padding-right:13px}.ypm-message-body p,.ypm-message-body h4,.ypm-message-body blockquote{font-size:13px;line-height:1.7}.ypm-message-body h4{margin-bottom:7px}.ypm-message-body .ypm-question{font-size:14px}.ypm-message-body blockquote{padding:9px 10px}.ypm-message-body p+p{margin-top:9px}.ypm-message-body .ypm-commentary{margin-top:10px}.ypm-message-body h4:not(:first-child){margin-top:13px}.ypm-attachment{padding:8px;gap:7px;width:100%;margin:10px 0}.ypm-attachment strong{font-size:11px}.ypm-attachment small{font-size:8px}.ypm-attachment .ypm-app-mark{width:24px;height:24px}.ypm-attachment>svg:last-child{display:none}.ypm-continuation{gap:10px}.ypm-continuation i{height:6px}.ypm-review-device{width:calc(100% - 36px);max-width:340px;top:-93px;height:470px;padding:16px;border-width:3px;border-radius:30px}.ypm-device-context{height:146px}.ypm-device-context p{font-size:12px}.ypm-review-divider{font-size:9px;gap:3px;margin-bottom:15px}.ypm-review-row{font-size:11px;gap:7px;height:33px}.ypm-review-row>.yn-icon:first-child{width:16px;height:16px}.ypm-review-row>.ypm-avatar,.ypm-review-row>.ypm-app-mark{width:18px;height:18px}.ypm-review-row>svg:last-child:not(:first-child){width:14px;height:14px}.ypm-device-toolbar{gap:6px;margin-top:16px;height:38px}.ypm-device-toolbar>span{width:35px;height:35px}.ypm-device-toolbar>div{height:36px;font-size:11px;gap:6px}.ypm-device-toolbar>span>svg{width:18px;height:18px}.ypm-device-toolbar>div svg{width:17px;height:17px}.ypm-team-thread{left:20px;top:65px;width:calc(100% - 40px);padding:13px;transform:none}.ypm-team-thread .ypm-app-mark,.ypm-team-thread .ypm-avatar{width:25px;height:25px}.ypm-team-thread .ypm-message-body{margin-left:32px;margin-top:-10px;padding-right:0}.ypm-team-thread .ypm-author{gap:7px}.ypm-team-thread .ypm-message+.ypm-message{margin-top:14px}.ypm-team-thread .ypm-message-body p{font-size:11px;line-height:1.55}.ypm-workflow-label{left:13px;top:38px;padding:7px 9px;font-size:9px}.ypm-workflow-end{top:auto;bottom:14px;right:12px;font-size:9px;padding:6px 8px}.ypm-workflow-end:before,.ypm-workflow-end:after{display:none}.ypm-thread-actions{gap:5px}.ypm-thread-actions .ypm-copy-button{min-height:30px;padding:4px 7px;font-size:10px}.ypm-thread-actions>span{font-size:8px}.ypm-tabs{gap:10px;margin-top:20px}.ypm-tabs button{font-size:10px;gap:5px;min-height:45px;padding:9px 0 14px}.ypm-tabs svg{width:14px;height:14px}.ypm-copy-button{min-height:34px}.ypm-source-details>div{grid-template-columns:48px 1fr;gap:9px;font-size:11px}.ypm-message-body .ypm-suggestion{font-size:14px;padding:9px 10px}.ypm-draft-comment p{font-size:11px}.ypm-evidence-list li{font-size:11px;gap:6px}.ypm-faq-preview{left:16px;top:20px;width:calc(100% - 16px)}.ypm-faq-top{padding:0 16px;font-size:11px}.ypm-faq-top strong span{font-size:9px;display:block;margin:3px 0 0}.ypm-faq-main{width:100%;padding:28px 22px}.ypm-faq-main h4{font-size:19px}.ypm-faq-main p{font-size:14px;line-height:1.8;margin-top:19px}.ypm-faq-source{font-size:9px}.ys-copy-status{font-size:10px}}
@media(max-width:359px){.ypm-tabs{gap:7px}.ypm-tabs button{font-size:9px;gap:4px}.ypm-tabs svg{width:14px;height:14px}.ypm-team-thread{left:12px;width:calc(100% - 24px);padding:10px}.ypm-team-thread .ypm-message-body p{font-size:10px}.ypm-team-thread .ypm-author>div{font-size:10px}.ypm-review-device{width:calc(100% - 22px);padding:12px}.ypm-review-row{font-size:10px;gap:6px}}
@media(prefers-reduced-motion:reduce){.ypm *, .ypm-tabs *{transition:none!important;animation:none!important}}

.ypm-device-toolbar>div .ypm-app-mark{width:20px;height:20px}.ypm-device-toolbar>span .ypm-app-mark{width:21px;height:21px}
.ypm-workspace .ypm-message-body{max-width:490px}
@media(min-width:761px){.ypm-review-row{font-size:14px;font-weight:500}.ypm-device-toolbar>div{font-size:14px;font-weight:500}}
@media(max-width:760px){.ypm-device-toolbar>div .ypm-app-mark{width:17px;height:17px}.ypm-device-toolbar>span .ypm-app-mark{width:18px;height:18px}}
/* Readable mobile edit states must never crop their actual copy controls. */
@media(max-width:760px){
 .ypm-action:is([data-view=draft],[data-view=preview]){height:auto;min-height:410px}
 .ypm-action:is([data-view=draft],[data-view=preview])>.ypm-view:not([hidden]){position:relative;padding:20px 0 0 16px}
 .ypm-action[data-view=draft] .ypm-workspace,.ypm-action[data-view=preview] .ypm-faq-preview{position:relative;left:auto;top:auto;width:100%;min-height:0}
 .ypm-action[data-view=draft] .ypm-draft-actions{flex-wrap:wrap}
}

/* Craft pass: functional objects retain the scale and silhouette of the reference. */
.ypm-channel>small{margin-left:auto;padding-right:36px;font-size:10px;letter-spacing:.05em;color:#8c8b85;font-weight:400}
.ypm-back{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:5px;background:transparent;color:#77756f;cursor:pointer;margin-left:-7px;margin-right:3px}
.ypm-back svg{width:16px;height:16px;transform:rotate(180deg)}
.ypm-back:hover{background:#f4f1eb;color:#222}
.ypm-attachment-link{font:inherit;color:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.ypm-attachment-link:hover{border-color:#b9c7ce;background:#fcfdfd;box-shadow:0 2px 7px #5e77830d}
.ypm-attachment strong{font-size:13px}.ypm-attachment small{font-size:11px;color:#82857e}
.ypm-case-question{display:flex;align-items:center;gap:10px;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid #efefec;max-width:510px;color:#565a52;font-size:13px;line-height:1.5}
.ypm-case-question .ypm-avatar{width:26px;height:26px}
.ypm-message-body .ypm-answer-primary{font-size:17px;line-height:1.8;letter-spacing:-.015em;max-width:455px;color:#333832}
.ypm-answer-primary mark{display:inline-block}
.ypm-gap-note{display:flex;gap:10px;margin:19px 0 16px;max-width:444px}
.ypm-gap-note>i{width:3px;border-radius:2px;flex-shrink:0;background:#e39472}
.ypm-gap-note strong{font-size:13px;font-weight:500;color:#835a47}
.ypm-gap-note p{font-size:12px;line-height:1.65;margin-top:4px;color:#8a7e72}
.ypm-next-hint{display:flex;align-items:center;gap:6px;font-size:11px;color:#858981;margin-top:10px}
.ypm-next-hint svg{width:14px;height:14px}
.ypm-review-control{width:100%;padding:0;border:0;border-radius:5px;background:transparent;text-align:left;font-family:var(--body);cursor:pointer;transition:background .15s,color .15s}
.ypm-review-control:hover{background:#f3f6f5;color:#41687b}
.ypm-review-row>span{flex:1}
.ypm-device-toolbar>button{display:flex;flex:1;align-items:center;justify-content:center;gap:8px;border:1px solid #dfdfdb;height:43px;border-radius:23px;font:500 13px/1.4 var(--body);white-space:nowrap;background:#fff;color:#272c27;cursor:pointer;transition:border-color .15s,background .15s}
.ypm-device-toolbar>button:hover{background:#f7fafb;border-color:#aabec8}
.ypm-device-toolbar>button .ypm-app-mark{width:20px;height:20px;border-radius:4px}
.ypm-device-toolbar>button .yn-icon{width:16px;height:16px;color:#839592}
.ypm-team-thread{top:59px;left:91px;width:418px;padding:18px}
.ypm-team-thread .ypm-author>div{font-size:12px;line-height:17px}
.ypm-team-thread .ypm-author>div>span{font-size:8px;line-height:12px}
.ypm-team-thread .ypm-message-body{margin-top:-8px;font-size:12px;line-height:1.55}
.ypm-team-thread .ypm-message-body p{font-size:12px;line-height:1.55}
.ypm-team-thread .ypm-message+.ypm-message{margin-top:13px}
.ypm-thread-source{border:0;border-bottom:1px solid #d8e2e5;background:transparent;padding:0 0 3px;cursor:pointer;font:400 11px/1.5 var(--body);color:#607e92;text-align:left}
.ypm-thread-source:hover{color:#304d61;border-color:#748e9c}
.ypm-thread-source svg:last-child{margin-left:4px}
.ypm-team-thread .ypm-message:last-child{padding-top:13px;border-top:1px solid #efefeb}
.ypm-team-thread .ypm-message-body .ypm-final-draft{font-size:14px;line-height:1.65;color:#303c31}
.ypm-thread-actions{margin-top:10px;gap:8px}
.ypm-thread-actions .ypm-copy-button{font-size:11px;padding:6px 9px;min-height:30px}
.ypm-thread-actions .ypm-copy-button svg{width:16px;height:16px}
.ypm-thread-actions>span{font-size:10px;border:0;padding:0;color:#93978c}
.ypm-workflow-label{top:30px;left:28px;font-size:10px}
.ypm-workflow-end{top:auto;bottom:14px;right:22px;font-size:10px}
.ypm-workflow-end:before,.ypm-workflow-end:after{display:none}
.ypm-copy-button[data-copy-state=done]{background:#e9f2e8;border-color:#bfd1bb;color:#466446}
.ypm-copy-button[data-copy-state=error]{background:#fff3ec;border-color:#dcb396;color:#985d3c}
.ypm-copy-button:disabled{cursor:progress;opacity:.75}
@media(min-width:761px) and (max-width:1299px){.ypm-team-thread{left:50%;max-width:calc(100% - 50px);transform:translateX(-50%)}}
@media(max-width:760px){
 .ypm-channel>small{padding-right:8px;font-size:9px}
 .ypm-back{min-width:36px;height:36px}
 .ypm-case-question{font-size:12px;gap:8px;padding-bottom:14px;margin-bottom:18px;padding-right:12px}
 .ypm-message-body .ypm-answer-primary{font-size:15px;line-height:1.85}
 .ypm-gap-note{margin-block:16px}.ypm-gap-note strong{font-size:12px}.ypm-gap-note p{font-size:12px}
 .ypm-next-hint{font-size:10px;line-height:1.6}
 .ypm-attachment strong{font-size:12px}.ypm-attachment small{font-size:10px}
 .ypm-attachment-link{min-height:54px}.ypm-attachment-link>svg:last-child{display:block;width:16px;height:16px}
 .ypm-source[data-view=scan]{height:450px}
 .ypm-review-device{height:506px}
 .ypm-review-row{font-size:12px;font-weight:400;white-space:normal;height:29px;line-height:1.5}
 .ypm-review-control{min-height:44px;height:auto;padding-block:4px}
 .ypm-review-row>span{overflow:visible;text-overflow:clip}
 .ypm-device-toolbar{height:44px;margin-top:12px}
 .ypm-device-toolbar>button{height:44px;font-size:12px;gap:6px}
 .ypm-device-toolbar>button .ypm-app-mark{width:18px;height:18px}
 .ypm-answer,.ypm-source:not([data-view=scan]),.ypm-action:not([data-view=team]){height:auto;min-height:410px}
 .ypm-answer>.ypm-view:not([hidden]),.ypm-source:not([data-view=scan])>.ypm-view:not([hidden]),.ypm-action:not([data-view=team])>.ypm-view:not([hidden]){position:relative;padding:20px 0 0 16px}
 .ypm-answer .ypm-workspace,.ypm-source:not([data-view=scan]) .ypm-workspace,.ypm-action:not([data-view=team]) .ypm-workspace,.ypm-action[data-view=preview] .ypm-faq-preview{position:relative;left:auto;top:auto;width:100%;min-height:0}
 .ypm-continuation{display:none}
 .ypm-device-context .ypm-continuation{display:grid}
 .ypm-action[data-view=team]{height:auto;min-height:450px}
 .ypm-action[data-view=team]>.ypm-view:not([hidden]){position:relative;padding:61px 0 57px}
 .ypm-team-thread{position:relative;left:18px;top:auto;width:calc(100% - 36px);padding:14px;transform:none}
 .ypm-team-thread .ypm-author>div{font-size:12px}
 .ypm-team-thread .ypm-message-body{margin-top:-7px}
 .ypm-team-thread .ypm-message-body p{font-size:12px;line-height:1.65}
 .ypm-team-thread .ypm-message-body .ypm-final-draft{font-size:14px;line-height:1.75}
 .ypm-team-thread .ypm-message:last-child{padding-top:14px}
 .ypm-thread-source{min-height:35px;font-size:11px}
 .ypm-copy-button,.ypm-thread-actions .ypm-copy-button{min-height:44px;font-size:12px;padding:8px 11px}
 .ypm-thread-actions>span{font-size:9px}.ypm-workflow-label{top:26px;left:15px}.ypm-workflow-end{bottom:16px;right:17px}
 .ypm-tabs button{font-size:11px;gap:5px}
}
@media(max-width:359px){.ypm-tabs{gap:8px}.ypm-tabs button{font-size:10px;gap:4px}.ypm-team-thread{left:12px;width:calc(100% - 24px);padding:12px}.ypm-review-row{font-size:12px}}
/* Refine within the approved reference geometry; never expand the media to fit more UI. */
.ypm-thread-heading{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 18px;padding-bottom:12px;border-bottom:1px solid #ecece7;font-size:12px}
.ypm-thread-heading>span{display:flex;gap:7px;align-items:center}.ypm-thread-heading strong{font-weight:500}.ypm-thread-heading small{font-size:9px;color:#94978f}.ypm-thread-heading .ypm-app-mark{width:21px;height:21px}
.ypm-team-thread{top:54px}.ypm-team-thread .ypm-message-body .ypm-final-draft{padding:9px 11px;background:#f1f5ef;border-radius:5px;border:1px solid #e7eddf;font-size:14px;line-height:1.65}.ypm-thread-conversation .ypm-message:last-child{padding-top:12px}
.ypm-device-context{height:172px;padding-top:88px}.ypm-device-title{font-size:14px}.ypm-device-title strong{font-weight:500}.ypm-device-title small{font-size:9px;color:#92998e;margin-left:auto}.ypm-device-context>p{font-size:12px;line-height:1.5;margin-top:9px;color:#787d74}
.ypm-review-row{height:34px;font-size:13px;line-height:1.4;font-weight:400}.ypm-review-control{min-height:34px}.ypm-review-list:before{display:none}.ypm-review-row.is-capability{color:#3b6174;font-weight:500}.ypm-review-row.is-condition{color:#737c6e}.ypm-review-divider{margin-bottom:10px}.ypm-device-toolbar{margin-top:14px}.ypm-device-toolbar>button{height:42px}
.ypm-document-meta{display:flex;gap:10px;align-items:center;font-size:10px;color:#899287;margin-bottom:12px}.ypm-document-meta>span:first-child{font-size:9px;letter-spacing:.04em;color:#567284;border:1px solid #dbe4e8;border-radius:3px;padding:2px 5px}
.ypm-source .ypm-workspace-body{padding-top:18px}.ypm-source .ypm-message-body h4{font-size:16px;margin-bottom:6px}.ypm-source-passage{padding:6px 0 9px}.ypm-source-passage p{transition:background .18s,color .18s,box-shadow .18s;line-height:1.65;padding:8px 10px;margin-left:-10px}.ypm-source-passage p+p{margin-top:3px}.ypm-source-passage .is-emphasized{background:#edf3f5;color:#355b70;box-shadow:inset 3px 0 #8caab9}
.ypm-fact-verdict{border-top:1px solid #eceee8;padding-top:12px;margin-top:2px}.ypm-fact-verdict>small{font-size:10px;color:#9a9d93}.ypm-fact-verdict p{font-size:13px;margin-top:4px;color:#5b6757}
.ypm-fact-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px}.ypm-fact-actions>button,.ypm-fact-actions>a{display:inline-flex;align-items:center;gap:7px;min-height:36px;border:0;border-radius:4px;font:500 12px/1.5 var(--body);cursor:pointer}.ypm-fact-actions>button{padding:4px 0;background:none;color:#758474}.ypm-fact-actions>a{padding:8px 11px;background:#3f6754;color:white}.ypm-fact-actions>a svg{width:14px;height:14px}.ypm-fact-actions>a:hover{background:#305342}.ypm-fact-actions>button:hover{color:#334e40}
.ypm-evidence-receipt{display:flex;align-items:center;gap:7px;padding:7px 9px;margin:0 0 12px;border:1px solid #dce6e8;border-radius:5px;background:#f5f9fa;font-size:10px;color:#617e8b}.ypm-evidence-receipt[hidden]{display:none!important}.ypm-evidence-receipt>.ypm-app-mark{width:20px;height:20px}.ypm-evidence-receipt button{margin-left:auto;border:0;background:transparent;color:#557588;text-decoration:underline;text-underline-offset:3px;font:inherit;min-height:28px;cursor:pointer}
.ypm-action[data-view=draft] .ypm-workspace-body{padding-top:16px}.ypm-action[data-view=draft] .ypm-editor-label{margin-bottom:9px}.ypm-action[data-view=draft] .ypm-draft-comment{margin:12px 0 8px}.ypm-action[data-view=draft] .ypm-attachment{padding:8px 10px;margin:8px 0}.ypm-action[data-view=draft] .ypm-draft-actions{margin-top:10px}
.ypm-wrap a svg,.ypm-wrap button svg{flex-shrink:0}
@media(min-width:761px){.ypm-workspace-body{max-width:556px}.ypm-faq-main{width:556px}.ypm-channel>small{padding-right:86px}.ypm-message-body .ypm-answer-primary{font-size:17px}.ypm-action[data-evidence-carried] .ypm-view{animation-duration:.18s}.ypm-evidence-receipt{padding-block:4px;margin-bottom:8px}.ypm-action[data-view=draft] .ypm-attachment{padding-block:4px}}
@media(max-width:1100px) and (min-width:761px){.ypm-team-thread{width:418px;max-width:calc(100% - 64px)}}
@media(max-width:760px){
 .ypm-source[data-view=scan]{height:auto;min-height:440px}.ypm-source[data-view=scan]>.ypm-view:not([hidden]){position:relative;padding:20px 0}
 .ypm-review-device{position:relative;left:auto;top:auto;transform:none;margin:0 auto;height:auto;min-height:400px;width:calc(100% - 32px);max-width:340px;padding:18px;border-width:2px;border-radius:24px}
 .ypm-device-context{height:auto;padding-top:0;padding-bottom:18px}.ypm-device-context>p{font-size:13px}.ypm-review-control{min-height:44px;height:auto}.ypm-review-row{font-size:12px;line-height:1.5}.ypm-device-toolbar>button{height:44px}.ypm-device-toolbar{height:44px}
 .ypm-thread-heading{margin-bottom:16px}.ypm-thread-heading small{font-size:9px}.ypm-team-thread{top:auto}.ypm-thread-source{min-height:44px}
 .ypm-workspace-body{max-width:none}.ypm-faq-main{width:100%}.ypm-source .ypm-workspace-body{padding-top:16px}.ypm-source .ypm-message-body h4{font-size:14px}.ypm-document-meta{flex-wrap:wrap;gap:5px;font-size:10px}.ypm-source-passage p{font-size:13px}
 .ypm-fact-actions{align-items:stretch;flex-direction:column;gap:4px}.ypm-fact-actions>button,.ypm-fact-actions>a{min-height:44px;font-size:12px;justify-content:center}.ypm-fact-actions>button{order:1}.ypm-evidence-receipt{align-items:flex-start;flex-wrap:wrap;gap:5px;padding:6px}.ypm-evidence-receipt button{min-height:44px;margin-left:25px;font-size:11px}.ypm-back{min-width:44px;height:44px}.ypm-tabs button{white-space:normal;align-items:flex-start;font-size:11px;line-height:1.5}.ypm-tabs svg{margin-top:1px}
}
@media(prefers-reduced-motion:reduce){.ypm-source-passage p{transition:none}.ypm-view{animation:none!important}}
/* DOM tabs precede their panel for keyboard reading; visual order matches the reference. */
.ypm-wrap{display:flex;flex-direction:column}.ypm-wrap>.ypm{order:1;flex:none}.ypm-wrap>.ypm-tabs{order:2;flex:none}.ypm-wrap>.ys-copy-status{order:3}
/* 2026-10-06: calibrate the four icon roles at their actual presentation sizes. */
.ypm-device-title>.ypm-app-mark{width:28px;height:28px}
.ypm-review-row>.ypm-avatar{width:24px;height:24px}
.ypm-review-row>.yn-icon:first-child{width:18px;height:18px;margin-inline:3px;color:#4f5c58}
.ypm-review-row.is-capability>.yn-icon:first-child{color:#477454}
.ypm-review-row>svg:last-child:not(:first-child){width:16px;height:16px;color:#848b83}
.ypm-device-toolbar>button .ypm-app-mark{width:24px;height:24px}
.ypm-team-thread .ypm-avatar,.ypm-team-thread .ypm-app-mark{width:28px;height:28px}
.ypm-team-thread .ypm-message-body{margin-left:36px}
.ypm-thread-heading .ypm-app-mark{width:24px;height:24px}
.ypm-attachment>.yn-file-mark{width:26px;height:30px}
.ypm-thread-source>.yn-icon:first-child{width:17px;height:17px}
.ypm-tabs .yn-icon{width:16px;height:16px;color:#707771}
.ypm-tabs [aria-selected=true] .yn-icon{color:#d95432}
.ys-case-note h4>.yn-icon{width:20px;height:20px;color:#6c7972;flex:none}

/* Keep quiet labels readable; use the existing size and weight hierarchy. */
.ypm-tabs button{color:#706f66}
.ypm-tabs button:hover{color:#94593c}
.ypm-channel>small,.ypm-attachment small,.ypm-gap-note p,.ypm-next-hint,
.ypm-thread-heading small,.ypm-device-title small,.ypm-device-context>p,
.ypm-document-meta,.ypm-fact-verdict>small,.ypm-thread-actions>span,
.ypm-comparison small,.ypm-source-details dt,.ypm-review-divider,
.ypm-editor-label,.ypm-draft-actions>span,.ypm-draft-comment p,
.ypm-faq-top strong span,.ypm-faq-top>span,.ypm-faq-main>small,
.ypm-faq-source{color:#74756d}
.ypm-review-row.is-condition,.ypm-fact-actions>button{color:#677260}
.ypm-thread-source{color:#526d80}
.ys-copy-status{color:#526b53}
.ys-case-note h4>.yn-file-mark{width:24px;height:26px;flex:none}
.ypm-case-question>.ypm-avatar{width:28px;height:28px}
.ypm-draft-comment>.ypm-avatar{width:24px;height:24px}
@media(max-width:760px){
 .ypm-review-device .ypm-review-row>.ypm-avatar{width:24px;height:24px}
 .ypm-review-device .ypm-device-toolbar>button .ypm-app-mark{width:24px;height:24px}
 .ypm-wrap .ypm-tabs{gap:12px;margin-top:20px}
 .ypm-wrap .ypm-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-size:12px;line-height:1.4;min-height:66px;padding-top:8px}
 .ypm-wrap .ypm-tabs .yn-icon{margin:0;width:16px;height:16px}
 .ypm-wrap .ypm-team-thread .ypm-avatar,.ypm-wrap .ypm-team-thread .ypm-app-mark{width:28px;height:28px}
 .ypm-wrap .ypm-team-thread .ypm-message-body{margin-left:36px}
}
@media(max-width:359px){.ypm-wrap .ypm-tabs{gap:8px}.ypm-wrap .ypm-tabs button{font-size:11px}}
