@charset "UTF-8";
/* CSS Document */
/* ============================================================
   RobinTrack — bws.scss
   Single source of truth for the site's look & feel.
   Tweak the variables below and recompile to bws.css.
   ============================================================ */
@import url(css/bulma.css);
/* ---------- Palette ---------- */
/* ---------- Type ---------- */
/* ---------- Metrics ---------- */
/* ---------- Links ---------- */
/* ---------- Headings ---------- */
/* ---------- Navigation ---------- */
/* ---------- Buttons ---------- */
/* ---------- Stat tiles ---------- */
/* ---------- Footer ---------- */
/* ---------- Charts ---------- */
/* ---------- Dark mode ---------- */
/* ============================================================
   Theme tokens
   ============================================================ */
:root {
  color-scheme: light;
  --surface-0: #f6f6f4;
  --surface-1: #fcfcfb;
  --border: #e2e1dc;
  --text-primary: #515856;
  --text-secondary: #3d1c46;
  --text-muted: #86857f;
  --accent: #cc9e63;
  --accent-hover: #1b5da8;
  --series-0: #9a9a94;
  --series-1: #52D1DC;
  --series-2: #582965;
  --series-3: #2D5469;
  --series-4: #406477;
  --series-5: #784187;
  --series-6: #CC9E63;
  --series-7: #406477;
  --series-8: #70A9A1;
  --grid: #ececE8;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface-0: #121211;
    --surface-1: #1a1a19;
    --border: #302f2d;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #8a8981;
    --accent: #3987e5;
    --series-0: #6f6e68;
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --series-4: #c98500;
    --series-5: #d55181;
    --series-6: #008300;
    --series-7: #9085e9;
    --series-8: #e66767;
    --grid: #2a2a28;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4); } }
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-0: #121211;
  --surface-1: #1a1a19;
  --border: #302f2d;
  --text-primary: #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted: #8a8981;
  --accent: #3987e5;
  --series-0: #6f6e68;
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
  --series-5: #d55181;
  --series-6: #008300;
  --series-7: #9085e9;
  --series-8: #e66767;
  --grid: #2a2a28;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }

/* ============================================================
   Global
   ============================================================ */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  background: var(--surface-0); }

strong, b {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600; }

em, i {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: italic; }

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary); }

h1 {
  font-size: 28px; }

h2 {
  font-size: 22.4px; }

h3 {
  font-size: 19.04px; }

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s; }
  a:hover, a:focus {
    color: #1b5da8; }

img {
  max-width: 100%;
  height: auto; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0; }

.container {
  max-width: 1160px !important; }

/* ---------- Small helpers ---------- */
.text-center {
  text-align: center; }

.text-right {
  text-align: right; }

.rt-num {
  text-align: right;
  font-variant-numeric: tabular-nums; }

.rt-scroll {
  overflow-x: auto; }

.rt-note {
  font-size: 13.2px;
  color: var(--text-muted);
  margin-top: 9px; }

.rt-dot {
  display: inline-block;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  margin-right: .5rem;
  vertical-align: baseline; }

/* ============================================================
   Navigation
   ============================================================ */
.rt-nav {
  background: #fcfcfb;
  border-bottom: 1px solid var(--border); }
  .rt-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; }
  .rt-nav .navbar-menu {
    display: flex;
    flex-grow: 0;
    flex-shrink: 1;
    margin-left: auto;
    padding: 0;
    background: transparent;
    box-shadow: none; }
  .rt-nav .navbar-end {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto; }
  .rt-nav .navbar-item {
    color: #3d1c46;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none; }
    .rt-nav .navbar-item:hover {
      color: #515856;
      background: transparent; }
    .rt-nav .navbar-item.is-active {
      color: #cc9e63;
      font-weight: 600; }

.rt-brand {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-primary) !important; }

/* ============================================================
   Cards
   ============================================================ */
.rt-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 19px 23px;
  margin-bottom: 18px; }
  .rt-card h2 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 15px; }
  .rt-card[id] {
    scroll-margin-top: 3.9rem; }

/* ============================================================
   Stat tiles
   ============================================================ */
.rt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 18px; }

