/* =====================================================
   iwwwanow / ui-kit  v0.1.0
   Based on owo — light theme, sharp corners
   ===================================================== */

/* --- Fonts (owo) --- */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,700&family=Roboto+Mono:wght@400&display=swap");

/* --- Reset (owo verbatim) --- */
* { padding: 0; margin: 0; border: none; }
*, *::before, *::after { box-sizing: border-box; }
a, a:link, a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
aside, nav, footer, header, section, main { display: block; }
h1, h2, h3, h4, h5, h6, p { font-size: inherit; font-weight: inherit; }
ul, ul li { list-style: none; }
img { vertical-align: top; }
img, svg { max-width: 100%; height: auto; }
address { font-style: normal; }
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}
input::-ms-clear { display: none; }
button, input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}
input:focus, input:active, button:focus, button:active { outline: none; }
button::-moz-focus-inner { padding: 0; border: 0; }
label { cursor: pointer; }
legend { display: block; }

/* --- Tokens (owo) --- */
:root {
  /* Colors */
  --WHITE:     #fff;
  --LIGHT:     #e0e0e0;
  --MEDIUM:    #a4a4a4;
  --DARK:      #535353;
  --BLACK:     #000;

  --RED:       #ff115c;   /* xtc-toaster accent */
  --GREEN:     #00ff9b;
  --BLUE:      #009bff;
  --BLUE-DARK: #0040ff;
  --ORANGE:    #ff9b00;

  --js:        #f0db4f;
  --css:       #2965f1;

  /* Grid (owo) */
  --GRID-GAP:        16px;
  --2-GRID-GAP:      calc(var(--GRID-GAP) * 2);
  --GRID-GAP-2:      calc(var(--GRID-GAP) / 2);
  --GRID-GAP-4:      calc(var(--GRID-GAP) / 4);
  --GRID-GAP-8:      calc(var(--GRID-GAP) / 8);
  --SEPARATOR-COLUMN: 4;

  /* Misc */
  --CARD-HEIGHT:          288px;
  --Z-INDEX-SECOND-LEVEL: 2;
}

/* --- Selection (owo) --- */
::selection      { color: white; background: var(--BLUE); }
::-moz-selection { color: white; background: var(--BLUE); }

/* --- Scrollbar (owo) --- */
::-webkit-scrollbar             { height: 8px; width: 8px; }
::-webkit-scrollbar-track       { background: var(--LIGHT); }
::-webkit-scrollbar-thumb       { background: var(--MEDIUM); }
::-webkit-scrollbar-thumb:hover { background: var(--DARK); }

/* --- Base (owo) --- */
html { font-size: 62.5%; }
* { font-family: "Roboto Condensed", "Helvetica Neue Condensed", sans-serif; }
body { background: var(--WHITE); color: var(--DARK); }

/* -------------------------------------------------------
   TYPOGRAPHY (owo verbatim)
------------------------------------------------------- */
p {
  font-size: 1.6em;
  font-style: normal;
  font-weight: 400;
  line-height: 2.4rem;
  margin-bottom: 0.8rem;
}
h1 {
  margin-bottom: 4.8rem;
  font-size: 6.4em;
  font-style: italic;
  font-weight: 700;
  line-height: 75%;
  letter-spacing: -0.256rem;
}
h2 {
  margin-bottom: 2.4rem;
  font-size: 2.8em;
  font-style: italic;
  font-weight: 700;
  line-height: 84%;
  letter-spacing: -0.056rem;
}
h3 {
  margin-bottom: 1.2rem;
  font-size: 1.8em;
  font-style: normal;
  font-weight: 700;
  line-height: 84%;
}
h4 { font-size: 1.4em; font-style: normal; font-weight: 700; line-height: 1.6rem; }
h5 { font-size: 1.4em; font-style: normal; font-weight: 400; line-height: 1.6rem; }
h6 { font-size: 1.4em; font-style: italic; font-weight: 300; line-height: 1.6rem; }
a  { color: var(--BLUE); }
a:hover { text-decoration: underline; }
pre {
  width: 100%;
  max-width: 100%;
  padding: 16px 8px;
  margin-bottom: 2.4rem;
  overflow-x: scroll;
  background-color: var(--LIGHT);
}
code {
  font-size: 1em;           /* match surrounding text — no compounding */
  font-family: "Roboto Mono", monospace;
  color: var(--DARK);
}
@media screen and (max-width: 444px) {
  :root { font-size: 72%; }
  h1 { font-size: 3.2em; line-height: 75%; margin-bottom: 2.4rem; }
  h2 { font-size: 2.4em; line-height: 2.4rem; margin-bottom: 2.4rem; }
}

