.tp-preview{position:fixed;inset:0;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0;border:none;overflow:hidden;background:var(--bg-primary);color:var(--text-primary)}.tp-preview[open]{display:flex;flex-direction:column}.tp-preview::backdrop{background:#000000a6}.tp-preview-toast{display:flex;align-items:center;gap:var(--space-md);padding:12px var(--space-lg);background:linear-gradient(135deg,rgba(var(--gold-primary-rgb),.22),rgba(var(--gold-secondary-rgb),.14));border-bottom:1px solid var(--lx-gold-text);box-shadow:var(--shadow-md);flex-shrink:0}.tp-preview-toast-dot{width:10px;height:10px;border-radius:var(--radius-full);background:var(--lx-gold-text);box-shadow:var(--gold-glow);flex-shrink:0;animation:tp-preview-pulse 1.8s ease-in-out infinite}@keyframes tp-preview-pulse{0%,to{opacity:1}50%{opacity:.35}}@media (prefers-reduced-motion: reduce){.tp-preview-toast-dot{animation:none}}.tp-preview-toast-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.tp-preview-toast-title{color:var(--lx-gold-text);font-size:14px;font-weight:700}.tp-preview-toast-desc{color:var(--text-secondary);font-size:12px}.tp-preview-toast-actions{display:flex;align-items:center;gap:var(--space-sm);flex-shrink:0}.tp-preview-toast-use-form{margin:0}.tp-preview-toast-use{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border:none;border-radius:var(--radius-md);background:var(--gold-gradient-primary);color:#1a1a1e;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;white-space:nowrap}.tp-preview-toast-use:hover{text-decoration:none}.tp-preview-toast-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border-primary);border-radius:var(--radius-md);background:var(--bg-surface);color:var(--text-primary);cursor:pointer}.tp-preview-toast-close svg{width:20px;height:20px}.tp-preview-toast-use:focus-visible,.tp-preview-toast-close:focus-visible,.tp-preview-tab:focus-visible{outline:2px solid var(--lx-gold-text);outline-offset:2px}.tp-preview-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:var(--space-lg);gap:var(--space-md);overflow-y:auto}.tp-preview-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-md);flex-shrink:0}.tp-preview-title{margin:0;color:var(--text-primary);font-size:18px;font-weight:700}.tp-preview-tabs{display:flex;gap:var(--space-sm)}.tp-preview-tab{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 18px;border:1px solid var(--border-primary);border-radius:var(--radius-full);background:var(--bg-surface);color:var(--text-secondary);font-size:13px;cursor:pointer}.tp-preview-tab.is-active{background:rgba(var(--gold-primary-rgb),.12);border-color:var(--lx-gold-text);color:var(--lx-gold-text);font-weight:700}.tp-preview-tab-count{background:rgba(var(--gold-primary-rgb),.15);color:var(--lx-gold-text);border-radius:var(--radius-full);padding:1px 8px;font-size:11px;font-weight:600}.tp-preview-pane{display:none;flex:1;min-height:0}.tp-preview-pane.is-active{display:flex;flex-direction:column;min-height:0}.tp-preview-canvas{position:relative;flex:1;min-height:320px;overflow:hidden;border:1px solid var(--border-primary);border-radius:var(--radius-lg);background:#fff;cursor:grab;touch-action:none}.tp-preview-canvas.is-grabbing{cursor:grabbing}.tp-preview-stage{position:absolute;inset:var(--space-md);transform-origin:0 0}.tp-preview-stage .whiteboard-preview-svg{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;display:block;pointer-events:none}.tp-preview-zoom-btn svg{width:18px;height:18px;max-width:18px!important;max-height:18px!important}.tp-preview-zoom{position:absolute;right:var(--space-md);bottom:var(--space-md);display:flex;align-items:center;gap:4px;padding:5px 6px;border:1px solid var(--border-primary);border-radius:var(--radius-full);background:var(--bg-elevated);box-shadow:var(--shadow-lg)}.tp-preview-zoom-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:none;border-radius:var(--radius-full);background:transparent;color:var(--text-primary);cursor:pointer}.tp-preview-zoom-btn:hover{background:var(--bg-surface-hover);color:var(--lx-gold-text)}.tp-preview-zoom-level{min-width:48px;text-align:center;color:var(--text-secondary);font-size:12px;font-variant-numeric:tabular-nums}.tp-preview-zoom-fit{min-height:34px;padding:0 12px;border:1px solid var(--border-primary);border-radius:var(--radius-full);background:transparent;color:var(--text-secondary);font-size:12px;white-space:nowrap;cursor:pointer}.tp-preview-zoom-fit:hover{border-color:var(--lx-gold-text);color:var(--lx-gold-text)}.tp-preview-zoom-btn:focus-visible,.tp-preview-zoom-fit:focus-visible{outline:2px solid var(--lx-gold-text);outline-offset:2px}.tp-preview-pan-hint{position:absolute;left:var(--space-md);bottom:var(--space-md);margin:0;padding:4px 10px;border-radius:var(--radius-full);background:#0000008c;color:#fff;font-size:11px;pointer-events:none}.tp-preview-empty,.tp-preview-column-empty{color:var(--text-muted);font-size:13px}.tp-preview-board{display:flex;gap:var(--space-md);align-items:flex-start;padding-bottom:var(--space-sm);overflow-x:auto}.tp-preview-column{flex:0 0 260px;padding:var(--space-md);border:1px solid var(--border-primary);border-radius:var(--radius-lg);background:var(--bg-surface)}.tp-preview-column-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);margin-bottom:var(--space-sm);padding-bottom:var(--space-sm);border-bottom:1px solid var(--border-secondary)}.tp-preview-column-name{color:var(--text-primary);font-size:13px;font-weight:700}.tp-preview-column-count{background:var(--bg-surface-active);color:var(--text-secondary);border-radius:var(--radius-full);padding:1px 8px;font-size:11px}.tp-preview-task{display:flex;align-items:flex-start;gap:var(--space-sm);margin-bottom:var(--space-sm);padding:10px 12px;border:1px solid var(--border-secondary);border-radius:var(--radius-md);background:var(--bg-elevated)}.tp-preview-task--child{margin-left:18px;border-left:2px solid var(--gold-border-medium)}.tp-preview-task-priority{width:4px;align-self:stretch;border-radius:var(--radius-full);flex-shrink:0}.tp-preview-task-priority--urgent{background:var(--color-danger)}.tp-preview-task-priority--high{background:var(--color-warning)}.tp-preview-task-priority--medium{background:var(--color-info)}.tp-preview-task-priority--low{background:var(--border-primary)}.tp-preview-task-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.tp-preview-task-title{color:var(--text-primary);font-size:13px;font-weight:600;line-height:1.35}.tp-preview-task-desc{color:var(--text-muted);font-size:11px;line-height:1.4}.tp-preview-task-sp{color:var(--lx-gold-text);font-size:11px;font-weight:700;white-space:nowrap;flex-shrink:0}@media (max-width: 768px){.tp-preview-toast{flex-wrap:wrap;padding:10px var(--space-md)}.tp-preview-toast-desc{display:none}.tp-preview-body{padding:var(--space-md) var(--space-md) calc(var(--space-md) + var(--safe-area-bottom, 0px))}.tp-preview-head{flex-direction:column;align-items:flex-start}.tp-preview-tabs{width:100%;overflow-x:auto}.tp-preview-column{flex-basis:220px}}@media (max-width: 600px){.tp-preview-toast-actions{flex-basis:100%}}@media (hover: none) and (pointer: coarse){.tp-preview-zoom{gap:var(--space-sm)}.tp-preview-zoom-btn{width:44px;height:44px}.tp-preview-zoom-fit,.tp-preview-toast-use{min-height:44px}.tp-preview-toast-close{width:44px;height:44px}}@media (max-width: 768px),(hover: none) and (pointer: coarse){.tp-preview-pan-hint{display:none}}@media (max-height: 500px) and (orientation: landscape){.tp-preview-toast{padding:6px var(--space-md)}.tp-preview-body{padding:var(--space-sm) var(--space-md) calc(var(--space-sm) + var(--safe-area-bottom, 0px));gap:var(--space-sm)}.tp-preview-head{gap:var(--space-sm)}.tp-preview-canvas{min-height:140px}}.tp-preview-toast{padding-top:calc(12px + var(--safe-area-top, 0px))}@media (max-width: 768px){.tp-preview-toast{padding-top:calc(10px + var(--safe-area-top, 0px))}}@media (max-height: 500px) and (orientation: landscape){.tp-preview-toast{padding-top:calc(6px + var(--safe-area-top, 0px))}.tp-preview-toast,.tp-preview-body{padding-inline-start:max(var(--space-md),calc(var(--space-md) + var(--safe-area-left, 0px)));padding-inline-end:max(var(--space-md),calc(var(--space-md) + var(--safe-area-right, 0px)))}}