.rt-stat {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 17px; }
  .rt-stat .rt-stat-value {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em; }
  .rt-stat .rt-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-top: .35rem; }
  .rt-stat .rt-stat-note {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-top: .25rem; }

.rt-stats-tight {
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 11px;
  margin-bottom: 16px; }
  .rt-stats-tight .rt-stat {
    padding: 10px 13px;
    background: var(--surface-0); }
  .rt-stats-tight .rt-stat-value {
    font-size: 22px; }

/* ============================================================
   Charts
   ============================================================ */
.rt-chart {
  position: relative;
  height: 300px; }

.rt-chart-tall {
  height: 380px; }

.rt-chart-short {
  height: 186px; }

/* ============================================================
   Goal rings
   ============================================================ */
.rt-goals {
  display: grid;
  gap: 15px;
  margin-bottom: 15px; }

.rt-goals-time {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.rt-goals-count {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.rt-goal {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center; }
  .rt-goal.is-met {
    border-color: var(--series-6); }

.rt-ring {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto .6rem; }
  .rt-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); }
  .rt-ring circle {
    fill: none;
    stroke-linecap: butt; }

.rt-goals-time .rt-ring {
  width: 132px;
  height: 132px; }

.rt-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15; }

.rt-ring-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em; }

.rt-goals-time .rt-ring-value {
  font-size: 30px; }

.rt-ring-target {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: .1rem; }

.rt-goal-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted); }

.rt-goal-parts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .8rem;
  margin-top: .5rem;
  font-size: 12.75px;
  color: var(--text-secondary); }

/* ============================================================
   Tables
   ============================================================ */
.rt-table {
  width: 100%;
  font-size: 14.25px;
  border-collapse: collapse; }
  .rt-table th {
    text-align: left;
    font-size: 11.7px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    font-weight: 600;
    padding: .4rem .6rem;
    border-bottom: 1px solid var(--border); }
  .rt-table td {
    padding: .5rem .6rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary); }
  .rt-table tr:last-child td {
    border-bottom: 0; }
  .rt-table .rt-primary {
    color: var(--text-primary);
    font-weight: 500; }

/* ============================================================
   Jump links & tabs
   ============================================================ */
.rt-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 18px; }
  .rt-jump a {
    font-size: 12.75px;
    font-weight: 500;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    color: var(--text-secondary); }
    .rt-jump a:hover {
      color: var(--accent);
      border-color: var(--accent); }
    .rt-jump a.is-active {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff; }

.rt-jump-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-left: -.5rem;
  margin-right: -.5rem;
  padding: .6rem .5rem;
  background: var(--surface-0);
  border-bottom: 1px solid var(--border); }

@media screen and (max-width: 768px) {
  .rt-jump-sticky {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; }
    .rt-jump-sticky::-webkit-scrollbar {
      display: none; }
    .rt-jump-sticky a {
      flex: 0 0 auto; } }
/* ============================================================
   Forms
   ============================================================ */
.rt-flash {
  padding: .85rem 1.1rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--series-3) 14%, var(--surface-1));
  border: 1px solid color-mix(in srgb, var(--series-3) 40%, var(--border));
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 15px; }
  .rt-flash.is-error {
    background: color-mix(in srgb, var(--series-8) 12%, var(--surface-1));
    border-color: color-mix(in srgb, var(--series-8) 40%, var(--border)); }

.rt-form {
  max-width: 32rem; }
  .rt-form input[type=text], .rt-form input[type=date], .rt-form input[type=number], .rt-form select, .rt-form textarea {
    width: 100%;
    font-size: 16px;
    font-family: inherit;
    padding: .6rem .75rem;
    color: var(--text-primary);
    background: var(--surface-0);
    border: 1px solid var(--border);
    border-radius: 6px; }
    .rt-form input[type=text]:focus, .rt-form input[type=date]:focus, .rt-form input[type=number]:focus, .rt-form select:focus, .rt-form textarea:focus {
      outline: 2px solid var(--accent);
      outline-offset: -1px;
      border-color: var(--accent); }

.rt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; }

.rt-field {
  margin-bottom: 17px; }
  .rt-field > label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .4rem; }

.rt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .6rem; }

.rt-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none; }
.rt-chip span {
  display: inline-block;
  padding: .45rem .85rem;
  font-size: 14.25px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-0);
  color: var(--text-secondary);
  cursor: pointer; }