/* -------------------------------------------------------
   LAYOUT — grid (owo verbatim)
------------------------------------------------------- */
.wrapper {
  padding: 16px 0 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}

.grid {
  width: 100%;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(8, 190px);
  gap: var(--GRID-GAP);
  grid-auto-rows: minmax(min-content, max-content);
}
.grid > * { height: min-content; }

.grid__left-content {
  grid-column-start: 1;
  grid-column-end: var(--SEPARATOR-COLUMN);
}
.grid__right-content {
  grid-column-start: var(--SEPARATOR-COLUMN);
  grid-column-end: -1;
}
.grid__full { grid-column: 1 / -1; }

@media screen and (max-width: 1680px) {
  .grid {
    --SEPARATOR-COLUMN: 3;
    grid-template-columns: repeat(6, 190px);
  }
}
@media screen and (max-width: 1268px) {
  .grid {
    --SEPARATOR-COLUMN: 2;
    grid-template-columns: repeat(4, 190px);
  }
}
@media screen and (max-width: 858px) {
  .grid { grid-template-columns: repeat(3, 190px); }
  .grid__left-content  { grid-column: 1 / -1; justify-content: flex-start; }
  .grid__right-content { grid-column: 2 / -1; }
  .wrapper { padding: 16px; }
}
@media screen and (max-width: 650px) {
  .grid { grid-template-columns: repeat(2, 190px); }
  .grid__right-content { grid-column: 1 / -1; }
}
@media screen and (max-width: 444px) {
  .grid { --GRID-GAP: 8px; grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 360px) {
  .wrapper { padding: 12px 8px; }
  .grid { grid-template-columns: 1fr; }
  .grid__left-content,
  .grid__right-content { grid-column: 1 / end; }
}

/* -------------------------------------------------------
   HR (owo verbatim)
------------------------------------------------------- */
hr, .hr_fieldset {
  grid-column: 1 / -1;
  padding-left: var(--GRID-GAP-2);
  margin: 12px 0 4px;
  border-top: 1px solid var(--LIGHT);
  color: var(--MEDIUM);
}
.hr_fieldset legend { padding: 0 4px; }
.hr_fieldset legend * { text-transform: lowercase !important; }

/* -------------------------------------------------------
   BORDER UTILITIES (owo verbatim)
------------------------------------------------------- */
.border {
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
}
.border:hover { border-color: var(--DARK); }

.border_light {
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
}
.border_light:hover { border-color: var(--WHITE); }

.border_dashed {
  border-width: 1px;
  border-style: dashed;
  border-color: var(--LIGHT);
}
.border_dashed:hover { border-style: solid; border-color: var(--DARK); }

/* -------------------------------------------------------
   CARD — media card (owo verbatim)
------------------------------------------------------- */
.card__wrapper {
  height: var(--CARD-HEIGHT);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: flex;
}
.card__wrapper * { word-wrap: break-word; text-decoration: none; }

.card__text-container {
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 6px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
  color: var(--DARK);
}
.card__text-header  { margin-bottom: 4px; }
.card__cover-container { width: 100%; height: 100%; }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media screen and (max-width: 360px) {
  .card__wrapper { height: 214px; }
  .card__img { width: auto; height: 100%; object-fit: contain; }
}

/* -------------------------------------------------------
   UI COMPONENTS
   Same language: flat · sharp · 1px solid LIGHT borders
------------------------------------------------------- */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 14px;
  height: 32px;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  transition: border-color 0.1s, background-color 0.1s, color 0.1s;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
}
.btn-sm { height: 24px; padding: 0 10px; font-size: 1.2rem; }
.btn-lg { height: 40px; padding: 0 20px; font-size: 1.6rem; }

