/* Press reviews tab (press.js) */
table.grid.press td { vertical-align: top; }
table.grid.press td.quote { min-width: 320px; max-width: 520px; }
table.grid.press td.quote textarea { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid #8a8a8a; border-radius: 8px; resize: vertical; }
table.grid.press .why { display: block; margin-top: 6px; padding: 4px 8px; border-radius: 6px; background: #fff4d6; color: #5e4200; font-size: 12px; }
table.grid.press .row-actions { white-space: nowrap; }
table.grid.press .row-actions button, .row-actions button { font: inherit; font-size: 12px; font-weight: 550; margin: 2px 4px 2px 0; padding: 5px 10px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: #303030; cursor: pointer; }
.row-actions button.primary { background: #303030; border-color: #303030; color: #fff; }
.row-actions button.danger { color: #8e1f0b; border-color: #f0b8ae; }
.row-actions button:hover { filter: brightness(0.95); }
td.quote .row-actions { display: block; margin-top: 6px; }
.press-form { grid-template-columns: 2fr 2fr 1fr 170px; }
.press-form s-text-area { grid-column: 1 / -1; }
#presscount { color: #8e1f0b; }
@media (max-width: 1000px) { .press-form { grid-template-columns: 1fr 1fr; } }

/* Email recipients tab (emails.js) */
.e-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.e-card { border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; padding: 14px 16px; }
.e-card h3 { margin: 0 0 4px; font-size: 14px; }
.e-help { margin: 0 0 10px; font-size: 12px; color: #616161; }
.e-emails { list-style: none; margin: 0 0 10px; padding: 0; }
.e-emails li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.e-emails li.e-empty { color: #8a6116; }
.e-emails button { font: inherit; font-size: 12px; border: 0; background: none; color: #8e1f0b; cursor: pointer; }
.e-add { display: flex; gap: 6px; }
.e-add input { flex: 1; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #8a8a8a; border-radius: 8px; }
.e-add button { font: inherit; font-size: 12px; font-weight: 550; padding: 6px 12px; border: 1px solid #303030; border-radius: 8px; background: #303030; color: #fff; cursor: pointer; }
.e-people input { width: 60%; font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid #8a8a8a; border-radius: 8px; }
@media (max-width: 800px) { .e-lists { grid-template-columns: 1fr; } }

/* To-do tab (todo.js) */
#todocount { color: #616161; }
.t-add { border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; padding: 10px 14px; margin: 4px 0 12px; }
.t-add summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.t-add[open] summary { margin-bottom: 10px; }
.t-form { display: grid; grid-template-columns: 2fr 1fr 1fr 150px; gap: 10px 12px; }
.t-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #616161; }
.t-form .t-wide { grid-column: 1 / -1; }
.t-form input, .t-form select, .t-form textarea, .t-filters select, .t-filters input { font: inherit; font-size: 13px; color: #303030; padding: 6px 8px; border: 1px solid #8a8a8a; border-radius: 8px; background: #fff; }
.t-form textarea { resize: vertical; }
.t-form .t-newwho { margin-top: 4px; }
.t-form .t-newwho[hidden] { display: none; }
.t-actions { grid-column: 1 / -1; display: flex; gap: 6px; }
.t-actions button, .t-edit { font: inherit; font-size: 12px; font-weight: 550; padding: 6px 12px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: #303030; cursor: pointer; }
.t-actions button.primary { background: #303030; border-color: #303030; color: #fff; }
.t-actions button.danger { margin-left: auto; color: #8e1f0b; border-color: #f0b8ae; }
.t-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.t-filters input { min-width: 200px; }
.t-group { margin: 14px 0 0; }
.t-group h3 { margin: 0 0 6px; font-size: 13px; }
.t-group h3 span { color: #8a8a8a; font-weight: 400; }
.t-group ul { list-style: none; margin: 0; padding: 0; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; }
.t-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 1px solid #f0f0f0; }
.t-item:first-child { border-top: 0; }
.t-item > input[type=checkbox] { margin-top: 3px; width: 16px; height: 16px; accent-color: #303030; cursor: pointer; }
.t-item.editing { display: block; background: #fafafa; }
.t-body { flex: 1; min-width: 0; }
.t-text { font-size: 13px; font-weight: 550; color: #303030; }
.t-item.done .t-text { text-decoration: line-through; color: #8a8a8a; font-weight: 400; }
.t-notes { margin-top: 3px; font-size: 12px; color: #4a4a4a; white-space: pre-line; }
.t-meta { margin-top: 4px; font-size: 12px; color: #8a8a8a; }
.t-meta strong { color: #4a4a4a; font-weight: 550; }
.t-link { color: #005bd3; font-weight: 550; text-decoration: none; }
.t-link:hover { text-decoration: underline; }
.t-overdue { color: #8e1f0b; font-weight: 550; }
.t-pill { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.t-pill.high { background: #fee9e5; color: #8e1f0b; }
.t-pill.low { background: #f1f1f1; color: #616161; }
.t-empty { color: #8a8a8a; font-size: 13px; }
@media (max-width: 800px) { .t-form { grid-template-columns: 1fr 1fr; } }
