/* ==========================================================================
   x.ERP Claude Design v3.0 — Isometric 3D SVG Icons (v4) & Bento Home (W-00)
   ========================================================================== */

:root,
body,
.x,
.bento-v3-root {
  --page: #F2F6FA;
  --surf: #FFFFFF;
  --elev: #EDF1F5;
  --acc: #FC6735;
  --btn: #E3541F;
  --btnTxt: #FFFFFF;
  --badge: #B3400F;
  --badgeTxt: #FFFFFF;
  --ink: #B3400F;
  --main: #00203F;
  --body: rgba(0, 32, 63, 0.72);
  --mono: rgba(0, 32, 63, 0.62);
  --faint: rgba(0, 32, 63, 0.40);
  --line: rgba(0, 32, 63, 0.12);
  --line2: rgba(0, 32, 63, 0.20);
  --ok: #25C55E;
  --okt: #1B7256;
  --okbg: #DCFCE7;
  --warn: #D97706;
  --warnt: #B45309;
  --warnbg: #FEF3C7;
  --err: #CC2929;
  --errt: #CC2929;
  --errbg: #FEE2E2;
  --icon: #666666;
  --iact: #178FE6;
  --ival: #24B353;
  --ierr: #CC2929;
  --ilock: #00BFBF;
  --shadow: 0 1px 2px rgba(0, 32, 63, 0.06), 0 6px 18px rgba(0, 32, 63, 0.07);
}

body.dark,
.x.dark,
body[data-theme="dark"],
body.dark .bento-v3-root,
.x.dark .bento-v3-root,
.bento-v3-root.dark {
  --page: #001529;
  --surf: #00203F;
  --elev: #072B52;
  --acc: #FC6735;
  --btn: #FC6735;
  --btnTxt: #00203F;
  --badge: #FC6735;
  --badgeTxt: #00203F;
  --ink: #FF8F66;
  --main: #FFFFFF;
  --body: rgba(242, 246, 250, 0.78);
  --mono: rgba(242, 246, 250, 0.64);
  --faint: rgba(242, 246, 250, 0.42);
  --line: rgba(242, 246, 250, 0.14);
  --line2: rgba(242, 246, 250, 0.24);
  --ok: #25C55E;
  --okt: #5ED39E;
  --okbg: rgba(37, 197, 94, 0.16);
  --warn: #F59E0B;
  --warnt: #F59E0B;
  --warnbg: rgba(245, 158, 11, 0.16);
  --err: #CC2929;
  --errt: #FF8C8C;
  --errbg: rgba(204, 41, 41, 0.20);
  --icon: #D9D9D9;
  --iact: #73C5FF;
  --ival: #62D987;
  --ierr: #FF8C8C;
  --ilock: #73DCE6;
  --shadow: none;
}

