:root{--bg:#fff;--surface:#f9f9f9;--text:#333;--text-secondary:#666;--text-muted:#999;--border:#eee;--border-light:#ddd;--input-bg:#fff;--input-border:#ddd}[data-theme=dark]{--bg:#1a1a2e;--surface:#16213e;--text:#e2e8f0;--text-secondary:#a0aec0;--text-muted:#718096;--border:#2d3748;--border-light:#4a5568;--input-bg:#2d3748;--input-border:#4a5568}*{box-sizing:border-box;margin:0;padding:0}html{scrollbar-gutter:stable}html,body{max-width:100vw;overflow-x:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;transition:background-color .2s,color .2s}button,input,select,textarea{font-family:inherit}a{color:inherit;text-decoration:none}input[type=date]::-webkit-datetime-edit-month-field{color:var(--text-muted)}input[type=date]::-webkit-datetime-edit-day-field{color:var(--text-muted)}input[type=date]::-webkit-datetime-edit-year-field{color:var(--text-muted)}input[type=date]:focus::-webkit-datetime-edit-month-field{color:var(--text)}input[type=date]:focus::-webkit-datetime-edit-day-field{color:var(--text)}input[type=date]:focus::-webkit-datetime-edit-year-field{color:var(--text)}input[type=date].has-value::-webkit-datetime-edit-month-field{color:var(--text)}input[type=date].has-value::-webkit-datetime-edit-day-field{color:var(--text)}input[type=date].has-value::-webkit-datetime-edit-year-field{color:var(--text)}input[type=date]::-webkit-datetime-edit-text{color:var(--text-muted)}input[type=date]:focus::-webkit-datetime-edit-text{color:var(--text)}input[type=date].has-value::-webkit-datetime-edit-text{color:var(--text)}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background-color:var(--input-bg);color:var(--text);border-color:var(--input-border)}[data-theme=dark] input::placeholder{color:var(--text-muted)}[data-theme=dark] ::-webkit-scrollbar{width:10px;height:0}[data-theme=dark] ::-webkit-scrollbar-track{background:var(--surface)}[data-theme=dark] ::-webkit-scrollbar-thumb{background:var(--border-light);border-radius:5px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#5a6577}.snapshot-bar-scroll{scrollbar-width:none}.snapshot-bar-scroll::-webkit-scrollbar{display:none}.chart-project-picker:focus{outline:none}.chart-project-picker:focus-visible{outline-offset:2px;outline:2px solid #0070f3}[data-theme=dark] .chart-project-picker:focus-visible{outline-color:#60a5fa}.app-main:after{content:"";margin-top:4rem;display:block}
.pt-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;margin-bottom:1rem;display:flex}.pt-head h2{color:var(--pt-text);font-size:1.5rem}.pt-toolbar{flex-wrap:wrap;gap:.5rem;display:flex}.pt-btn{border:1px solid var(--pt-btn-border);background:var(--pt-bg);color:var(--pt-text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;align-items:center;gap:.4rem;padding:.45rem .8rem;font-size:.9rem;font-weight:500;line-height:1.3;display:inline-flex}.pt-btn svg{color:var(--pt-meta);flex:none}.pt-btn:hover:not(:disabled){background:var(--pt-hover-bg)}.pt-btn:disabled,.pt-btn[aria-disabled=true]{opacity:.5;cursor:not-allowed}.pt-btn-primary{background:var(--pt-primary);border-color:var(--pt-primary);color:#fff;font-weight:600}.pt-btn-primary svg{color:#fff}.pt-btn-primary:hover:not(:disabled){background:var(--pt-primary-hover);border-color:var(--pt-primary-hover)}.pt-root :where(button,input,select,textarea,[tabindex]):focus-visible,.pt-btn:focus-visible,.pt-tile button:not(.pt-open):focus-visible,.pt-dialog button:focus-visible{outline:2px solid var(--pt-focus);outline-offset:2px}.pt-btn:has(input:focus-visible){outline:2px solid var(--pt-focus);outline-offset:2px}.pt-empty{color:var(--pt-meta);font-style:italic}.pt-filter{margin:-.25rem 0 1rem}.pt-check{color:var(--pt-meta);cursor:pointer;align-items:center;gap:.5rem;font-size:.9rem;display:inline-flex}.pt-check input{width:16px;height:16px;accent-color:var(--pt-primary);margin:0}.pt-area{container-type:inline-size}.pt-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:0;list-style:none;display:grid}@container (min-width:560px){.pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width:860px){.pt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.pt-tile{background:var(--pt-tile-tint,var(--pt-surface));border:2px solid var(--pt-tile-border,var(--pt-border));cursor:pointer;border-radius:8px;flex-direction:column;gap:2px;min-width:0;padding:10px 10px 8px 12px;transition:border-color .12s,box-shadow .12s,opacity .2s;display:flex;position:relative}.pt-tile:hover{border-color:var(--pt-tile-hover-border);box-shadow:0 2px 10px var(--pt-shadow)}.pt-tile.pt-dragging{opacity:.5}.pt-tile[data-color=blue]{--pt-tile-tint:var(--pt-tint-blue);--pt-swatch:var(--pt-sw-blue)}.pt-tile[data-color=teal]{--pt-tile-tint:var(--pt-tint-teal);--pt-swatch:var(--pt-sw-teal)}.pt-tile[data-color=slate]{--pt-tile-tint:var(--pt-tint-slate);--pt-swatch:var(--pt-sw-slate)}.pt-tile[data-color=purple]{--pt-tile-tint:var(--pt-tint-purple);--pt-swatch:var(--pt-sw-purple)}.pt-tile[data-color=pink]{--pt-tile-tint:var(--pt-tint-pink);--pt-swatch:var(--pt-sw-pink)}.pt-tile.pt-archived{--pt-tile-border:var(--pt-archived-border);background:color-mix(in srgb, var(--pt-tile-tint,var(--pt-surface)) 50%, var(--pt-surface));border-style:dashed}.pt-archived .pt-name{color:var(--pt-meta)}.pt-badge{background:var(--pt-badge-bg);color:var(--pt-badge-text);border-radius:4px;flex:none;align-self:center;padding:1px 7px;font-size:.72rem;font-weight:600}.pt-name-row{align-items:flex-start;gap:6px;display:flex}.pt-grip{z-index:1;color:var(--pt-grip);cursor:grab;flex:none;margin-top:5px;display:inline-flex;position:relative}.pt-name{overflow-wrap:anywhere;min-width:0;color:var(--pt-text);flex:auto;margin:0;padding-top:1px;font-size:1.05rem;font-weight:600;line-height:1.35}.pt-open{text-align:left;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;font-weight:600}.pt-open:after{content:"";border-radius:6px;position:absolute;inset:0}.pt-open:focus-visible{outline:none}.pt-open:focus-visible:after{box-shadow:0 0 0 2px var(--pt-bg), 0 0 0 4px var(--pt-focus)}.pt-tile:hover .pt-open,.pt-open:focus-visible{text-underline-offset:3px;text-decoration:underline}.pt-meta{color:var(--pt-meta);margin:0;padding-left:16px;font-size:.85rem;line-height:1.45}.pt-meta-warn{color:var(--pt-warn)}.pt-tile button:not(.pt-open){z-index:1;position:relative}.pt-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 8px;margin-top:auto;padding-top:6px;padding-left:10px;display:flex}.pt-act-group{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.pt-move-pair{gap:2px;display:inline-flex}.pt-color{display:inline-flex}.pt-color-btn{width:28px;height:28px;color:var(--pt-grip);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;transition:background .12s;display:inline-flex}.pt-color-btn:hover,.pt-color-btn:focus-visible{background:var(--pt-hover-bg)}.pt-cdot{background:var(--pt-swatch,transparent);border:2px solid;border-radius:50%;width:15px;height:15px}.pt-tile[data-color=none] .pt-cdot{background:linear-gradient(135deg,#0000 44%,currentColor 44% 56%,#0000 56%)}.pt-popover{z-index:20;background:var(--pt-bg);width:max-content;max-width:280px;color:var(--pt-text);border:1px solid var(--pt-archived-border);box-shadow:0 8px 24px var(--pt-shadow);cursor:default;border-radius:8px;padding:10px;position:absolute;top:calc(100% - 6px);right:6px}.pt-pop-title{color:var(--pt-meta);margin:0 0 6px;font-size:.8rem;font-weight:600}.pt-swatches{grid-template-columns:repeat(2,auto);gap:4px 6px;display:grid}.pt-sw{cursor:pointer;border:2px solid #0000;border-radius:999px;align-items:center;gap:7px;padding:4px 10px 4px 5px;font-size:.85rem;display:inline-flex;position:relative}.pt-sw:hover{background:var(--pt-hover-bg)}.pt-sw input{opacity:0;width:1px;height:1px;margin:0;position:absolute}.pt-sw:has(input:checked){border-color:var(--pt-text);font-weight:600}.pt-sw:has(input:focus-visible){outline:2px solid var(--pt-focus);outline-offset:2px}.pt-dot{border:1px solid var(--pt-dot-border);border-radius:50%;flex:none;width:18px;height:18px}.pt-dot[data-c=blue]{background:var(--pt-sw-blue)}.pt-dot[data-c=teal]{background:var(--pt-sw-teal)}.pt-dot[data-c=slate]{background:var(--pt-sw-slate)}.pt-dot[data-c=purple]{background:var(--pt-sw-purple)}.pt-dot[data-c=pink]{background:var(--pt-sw-pink)}.pt-dot[data-c=none]{border-color:var(--pt-meta);background:linear-gradient(135deg, transparent 44%, var(--pt-meta) 44%, var(--pt-meta) 56%, transparent 56%)}.pt-pop-hint{color:var(--pt-meta);margin:6px 0 0;font-size:.75rem}.pt-reveal{opacity:0;transition:opacity .12s}.pt-tile:hover .pt-reveal,.pt-tile:focus-within .pt-reveal,.pt-tile.pt-pop-open .pt-reveal{opacity:1}@media (hover:none){.pt-reveal{opacity:1}.pt-tile:hover{border-color:var(--pt-tile-border,var(--pt-border));box-shadow:none}}.pt-overlay{z-index:9999;background:#00000080;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.pt-dialog{background:var(--pt-surface);width:100%;max-width:560px;max-height:100%;color:var(--pt-text);border-radius:12px;padding:1.75rem 2rem;overflow:auto;box-shadow:0 20px 60px #0000004d}.pt-dialog h3{margin-bottom:1rem;font-size:1.25rem;font-weight:700}.pt-field{border:0;min-width:0;margin:0 0 .9rem;padding:0}.pt-field>label,.pt-field>legend{color:var(--pt-meta);margin-bottom:.3rem;padding:0;font-size:.875rem;font-weight:600;display:block}.pt-opt{font-weight:400}.pt-dialog .pt-input{width:100%;font:inherit;border:1px solid var(--pt-input-border);background:var(--pt-input-bg);color:var(--pt-text);border-radius:4px;padding:.6rem .75rem;font-size:1rem}.pt-dialog .pt-date{width:200px;max-width:100%}.pt-dialog .pt-input[aria-invalid=true]{border:2px solid var(--pt-error-border)}.pt-dialog .pt-input:focus-visible{outline:2px solid var(--pt-focus);outline-offset:1px}.pt-dialog .pt-input::placeholder,.pt-root textarea::placeholder{color:var(--pt-meta);opacity:1}.pt-dialog .pt-date::-webkit-datetime-edit-month-field{color:var(--pt-meta)}.pt-dialog .pt-date::-webkit-datetime-edit-day-field{color:var(--pt-meta)}.pt-dialog .pt-date::-webkit-datetime-edit-year-field{color:var(--pt-meta)}.pt-dialog .pt-date::-webkit-datetime-edit-text{color:var(--pt-meta)}.pt-field-msg{min-height:1.2em;margin-top:.25rem;font-size:.8rem}.pt-field-msg.pt-error{color:var(--pt-error)}.pt-field-msg.pt-warn{color:var(--pt-warn)}.pt-dlg-buttons{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;margin-top:1.25rem;display:flex}.pt-dlg-buttons .pt-btn{padding:.6rem 1.25rem;font-weight:600}.pt-kbd-hint{text-align:right;color:var(--pt-meta);margin-top:.75rem;font-size:.78rem}.pt-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.pt-root *,.pt-overlay *{transition:none!important}}
