.todo-panel .hint,.todo-preview .hint{margin:8px 0 16px}.todo-add{display:flex;gap:12px;margin:22px 0}.todo-add .input{flex:1;min-width:0}.todo-add .btn{flex-shrink:0}.todo-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.todo-list{list-style:none;padding:0;margin:0}.todo-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--border,#ffffff18)}.todo-row:last-child{border-bottom:0}.todo-check{display:flex;align-items:flex-start;gap:14px;flex:1;min-width:0;cursor:pointer}.todo-check input{width:20px;height:20px;flex:0 0 20px;margin-top:3px;accent-color:var(--gold,#d4b47b);cursor:pointer}.todo-check span{white-space:pre-wrap;overflow-wrap:anywhere}.todo-row.is-done .todo-check span{text-decoration:line-through;color:var(--muted)}.todo-row-actions{display:flex;gap:6px;flex-shrink:0}.todo-empty{padding:34px 20px;text-align:center;border:1px dashed var(--border,#ffffff25);border-radius:12px;margin-bottom:14px}.todo-empty p{color:var(--muted);margin-top:8px}.todo-preview{margin:22px 0}.todo-count{font-family:var(--sans);font-size:14px;color:var(--muted);margin-left:10px}.trait-library-tools{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:20px}.trait-library-tools .input{flex:1;min-width:200px}.trait-card{padding:20px 0;border-bottom:1px solid var(--border,#ffffff18)}.trait-card:last-child{border-bottom:0}.trait-card .trait-item{padding:0;border:0;align-items:flex-start}.trait-card .trait-copy p{white-space:pre-wrap;overflow-wrap:anywhere}.trait-card details{margin-top:12px}.trait-card summary{cursor:pointer;color:var(--gold,#d4b47b);font-size:12px}.trait-card table{margin-top:12px;table-layout:fixed;width:100%}.trait-card th:first-child{width:54px}.trait-card th:nth-child(2){width:92px}.trait-card th:nth-child(3){width:92px}.trait-card td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.trait-cap-notice{display:block;color:var(--gold,#d4b47b);font-size:11px;margin-top:4px}.trait-empty{color:var(--muted);padding:24px 0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.todo-add{flex-direction:column}.todo-row{flex-direction:column;gap:10px}.todo-row-actions{margin-left:34px}.trait-card .trait-item{flex-direction:column;gap:14px}.trait-card .trait-item>select{width:100%}.trait-card th:nth-child(2),.trait-card th:nth-child(3){width:68px}}@media print{.todo-add,.todo-filters,.todo-row-actions,.todo-preview button{display:none}.todo-row{break-inside:avoid}}

.trait-card th:last-child{width:auto}
