#trello-tool{color:var(--ink);overflow:hidden}#trello-tool button{border:1px solid var(--line);background:var(--bg);color:var(--ink);cursor:pointer}#trello-tool button.primary{background:var(--accent);color:var(--on-accent)}.trello-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px 12px}.trello-header h1{font-size:24px;font-weight:650;margin:0}.trello-controls{display:flex;gap:8px;min-width:0}.trello-controls select{max-width:190px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:7px}.trello-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 24px 9px;font-size:12px}.trello-nav>div{display:flex;gap:5px}.trello-nav>span{color:var(--muted)}#trello-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:0 24px 14px}#trello-tool .trello-day{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 2px;border-radius:8px}.trello-day span,.trello-day small{font-size:10px;line-height:12px;color:var(--muted)}.trello-day strong{font-size:18px;line-height:22px;font-weight:500}#trello-tool .trello-day[aria-pressed=true]{background:var(--active);border-color:var(--accent);color:var(--accent)}#trello-tool .trello-day[aria-pressed=true] small{color:var(--accent)}.trello-day.is-today strong{text-decoration:underline;text-underline-offset:3px}#trello-message{font-size:12px;color:var(--muted);margin:0 24px 12px}#trello-message[data-error=true]{color:#cf5361}#trello-content{overflow:auto;flex:1;min-height:0}.trello-table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:13px;table-layout:fixed}.trello-table th{position:sticky;top:0;z-index:1;color:var(--muted);font-size:12px;font-weight:600;background:var(--soft);white-space:nowrap}.trello-table th,.trello-table td{padding:8px 7px;border-inline-end:1px solid var(--trello-grid,var(--line));border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}.trello-table tr>:last-child{border-inline-end:0}.trello-table tbody tr:last-child td{border-bottom:0}.trello-start-at,.trello-completed-at,.trello-due-at,.trello-updated-at{font-size:12px;font-variant-numeric:tabular-nums}.trello-completed-at,.trello-due-at,.trello-updated-at{color:var(--muted)}.trello-task{cursor:pointer}.trello-task:nth-child(even){background:color-mix(in srgb,var(--soft) 28%,var(--bg))}.trello-task:hover{background:var(--soft)}#trello-tool .trello-open-card{display:block;width:100%;height:auto;min-height:20px;padding:0;border:0;background:transparent;text-align:left;line-height:1.4;font-size:13px;font-weight:550;color:var(--ink);border-radius:2px}.trello-progress{color:var(--muted);font-size:12px}.trello-grade{font-weight:500}.trello-task[data-completed=true] .trello-open-card{color:var(--muted)}.trello-empty{font-size:12px;color:var(--muted);padding:12px}.trello-guide{max-width:540px;margin:25px auto;font-size:13px;line-height:1.8}.trello-guide h2{font-size:20px}.trello-guide pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid var(--line);border-radius:6px}.trello-detail{width:min(680px,85vw);max-height:85vh;overflow:hidden;padding:0;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:12px}.trello-detail[open]{display:flex;flex-direction:column}.trello-detail::backdrop{background:#0006}.trello-detail-header{flex-shrink:0;display:flex;justify-content:space-between;gap:20px;align-items:start;padding:20px;border-bottom:1px solid var(--line)}.trello-detail-header>button{flex-shrink:0}.trello-detail-header h2{font-size:19px;margin:0;overflow-wrap:anywhere}.trello-detail-body{min-height:0;overflow:auto;padding:0 20px 24px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.trello-detail-body h3{font-size:13px;margin-top:24px}.trello-description{white-space:pre-wrap} .trello-activity{margin:20px 0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.trello-activity>summary{cursor:pointer;padding:9px 0;color:var(--muted)}.trello-activity-list{list-style:none;margin:0;padding:0;max-height:240px;overflow:auto}.trello-action{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding:4px 0;line-height:22px;min-width:0}.trello-action time{flex:none;color:var(--muted);font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.trello-action-author{flex:0 1 65px;max-width:65px;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trello-action-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trello-attachment{display:block;margin:8px 0;max-width:100%;overflow-wrap:anywhere}
#trello-tool .trello-day{height:auto}.trello-day{min-height:64px}#trello-tool .trello-attachment{height:auto;min-height:32px;padding:6px 10px}.trello-header,.trello-nav,#trello-week,#trello-message{flex-shrink:0}
.trello-guide form{display:flex;flex-direction:column;align-items:stretch;gap:10px}.trello-guide form label{font-size:12px}.trello-guide form input{width:100%;height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink)}.trello-guide form button{height:auto;min-height:34px;padding:8px 12px}.trello-guide form p{margin:6px 0;font-size:12px;color:var(--muted)}#trello-auth-feedback{color:var(--ink)}#trello-tool button:disabled{opacity:.5;cursor:wait}