.m {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   TILE v4 — Oštre 64×64 i 56×56 izometrijske 3D SVG pločice (tile_v4.css)
   -------------------------------------------------------------------------- */
.app {
  position: relative;
  text-decoration: none;
  color: var(--main);
  opacity: 1 !important;
  transform: none;
}

.xrise,
.acard,
.app.card,
.cat > .card,
.bento-core-card,
.bento-suite-card,
.bento-card {
  opacity: 1 !important;
  transform: none;
}

.tile {
  position: relative;
  flex: none;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  box-shadow: 0 1px 1.5px rgba(0, 32, 63, .14), 0 6px 14px -6px rgba(0, 32, 63, .22);
  transition: transform 200ms cubic-bezier(.2, .8, .2, 1), box-shadow 200ms cubic-bezier(.2, .8, .2, 1);
}

.tile.s56 {
  width: 56px;
  height: 56px;
  border-radius: 8.75px;
}

.tile.s48 {
  width: 48px;
  height: 48px;
  border-radius: 7.5px;
}

.tile.s40 {
  width: 40px;
  height: 40px;
  border-radius: 6.25px;
}

.tile svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tb {
  fill: url(#xt-bg);
}

.tb-edge {
  fill: none;
  stroke: rgba(0, 32, 63, .16);
  stroke-width: 1;
}

.tb-hi {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 1;
}

.tb-thread {
  fill: #FC6735;
}

.tb-sheen {
  fill: url(#xt-sheen);
  transition: transform 640ms cubic-bezier(.2, .8, .2, 1);
}

.tb-press {
  fill: rgba(0, 32, 63, .07);
  opacity: 0;
  transition: opacity 120ms;
}

.t-n {
  display: none;
}

.t-shadow {
  fill: rgba(0, 32, 63, .12);
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1);
  transform-origin: 32px 42px;
}

.t-side,
.t-front,
.t-top,
.t-pside,
.t-pfront,
.t-ptop {
  stroke-width: .5;
  stroke-linejoin: round;
}

.t-side {
  fill: #D24E1C;
  stroke: #D24E1C;
}

.t-front {
  fill: #FC6735;
  stroke: #FC6735;
}

.t-top {
  fill: #FFB28F;
  stroke: #FFB28F;
}

.t-pside {
  fill: #C3CDD7;
  stroke: #C3CDD7;
}

.t-pfront {
  fill: #E3E9EF;
  stroke: #E3E9EF;
}

.t-ptop {
  fill: #FFFFFF;
  stroke: #FFFFFF;
}

.t-top,
.t-ptop {
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.t-ink {
  fill: #34404C;
}

.t-line,
.t-lineF {
  fill: none;
  stroke: #34404C;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.t-hi {
  fill: none;
  stroke: #FFFFFF;
  stroke-opacity: .85;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark theme overrides for Tile v4 */
.x.dark .tb,
body.dark .tb,
body[data-theme="dark"] .tb,
.bento-v3-root.dark .tb {
  fill: url(#xt-bg-d);
}

.x.dark .tb-edge,
body.dark .tb-edge,
body[data-theme="dark"] .tb-edge,
.bento-v3-root.dark .tb-edge {
  stroke: rgba(242, 246, 250, .22);
}

.x.dark .tb-hi,
body.dark .tb-hi,
body[data-theme="dark"] .tb-hi,
.bento-v3-root.dark .tb-hi {
  stroke: rgba(255, 255, 255, .16);
}

.x.dark .t-lineF,
body.dark .t-lineF,
body[data-theme="dark"] .t-lineF,
.bento-v3-root.dark .t-lineF {
  stroke: #E6E9EE;
}

.x.dark .t-shadow,
body.dark .t-shadow,
body[data-theme="dark"] .t-shadow,
.bento-v3-root.dark .t-shadow {
  fill: rgba(0, 0, 0, .30);
}

.x.dark .tile,
body.dark .tile,
body[data-theme="dark"] .tile,
.bento-v3-root.dark .tile {
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, .35), 0 6px 14px -6px rgba(0, 0, 0, .55);
}

/* Hover, Focus & Active states (-3px crisp shift, orange glow, sheen pass) */
.app:hover .tile,
.app:focus-visible .tile,
.st-hover .tile {
  transform: translateY(-3px);
  box-shadow: 0 2px 3px rgba(0, 32, 63, .12), 0 14px 24px -10px rgba(252, 103, 53, .45);
}

.app:hover .tb-sheen,
.app:focus-visible .tb-sheen,
.st-hover .tb-sheen {
  transform: translateX(112px);
}

.app:hover .t-top,
.app:hover .t-ptop,
.app:focus-visible .t-top,
.app:focus-visible .t-ptop,
.st-hover .t-top,
.st-hover .t-ptop {
  transform: translateY(-1px);
}

.app:hover .t-shadow,
.app:focus-visible .t-shadow,
.st-hover .t-shadow {
  transform: scale(1.1);
}

.app:active .tile,
.st-press .tile {
  transform: translateY(0);
  box-shadow: 0 1px 1px rgba(0, 32, 63, .16);
}

.app:active .tb-press,
.st-press .tb-press {
  opacity: 1;
}

.app:focus-visible {
  outline: none;
}

.app:focus-visible .tile,
.st-focus .tile {
  outline: 2px solid #FC6735;
  outline-offset: 3px;
}

.app:hover .app-name {
  color: #B3400F;
}

.x.dark .app:hover .app-name,
body.dark .app:hover .app-name,
body[data-theme="dark"] .app:hover .app-name,
.bento-v3-root.dark .app:hover .app-name {
  color: #FF8F66;
}

@keyframes xrise {
  0% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Monochrome 24px / 16px menu glyph variant (Ikone.html) */
.mono .t-shadow,
.mono .t-hi,
.mono .t-n {
  display: none;
}

.mono .t-side,
.mono .t-front,
.mono .t-top,
.mono .t-pside,
.mono .t-pfront,
.mono .t-ptop {
  fill: #FFFFFF;
  stroke: #666666;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.mono .t-line,
.mono .t-lineF {
  stroke: #666666;
  stroke-width: 2.4;
}

.mono .t-ink {
  fill: #666666;
}

.mono .t-top,
.mono .t-ptop {
  transform: none !important;
}

.no-thread .tb-thread,
.no-thread .tb-hi {
  display: none;
}

.cell {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transition: border-color 200ms cubic-bezier(.2, .8, .2, 1);
}

.cell:hover,
.cell:focus-visible {
  border-color: rgba(252, 103, 53, .45);
}

/* --------------------------------------------------------------------------
   W-00-BENTO — Početni ekran, Moduli 01–08 (4×2) i Katalog 54 + 12 aplikacija
   -------------------------------------------------------------------------- */
.bento-v3-root {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 24px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  color: var(--main);
}

.bento-v3-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.bento-v3-title-block {
  flex: 1 1 480px;
  min-width: 0;
}

.bento-v3-eyebrow {
  font-size: 13px;
  color: var(--mono);
}

.bento-v3-h1 {
  margin: 2px 0 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--main);
}

.bento-v3-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: var(--surf);
  border: 1px solid var(--line2);
  border-radius: 6px;
  width: 100%;
  cursor: text;
  box-sizing: border-box;
  transition: border-color 160ms, box-shadow 160ms;
}

.bento-v3-search-wrap {
  position: relative;
  flex: 0 1 520px;
  min-width: 280px;
  z-index: 60;
}

.bento-v3-search:focus-within {
  border-color: #FC6735;
  outline: 2px solid rgba(252, 103, 53, 0.25);
  outline-offset: 1px;
}

.bento-v3-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--main);
  outline: none;
  font-family: inherit;
}

.bento-v3-search input::placeholder {
  color: var(--faint);
}

.bento-search-clear-btn {
  border: 0;
  background: var(--elev);
  color: var(--body);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex: none;
  padding: 0;
  line-height: 1;
}

.bento-search-clear-btn:hover {
  background: rgba(252, 103, 53, 0.16);
  color: #B3400F;
}

.bento-v3-kbd {
  font-size: 12px;
  padding: 1px 6px;
  border: 1px solid var(--line2);
  border-radius: 4px;
  color: var(--mono);
  background: var(--page);
  flex: none;
  white-space: nowrap;
}

/* Plivajući padajući meni za žive sugestije (#bentoLiveSuggestions) */
.bento-live-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surf);
  border: 1px solid var(--line2);
  border-top: 3px solid #FC6735;
  border-radius: 10px;
  box-shadow: 0 14px 34px -8px rgba(0, 32, 63, 0.22), 0 2px 6px rgba(0, 32, 63, 0.08);
  max-height: 440px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 90;
}

