tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child {
	border-left: 0;
}

tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child {
	border-right: 0;
}

.tborder {
	border-radius: 2px;
}

.tborder tbody tr:last-child > td {
	border-bottom: 0;
}

.tborder tbody tr:last-child > td:first-child {
	border-bottom-left-radius: 2px;
}

.tborder tbody tr:last-child > td:last-child {
	border-bottom-right-radius: 2px;
}

.thead {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.thead_collapsed {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.thead_left {
	border-top-right-radius: 0;
}

.thead_right {
	border-top-left-radius: 0;
}

.tcat_menu {
	border-radius: 0 !important;
}

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
	border-bottom-left-radius: 2px !important;
	border-bottom-right-radius: 2px !important;
}

button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button {
	border-radius: 2px;
}

.post.classic .post_author {
	border-radius: 0 2px 2px 0;
}

.popup_menu .popup_item_container:first-child .popup_item {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.popup_menu .popup_item_container:last-child .popup_item {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.pagination a {
	border-radius: 1000px;
}

.pollbar {
    position: relative;
    border-radius: 1000px;
}

div.error {
   	 border-radius: 2px;
}

		
		
		
		
		/* ===== Append-only overrides for table & radius sheet =====
   - Small, consistent radius (6px) instead of scattered 2px
   - Neutral light palette (ChatGPT-like), subtle borders/shadows
   - Tidy popup/pagination/pollbar/error/alerts
   -------------------------------------------------------- */
:root{
  --bg:#f6f7f9;
  --card:#ffffff;
  --text:#111827;
  --muted:#5b6471;
  --border:#e5e7eb;
  --border-strong:#d1d5db;
  --shadow:0 2px 10px rgba(17,24,39,.06);
  --radius:6px;        /* unified small radius */
}

/* keep edge borders trimmed on first/last cells (from original) */
tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child{ border-left:0 !important; }
tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child{ border-right:0 !important; }

/* --- Tables & headers as white cards --- */
.tborder{
  border-radius:var(--radius) !important;
  background:var(--card) !important;
  border:1px solid var(--border) !important;
  box-shadow:var(--shadow);
}
.tborder tbody tr:last-child > td{ border-bottom:0 !important; }
.tborder tbody tr:last-child > td:first-child{ border-bottom-left-radius:var(--radius) !important; }
.tborder tbody tr:last-child > td:last-child{ border-bottom-right-radius:var(--radius) !important; }

.thead{
  border-top-left-radius:var(--radius) !important;
  border-top-right-radius:var(--radius) !important;
  background:var(--card) !important;
  color:var(--text) !important;
  border-bottom:1px solid var(--border) !important;
}
.thead_collapsed{
  border-bottom-left-radius:var(--radius) !important;
  border-bottom-right-radius:var(--radius) !important;
}

/* Keep asymmetric options intact */
.thead_left{ border-top-right-radius:0 !important; }
.thead_right{ border-top-left-radius:0 !important; }

/* Category menu header should remain flat (no rounding) */
.tcat_menu{ border-radius:0 !important; }

/* Collapsed category rounding */
.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed{
  border-bottom-left-radius:var(--radius) !important;
  border-bottom-right-radius:var(--radius) !important;
}

/* --- Generic UI elements radius & palette --- */
button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button{
  border-radius:var(--radius) !important;
}

/* Popup menu: light card look */
.popup_menu{
  background:var(--card) !important;
  border:1px solid var(--border) !important;
  box-shadow:var(--shadow);
}
.popup_menu .popup_item_container:first-child .popup_item{
  border-top-left-radius:var(--radius) !important;
  border-top-right-radius:var(--radius) !important;
}
.popup_menu .popup_item_container:last-child .popup_item{
  border-bottom-left-radius:var(--radius) !important;
  border-bottom-right-radius:var(--radius) !important;
}

/* Classic post author panel (when used) */
.post.classic .post_author{ border-radius:0 var(--radius) var(--radius) 0 !important; }

/* Pagination & poll bar */
.pagination a{ border-radius:999px !important; }
.pollbar{ position:relative; border-radius:999px !important; }

/* Alerts & error blocks – neutral tones */
.pm_alert{
  background:#f3f6ff !important;
  border:1px solid #e1e8ff !important;
  color:#1f2937 !important;
}
.red_alert{
  background:#fff1f2 !important;
  border:1px solid #fecdd3 !important;
  color:#7f1d1d !important;
}
div.error{
  border-radius:var(--radius) !important;
  background:#fff7ed !important;           /* soft amber */
  border:1px solid #fed7aa !important;
  color:#7c2d12 !important;
}

/* Text blocks */
blockquote{
  background:#f9fafb !important;
  border:1px solid var(--border) !important;
  color:var(--text) !important;
}
.codeblock{
  background:#0a0a0a !important;
  color:#e5e7eb !important;
  border:0 !important;
}

/* Inputs/selects/textarea – compact, light */
input.textbox,
input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],
select,textarea{
  background:#fff !important; color:var(--text) !important;
  border:1px solid var(--border) !important; box-shadow:none !important;
}
input:hover,select:hover,textarea:hover{ border-color:var(--border-strong) !important; }
input:focus,select:focus,textarea:focus{
  border-color:#c7cad1 !important; box-shadow:0 0 0 3px rgba(0,0,0,.06) !important; outline:0;
}

/* Buttons & small action links – neutral */
a.button,button,input.button{
  background:#111 !important; color:#fff !important;
  border:1px solid #000 !important;
}
.postbit_buttons > a{
  background:#f3f4f6 !important; color:#374151 !important; border:1px solid var(--border) !important;
}
.postbit_buttons > a:hover{ background:#e5e7eb !important; color:#111 !important; }

/* Safety: ensure first/last cell rounding stays clean on zebra rows */
.trow1:first-child, .trow2:first-child{ border-top-left-radius:0 !important; }
.trow1:last-child,  .trow2:last-child{ border-top-right-radius:0 !important; }

		
		
		
		
		
		
		
		
		
		
		
		
		
		