
/* One current opinion per document; editing is an explicit state. */
.sd-panel.sd-single{width:560px;font-size:14px;color:#23324a}
.sd-single>header{height:56px;min-height:56px;max-height:56px;padding:0 22px}
.sd-single>header h2{font-size:20px!important;font-weight:600!important}
.sd-single .sd-content{padding:0 22px}
.sd-single .sd-product{padding:18px 0;min-height:96px;gap:14px}
.sd-single .sd-product img{width:72px;height:66px;flex:0 0 72px;object-fit:contain;background:#f5f7fa;border:1px solid #edf1f6;border-radius:7px}
.sd-single .sd-product strong{font-size:14px;line-height:1.5;font-weight:600}
.sd-single .sd-product-actions button{font-size:12px}
.sd-single .sd-single-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
.sd-single-section{padding:22px 0}
.sd-single-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}
.sd-single .sd-single-heading h3{font-size:16px!important;font-weight:600!important;margin:0!important}
.sd-single-heading button{font-size:13px}
.sd-single-card{padding:20px 18px;background:#f7f9fc;border-radius:10px}
.sd-single-card.is-adjust{background:#fff9ef}.sd-single-card.is-selected{background:#f3faf6}.sd-single-card.is-unsuitable{background:#fff6f6}
.sd-single-card>p{font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 22px;color:#23324a}
.sd-single-card>footer{display:flex;gap:10px;align-items:center;font-size:12px;color:#8190a8}
.sd-single-card .sd-avatar{width:30px;height:30px;flex:0 0 30px;font-size:14px;background:#dfe8f3;color:#546c8d}
.sd-single-empty{text-align:center;padding:42px 10px 48px;color:#8b99b0}
.sd-single-empty svg{margin-bottom:18px}
.sd-single .sd-single-empty h3{font-size:17px!important;color:#23324a;margin-bottom:10px!important}
.sd-single-empty p{font-size:14px;line-height:1.7;margin:0 0 22px}
.sd-single-empty .sd-primary{padding:9px 22px;font-size:14px}
.sd-single .sd-discussion-entry{margin:0;padding:20px 0 24px;background:none;border:0;border-top:1px solid #e7ecf3;border-radius:0;min-height:80px}
.sd-single .sd-discussion-entry>span{position:relative;display:block;padding-left:36px;font-size:14px;color:#23324a}
.sd-single .sd-discussion-entry>span:before{position:absolute;left:0;top:3px}
.sd-single .sd-discussion-entry small{font-size:12px;margin:3px 0 0}
.sd-single .sd-discussion-entry button{min-width:112px;font-size:14px;font-weight:400}
.sd-single .sd-single-editor .sd-opinion-note{height:120px;min-height:100px;padding-bottom:28px}
.sd-single .sd-save-row{gap:10px}.sd-single .sd-save-row>div{display:flex;gap:10px;margin-left:auto}
.sd-single .sd-save-row .sd-primary{width:auto;min-width:110px}
.sd-single .sd-context{padding:14px 16px;background:#f6f8fc;border:0;margin-top:14px;max-height:150px}
.sd-single .sd-context small{font-size:12px}.sd-single .sd-context p{font-size:14px;line-height:1.65}
.sd-single .sd-thread{padding-top:22px}.sd-single .sd-thread>h3{display:none}
.sd-single .sd-messages article{margin-bottom:20px;gap:12px}.sd-single .sd-messages .sd-avatar{width:32px;height:32px;font-size:14px}
.sd-single .sd-messages header{align-items:center;min-height:22px}.sd-single .sd-messages header b{font-size:14px}
.sd-single .sd-messages article>div:last-child>p{font-size:14px;line-height:1.65;padding:8px 12px;background:#f4f6fa;border-radius:0 8px 8px 8px}
.sd-single .sd-compose{padding:12px 0 18px}.sd-single .sd-compose textarea{height:72px;min-height:60px}
@media(max-width:700px){.sd-panel.sd-single{width:100vw}.sd-single .sd-content{padding:0 16px}.sd-single>header{padding:0 16px}.sd-single-empty{padding:26px 8px}.sd-single .sd-product img{width:56px;flex-basis:56px}.sd-single .sd-discussion-entry{padding:16px 0}.sd-single-card{padding:16px}}

.sd-single .sd-single-empty svg{display:block;margin:0 auto 18px}
.sd-single[data-mode=discussion]>header h2{padding-left:26px!important}
.sd-single[data-mode=discussion] [data-sd=opinions]{position:absolute;top:11px;left:20px;margin:0;padding:0;width:24px;height:32px;font-size:0;color:#536780}
.sd-single[data-mode=discussion] [data-sd=opinions]:before{content:'‹';font-size:30px;line-height:28px}
.sd-single[data-mode=discussion] .sd-navigation:not(:has([data-sd=inbox])){height:0;min-height:0}