.rt-chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff; }
.rt-chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px; }

/* ---------- Timers ---------- */
.rt-timer {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-0);
  padding: 14px;
  margin-bottom: 17px;
  text-align: center; }
  .rt-timer.is-running {
    border-color: var(--accent); }
  .rt-timer.is-done {
    border-color: var(--series-6); }

.rt-timer-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px; }

.rt-timer-adjust {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.35rem;
  line-height: 1;
  font-family: inherit;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--text-secondary);
  cursor: pointer; }
  .rt-timer-adjust:hover:not([disabled]) {
    border-color: var(--accent);
    color: var(--accent); }
  .rt-timer-adjust[disabled] {
    opacity: .3;
    cursor: default; }

.rt-timer-display {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary); }

.rt-timer-hint {
  font-size: 12.3px;
  color: var(--text-muted);
  margin-top: .25rem;
  min-height: 1.2em; }

.rt-timer-buttons {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .7rem; }
  .rt-timer-buttons button {
    flex: 1 1 0;
    max-width: 9rem;
    padding: .6rem .5rem;
    font-size: 14.25px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface-1);
    color: var(--text-primary);
    cursor: pointer; }
    .rt-timer-buttons button:hover {
      border-color: var(--accent);
      color: var(--accent); }
    .rt-timer-buttons button.is-primary {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff; }
    .rt-timer-buttons button.is-primary:hover {
      background: #1b5da8;
      border-color: #1b5da8;
      color: #ffffff; }
    .rt-timer-buttons button[disabled] {
      opacity: .45;
      cursor: default; }
    .rt-timer-buttons button[disabled]:hover {
      border-color: var(--border);
      color: var(--text-primary); }

.rt-timer-presets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin-bottom: .7rem; }
  .rt-timer-presets button {
    padding: .35rem .8rem;
    font-size: 13.5px;
    font-family: inherit;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-1);
    color: var(--text-secondary);
    cursor: pointer; }
    .rt-timer-presets button.is-active {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff; }

.rt-exercise {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  margin-bottom: 9px;
  background: var(--surface-0); }
  .rt-exercise .rt-exercise-head {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: .6rem; }
    .rt-exercise .rt-exercise-head input {
      font-weight: 600; }

.rt-set {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  margin-bottom: .5rem; }
  .rt-set label {
    flex: 1;
    font-size: 11.25px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted); }
  .rt-set input {
    margin-top: .2rem; }

.rt-set-no {
  width: 1.5rem;
  flex: none;
  font-size: 12.75px;
  color: var(--text-muted);
  padding-bottom: .65rem;
  font-variant-numeric: tabular-nums; }

.rt-add {
  font-size: 13.5px;
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 6px;
  border: 1px dashed var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer; }
  .rt-add:hover {
    border-color: var(--accent);
    color: var(--accent); }

.rt-add-set {
  width: 100%;
  margin-top: .2rem; }

.rt-x {
  flex: none;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer; }
  .rt-x:hover {
    color: var(--series-8);
    border-color: var(--series-8); }

.rt-submit {
  width: 100%;
  margin-top: 16px;
  padding: 0.85rem 1rem;
  font-size: 16px;
  font-weight: 600;
  border: 0;
  border-radius: 8px;
  background: #cc9e63;
  color: #ffffff;
  cursor: pointer; }
  .rt-submit:hover {
    background: #1b5da8;
    color: #ffffff; }

/* ============================================================
   Empty states
   ============================================================ */
.rt-empty {
  padding: 38px 18px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: 15px; }

/* ============================================================
   Footer
   ============================================================ */
.rt-footer {
  padding: 32px 16px 48px;
  background: transparent;
  color: #86857f;
  font-size: 13px; }
  .rt-footer a {
    color: #cc9e63; }

/* ============================================================
   Responsive
   ============================================================ */
@media screen and (max-width: 768px) {
  .rt-card {
    padding: 15px; }

  .rt-chart {
    height: 240px; }

  h1 {
    font-size: 22px; } }
@media screen and (max-width: 480px) {
  .rt-row {
    grid-template-columns: 1fr;
    gap: 0; } }
