/* tomega.ch â€” accueil simple (thÃ¨me clair, sans dÃ©pendances externes) */

:root{
  --bg:#f7f7fb;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --stroke:#e2e8f0;
  --hover:#f1f5f9;
  --focus:#cbd5e1;
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.wrap{
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 26px 0 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__logo{
  height: 85px;
  width: auto;
  max-width: 100%;
  display:block;
}
.brand__name{
  font-weight:800;
  letter-spacing:.2px;
}
.brand__sub{
  font-size:13px;
  color: var(--muted);
  margin-top:2px;
}

.tools{ display:flex; gap:10px; align-items:center; }
.input{
  width: min(360px, 52vw);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  outline: none;
}
.input:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(203,213,225,.5);
}

.panel{
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow:hidden;
}

.list{
  list-style:none;
  padding:8px 0;
  margin:0;
}

.item{ border-top: 1px solid var(--stroke); }
.item:first-child{ border-top:none; }

.link{
  display:flex;
  gap:12px;
  align-items:center;
  padding: 16px 16px;
  text-decoration:none;
  color: inherit;
}
.link:hover{ background: var(--hover); }
.link:focus{ outline:none; }
.link:focus-visible{
  box-shadow: inset 0 0 0 2px var(--focus);
}

.icon{
  width: 34px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #fff;
  font-size: 16px;
  flex: 0 0 auto;
}
.icon__img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  display:block;
}

.text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex: 1 1 auto;
}
.title{
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.desc{
  font-size:13px;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.arrow{
  color: var(--muted);
  flex: 0 0 auto;
}

.empty{
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 13px;
}
.sep{ opacity:.6; }

.sr-only{
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}

main.wrap{
  display:flex;
  flex-direction:column;
  gap:20px;
  min-height: calc(100vh - 160px);
}

@media (max-width: 520px){
  .header{ flex-direction:column; align-items:flex-start; }
  .input{ width: 100%; }
}

.groups{
  display:grid;
  gap:24px;
}

.group__title{
  margin:0;
  padding:16px 16px 10px;
  font-size:16px;
  font-weight:700;
  line-height:1.2;
}
