#notices .notices-layout { display: flex; flex-direction: column; gap: 30px; }
#notices .notices-section { width: 100%; min-width: 0; }
#notices #past-notices-list {
  line-height: 1.5; max-height: 30em; overflow-y: auto;
  border: 1px solid #d2691e; border-radius: 5px; background: #fff;
  list-style: none; margin: 8px 0 0; padding: 0;
}
#notices .notice-form-grid { display: flex; flex-direction: column; gap: 14px; }
#notices .notice-field { display: flex; flex-direction: column; gap: 6px; margin: 0; width: 95%; }
#notices .notice-field label { margin: 0; line-height: 1.2; }
#notices #notice-title, #notices #notice-message, #notices #notice-file {
  width: 100%; box-sizing: border-box; border: 1px solid #d2691e;
  border-radius: 6px; background: #fff; color: #333; font-size: 14px;
}
#notices #notice-title { height: 34px; padding: 0 10px; }
#notices #notice-message { min-height: 86px; padding: 8px 10px; line-height: 1.35; resize: vertical; }
#notices #notice-file { min-height: 34px; padding: 5px 8px; }
#notices .notice-help-text { color: #666; display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; }
#notices .notice-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
#notices .past-notice-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-bottom: 1px solid #eee; }
body.tdash-compact-shell[data-tdash-module="present"] #notices #past-notices-list .past-notice-item,
body.tdash-compact-shell[data-tdash-module="present"] #notices #past-notices-list .past-notice-item:last-child {
  padding: 8px; border-bottom: 1px solid #eee;
}
#notices .fancy-btn, #notices .fancy-btn:hover:not(:disabled), #notices .fancy-btn:active:not(:disabled) {
  box-shadow: none; transform: none; letter-spacing: normal;
}
#notices.tab-content { padding: 15px; border: 1px solid #d2691e; border-radius: 0; background: #fffaf0; color: #333; }
.dashboard-tabs-container > #notices .notice-field label { font-size: 1em; }
.dashboard-tabs-container > #notices #selected-notice-details { border: 0; padding: 0; border-radius: 0; background: transparent; }
.dashboard-tabs-container > #notices .fancy-btn,
.dashboard-tabs-container > #notices .tdash-action-btn {
  height: 34px; min-height: 34px; width: auto; max-width: 100%; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 14px; border-radius: 6px;
  border: 1px solid transparent; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1;
  white-space: nowrap; box-sizing: border-box; flex: 0 0 auto; margin: 0;
  text-decoration: none; transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dashboard-tabs-container > #notices .btn-secondary { background: #4CAF50; color: #fff; border-color: #4CAF50; }
.dashboard-tabs-container > #notices .btn-ghost { background: #eee; color: #333; border-color: #bbb; }
.dashboard-tabs-container > #notices .btn-ghost:hover { background: #e6e6e6; color: #222; }
.dashboard-tabs-container > #notices .tdash-action-link { color: #8b4513; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dashboard-tabs-container > #notices .tdash-action-link:hover { color: #6f3510; }
