.to-emailpreview-content{display:grid;grid-template-columns:18.5rem minmax(0,1fr);gap:1rem;align-items:start}.to-emailpreview-side{display:flex;flex-direction:column;gap:.75rem;min-width:0;position:sticky;top:0;max-height:calc(100vh - 12rem);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--th-scrollbar) transparent}.to-emailpreview-main{display:flex;flex-direction:column;gap:.75rem;min-width:0}@media(max-width:900px){.to-emailpreview-content{grid-template-columns:minmax(0,1fr)}.to-emailpreview-side{position:static;max-height:none;overflow-y:visible}}.to-emailpreview-header{display:flex;flex-direction:column;gap:.5rem;border:1px solid var(--th-border);border-radius:.375rem;padding:.75rem .875rem;background:var(--th-bg-surface)}.to-emailpreview-header-row{display:flex;flex-direction:column;gap:.0625rem;font-size:.8125rem}.to-emailpreview-header-label{color:var(--th-text-faint);font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.to-emailpreview-header-value{color:var(--th-text-secondary);word-break:break-word}.to-emailpreview-iframe{width:100%;height:65vh;border:1px solid var(--th-border);border-radius:.375rem;background:#fff}.to-emailpreview-attachments,.to-emailpreview-links{display:flex;flex-direction:column;gap:.375rem;border:1px solid var(--th-border);border-radius:.375rem;padding:.625rem .875rem;background:var(--th-bg-surface)}.to-emailpreview-link{display:flex;align-items:flex-start;gap:.4rem;padding:.125rem 0;color:var(--th-text-secondary);text-decoration:none;font-size:.8125rem}.to-emailpreview-link:hover .to-emailpreview-link-label{color:var(--th-text-primary);text-decoration:underline}.to-emailpreview-link:focus-visible{outline:2px solid #818cf8;outline-offset:2px;border-radius:.25rem}.to-emailpreview-link>i{margin-top:.2rem;flex-shrink:0;color:var(--th-text-faint)}.to-emailpreview-link-text{display:flex;flex-direction:column;min-width:0}.to-emailpreview-link-label{word-break:break-word}.to-emailpreview-link-url{font-size:.6875rem;color:var(--th-text-faint);word-break:break-all}.to-emailpreview-attachments-title{font-size:.75rem;font-weight:700;color:var(--th-text-primary)}.to-emailpreview-attachment-row{display:flex;align-items:center}.to-emailpreview-attachment-link{display:inline-flex;align-items:center;gap:.4rem;color:var(--th-text-secondary);text-decoration:none;font-size:.8125rem;word-break:break-all}.to-emailpreview-attachment-link:hover{color:var(--th-text-primary);text-decoration:underline}.to-emailpreview-stage-scroll{overflow-x:auto}.to-emailpreview-stage{position:relative;isolation:isolate;box-sizing:content-box;width:820px;margin:0 auto;border:1px solid var(--th-border);border-radius:.375rem;background:#fff;overflow:hidden}.to-emailpreview-stage--annotating{border-color:#6366f1;box-shadow:0 0 0 2px #6366f140}.to-emailpreview-iframe--annotated{display:block;width:100%;border:0;border-radius:0}.to-emailpreview-canvas-layer{position:absolute;inset:0;z-index:2;pointer-events:none}.to-emailpreview-stage--annotating .to-emailpreview-canvas-layer{pointer-events:auto}.to-emailpreview-toolbar{position:sticky;top:-1.25rem;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.5rem .625rem;border:1px solid var(--th-border);border-radius:.375rem;background:var(--th-bg-surface)}.to-emailpreview-toolgroup{display:flex;align-items:center;gap:.5rem}.to-emailpreview-toolgroup--mode{gap:0}.to-emailpreview-toolgroup--mode .to-emailpreview-btn{border-radius:0}.to-emailpreview-toolgroup--mode .to-emailpreview-btn:first-child{border-radius:.375rem 0 0 .375rem}.to-emailpreview-toolgroup--mode .to-emailpreview-btn:last-child{border-radius:0 .375rem .375rem 0;margin-left:-1px}.to-emailpreview-btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;min-width:2.25rem;height:2.25rem;padding:0 .625rem;border:1px solid var(--th-border-muted);border-radius:.375rem;background:var(--th-bg-elevated);color:var(--th-text-secondary);font-size:.8125rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.to-emailpreview-btn:hover{background:var(--th-bg-muted);color:var(--th-text-primary)}.to-emailpreview-btn:focus-visible{outline:2px solid #818cf8;outline-offset:2px;position:relative;z-index:1}.to-emailpreview-btn.is-active{background:#6366f133;border-color:#6366f1;color:var(--th-text-primary)}.to-emailpreview-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.to-emailpreview-btn[aria-disabled=true]:hover{background:var(--th-bg-elevated);color:var(--th-text-secondary)}.to-emailpreview-color.is-off{opacity:.45;pointer-events:none}.to-emailpreview-hint{margin-left:auto;font-size:.75rem;color:var(--th-text-muted)}@media(prefers-reduced-motion:reduce){.to-emailpreview-btn{transition:none}}
