body[data-workspace=seams]>.workspace{display:none}
#seams-workspace[hidden]{display:none}
#seams-workspace{display:grid;grid-template-columns:292px minmax(0,1fr);gap:8px;padding:6px;min-height:calc(100dvh - 72px)}
#seams-workspace .dock{align-self:start;max-height:calc(100dvh - 80px);overflow:auto}
#seams-workspace .field-label{display:block;margin:12px 0}
#seams-workspace select,#seams-workspace input{width:100%;margin-top:5px}
.seam-main{min-width:0;background:#26323e;border-radius:10px;padding:14px}
.seam-toolbar,.seam-downloads{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0}
.seam-downloads a{color:#8bd8ee}.seam-note{padding:10px 14px;background:#354252;color:#ecd7a5;font-size:12px;line-height:1.8;border-radius:8px}
#seam-status{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
#seam-preview{height:58vh;min-height:350px;overflow:hidden;touch-action:none;cursor:grab;background:#18242e;border-radius:8px}
#seam-image{width:100%;height:100%;object-fit:contain;pointer-events:none}
.seam-legend{display:flex;gap:16px;align-items:center;font-size:12px;margin:10px 0}.seam-legend img{width:28px;height:14px;object-fit:contain}
.seam-table-wrap{overflow:auto;max-height:380px}#seam-table{width:100%;border-collapse:collapse;font-size:12px}#seam-table th,#seam-table td{padding:8px;border-bottom:1px solid #526575;text-align:left}#seam-table tbody tr{cursor:pointer}#seam-table tbody tr:hover,#seam-table tbody tr:focus{background:#3a5367}
#seam-detail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;padding:10px;background:#1c2b37}#seam-summary{font-size:12px;color:#bbcedb}
@media(max-width:900px){#seams-workspace{grid-template-columns:minmax(0,1fr)}#seams-workspace .dock{max-height:none}}

#seams-workspace .seam-toolbar select,#seams-workspace .seam-toolbar input{width:auto;margin:0}
#seams-workspace .seam-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px}
#seams-workspace .seam-toolbar input[type=number]{width:72px}
#seams-workspace .seam-toolbar input[type=checkbox]{width:auto}
#seam-cloud-viewport{position:relative;height:62vh;min-height:400px;background:#18242e;border-radius:8px;overflow:hidden}
#seam-cloud-viewport iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#seam-cloud-status{font-size:12px;line-height:1.8}
#seams-workspace [hidden]{display:none!important}

.seam-report-section:has(#seam-downloads:empty){display:none}
.seam-cloud-toolbar{flex-wrap:nowrap;overflow-x:auto;padding:4px 0}
.seam-cloud-toolbar>*{flex:none;white-space:nowrap}
.seam-legend{flex-wrap:wrap;gap:6px 10px}
.seam-key{display:inline-flex;align-items:center;gap:5px}
.seam-key i{width:11px;height:11px;border-radius:2px}
.ring-key{background:#ffe45c}.long-key{background:#54b9ff}.inferred-key{background:#d69bff}
.seam-coverage{margin:10px 0;font-size:12px}.seam-coverage summary{cursor:pointer}
#seam-cloud-progress{width:100%}