.bento-live-suggestions.open {
  display: flex;
}

.bento-sug-header {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--page);
}

.bento-sug-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--main);
  cursor: pointer;
  transition: background 120ms;
}

.bento-sug-item:last-of-type {
  border-bottom: 0;
}

.bento-sug-item:hover,
.bento-sug-item.active {
  background: rgba(252, 103, 53, 0.09);
}

.bento-sug-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-sug-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.bento-sug-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--main);
}

.bento-sug-code {
  font-size: 12px;
  color: var(--mono);
}

.bento-sug-typo-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(252, 103, 53, 0.14);
  color: #B3400F;
}

.bento-sug-desc {
  font-size: 12.5px;
  color: var(--body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-sug-foot {
  padding: 7px 12px;
  border-top: 1px solid var(--line);
  background: var(--page);
  font-size: 12px;
  color: var(--mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bento-fuzzy-banner {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(252, 103, 53, 0.09);
  border: 1px solid rgba(252, 103, 53, 0.35);
  color: var(--main);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.bento-v3-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-v3-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bento-v3-h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--main);
}

/* Danas traži pažnju (4-column strip .s4) */
.s4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.s4 > a {
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
  color: var(--main);
  cursor: pointer;
  transition: background 160ms;
}

.s4 > a:first-child {
  border-left: 0;
}

.s4 > a:hover {
  background: var(--page);
}

/* Mreža glavnih modula 01–08 (4×2 .g4) */
.g4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Mreža 3 kolone za Kartice aplikacija (.cards3) */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Kompaktna mreža ikona (.cat & .app.card) */
.cat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.app.card,
.cat > .card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  cursor: pointer;
  transition: border-color 220ms cubic-bezier(.2, .8, .2, 1), background 220ms cubic-bezier(.2, .8, .2, 1);
}

.app.card:hover,
.app.card:focus-visible,
.cat > .card:hover,
.cat > .card:focus-visible {
  border-color: rgba(252, 103, 53, .45);
  background: linear-gradient(180deg, var(--surf), rgba(252, 103, 53, .04));
}

/* Kartica aplikacije / modula (.acard) */
.acard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 1px 1.5px rgba(0, 32, 63, .08), 0 6px 14px -8px rgba(0, 32, 63, .16);
  transition: transform 200ms cubic-bezier(.2, .8, .2, 1), border-color 200ms cubic-bezier(.2, .8, .2, 1), box-shadow 200ms cubic-bezier(.2, .8, .2, 1);
}

.x.dark .acard,
body.dark .acard,
body[data-theme="dark"] .acard,
.bento-v3-root.dark .acard {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .28), 0 6px 16px -8px rgba(0, 0, 0, .45);
}