.btn-primary {
  background-color: var(--RED);
  color: var(--WHITE);
  border-color: var(--RED);
}
.btn-primary:hover { background-color: var(--BLACK); border-color: var(--BLACK); }

.btn-default {
  background-color: var(--WHITE);
  color: var(--DARK);
  border-color: var(--LIGHT);
}
.btn-default:hover { border-color: var(--DARK); }

.btn-ghost {
  background-color: transparent;
  color: var(--DARK);
  border-color: var(--LIGHT);
}
.btn-ghost:hover { border-color: var(--DARK); }

.btn-danger {
  background-color: transparent;
  color: var(--RED);
  border-color: var(--RED);
}
.btn-danger:hover { background-color: var(--RED); color: var(--WHITE); }

.btn-blue {
  background-color: var(--BLUE);
  color: var(--WHITE);
  border-color: var(--BLUE);
}
.btn-blue:hover { background-color: var(--BLUE-DARK); border-color: var(--BLUE-DARK); }

.btn:disabled,
.btn[disabled] { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

/* --- Input --- */
.input {
  display: block;
  width: 100%;
  font-size: 1.6rem;
  color: var(--DARK);
  background: var(--WHITE);
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  padding: 0 8px;
  height: 32px;
  outline: none;
  transition: border-color 0.1s;
}
.input::placeholder { color: var(--MEDIUM); }
.input:hover:not(:disabled) { border-color: var(--DARK); }
.input:focus  { border-color: var(--BLUE); }
.input:disabled { opacity: 0.4; cursor: not-allowed; }
.input--error   { border-color: var(--RED) !important; }
.input--success { border-color: var(--GREEN) !important; }
.input-sm { height: 24px; font-size: 1.4rem; }
.input-lg { height: 40px; font-size: 1.8rem; padding: 0 10px; }

/* --- Textarea --- */
.textarea {
  display: block;
  width: 100%;
  font-size: 1.6rem;
  color: var(--DARK);
  background: var(--WHITE);
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  padding: 8px;
  min-height: 96px;
  resize: vertical;
  outline: none;
  transition: border-color 0.1s;
  line-height: 2.4rem;
}
.textarea::placeholder { color: var(--MEDIUM); }
.textarea:hover:not(:disabled) { border-color: var(--DARK); }
.textarea:focus  { border-color: var(--BLUE); }
.textarea:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Select --- */
.select {
  display: block;
  width: 100%;
  font-size: 1.6rem;
  color: var(--DARK);
  background: var(--WHITE);
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  padding: 0 30px 0 8px;
  height: 32px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a4a4a4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.1s;
}
.select:hover  { border-color: var(--DARK); }
.select:focus  { border-color: var(--BLUE); }
.select:disabled { opacity: 0.4; cursor: not-allowed; }
.select option { background: var(--WHITE); color: var(--DARK); }

/* --- Form group --- */
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--MEDIUM);
}
.form-hint  { font-size: 1.2rem; color: var(--MEDIUM); }
.form-error { font-size: 1.2rem; color: var(--RED); }

/* --- Checkbox --- */
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
}
.checkbox input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  background: var(--WHITE);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.1s;
}
.checkbox input:hover   { border-color: var(--DARK); }
.checkbox input:checked { background: var(--RED); border-color: var(--RED); }
.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(40deg);
}
.checkbox input:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Radio --- */
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
}
.radio input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  border-radius: 50%;
  background: var(--WHITE);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.1s;
}
.radio input:hover   { border-color: var(--DARK); }
.radio input:checked { background: var(--RED); border-color: var(--RED); }
.radio input:checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: white;
}
.radio input:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Toggle --- */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
}
.toggle input[type="checkbox"] { display: none; }
.toggle__track {
  width: 36px;
  height: 20px;
  background: var(--LIGHT);
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  position: relative;
  transition: all 0.1s;
  flex-shrink: 0;
}
.toggle__thumb {
  width: 14px;
  height: 14px;
  background: var(--MEDIUM);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all 0.1s;
}
.toggle input:checked + .toggle__track {
  background: var(--RED);
  border-color: var(--RED);
}
.toggle input:checked + .toggle__track .toggle__thumb {
  transform: translateX(16px);
  background: var(--WHITE);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  line-height: 1;
  white-space: nowrap;
  border-width: 1px;
  border-style: solid;
}
.badge-default { background: var(--WHITE);  color: var(--DARK);   border-color: var(--LIGHT); }
.badge-accent  { background: var(--WHITE);  color: var(--RED);    border-color: var(--RED); }
.badge-success { background: var(--WHITE);  color: var(--GREEN);  border-color: var(--GREEN); }
.badge-warning { background: var(--WHITE);  color: var(--ORANGE); border-color: var(--ORANGE); }
.badge-error   { background: var(--WHITE);  color: var(--RED);    border-color: var(--RED); }
.badge-info    { background: var(--WHITE);  color: var(--BLUE);   border-color: var(--BLUE); }
.badge-dot::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 5px;
}