.trello-nav button{height:26px;min-width:26px;padding:0 7px}#trello-message:empty{display:none}

.trello-list-panel{
 --trello-grid:color-mix(in srgb,var(--line) 58%,var(--bg));
 display:flex;
 flex:0 1 auto;
 flex-direction:column;
 min-height:0;
 margin:0 24px 20px;
 border:1px solid var(--line);
 border-radius:10px;
 overflow:hidden;
 background:var(--bg);
 box-shadow:0 2px 8px color-mix(in srgb,var(--ink) 7%,transparent);
}
.trello-list-panel:not(:has(.trello-table)){border-color:transparent;box-shadow:none}
.trello-progress-label{display:inline-block;padding:2px 5px;border-radius:4px;background:var(--soft);line-height:1.35}
.trello-progress-label[data-progress=started]{background:var(--active);color:var(--accent);font-weight:600}
.trello-progress-label[data-progress=submitted]{color:var(--accent)}
.trello-progress-label[data-progress=correction]{background:#f9eac8;color:#6f4d15}

#trello-tool .trello-title-sort{display:inline-flex;align-items:center;gap:6px;height:auto;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start}
#trello-tool .trello-title-sort:hover,.trello-table th[aria-sort] .trello-title-sort .bi{color:var(--accent)}

.trello-attachment-preview{margin:12px 0 20px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.trello-attachment-preview figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--soft)}.trello-attachment-preview figcaption strong{display:block;font-size:12px;overflow-wrap:anywhere}.trello-attachment-preview figcaption small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.trello-attachment-preview figcaption button{flex-shrink:0;font-size:11px}.trello-attachment-content{padding:12px}.trello-attachment-content img{display:block;max-width:100%;height:auto;margin:auto;border-radius:4px}.trello-attachment-content audio,.trello-attachment-content video{display:block;width:100%}.trello-attachment-content video{max-height:440px}.trello-attachment-content iframe{display:block;width:100%;height:480px;border:0}.trello-attachment-content pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:480px;overflow:auto;font-size:12px;margin:0}.trello-attachment-content>p{font-size:12px;color:var(--muted);margin:0 0 8px}
#trello-tool .trello-image-thumb{display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;height:auto;min-width:80px;min-height:60px;padding:0;border:0;background:var(--soft);cursor:zoom-in;overflow:hidden;border-radius:5px}.trello-attachment-content .trello-image-thumb img{max-width:220px;max-height:150px;width:auto;height:auto;object-fit:contain;margin:0}.trello-image-viewer{width:96vw;max-width:none;height:92vh;max-height:none;padding:0;overflow:hidden;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:10px}.trello-image-viewer[open]{display:flex;flex-direction:column}.trello-image-viewer::backdrop{background:#0009}.trello-image-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;border-bottom:1px solid var(--line);flex:none}.trello-image-toolbar>strong{font-size:12px;flex:1 1 150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trello-image-toolbar button{font-size:12px;flex:none}.trello-image-zoom{min-width:42px;text-align:center;font-size:11px;color:var(--muted)}.trello-image-viewer>[role=status]{display:flex;align-items:center;gap:10px;min-height:30px;padding:4px 12px;font-size:11px;color:var(--muted);flex:none}.trello-image-viewport{position:relative;overflow:auto;flex:1;min-height:0;background:var(--soft);cursor:grab;touch-action:none}.trello-image-viewport.dragging{cursor:grabbing}.trello-image-stage{position:relative}.trello-image-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform-origin:center;user-select:none;-webkit-user-select:none}