.acard:hover,
.acard:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(252, 103, 53, .6);
  box-shadow: 0 2px 3px rgba(0, 32, 63, .08), 0 16px 28px -14px rgba(252, 103, 53, .5);
}

.app.acard:focus-visible {
  outline: 2px solid #FC6735;
  outline-offset: 3px;
}

.acard:hover .tile,
.acard:focus-visible .tile {
  transform: translateY(-3px);
  box-shadow: 0 2px 3px rgba(0, 32, 63, .12), 0 14px 24px -10px rgba(252, 103, 53, .45);
  outline: none;
}

.ac-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.ac-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ac-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.ac-full {
  font-size: 13px;
  color: var(--body);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.ac-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.ac-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.ac-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ac-stats.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-stats > div {
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  border-left: 1px solid var(--line);
}

.ac-stats > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.ac-v {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-l {
  font-size: 12px;
  color: var(--body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-top: auto;
  min-height: 20px;
}

.ac-alt {
  color: var(--body);
  flex: 1 1 0%;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-alt > span {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-open {
  margin-left: auto;
  flex: none;
  font-weight: 700;
  color: var(--ink);
  transition: transform 200ms cubic-bezier(.2, .8, .2, 1);
}

.acard:hover .ac-open {
  transform: translateX(2px);
}

/* Sekcija Aplikacije ekosistema (54 + 12 platformskih) */
.bento-eco-box {
  background: var(--surf);
  border: 1px solid var(--line);
  border-top: 3px solid #FC6735;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-eco-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-end;
}

.bento-eco-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--body);
}

.bento-eco-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bento-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 600px;
}

.bento-chip-btn {
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surf);
  color: var(--main);
  border: 1px solid var(--line2);
  cursor: pointer;
  font-family: inherit;
  transition: background 180ms, border-color 180ms;
}

.bento-chip-btn:hover {
  border-color: #FC6735;
}

.bento-chip-btn[aria-pressed="true"] {
  font-weight: 700;
  background: rgba(252, 103, 53, 0.10);
  border: 1.5px solid #FC6735;
}

.bento-view-group {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--elev);
  border-radius: 4px;
}

.bento-view-btn {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--main);
  cursor: pointer;
  font-family: inherit;
}

.bento-view-btn[aria-pressed="true"] {
  font-weight: 700;
  background: var(--surf);
  box-shadow: inset 0 -2px 0 #FC6735, 0 1px 2px rgba(0, 32, 63, 0.08);
}

.bento-fam-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-fam-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* Responsive breakpoints */
@media (max-width: 1180px) {
  .cards3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s4 > a:nth-child(3) {
    border-left: 0;
  }
  .s4 > a:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .bento-v3-root {
    padding: 16px 12px 96px;
  }
  .bento-chip-btn,
  .bento-view-btn,
  .bento-search-clear-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 700px) {
  .cards3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .g4,
  .s4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .s4 > a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .s4 > a:first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app {
    animation: none;
  }
  .tile,
  .tb-sheen,
  .tb-press,
  .t-shadow,
  .t-top,
  .t-ptop,
  .acard,
  .ac-open {
    transition: none;
  }
  .app:hover .tile,
  .app:focus-visible .tile,
  .acard:hover,
  .acard:focus-visible,
  .acard:hover .ac-open {
    transform: none;
  }
  .app:hover .tb-sheen,
  .app:focus-visible .tb-sheen {
    transform: none;
  }
  .app:hover .t-top,
  .app:hover .t-ptop,
  .app:hover .t-shadow {
    transform: none;
  }
}