/* --- Tag / chip --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1.4rem;
  padding: 2px 8px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  color: var(--MEDIUM);
  cursor: default;
  transition: border-color 0.1s, color 0.1s;
}
.tag:hover   { border-color: var(--DARK); color: var(--DARK); }
.tag-active  { border-color: var(--RED);  color: var(--RED); }
.tag-close   { cursor: pointer; opacity: 0.7; font-size: 1.4rem; line-height: 1; }
.tag-close:hover { opacity: 1; }

/* --- Content card (UI component — not owo media card) --- */
.card {
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  background: var(--WHITE);
  transition: border-color 0.1s;
}
.card:hover { border-color: var(--DARK); }

.card__body {
  padding: 16px;
}
.card__header {
  padding: 10px 16px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--LIGHT);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card__footer {
  padding: 10px 16px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: var(--LIGHT);
  background: var(--LIGHT);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card__title    { font-size: 1.4rem; font-weight: 700; color: var(--BLACK); }
.card__subtitle { font-size: 1.3rem; color: var(--MEDIUM); margin-top: 4px; }

/* --- Alert --- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-width: 1px;
  border-style: solid;
  font-size: 1.4rem;
  line-height: 1.5;
}
.alert-default { background: var(--WHITE); border-color: var(--LIGHT);  color: var(--DARK); }
.alert-success { background: var(--WHITE); border-color: var(--GREEN);  color: var(--DARK); }
.alert-warning { background: var(--WHITE); border-color: var(--ORANGE); color: var(--DARK); }
.alert-error   { background: var(--WHITE); border-color: var(--RED);    color: var(--DARK); }
.alert-info    { background: var(--WHITE); border-color: var(--BLUE);   color: var(--DARK); }
.alert-icon  { flex-shrink: 0; color: var(--MEDIUM); }
.alert-title { font-weight: 700; margin-bottom: 2px; color: var(--BLACK); }

/* --- Progress --- */
.progress {
  width: 100%;
  height: 4px;
  background: var(--LIGHT);
}
.progress-bar { height: 100%; background: var(--RED); transition: width 0.3s ease; }
.progress-success .progress-bar { background: var(--GREEN); }
.progress-warning .progress-bar { background: var(--ORANGE); }
.progress-info    .progress-bar { background: var(--BLUE); }
.progress-lg { height: 8px; }

/* --- Range --- */
.range {
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--LIGHT);
  outline: none;
  cursor: pointer;
  accent-color: var(--RED);
}
.range::-webkit-slider-thumb {
  appearance: none;
  width: 14px; height: 14px;
  background: var(--RED);
  cursor: pointer;
  transition: transform 0.1s;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb {
  width: 14px; height: 14px;
  background: var(--RED);
  border: none;
  cursor: pointer;
}

/* --- Table --- */
.table-wrapper { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 1.4rem; }
.table th {
  text-align: left;
  padding: 8px 12px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--MEDIUM);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--LIGHT);
  white-space: nowrap;
}
.table td {
  padding: 10px 12px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--LIGHT);
  color: var(--DARK);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--LIGHT); }