#trello-tool .trello-image-icon{width:32px;height:32px;min-width:32px;justify-content:center;padding:0;font-size:16px}.trello-image-icon .bi{pointer-events:none}
.trello-image-frame{display:flex;flex:1;min-width:0;min-height:0;background:var(--soft)}
.trello-image-frame>.trello-image-viewport{min-width:0}
#trello-tool .trello-image-page{flex:none;align-self:center;width:36px;height:36px;margin-inline:6px;border-radius:50%;font-size:21px}
#trello-tool .trello-image-page:hover:not(:disabled){color:var(--accent);border-color:var(--accent)}
#trello-tool .trello-image-page:disabled{opacity:.4;cursor:default}
@media(max-width:500px){#trello-tool .trello-image-page{width:32px;height:32px;margin-inline:4px}}

.trello-attachments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:10px 0 18px;align-items:start}.trello-attachments-grid>.trello-attachment-preview{grid-column:1/-1;margin:0;min-width:0}.trello-attachments-grid>.trello-image-tile{grid-column:auto;display:flex;flex-direction:column;border:0;border-radius:5px;background:transparent}.trello-image-tile .trello-attachment-content{padding:0;min-height:132px;background:var(--soft);border-radius:5px;overflow:hidden}.trello-image-tile figcaption{order:1;display:block;padding:6px 0 0;background:transparent}.trello-image-tile figcaption>div{min-width:0}.trello-image-tile figcaption strong{font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trello-image-tile figcaption small{font-size:10px;margin-top:2px;line-height:1.5;overflow-wrap:anywhere}#trello-tool .trello-image-tile .trello-image-thumb{width:100%;height:132px;min-height:132px;border-radius:5px}#trello-tool .trello-image-tile .trello-image-thumb img{max-width:100%;max-height:132px;width:100%;height:132px;object-fit:contain}.trello-image-tile .trello-attachment-content>p{margin:0;padding:10px;font-size:11px}@media(max-width:500px){.trello-attachments-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

.trello-image-menu{position:fixed;inset:auto;margin:0;padding:4px;min-width:140px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);box-shadow:0 4px 16px #0003}.trello-image-menu button{display:block;width:100%;padding:7px 12px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.trello-image-menu button:hover,.trello-image-menu button:focus-visible{background:var(--soft)}

.trello-detail-body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.trello-action-text:has(a){white-space:normal;overflow-wrap:anywhere}

.trello-attachment-preview figcaption>div:first-child{min-width:0}.trello-attachment-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}#trello-tool .trello-audio-download,#trello-tool .trello-open-attachment{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;font-size:16px}#trello-tool .trello-audio-download:disabled{opacity:.5;cursor:wait}

