/* Compact peer cards: identity, assistance, connection toolbar, administration. */
.workplace-surface .computers{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px;align-items:stretch}
.workplace-surface article.computer.peer-card{display:flex;flex-direction:column;position:relative;min-width:0;padding:0;gap:0;border:1px solid #dce5ee;border-radius:12px;background:#fff;box-shadow:0 2px 7px #183a5708;overflow:visible;transition:border-color .15s,box-shadow .15s}
.workplace-surface article.computer.peer-card:hover{border-color:#bdcfdf;box-shadow:0 4px 12px #183a5710}
.workplace-surface .peer-card .peer-card-header{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:14px 14px 9px}
.peer-card .peer-device-symbol{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dbe7f1;border-radius:9px;background:#f1f6fa;color:#285677}
.peer-card .peer-device-symbol svg{display:block;width:21px;height:21px;stroke-width:1.65}
.peer-card .peer-device-symbol.is-windows{background:#eff7ff;color:#0875cb;border-color:#d8eafb}
.peer-card .peer-device-symbol .peer-windows-logo{width:19px;height:19px;stroke:none}
.peer-card .peer-card-identity{min-width:0}
.workplace-surface .peer-card .peer-card-identity h2{margin:0;font-size:14px;font-weight:650;letter-spacing:-.15px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.workplace-surface .peer-card .peer-card-host{margin:3px 0 0;color:#6d8091;font-size:10px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.peer-card .peer-state-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 6px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:550;line-height:1.4;white-space:nowrap}
.peer-state-chip>span{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.peer-state-chip.is-online{color:#18724e;background:#eaf7f0;border-color:#d0eadb}
.peer-state-chip.is-offline{color:#667384;background:#f0f3f6;border-color:#e1e6ec}
.peer-state-chip.is-revoked{color:#9b3e48;background:#fff0f1;border-color:#efd4d9}
.peer-state-chip.is-pending{color:#8d621b;background:#fff7e7;border-color:#f1e0bc}
.workplace-surface .peer-card .peer-card-location{display:flex;align-items:center;gap:6px;min-width:0;margin:0;padding:0 14px 8px;color:#637c90;font-size:11px;line-height:1.5}
.peer-card-location>span:first-child{display:flex;flex:none}.peer-card-location>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.peer-card-location svg{width:13px;height:13px}
.peer-card .peer-card-facts{display:flex;justify-content:space-between;gap:10px;margin:0 14px;padding:0 0 9px;border:0;border-bottom:1px solid #edf1f5;background:transparent}
.peer-card-facts>div{min-width:0}.peer-card-facts>div:last-child{text-align:right}.peer-card-facts dt{margin:0 0 2px;color:#81909f;font-size:9px;line-height:1.4}
.peer-card-facts dd{margin:0;color:#526c81;font-size:10px;line-height:1.5;font-variant-numeric:tabular-nums;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.peer-card .peer-card-assistance,.peer-card .peer-card-connect{margin:0;padding:10px 14px 8px}
.workplace-surface .peer-card h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.peer-card .peer-assistance-buttons{display:grid;grid-template-columns:1.15fr 1fr;gap:8px}
.peer-assistance-buttons>button:only-child{grid-column:1 / -1}
.peer-card .peer-assistance-buttons{display:flex;align-items:center;gap:6px}
.workplace-surface .peer-card .peer-assistance-buttons>button{flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:0}
.workplace-surface .peer-card .peer-fullscreen-launch{border:1px solid #d7e3ed;border-radius:7px;background:#f8fafc;color:#365c77}
.workplace-surface .peer-card .peer-fullscreen-launch:not(:disabled):hover{background:#edf3f8;border-color:#b8cfdf}
.workplace-surface .peer-card button,.peer-card-menu>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;font-size:11px;line-height:1.4}
.peer-card button svg,.peer-card-menu>summary svg{width:15px;height:15px;flex:none;pointer-events:none}
.workplace-surface .peer-card .peer-assist-primary{min-height:36px;padding:7px 10px;background:#173e5b;color:#fff;border:1px solid #173e5b;border-radius:7px;font-weight:600;box-shadow:0 2px 4px #173e5b0c}
.workplace-surface .peer-card .peer-assist-primary:not(:disabled):hover{background:#0f2e46;border-color:#0f2e46}
.workplace-surface .peer-card .peer-assist-secondary{min-height:36px;padding:7px 10px;border:1px solid #d7e3ed;border-radius:7px;color:#365c77;background:#fff}
.workplace-surface .peer-card .peer-card-connect{padding-top:0;padding-bottom:10px}
.peer-card .peer-connect-options{display:flex;gap:6px;flex-wrap:wrap}
.peer-connect-option{position:relative;min-width:0;flex:1}
.workplace-surface .peer-card .peer-connect-button{width:100%;min-height:30px;padding:5px 8px;border:1px solid #e1e8ef;border-radius:6px;background:#f8fafc;color:#496880;font-weight:500;font-size:10px}
.workplace-surface .peer-card .peer-connect-button:not(:disabled):hover{background:#edf3f8;border-color:#b8cfdf}
.workplace-surface .peer-card .peer-connect-reason{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 1px 0;font-size:10px;line-height:1.5;color:#778a9b;overflow-wrap:anywhere}
.workplace-surface .peer-card .peer-card-assistance .peer-connect-reason{min-height:15px;height:15px;-webkit-line-clamp:1}.workplace-surface .peer-card .peer-connect-reason.is-ready{color:#6c8c7e}
.peer-card .peer-connect-option .peer-connect-reason{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.workplace-surface .peer-card .peer-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;margin-top:auto;padding:7px 14px;border-top:1px solid #edf1f5;border-radius:0 0 12px 12px;background:#fcfdff}
.workplace-surface .peer-card .peer-card-detail{justify-content:flex-start;gap:8px;min-height:30px;padding:4px 0;border:0;background:transparent;color:#275572;font-weight:550}
.workplace-surface .peer-card .peer-card-detail:hover{color:#123d5b;background:transparent}
.peer-card .peer-card-menu{position:relative;flex:none;margin:0;padding:0;border:0}
.peer-card-menu>summary{list-style:none;min-height:30px;padding:4px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#627b91;cursor:pointer;font-size:10px;font-weight:500}
.peer-card-menu>summary::-webkit-details-marker{display:none}
.peer-card-menu[open]>summary,.peer-card-menu>summary:hover{background:#edf3f8;border-color:#d4e1ec;color:#275572}
.peer-card-menu>summary:focus-visible{outline:2px solid #548ebd;outline-offset:3px}
.peer-card-menu-panel{position:absolute;bottom:calc(100% + 7px);right:0;z-index:35;width:210px;max-width:calc(100vw - 48px);padding:5px;border:1px solid #d6e2ec;border-radius:9px;background:white;box-shadow:0 10px 30px #15364e26}
.workplace-surface .peer-card .peer-card-menu-panel button{justify-content:flex-start;width:100%;min-height:36px;padding:8px;border:0;border-radius:5px;background:white;color:#36566f;text-align:left}
.workplace-surface .peer-card .peer-card-menu-panel button:not(:disabled):hover{background:#edf4fa}
.workplace-surface .peer-card .peer-card-warning{margin:8px 14px 0;padding:7px 9px;border:1px solid #f1dcd9;border-radius:6px;background:#fff6f4;color:#a44640;font-size:10px;line-height:1.5}
.peer-card .peer-card-waiting{display:flex;gap:8px;align-items:flex-start;margin:10px 14px;padding:9px;border:1px solid #f0e1c4;border-radius:7px;background:#fffaf1;color:#886629}
.peer-card-waiting>span{display:flex;flex:none;margin-top:2px}.peer-card-waiting svg{width:15px;height:15px}
.workplace-surface .peer-card .peer-card-waiting p{margin:0;font-size:11px;line-height:1.5}
@media(max-width:600px){.workplace-surface .computers{grid-template-columns:minmax(0,1fr);gap:12px}.workplace-surface .peer-card .peer-assist-primary,.workplace-surface .peer-card .peer-assist-secondary{min-height:40px}.workplace-surface .peer-card .peer-connect-button,.workplace-surface .peer-card .peer-card-detail,.peer-card-menu>summary{min-height:36px}.workplace-surface .peer-card .peer-card-menu-panel button{min-height:42px}}
@media(prefers-reduced-motion:reduce){.workplace-surface article.computer.peer-card{transition:none}}
@media(forced-colors:active){.peer-state-chip,.peer-card .peer-card-facts,.peer-card-menu-panel{border-color:CanvasText}.peer-state-chip>span{background:CanvasText}}
