.tw-dialog{box-sizing:border-box;width:min(780px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #354554;border-radius:20px;background:#101723;color:#e4eaf1;overflow:auto;box-shadow:0 24px 100px #0009;font:inherit}.tw-dialog::backdrop{background:#030811b8;backdrop-filter:blur(5px)}.tw-dialog[open]{display:block}.tw-head,.tw-item-heading,.tw-toolbar,.tw-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.tw-head h2{margin:3px 0 0}.tw-eyebrow{color:#79cec2;font-size:12px;margin:0}.tw-close{flex-shrink:0}.tw-intro,.tw-meta,.tw-note{color:#9daabc;line-height:1.6}.tw-meta{font-size:13px}.tw-toolbar{margin:16px 0}.tw-items{display:grid;gap:14px}.tw-item{padding:18px;border:1px solid #2e3b4e;border-radius:13px;background:#151e2c}.tw-item h3{font-size:16px;margin:0;line-height:1.5;overflow-wrap:anywhere}.tw-status{font-size:12px;padding:5px 9px;border-radius:30px;white-space:nowrap;background:#26344b;color:#bfcde0}.tw-done{background:#1c423c;color:#97e0c8}.tw-in_review,.tw-stale{background:#443a20;color:#e7cd87}.tw-actions{justify-content:flex-start;flex-wrap:wrap}.tw-dialog button,.tw-dialog input,.tw-dialog select,.tw-dialog summary,.tw-card-button,.tw-launcher{min-height:44px}.tw-dialog button{min-width:44px}.tw-dialog summary{cursor:pointer;display:flex;align-items:center;color:#8ad8cd}.tw-dialog form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-block:12px}.tw-dialog label{display:grid;gap:8px;color:#bdc8d7;font-size:13px}.tw-dialog label[hidden]{display:none}.tw-dialog select,.tw-dialog input{box-sizing:border-box;width:100%;min-width:0;padding:9px 12px;background:#0c1420;color:#e4eaf1;border:1px solid #41516a;border-radius:9px;font:inherit}.tw-dialog form button{align-self:end;justify-self:start}.tw-dialog :focus-visible,.tw-card-button:focus-visible{outline:2px solid #8ce0d3;outline-offset:3px}.tw-dialog button:disabled{opacity:.5;cursor:default}.tw-add{padding:8px 16px;margin-bottom:18px;border:1px solid #32465a;border-radius:12px}.tw-error{color:#ffaca8;line-height:1.5}.tw-error:empty{display:none}.tw-empty{padding:24px;color:#9daabc;text-align:center}.tw-card-button{font:inherit;font-size:12px;border:1px solid #344c58;border-radius:8px;background:#0c2229;color:#8cd8cc;padding:8px 12px;cursor:pointer;margin-top:12px}.tw-launcher{justify-content:center;color:#8cd8cc!important;cursor:pointer}@media(max-width:540px){.tw-dialog{padding:16px}.tw-dialog form{grid-template-columns:1fr}.tw-item-heading{align-items:flex-start;flex-direction:column}.tw-item{padding:14px}.tw-actions button{flex:1}.tw-head h2{font-size:22px}}

.tw-preview{padding:12px;margin-block:12px;border-inline-start:3px solid #75cfc1;background:#0c1420;border-radius:6px}.tw-preview h4{margin:0 0 8px}.tw-preview pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;line-height:1.6}
/* light-theme:begin — generated by tools/light-theme.mjs from the rules above; do not edit by hand (hand-tuned light rules go after the end marker) */
html[data-theme="light"] .tw-dialog{border:1px solid #dce0e4;background:#f1f3f6;color:#171e26;box-shadow:0 24px 100px rgba(15,23,42,.21)}
html[data-theme="light"] .tw-dialog::backdrop{background:rgba(15,23,42,.397)}
html[data-theme="light"] .tw-eyebrow{color:#349789}
html[data-theme="light"] .tw-intro,html[data-theme="light"] .tw-meta,html[data-theme="light"] .tw-note{color:#4f5a6b}
html[data-theme="light"] .tw-item{border:1px solid #dfe2e7;background:#edf0f3}
html[data-theme="light"] .tw-status{background:#e1e4eb;color:#2a374a}
html[data-theme="light"] .tw-done{background:#e5efed;color:#21785b}
html[data-theme="light"] .tw-in_review,html[data-theme="light"] .tw-stale{background:#edebe4;color:#826517}
html[data-theme="light"] .tw-dialog summary{color:#2a8779}
html[data-theme="light"] .tw-dialog label{color:#333d4c}
html[data-theme="light"] .tw-dialog select,html[data-theme="light"] .tw-dialog input{background:#f2f5f8;color:#171e26;border:1px solid #d3d7de}
html[data-theme="light"] .tw-dialog :focus-visible,html[data-theme="light"] .tw-card-button:focus-visible{outline:2px solid #8ce0d3}
html[data-theme="light"] .tw-add{border:1px solid #dae0e5}
html[data-theme="light"] .tw-error{color:#7a0600}
html[data-theme="light"] .tw-empty{color:#4f5a6b}
html[data-theme="light"] .tw-card-button{border:1px solid #dbe1e4;background:#eff5f7;color:#2a8476}
html[data-theme="light"] .tw-launcher{color:#2a8476 !important}
html[data-theme="light"] .tw-preview{border-inline-start:3px solid #75cfc1;background:#f2f5f8}
/* light-theme:end */