.trello-editable{cursor:cell;position:relative}.trello-editable:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.trello-cell-options{position:absolute;left:0;top:0;z-index:3;min-width:120px;max-height:240px;overflow:auto;padding:4px;background:var(--bg);border:1px solid var(--accent);border-radius:5px;box-shadow:0 4px 12px #0002}#trello-tool .trello-cell-options button{display:block;width:100%;height:auto;min-height:30px;text-align:left;padding:5px 10px;border:0;border-radius:3px;font:inherit;white-space:nowrap}#trello-tool .trello-cell-options button:hover,#trello-tool .trello-cell-options button:focus{background:var(--soft);outline:2px solid var(--accent);outline-offset:-2px}#trello-tool .trello-cell-options [aria-selected=true]{font-weight:600;color:var(--accent)}.trello-cell-options[aria-busy=true]{opacity:.6;cursor:wait}

#trello-tool .trello-audio-asr{height:32px;min-width:40px;padding:0 6px}.trello-audio-asr:disabled{opacity:.5;cursor:wait}.trello-audio-transcript{padding:0 12px 12px;font-size:12px;user-select:text}.trello-audio-transcript strong{font-size:11px;color:var(--muted)}.trello-audio-transcript pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font:inherit;margin:6px 0 0}

#trello-tool .trello-image-ocr{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;font-size:16px}.trello-image-ocr:disabled{opacity:.5;cursor:wait}.trello-image-content{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden}.trello-image-transcript{flex:0 0 34%;box-sizing:border-box;min-width:0;padding:14px;overflow:auto;border-left:1px solid var(--line);font-size:12px;line-height:1.6;user-select:text;-webkit-user-select:text}.trello-image-transcript[hidden]{display:none}.trello-image-transcript>strong{display:block;margin-bottom:8px}.trello-image-transcript pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0}

.trello-homework-review{border:1px solid var(--line);border-radius:10px;padding:16px;margin:18px 0}

.trello-settings-actions{display:flex;gap:8px;flex-shrink:0}

.trello-account-link{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink)}.trello-account-link::backdrop{background:#0006}.trello-account-link h2{font-size:18px;margin:0 0 14px}.trello-account-link p{line-height:1.6;overflow-wrap:anywhere}.trello-account-link label{display:block;margin:16px 0 6px}.trello-account-link select{box-sizing:border-box;width:100%;padding:8px;background:var(--bg);color:inherit;border:1px solid var(--line);border-radius:5px}.trello-account-link button{padding:8px 14px;margin:8px 8px 0 0;cursor:pointer}.trello-account-link button.primary{background:var(--accent);color:white;border:1px solid var(--accent);border-radius:5px}

.trello-review-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0 8px}
.trello-detail-body .trello-review-header h3{margin:0}
.trello-review-history>[role=status]:empty{display:none}
.trello-review-entry{border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:10px}
.trello-review-entry p{margin:0 0 6px}
.trello-review-grade{display:inline-block;padding:2px 8px;border-radius:8px;background:var(--soft);font-weight:700}
.trello-review-text{white-space:pre-wrap;user-select:text}
.trello-review-entry audio{width:100%}
.trello-cell-form{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:3;display:grid;gap:8px;min-width:max-content;padding:8px;background:var(--bg);border:1px solid var(--accent);border-radius:5px;box-shadow:0 4px 12px #0002}
.trello-updated-at .trello-cell-form,.trello-due-at .trello-cell-form,.trello-detail-field:nth-child(even) .trello-cell-form{inset-inline-start:auto;inset-inline-end:0}
.trello-cell-form :is(input,textarea,select){box-sizing:border-box;padding:6px 8px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:4px;font:inherit}
.trello-editor-actions,.trello-description-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.trello-editor-actions{justify-content:flex-end}
.trello-detail-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:6px 16px}
.trello-detail-field{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;min-height:32px}
.trello-detail-field>span:first-child{color:var(--muted)}
#trello-tool .trello-detail-value{height:auto;min-height:30px;text-align:end}
.trello-description-heading{justify-content:space-between;margin-top:16px}
.trello-description-heading h3{margin:0}
.trello-detail-description .trello-cell-form{position:static;margin-top:8px;min-width:0}
.trello-detail-description .trello-cell-form textarea{min-height:160px;resize:vertical}
.trello-detail-description:has(form) .trello-description{display:none}
.trello-edit-feedback:empty{display:none}
.trello-edit-feedback[data-error=true]{color:var(--danger,#c53535)}
.trello-started-time{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.trello-manual-review{margin:16px 0;border:1px solid var(--line);border-radius:10px;padding:12px}
.trello-manual-review summary{cursor:pointer;font-weight:600}
.trello-manual-review form{display:grid;gap:6px;margin-top:12px}
.trello-manual-review form select,.trello-manual-review form button{justify-self:start}
.trello-manual-review textarea{width:100%;box-sizing:border-box;resize:vertical;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--ink);font:inherit}
.trello-manual-review>[role=status]:empty{display:none}

.trello-planned-duration,.trello-actual-duration{font-size:12px;font-variant-numeric:tabular-nums}
.trello-table :is(.trello-start-at,.trello-completed-at,.trello-due-at,.trello-updated-at){padding-inline:5px;white-space:nowrap}
.trello-actual-duration[data-duration-status=over]{background:#fff0ac;color:#604600;font-weight:700}
.trello-actual-duration[data-duration-status=under]{background:#e4f5e7;color:#175b2a}

.trello-table-menu{position:fixed;z-index:4;padding:4px;min-width:120px;border:1px solid var(--line);border-radius:6px;background:var(--bg);box-shadow:0 4px 16px #0003}
#trello-tool .trello-table-menu button{width:100%;padding:7px 12px;border:0;border-radius:4px;text-align:left}
#trello-tool .trello-table-menu button:hover,#trello-tool .trello-table-menu button:focus-visible{background:var(--soft)}
.trello-sort-menu{min-width:144px}
#trello-tool .trello-sort-menu button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:30px;height:auto;padding:5px 8px;font-size:12px;white-space:nowrap}
#trello-tool .trello-sort-menu button[aria-checked=true]{color:var(--accent);font-weight:600}
.trello-sort-check{margin-inline-start:auto}
#trello-tool :is(.trello-table-menu,.trello-delete-dialog) button.danger{color:var(--danger,#c53535)}
.trello-delete-dialog{width:min(380px,calc(100vw - 48px));max-height:85vh;padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);overflow-wrap:anywhere}
.trello-delete-dialog::backdrop{background:#0006}
.trello-delete-dialog h2{margin:0;font-size:18px}
.trello-delete-dialog p{font-size:13px;line-height:1.6}
