.task-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .7fr) minmax(160px, 1fr); gap: 12px; margin: 16px 0; }
.task-fields label { display: grid; align-content: start; gap: 6px; font-size: 14px; }
.task-fields input, .task-fields select, #trend-domain, #favorite-choice { width: 100%; min-width: 0; max-width: 100%; padding: 10px; border: 1px solid #84978a; border-radius: 6px; background: #fff; color: #15251c; font: inherit; }
[data-due-note] { color: #a1281d; font-weight: 600; }
#favorite-sites, .score-timeline { list-style: none; padding: 0; }
#favorite-sites li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #aebdb3; }
#favorite-sites span { flex: 1 1 200px; overflow-wrap: anywhere; }
#recent-reports-list .favorite-add-row { flex-wrap: wrap; gap: 12px; }
.favorite-add-row label { flex-basis: 100%; }
.favorite-add-row select { flex: 1 1 220px; }
.favorite-add-row .button { flex: 0 1 auto; }
.score-timeline li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 2fr) 70px; gap: 12px; align-items: center; margin: 12px 0; }
.score-timeline meter { width: 100%; height: 20px; }
.lab-result { margin-top: 32px; padding-top: 24px; border-top: 1px solid #aebdb3; }
.lab-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 16px/1.65 var(--mono); margin-top: 16px; }
.lab-result a { color: #28620f; text-decoration: underline; }
.snippet-builder { padding-bottom: 20px; border-bottom: 1px solid #aebdb3; margin-bottom: 20px; }
.snippet-builder summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.snippet-builder input, .snippet-builder textarea { margin: 6px 0 12px; width: 100%; }
#lab-form { max-width: 900px; }
#lab-form textarea { font-family: var(--mono); }
@media (max-width: 700px) { .task-fields { grid-template-columns: 1fr; } .score-timeline li { grid-template-columns: minmax(0, 1fr) 80px; } .score-timeline meter { grid-row: 2; grid-column: 1 / -1; } }
.task-info-print { display: none; overflow-wrap: anywhere; }
@media print { .task-fields { display: none; } .task-info-print { display: block; } }
.local-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.local-form label { display: grid; gap: 6px; flex: 1 1 230px; }
.local-form p { flex-basis: 100%; }
.local-form input, #history-search, .checklist-filters input, .bulk-tools input:not([type="checkbox"]), .bulk-tools select, .bulk-tools textarea, .workspace-transfer input, .draft-controls input, .draft-controls select { width: 100%; min-width: 0; max-width: 100%; padding: 10px; font: inherit; color: #15251c; background: #fff; border: 1px solid #84978a; border-radius: 6px; }
#history-search { max-width: 540px; display: block; margin-top: 8px; }
.history-domain details { width: 100%; min-width: 0; }
.history-domain ul { padding: 0; list-style: none; }
#favorite-sites small { display: block; margin-top: 4px; }
.workspace-transfer { border-top: 1px solid #adbbb1; margin: 24px 0; padding-top: 12px; }
.workspace-transfer label, .bulk-tools > label, .bulk-tools details > label { display: block; margin: 16px 0 6px; }
.workspace-transfer pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.bulk-tools { padding: 24px; border: 1px solid #aebdb3; border-radius: 8px; margin-top: 24px; }
.bulk-tools summary, .draft-controls summary, .meta-code summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.bulk-tools .tool-actions, .task-selection-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.bulk-tools .button, .task-selection-actions .button { white-space: normal; }
.task-selection-actions [aria-pressed="true"] { outline: 2px solid #426d2c; outline-offset: 2px; }
.product-site .bulk-tools .button-ghost { background: #fff; color: #24321f; border-color: #8f9f92; }
.bulk-tools input[type="checkbox"] { width: 18px; height: 18px; vertical-align: middle; }
.draft-controls { border-bottom: 1px solid #aebdb3; margin-bottom: 18px; padding-bottom: 16px; }
.draft-controls label { display: block; margin: 12px 0 6px; }
.file-drop { border: 1px dashed #6a856e; padding: 18px; border-radius: 8px; }
.file-drop input { max-width: 100%; min-width: 0; }
.file-drop p { font-size: 14px; margin-top: 10px; }
.bulk-tools [hidden], .workspace-transfer [hidden] { display: none !important; }
@media(max-width:600px) { .bulk-tools { padding: 16px; } .bulk-tools .button { flex: 1 1 160px; } .task-selection-actions .button { width: 100%; } }
@media print { .bulk-tools, .task-selection-actions { display: none !important; } }
.workspace-next { margin: 24px 0; padding: 20px 0; border-top: 1px solid #aebdb3; min-width: 0; overflow-wrap: anywhere; }
.workspace-next details { margin: 12px 0; }
.workspace-next summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.workspace-next label { display: block; margin: 12px 0; }
.workspace-next input:not([type="checkbox"]), .workspace-next select, .workspace-next textarea, #workspace-import-mode, #workspace-merge-conflicts select { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 10px; color: #15251c; background: #fff; border: 1px solid #84978a; border-radius: 6px; font: inherit; }
.workspace-next .button { margin: 6px 6px 6px 0; white-space: normal; }
.workspace-next small { display: block; }
.workspace-next input[type="checkbox"] { width: 18px; height: 18px; }
.next-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
#storage-items { max-height: 350px; overflow: auto; }
#storage-warning { white-space: pre-wrap; }
#page-detail dd { margin: 4px 0 16px; }
.workspace-next [hidden] { display: none !important; }
@media(max-width:600px) { .next-fields { grid-template-columns: 1fr; gap: 0; } .workspace-next .button { width: 100%; } }
@media print { .workspace-next, [data-page-detail] { display: none !important; } }
@media screen { .tasks-compact .it-task-main > p, .tasks-compact .task-fields, .tasks-compact .it-task-notes, .tasks-compact .task-copy-link { display: none; } }
.task-fields [data-due-today] { padding: 8px; white-space: normal; font-size: 14px; }
[data-note-count] { font-size: 14px; margin-top: 6px; }
.draft-controls input[type="search"] { width: 100%; }
