/* TMi Support Site: light blue frosted glass, same look as the commission pages. Scoped to .tmis */
.tmis {
  --tmis-blue: #1593E0;
  --tmis-blue-dark: #0b6fae;
  --tmis-ink: #12324a;
  --tmis-muted: #5b7487;
  --tmis-line: rgba(21, 147, 224, 0.16);
  --tmis-glass: rgba(255, 255, 255, 0.72);
  --tmis-neg: #c0392b;
  color: var(--tmis-ink);
  font-size: 14px;
  line-height: 1.45;
}
.tmis * { box-sizing: border-box; }
.tmis-card {
  background: var(--tmis-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(21, 147, 224, 0.12);
  padding: 22px 24px;
}
.tmis-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.tmis-kicker { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--tmis-blue); font-weight: 600; }
.tmis-title { margin: 4px 0 2px; font-size: 24px; line-height: 1.2; color: var(--tmis-ink); }
.tmis-muted { color: var(--tmis-muted); }
.tmis-error { color: var(--tmis-neg); margin: 0; }
.tmis-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tmis-controls label { display: flex; flex-direction: column; font-size: 12px; color: var(--tmis-muted); gap: 4px; }
.tmis-controls select {
  min-width: 140px; padding: 7px 10px; border-radius: 10px;
  border: 1px solid var(--tmis-line); background: #fff; color: var(--tmis-ink); font-size: 14px;
}
.tmis-btn {
  padding: 9px 16px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--tmis-blue); color: #fff; font-weight: 600; font-size: 14px;
}
.tmis-btn:hover { background: var(--tmis-blue-dark); }
.tmis-btn:focus-visible, .tmis-controls select:focus-visible { outline: 3px solid rgba(21, 147, 224, .35); outline-offset: 2px; }
.tmis-tiles { display: flex; gap: 12px; margin: 18px 0 10px; }
.tmis-tile {
  background: linear-gradient(135deg, rgba(21, 147, 224, .12), rgba(21, 147, 224, .04));
  border: 1px solid var(--tmis-line); border-radius: 14px; padding: 12px 18px; min-width: 220px;
}
.tmis-tile-label { font-size: 12px; color: var(--tmis-muted); }
.tmis-tile-value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tmis-explain { margin: 4px 0; font-size: 13px; }
.tmis-scroll { overflow-x: auto; margin-top: 14px; border-radius: 12px; border: 1px solid var(--tmis-line); background: #fff; }
.tmis-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.tmis-table th {
  position: sticky; top: 0; background: #eef7fd; color: var(--tmis-ink); font-weight: 600;
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--tmis-line); white-space: nowrap; z-index: 1;
}
.tmis-table td { padding: 7px 10px; border-bottom: 1px solid #eef3f7; white-space: nowrap; }
.tmis-table tbody tr:hover td { background: #f6fbfe; }
.tmis-table tfoot td { font-weight: 700; background: #f3f9fd; border-top: 1px solid var(--tmis-line); }
.tmis-num { text-align: right; font-variant-numeric: tabular-nums; }
.tmis-table th.tmis-num { text-align: right; }
.tmis-wide { white-space: normal !important; min-width: 260px; }
.tmis-sticky { position: sticky; left: 0; background: #fff; z-index: 2; }
.tmis-table th.tmis-sticky { background: #eef7fd; z-index: 3; }
.tmis-table tfoot td.tmis-sticky { background: #f3f9fd; }
.tmis-neg { color: var(--tmis-neg); }
.tmis-lesser { font-weight: 700; background: rgba(21, 147, 224, .07); }
.tmis-strong { font-weight: 700; }
.tmis-bar { display: inline-block; width: 54px; height: 7px; border-radius: 4px; background: #e3eef6; vertical-align: middle; overflow: hidden; }
.tmis-bar > span { display: block; height: 100%; background: var(--tmis-blue); }
.tmis-bar-n { display: inline-block; min-width: 38px; margin-left: 6px; }
.tmis-backlog { margin-top: 18px; }
.tmis-backlog summary { cursor: pointer; color: var(--tmis-blue-dark); font-weight: 600; }
@media (max-width: 640px) {
  .tmis-card { padding: 16px; border-radius: 12px; }
  .tmis-title { font-size: 20px; }
  .tmis-tile { min-width: 0; flex: 1; }
}

.tmis-signin p { margin: 0 0 12px; }
.tmis-signin p:last-child { margin: 0; }
a.tmis-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
a.tmis-btn:hover { color: #fff; }

/* ---- tabs + panels (statements page) ---- */
.tmis-tabs { display: flex; gap: 6px; margin: 18px 0 0; border-bottom: 1px solid var(--tmis-line); flex-wrap: wrap; }
.tmis-tab { border: 0; background: transparent; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--tmis-muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; border-radius: 8px 8px 0 0; }
.tmis-tab:hover { color: var(--tmis-blue-dark); background: rgba(21, 147, 224, .06); }
.tmis-tab.on { color: var(--tmis-blue-dark); border-bottom-color: var(--tmis-blue); }
.tmis-tab:focus-visible { outline: 3px solid rgba(21, 147, 224, .35); outline-offset: 2px; }
.tmis-panel { padding-top: 16px; }
.tmis-bar-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 4px 0 12px; }
.tmis-bar-row label { display: flex; flex-direction: column; font-size: 12px; color: var(--tmis-muted); gap: 4px; }
.tmis-bar-row select { min-width: 160px; max-width: 100%; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--tmis-line); background: #fff; color: var(--tmis-ink); font-size: 14px; }
.tmis-note { border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.tmis-note.warn { background: #fff6dc; color: #7a5400; border: 1px solid #f3e1a6; }
.tmis-note.bad { background: #fdecea; color: #a93226; border: 1px solid #f5c6c0; }
.tmis-tiles { flex-wrap: wrap; }
.tmis-tile-sm { min-width: 170px; }
.tmis-tile-sm .tmis-tile-value { font-size: 20px; }
.tmis-tile-foot { font-size: 11px; color: var(--tmis-muted); margin-top: 2px; }
.tmis-th-sub { font-weight: 400; font-size: 11px; color: var(--tmis-muted); }
.tmis-table tr.tmis-click { cursor: pointer; }
.tmis-table tr.tmis-click:hover td { background: #eaf5fd; }
.tmis-table tr.tmis-strong td { font-weight: 700; }
.tmis-table tr.tmis-over td { background: #fff4f2; }
.tmis-sub { font-size: 11px; font-weight: 400; color: var(--tmis-muted); }
.tmis-steps td:first-child { min-width: 240px; }
.tmis-job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; }
.tmis-job-title { font-size: 17px; font-weight: 700; }
.tmis-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tmis-badge.final { background: #e6f6ee; color: #18794e; }
.tmis-badge.est { background: #fff6dc; color: #7a5400; }
.tmis-h3 { font-size: 15px; margin: 22px 0 6px; color: var(--tmis-ink); }
.tmis-bar-row label { max-width: 100%; min-width: 0; }
.tmis-bar-row select { max-width: 100%; }
@media (min-width: 641px) { .tmis-bar-row select { max-width: 520px; } }

/* ---- windowed tables: scroll inside the card, header/total/first column pinned ----
   Site themes (e.g. Hello Elementor) stripe rows with see-through colors, add cell
   borders and big padding; these rules win over them so pinned cells stay solid. */
.tmis .tmis-scroll { max-height: min(70vh, 760px); overflow: auto; overscroll-behavior: contain; }
.tmis .tmis-table { border-collapse: separate !important; border-spacing: 0 !important; margin: 0 !important; }
.tmis .tmis-table th, .tmis .tmis-table td {
  padding: 7px 10px !important; border: 0 !important; border-bottom: 1px solid #e8eff5 !important;
  background-color: #fff !important; vertical-align: middle;
}
.tmis .tmis-table thead th { position: sticky; top: 0; z-index: 2; background-color: #eef7fd !important; border-bottom: 1px solid #cfe3f3 !important; }
.tmis .tmis-table tbody tr:nth-child(even) td { background-color: #f8fbfe !important; }
.tmis .tmis-table td.tmis-lesser { background-color: #eaf4fc !important; }
.tmis .tmis-table tr.tmis-over td { background-color: #fff4f2 !important; }
.tmis .tmis-table tbody tr.tmis-click:hover td { background-color: #e3f1fc !important; }
.tmis .tmis-table tfoot td { position: sticky; bottom: 0; z-index: 2; background-color: #f0f7fd !important; border-top: 1px solid #cfe3f3 !important; font-weight: 700; }
.tmis .tmis-table .tmis-sticky { position: sticky; left: 0; z-index: 3; box-shadow: inset -1px 0 0 #cfe3f3; }
.tmis .tmis-table thead th.tmis-sticky, .tmis .tmis-table tfoot td.tmis-sticky { z-index: 4; }
.tmis .tmis-table th { white-space: nowrap; }

/* ---- support site additions ---- */
.tmis-search {
  min-width: 260px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--tmis-line);
  background: #fff; color: var(--tmis-ink); font-size: 14px;
}
.tmis-search:focus-visible { outline: 3px solid rgba(21, 147, 224, .35); outline-offset: 2px; }
.tmis-btn-ghost { background: #fff; color: var(--tmis-blue-dark); border: 1px solid var(--tmis-line); }
.tmis-btn-ghost:hover { background: #eef7fd; color: var(--tmis-blue-dark); }
.tmis .tmis-table thead th.tmis-sort { cursor: pointer; user-select: none; }
.tmis .tmis-table thead th.tmis-sort:hover { color: var(--tmis-blue-dark); }
.tmis-arrow { display: inline-block; width: 10px; margin-left: 4px; color: var(--tmis-blue); font-size: 10px; }
.tmis .tmis-table a.tmis-link { color: var(--tmis-blue-dark); font-weight: 600; text-decoration: none; }
.tmis .tmis-table a.tmis-link:hover { text-decoration: underline; }
.tmis-asof { font-size: 12px; color: var(--tmis-muted); margin-top: 4px; }
.tmis-empty { padding: 28px 10px; text-align: center; color: var(--tmis-muted); }
.tmis-count { font-size: 13px; color: var(--tmis-muted); margin: 10px 0 0; }
@media (max-width: 640px) { .tmis-search { min-width: 0; width: 100%; } .tmis-bar-row label { width: 100%; } }

/* ---- v0.2: logo, bigger window on big screens, centered sign-in ---- */
.tmis-brand { display: flex; flex-direction: column; gap: 6px; }
.tmis-logo { display: block; height: 30px; width: auto; }
.tmis-grow { flex: 1 1 260px; }
.tmis-grow .tmis-search { width: 100%; }
.tmis-filter { min-width: 110px !important; }

/* Wide layout: grow past the theme's content column (up to 1800px),
   staying centered and leaving a 24px gutter each side. */
.tmis.tmis-wide-layout {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, min(1800px, calc(100vw - 48px)));
}
/* The table window fills the screen height instead of a fixed size:
   tall monitors get more rows, laptops still see the whole card. */
.tmis.tmis-fill .tmis-scroll { max-height: max(360px, calc(100vh - 230px)); }

/* Sign-in: a small centered card */
.tmis-signin-wrap { display: flex; justify-content: center; align-items: center; min-height: 70vh; padding: 24px 0; }
.tmis .tmis-signin { width: 100%; max-width: 420px; text-align: center; padding: 34px 32px 26px; }
.tmis-signin-logo { display: block; height: 40px; width: auto; max-width: 100%; margin: 0 auto 18px; }
.tmis-signin-title { font-size: 22px; margin: 0 0 6px; color: var(--tmis-ink); }
.tmis-signin .tmis-muted { margin: 0 0 20px; }
.tmis-signin .tmis-btn { justify-content: center; width: 100%; padding: 12px 16px; font-size: 15px; }
.tmis-signin-foot { margin: 14px 0 0 !important; font-size: 12px; color: var(--tmis-muted); }
@media (max-width: 640px) {
  .tmis.tmis-wide-layout { left: 0; transform: none; width: 100%; }
  .tmis.tmis-fill .tmis-scroll { max-height: max(320px, calc(100vh - 330px)); }
  .tmis-signin-wrap { min-height: 60vh; }
}

/* ---- v0.2.2: hold our sizes against theme/Elementor rules ---- */
/* Elementor's ".elementor img { height:auto }" outranks a single class */
.tmis img.tmis-logo { height: 28px !important; width: auto !important; max-width: 220px !important; }
.tmis img.tmis-signin-logo { height: 40px !important; width: auto !important; max-width: 100% !important; }
/* Themes set button { display:inline-block }, which beats the [hidden] attribute */
.tmis [hidden] { display: none !important; }
.tmis-brand { gap: 4px; }
.tmis .tmis-title { margin: 2px 0 0; }
.tmis .tmis-count { margin: 6px 0 0; }

/* ---- v0.3: job details page ---- */
.tmis-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tmis a.tmis-back { color: var(--tmis-blue-dark); font-weight: 600; text-decoration: none; font-size: 14px; padding: 6px 10px 6px 0; border-radius: 8px; }
.tmis a.tmis-back:hover { text-decoration: underline; }
.tmis a.tmis-back:focus-visible { outline: 3px solid rgba(21, 147, 224, .35); outline-offset: 2px; }
.tmis-job-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.tmis-jobhead .tmis-title { font-size: 26px; margin: 4px 0 6px; }
.tmis-label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--tmis-muted); margin-right: 4px; }
.tmis-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tmis-chip { background: #eef7fd; border: 1px solid var(--tmis-line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--tmis-ink); }
.tmis-chip b { color: var(--tmis-blue-dark); font-weight: 700; margin-left: 2px; }
.tmis-chip-empty { color: var(--tmis-muted); background: transparent; }
.tmis-split-groups { display: flex; flex-direction: column; gap: 2px; }
.tmis-split-groups .tmis-chips { align-items: center; margin-top: 8px; }
.tmis-split-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--tmis-blue-dark);
  border-radius: 6px; padding: 3px 8px; min-width: 44px; box-sizing: border-box; text-align: center; }
.tmis-gm { display: flex; gap: 10px; }
.tmis-gm-tile { background: linear-gradient(135deg, rgba(21,147,224,.12), rgba(21,147,224,.04)); border: 1px solid var(--tmis-line);
  border-radius: 14px; padding: 10px 16px; min-width: 130px; display: flex; flex-direction: column; }
.tmis-gm-tile span { font-size: 12px; color: var(--tmis-muted); }
.tmis-gm-tile b { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--tmis-ink); }

.tmis-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 14px; }
.tmis button.tmis-pill {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.9) !important;
  background: rgba(255,255,255,.78) !important; color: var(--tmis-ink) !important;
  padding: 10px 20px !important; border-radius: 999px !important; font-size: 15px !important; font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(21,147,224,.10); cursor: pointer; line-height: 1.2 !important; white-space: nowrap;
}
.tmis button.tmis-pill:hover { background: #fff !important; color: var(--tmis-blue-dark) !important; }
.tmis button.tmis-pill.on { background: var(--tmis-blue) !important; color: #fff !important; border-color: var(--tmis-blue) !important; box-shadow: 0 6px 18px rgba(21,147,224,.30); }
.tmis button.tmis-pill:focus-visible { outline: 3px solid rgba(21,147,224,.35); outline-offset: 2px; }
.tmis-pill-n { font-size: 12px; font-weight: 700; background: rgba(21,147,224,.12); color: var(--tmis-blue-dark); border-radius: 999px; padding: 1px 8px; }
.tmis-pill.on .tmis-pill-n { background: rgba(255,255,255,.25); color: #fff; }
.tmis-panel-card { padding: 16px 18px; }
.tmis-panel-card .tmis-scroll { margin-top: 0; }
.tmis-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: #7a5400; background: #fff6dc; border: 1px solid #f3e1a6; border-radius: 6px; padding: 0 5px; margin-left: 6px; vertical-align: 1px; }
@media (max-width: 640px) {
  .tmis-jobhead .tmis-title { font-size: 21px; }
  .tmis-gm { width: 100%; } .tmis-gm-tile { flex: 1; min-width: 0; }
  .tmis-pills { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
}

/* ---- v0.4: ship dates editing ---- */
.tmis-editbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.tmis-edithint { font-size: 13px; color: var(--tmis-muted); }
.tmis-edithint b { color: var(--tmis-ink); }
.tmis-editbtns { display: flex; gap: 8px; }
.tmis button.tmis-btn[disabled] { opacity: .45; cursor: default; }
.tmis-note.ok { background: #e6f6ee; color: #18794e; border: 1px solid #bfe6cf; }
.tmis button.tmis-linkbtn { background: none !important; border: 0 !important; padding: 2px 6px !important; color: var(--tmis-blue-dark) !important;
  font-weight: 600; font-size: 13px !important; cursor: pointer; border-radius: 6px !important; display: inline !important; }
.tmis button.tmis-linkbtn:hover { background: #e3f1fc !important; }
.tmis button.tmis-linkbtn.tmis-danger { color: var(--tmis-neg) !important; }
.tmis button.tmis-linkbtn.tmis-danger:hover { background: #fdecea !important; }
.tmis button.tmis-linkbtn:focus-visible { outline: 3px solid rgba(21,147,224,.35); outline-offset: 1px; }
.tmis .tmis-grid td { vertical-align: top; padding: 4px 6px !important; }
.tmis .tmis-grid td.tmis-sticky, .tmis .tmis-grid td.tmis-wide { padding: 9px 10px !important; }
.tmis .tmis-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; color: var(--tmis-ink);
  border: 1px solid transparent !important; background: transparent !important; border-radius: 7px !important;
  padding: 5px 7px !important; margin: 0 !important; min-height: 30px; line-height: 1.35; box-shadow: none !important; }
.tmis .tmis-in:hover { border-color: #cfe3f3 !important; background: #fff !important; }
.tmis .tmis-in:focus { border-color: var(--tmis-blue) !important; background: #fff !important; outline: 2px solid rgba(21,147,224,.25); outline-offset: 0; }
.tmis .tmis-in-sm { min-width: 90px; } .tmis .tmis-in-md { min-width: 130px; } .tmis .tmis-in-date { min-width: 140px; }
.tmis .tmis-in-notes { min-width: 240px; resize: vertical; overflow: hidden; display: block; }
.tmis .tmis-in-money { min-width: 100px; text-align: right; font-variant-numeric: tabular-nums; }
.tmis .tmis-grid td.tmis-dirty { background-color: #fff8e1 !important; }
.tmis .tmis-grid td.tmis-dirty .tmis-in { background: #fffdf5 !important; }
.tmis .tmis-in.tmis-invalid { border-color: var(--tmis-neg) !important; background: #fff4f2 !important; }
.tmis .tmis-grid tr.tmis-deleted td { background-color: #fbf1f0 !important; color: #a0a8b0; }
.tmis-struck { text-decoration: line-through; }
.tmis .tmis-grid tr.tmis-newrow td { background-color: #f1f9ff !important; }
.tmis-tag-new { color: #0b6fae; background: #e3f1fc; border-color: #b9dcf4; }
.tmis-actions { white-space: nowrap; text-align: right; }
.tmis-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tmis .tmis-in-notes { resize: none; }
.tmis .tmis-in-date.tmis-blank:not(:focus) { color: #b4c2cd; }

/* ---- v0.4.2: start-up form tab: no card of our own, title like the old page ---- */
.tmis .tmis-panel-card.tmis-panel-bare { background: transparent !important; border: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 4px 0 0 !important; }
.tmis .tmis-form-title { text-align: center; text-transform: uppercase; font-weight: 400; font-size: 32px; letter-spacing: .01em;
  color: #333; margin: 14px 0 22px; line-height: 1.2; }
@media (max-width: 640px) { .tmis .tmis-form-title { font-size: 24px; } }

/* ---- v0.6: hamburger menu ([tmi_site_menu]) ---- */
.tmis.tmis-menu { position: fixed; top: 20px; right: 24px; z-index: 9999; color: inherit; }
body.admin-bar .tmis.tmis-menu { top: 52px; }
.tmis.tmis-menu.tmis-menu-inline { position: relative; top: auto !important; right: auto; z-index: 50; }
.tmis-topright { display: flex; align-items: center; gap: 14px; }
.tmis-menu-slot:empty { display: none; }
.tmis-bar-row .tmis-menu-slot { align-self: flex-end; }
.tmis .tmis-menu-btn {
  width: 44px; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 10px !important;
  background: var(--tmis-blue, #1593E0) !important; cursor: pointer; display: flex !important; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; box-shadow: 0 4px 14px rgba(21, 147, 224, .30);
}
.tmis .tmis-menu-btn:hover { background: var(--tmis-blue-dark, #0b6fae) !important; }
.tmis .tmis-menu-btn:focus-visible { outline: 3px solid rgba(21, 147, 224, .35); outline-offset: 2px; }
.tmis .tmis-menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.tmis.tmis-menu.open .tmis-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tmis.tmis-menu.open .tmis-menu-btn span:nth-child(2) { opacity: 0; }
.tmis.tmis-menu.open .tmis-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.tmis .tmis-menu-panel {
  display: none; position: absolute; top: 54px; right: 0; min-width: 260px; padding: 8px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 14px; box-shadow: 0 12px 34px rgba(18, 50, 74, .16);
}
.tmis.tmis-menu.open .tmis-menu-panel { display: block; }
.tmis a.tmis-menu-item { display: block; padding: 11px 14px; border-radius: 9px; color: #12324a; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tmis a.tmis-menu-item:hover, .tmis a.tmis-menu-item:focus-visible { background: #1593E0; color: #fff; outline: none; }
.tmis a.tmis-menu-item[aria-current="page"] { font-weight: 700; background: #eef7fd; color: #0b6fae; }
.tmis a.tmis-menu-signout { border-top: 1px solid #e3eef6; border-radius: 0 0 9px 9px; margin-top: 4px; color: #5b7487; }
@media (max-width: 640px) {
  .tmis.tmis-menu:not(.tmis-menu-inline) { top: 12px; right: 12px; }
  .tmis .tmis-menu-panel { min-width: 220px; }
}
.tmis .tmis-card.tmis-card-hasmenu { position: relative; z-index: 40; }
.tmis .tmis-menu-panel { max-width: calc(100vw - 24px); }

/* ---- v0.7.0: Projections ---- */
.tmis .tmis-proj-range { margin: 14px 0 4px; }
.tmis .tmis-search.tmis-date { min-width: 0; width: 170px; }
.tmis-presets { display: inline-flex; gap: 8px; margin-left: auto; }
.tmis .tmis-presets .tmis-btn { padding: 8px 14px; font-size: 13px; }
.tmis button.tmis-btn[disabled] { opacity: .6; cursor: progress; }
.tmis-proj-tiles { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 12px 0 14px; }
.tmis-proj-total { min-width: 200px; }
.tmis-proj-total b { color: var(--tmis-blue-dark); font-size: 26px; }
.tmis-proj-range-note { align-self: center; font-size: 13px; color: var(--tmis-muted); line-height: 1.5; margin-left: 4px; }
.tmis-proj-warn { color: #7a5400; }
.tmis .tmis-proj-tools { margin-bottom: 0; }
.tmis-empty.tmis-error { color: var(--tmis-neg); }
@media (max-width: 640px) {
  .tmis .tmis-search.tmis-date { width: 100%; }
  .tmis-presets { margin-left: 0; width: 100%; }
  .tmis-presets .tmis-btn { flex: 1; }
  .tmis-proj-tiles .tmis-gm-tile { flex: 1; min-width: 0; }
  .tmis-proj-total { flex-basis: 100% !important; }
}