/* --- Tabs --- */
.tabs {
  display: flex;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--LIGHT);
}
.tab-item {
  padding: 0 16px;
  height: 36px;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--MEDIUM);
  cursor: pointer;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  margin-bottom: -1px;
  transition: color 0.1s, border-color 0.1s;
  background: none;
  white-space: nowrap;
}
.tab-item:hover  { color: var(--DARK); }
.tab-item.active { color: var(--BLACK); border-bottom-color: var(--BLACK); }

/* --- Avatar --- */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--LIGHT);
  color: var(--DARK);
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
}
.avatar-sm { width: 24px; height: 24px; font-size: 1.1rem; }
.avatar-md { width: 36px; height: 36px; font-size: 1.4rem; }
.avatar-lg { width: 48px; height: 48px; font-size: 1.8rem; }
.avatar-xl { width: 72px; height: 72px; font-size: 2.4rem; }
.avatar-accent { background: var(--WHITE); color: var(--RED); border-color: var(--RED); }

/* --- Toast --- */
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--WHITE);
  border-width: 1px;
  border-style: solid;
  border-color: var(--LIGHT);
  min-width: 260px;
  max-width: 380px;
  font-size: 1.4rem;
}
.toast-accent  { border-left-width: 3px; border-left-color: var(--RED); }
.toast-success { border-left-width: 3px; border-left-color: var(--GREEN); }
.toast-warning { border-left-width: 3px; border-left-color: var(--ORANGE); }
.toast-error   { border-left-width: 3px; border-left-color: var(--RED); }
.toast-info    { border-left-width: 3px; border-left-color: var(--BLUE); }
.toast-title { font-weight: 700; margin-bottom: 2px; color: var(--BLACK); }
.toast-body  { color: var(--MEDIUM); font-size: 1.3rem; }
.toast-close {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--MEDIUM);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: color 0.1s;
}
.toast-close:hover { color: var(--DARK); }

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1.4rem;
}
.breadcrumb-item         { color: var(--MEDIUM); }
.breadcrumb-item a       { color: var(--MEDIUM); }
.breadcrumb-item a:hover { color: var(--BLUE); text-decoration: underline; }
.breadcrumb-item:last-child { color: var(--DARK); }
.breadcrumb-sep { margin: 0 6px; color: var(--LIGHT); }

/* --- Tooltip (pure CSS) --- */
.tooltip-wrapper { position: relative; display: inline-flex; }
.tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--DARK);
  color: var(--WHITE);
  font-size: 1.2rem;
  padding: 4px 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  z-index: var(--Z-INDEX-SECOND-LEVEL);
}
.tooltip-wrapper:hover .tooltip { opacity: 1; }

/* --- Spinner --- */
@keyframes kit-spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--LIGHT);
  border-top-color: var(--RED);
  border-radius: 50%;
  animation: kit-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.spinner-sm { width: 14px; height: 14px; }
.spinner-lg { width: 28px; height: 28px; border-width: 3px; }

/* --- Kbd --- */
kbd {
  display: inline-flex;
  align-items: center;
  font-family: "Roboto Mono", monospace;
  font-size: 1.2rem;
  padding: 2px 6px;
  background: var(--LIGHT);
  border-width: 1px;
  border-style: solid;
  border-color: var(--MEDIUM);
  border-bottom-width: 2px;
  color: var(--DARK);
  line-height: 1.4;
}

/* --- HR / Divider (owo verbatim) --- */
hr, .hr_fieldset {
  grid-column: 1 / -1;
  padding-left: var(--GRID-GAP-2);
  margin: 12px 0 4px;
  border-top: 1px solid var(--LIGHT);
  color: var(--MEDIUM);
}
.hr_fieldset legend { padding: 0 4px; }
.hr_fieldset legend * { text-transform: lowercase !important; }

/* --- Utilities --- */
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }
.gap-6 { gap: 32px; }
.w-full { width: 100%; }

.text-red    { color: var(--RED); }
.text-blue   { color: var(--BLUE); }
.text-green  { color: var(--GREEN); }
.text-orange { color: var(--ORANGE); }
.text-dark   { color: var(--DARK); }
.text-medium { color: var(--MEDIUM); }
.text-black  { color: var(--BLACK); }
.font-mono   { font-family: "Roboto Mono", monospace; }
.uppercase   { text-transform: uppercase; letter-spacing: 0.06em; }
