:root {
  --blue: #0696d7; --blue-d: #0479ad; --blue-l: #e6f4fb; --navy: #1f5fd6;
  --tx: #3c3c3c; --tx2: #666; --tx3: #999; --bd: #dcdcdc; --bd2: #ececec; --bg: #fff; --bg2: #f5f5f5; --bg3: #fafafa;
  --ok: #2bc275; --warn: #faa21b; --err: #dd2222; --sh: 0 1px 3px rgba(0,0,0,.12);
  font-family: "Artifakt Element", "Segoe UI", -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; color: var(--tx);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Rahmen */
.shell { display: grid; grid-template-columns: 54px 1fr; grid-template-rows: 48px 1fr; height: 100vh; }
.top { grid-column: 1 / 3; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--bd); background: #fff; padding-right: 16px; }
.logo { width: 54px; height: 47px; background: #3c3c3c; display: grid; place-items: center; }
.logo b { width: 28px; height: 28px; border-radius: 4px; background: linear-gradient(135deg, #3d8af7, var(--navy)); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; box-shadow: -3px 3px 0 #13398a; }
.hubsel { display: flex; align-items: center; gap: 8px; height: 32px; min-width: 300px; padding: 0 10px; border: 1px solid var(--bd); border-radius: 2px; background: #fff; cursor: pointer; }
.hubsel img { width: 22px; height: 16px; object-fit: contain; }
.hubsel .car { margin-left: auto; border: 5px solid transparent; border-top-color: var(--tx2); border-bottom: 0; }
.top .sp { flex: 1; }
.badge { background: #f37021; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 10px; letter-spacing: .03em; }
.idx { font-size: 12px; color: var(--tx2); }
.user { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--bd); cursor: pointer; background: none; border-top: 0; border-right: 0; border-bottom: 0; height: 30px; }
.av { width: 28px; height: 28px; border-radius: 50%; background: #7a8aa0; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.rail { background: var(--bg2); border-right: 1px solid var(--bd); display: flex; flex-direction: column; align-items: center; padding-top: 20px; gap: 6px; }
.rail a { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; color: #555; position: relative; }
.rail a:hover { background: #e4e4e4; text-decoration: none; }
.rail a.on { background: var(--blue); color: #fff; }
.rail hr { width: 26px; border: 0; border-top: 1px solid var(--bd); margin: 6px 0; }
.rail a:hover::after { content: attr(data-tip); position: absolute; left: 38px; top: 50%; transform: translateY(-50%); background: #333; color: #fff; padding: 4px 8px; font-size: 12px; border-radius: 2px; white-space: nowrap; z-index: 50; }
.main { overflow: auto; position: relative; }
.page { padding: 24px 56px 48px; max-width: 1500px; margin: 0 auto; }

/* Hinweis */
.note { background: #fff8e5; border: 1px solid #f5d77a; padding: 8px 12px; border-radius: 2px; font-size: 13px; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.note.err { background: #fdecec; border-color: #f3b1b1; }

/* Knöpfe & Felder */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border: 1px solid var(--bd); background: #fff; border-radius: 2px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #999; }
.btn.pri { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.pri:hover { background: var(--blue-d); }
.btn.out { border-color: var(--blue); color: var(--blue); }
.btn.danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ico { width: 32px; padding: 0; }
.btn.ghost { border-color: transparent; background: none; }
.btn.on { background: var(--blue-l); border-color: var(--blue); color: var(--blue); }
.lnk { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; }
.lnk:hover { text-decoration: underline; }
input[type=text], input[type=search], input[type=email], input[type=password], select, textarea { height: 32px; border: 1px solid var(--bd); border-radius: 2px; padding: 0 10px; background: #fff; outline: none; }
textarea { height: auto; padding: 8px 10px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }

/* Entdecken */
.hero { position: relative; height: 225px; margin: 4px 30px 14px; background: #f7f7f7; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero > svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .mark { position: relative; width: 88px; height: 82px; margin-bottom: 18px; }
.hero .mark b { position: absolute; right: 0; top: 0; width: 80px; height: 76px; background: linear-gradient(135deg, #3d8af7, var(--navy)); color: #fff; border-radius: 2px; display: grid; place-items: center; font-size: 40px; font-weight: 700; box-shadow: -8px 8px 0 #13398a; }
.hero h1 { position: relative; margin: 0; font-size: 26px; font-weight: 400; letter-spacing: .01em; }
.hero p { position: relative; margin: 14px 0 0; color: #555; font-size: 13px; }
.bigsearch { display: flex; margin: 0 0 18px; position: relative; }
.bigsearch .in { flex: 1; display: flex; align-items: center; border: 1px solid var(--bd); border-right: 0; height: 32px; padding-left: 10px; gap: 8px; color: #666; }
.bigsearch .in input { border: 0; box-shadow: none; flex: 1; height: 30px; padding: 0 4px; }
.bigsearch .go { width: 48px; height: 32px; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sugg { position: absolute; top: 33px; left: 0; right: 48px; background: #fff; border: 1px solid var(--bd); box-shadow: 0 4px 12px rgba(0,0,0,.12); z-index: 30; }
.sugg button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 7px 12px; border: 0; background: none; text-align: left; cursor: pointer; }
.sugg button:hover, .sugg button.on { background: var(--blue-l); }
.sugg small { color: var(--tx3); margin-left: auto; }
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 12px; }
.sec h2 { margin: 0; font-size: 19px; font-weight: 400; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 14px; }
.tile { border: 1px solid var(--bd2); border-radius: 8px; padding: 14px 14px 12px; background: #fff; cursor: pointer; text-align: left; transition: box-shadow .15s; min-width: 0; }
.tile:hover { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.tile .pic { aspect-ratio: 143 / 127; border-radius: 3px; overflow: hidden; display: grid; place-items: center; background: #f0f0f0; position: relative; }
.tile .pic img { width: 100%; height: 100%; object-fit: cover; }
.tile .pic.blue { background: #3a9ad9; color: #fff; }
.tile .pic.blue svg.i { width: 44px; height: 44px; stroke-width: 1.4; }
.tile .pic .num { font-size: 46px; font-weight: 800; letter-spacing: -1px; -webkit-text-stroke: 2px #fff; paint-order: stroke fill; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.tile .nm { margin-top: 12px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .cnt { margin-top: 4px; font-size: 11.5px; color: var(--tx2); }

/* Suchergebnisse */
.crumbs { font-size: 13px; margin-bottom: 12px; color: var(--tx); }
.crumbs a { margin-right: 6px; } .crumbs span { margin: 0 6px 0 0; color: var(--tx3); }
.sbar { display: flex; height: 32px; }
.sbar select { width: 204px; border-radius: 2px 0 0 2px; border-right: 0; }
.sbar .in { flex: 1; display: flex; align-items: center; border: 1px solid var(--bd); padding: 0 8px; gap: 6px; color: #666; }
.sbar .in input { border: 0; flex: 1; box-shadow: none; padding: 0 4px; }
.sbar .reset { background: none; border: 0; color: var(--tx2); cursor: pointer; padding: 0 8px; }
.sbar .btn.pri { border-radius: 0 2px 2px 0; padding: 0 18px; }
.bar2 { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--bd2); border-bottom: 1px solid var(--bd2); margin: 14px -27px 0; padding: 8px 27px; min-height: 44px; }
.bar2 .lbl { font-weight: 600; margin-right: 4px; }
.bar2 .none { color: var(--tx3); font-style: italic; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--bd2); border-radius: 12px; padding: 2px 4px 2px 10px; font-size: 12.5px; max-width: 280px; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--tx2); width: 18px; height: 18px; border-radius: 50%; line-height: 1; }
.chip button:hover { background: #ddd; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.tag { display: inline-block; background: var(--bg2); border-radius: 12px; padding: 3px 10px; font-size: 12px; margin: 0 6px 6px 0; }
.tag.col { background: var(--blue-l); color: var(--blue-d); cursor: pointer; }
.tag.col:hover, .tag.cl:hover { text-decoration: underline; }
.tag.cl { cursor: pointer; }
.res { display: grid; grid-template-columns: 232px 1fr; gap: 26px; margin-top: 4px; }
.res.panel { grid-template-columns: 232px 1fr 306px; gap: 26px 26px; }
.filters { padding-top: 6px; }
.filters .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.facet { border-bottom: 1px solid var(--bd2); }
.facet > button { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; padding: 12px 0; cursor: pointer; font-size: 14px; }
.facet > button i { font-style: normal; color: var(--tx2); transition: transform .15s; }
.facet.open > button i { transform: rotate(90deg); }
.facet .opts { padding: 0 0 10px; max-height: 320px; overflow: auto; }
.facet .opts input[type=search] { width: 100%; height: 28px; margin-bottom: 6px; }
.facet label { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 13px; cursor: pointer; }
.facet label span { flex: 1; word-break: break-word; }
.facet label small { color: var(--tx3); }
.facet label.zero { opacity: .45; }
.count { font-size: 12px; color: var(--tx2); margin: 6px 0 10px; }
.tbl-wrap { border: 1px solid var(--bd2); border-radius: 3px; overflow: auto; max-height: calc(100vh - 280px); background: #fff; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { position: sticky; top: 0; background: #fff; z-index: 1; text-align: left; font-weight: 400; color: var(--tx); padding: 14px 10px; border-bottom: 1px solid var(--bd2); white-space: nowrap; font-size: 13px; }
table.t th.sortable { cursor: pointer; } table.t th.sortable:hover { color: var(--blue); }
table.t td { padding: 0 10px; height: 54px; border-bottom: 1px solid var(--bd2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
table.t tbody tr { cursor: pointer; }
table.t tbody tr:hover { background: var(--bg3); }
table.t tbody tr.on { background: #eaeaea; }
table.t td.ck, table.t th.ck { width: 42px; text-align: center; padding: 0 6px 0 14px; }
table.t td.img { width: 70px; padding: 4px 8px; }
.thumb { width: 54px; height: 46px; border-radius: 2px; background: #e9e9e9; display: grid; place-items: center; overflow: hidden; font-size: 10px; font-weight: 700; color: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumb.rfa { background: linear-gradient(#fff 0 56%, #1a5fb4 56%); color: #1a5fb4; font-size: 0; position: relative; }
.thumb.rfa::before { content: "R"; position: absolute; top: 3px; left: 0; right: 0; text-align: center; font-size: 18px; font-weight: 800; }
.thumb.rfa::after { content: attr(data-t); position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; color: #fff; font-size: 9px; }
.thumb.sys { background: #6d7f95; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding: 12px; }
.card { border: 1px solid var(--bd2); border-radius: 6px; padding: 10px; cursor: pointer; background: #fff; min-width: 0; position: relative; }
.card:hover { box-shadow: var(--sh); } .card.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.card .thumb { width: 100%; height: 120px; }
.card .thumb.rfa::before { font-size: 44px; top: 18px; } .card .thumb.rfa::after { font-size: 14px; bottom: 10px; }
.card .nm { font-size: 12.5px; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .sub { font-size: 11.5px; color: var(--tx2); margin-top: 2px; }
.card input { position: absolute; top: 14px; left: 14px; }
.more { text-align: center; padding: 14px; color: var(--tx2); font-size: 12px; }
.side { border-left: 1px solid var(--bd2); padding: 10px 0 20px 20px; margin-top: -48px; position: sticky; top: 0; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
.side .h { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.side .h b { flex: 1; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .acts { display: flex; gap: 8px; margin-bottom: 16px; }
.side .acts .btn { flex: 1; font-size: 12.5px; }
.side .pv { height: 200px; background: #f0f0f0; border-radius: 4px; display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.side .pv .thumb { width: 100%; height: 100%; }
.side .pv .thumb.rfa::before { font-size: 70px; top: 30px; } .side .pv .thumb.rfa::after { font-size: 18px; bottom: 22px; }
.side h4, .kv h4 { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; }
.side .blk { margin-bottom: 16px; font-size: 13px; }
.split { display: inline-flex; } .split .btn:first-child { border-radius: 2px 0 0 2px; } .split .btn + .btn { border-radius: 0 2px 2px 0; border-left: 1px solid rgba(255,255,255,.4); width: 28px; padding: 0; }
.selbar { display: flex; align-items: center; gap: 10px; background: var(--blue-l); border: 1px solid #b9dff2; padding: 6px 12px; margin-bottom: 8px; border-radius: 2px; font-size: 13px; }

/* Detailseite */
.det { display: grid; grid-template-columns: 320px 1fr; gap: 32px; margin-top: 8px; }
.det .pv { height: 280px; border: 1px solid var(--bd2); border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.det .pv .thumb { width: 100%; height: 100%; }
.det .pv .thumb.rfa::before { font-size: 90px; top: 40px; } .det .pv .thumb.rfa::after { font-size: 22px; bottom: 30px; }
.det h1 { font-size: 22px; font-weight: 400; margin: 0 0 6px; word-break: break-word; }
.det .acts { display: flex; gap: 8px; margin: 14px 0 20px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; font-size: 13px; }
.kv dt { color: var(--tx2); } .kv dd { margin: 0; word-break: break-word; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--bd); margin: 28px 0 16px; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; cursor: pointer; font-size: 14px; }
.tabs button.on { border-bottom-color: var(--blue); color: var(--blue); }
.types { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.tlist { border: 1px solid var(--bd2); border-radius: 3px; max-height: 560px; overflow: auto; }
.tlist button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--bd2); padding: 9px 12px; cursor: pointer; font-size: 13px; }
.tlist button.on { background: var(--blue-l); color: var(--blue-d); }
.ptab { border: 1px solid var(--bd2); border-radius: 3px; max-height: 560px; overflow: auto; }
.ptab table.t td { height: 34px; white-space: normal; max-width: none; }
.ptab table.t tbody tr { cursor: default; }
.ptab table.t td.v { color: var(--tx); } .ptab table.t td.n { color: var(--tx2); width: 40%; }
.matrix table.t td, .matrix table.t th { height: 32px; padding: 6px 10px; }
.matrix table.t th:first-child, .matrix table.t td:first-child { position: sticky; left: 0; background: #fff; z-index: 2; border-right: 1px solid var(--bd2); }

/* Listen (gespeicherte Suchen, Anforderungen) */
.ph { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ph h1 { font-size: 22px; font-weight: 400; margin: 0; flex: 1; }
.grp { border: 1px solid var(--bd2); border-radius: 4px; margin-bottom: 12px; }
.grp > .gh { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg3); cursor: pointer; border-bottom: 1px solid var(--bd2); }
.grp > .gh b { flex: 1; font-weight: 600; }
.grp.shut > .gh { border-bottom: 0; } .grp.shut .gl { display: none; }
.ss { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--bd2); }
.ss:last-child { border-bottom: 0; }
.ss .nm { min-width: 220px; font-weight: 500; }
.ss .crit { flex: 1; color: var(--tx2); font-size: 12.5px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.pill.PENDING { background: #fff2d6; color: #9a6200; } .pill.APPROVED { background: #ddf5e8; color: #157347; }
.pill.DECLINED { background: #fde2e2; color: #b42318; } .pill.CANCELED { background: #eee; color: #666; }
.seg { display: inline-flex; border: 1px solid var(--bd); border-radius: 2px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 6px 12px; cursor: pointer; border-right: 1px solid var(--bd); }
.seg button:last-child { border-right: 0; } .seg button.on { background: var(--blue-l); color: var(--blue-d); }

/* Hochladen */
.drop { border: 2px dashed #bbb; border-radius: 6px; padding: 40px; text-align: center; color: var(--tx2); background: var(--bg3); cursor: pointer; }
.drop.over { border-color: var(--blue); background: var(--blue-l); }
.drop svg.i { width: 40px; height: 40px; color: var(--blue); }
.ufile { border: 1px solid var(--bd2); border-radius: 4px; padding: 16px; margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ufile .full { grid-column: 1 / 3; }
.ufile label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--tx2); }
.ufile label.f > input, .ufile label.f > select, .ufile label.f > textarea { color: var(--tx); font-size: 14px; }
.ufile .hd { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; }
.ufile .hd b { flex: 1; }
.checks { border: 1px solid var(--bd); border-radius: 2px; max-height: 150px; overflow: auto; padding: 4px 8px; color: var(--tx); font-size: 13px; }
.checks label { display: flex; gap: 6px; padding: 2px 0; }
.prog { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; } .prog i { display: block; height: 100%; background: var(--blue); width: 0; transition: width .2s; }
.st { font-size: 12.5px; } .st.ok { color: #157347; } .st.err { color: var(--err); }

/* Hub */
.hubhead { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; }
.hubhead img { width: 140px; height: 92px; object-fit: contain; border: 1px solid var(--bd2); border-radius: 4px; padding: 6px; }
.cards3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.stat { border: 1px solid var(--bd2); border-radius: 6px; padding: 14px 16px; } .stat b { display: block; font-size: 24px; font-weight: 400; } .stat span { color: var(--tx2); font-size: 12.5px; }

/* Menü, Dialog, Meldung, Anmeldung */
#menu { position: fixed; z-index: 100; background: #fff; border: 1px solid var(--bd); box-shadow: 0 4px 16px rgba(0,0,0,.15); min-width: 200px; padding: 4px 0; border-radius: 2px; }
#menu .mi { display: flex; gap: 8px; width: 100%; text-align: left; background: none; border: 0; padding: 8px 14px; cursor: pointer; font-size: 13.5px; }
#menu .mi:hover { background: var(--blue-l); } #menu .mi.on { color: var(--blue); font-weight: 600; } #menu hr { border: 0; border-top: 1px solid var(--bd2); margin: 4px 0; }
#modal { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 90; display: grid; place-items: center; }
.dlg { background: #fff; width: min(480px, 94vw); border-radius: 3px; box-shadow: 0 10px 40px rgba(0,0,0,.3); padding: 20px 22px; }
.dlg h3 { margin: 0 0 16px; font-weight: 500; font-size: 17px; }
.dlg label.f { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 12.5px; color: var(--tx2); }
.dlg label.f > * { color: var(--tx); font-size: 14px; }
.dlg .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 10px 18px; border-radius: 3px; z-index: 200; max-width: 80vw; font-size: 13.5px; }
.login { min-height: 100vh; display: grid; place-items: center; background: var(--bg2); }
.login form { background: #fff; padding: 30px 32px; width: 360px; border-radius: 4px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 12px; }
.login .brand { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 8px; }
.login .brand b { width: 32px; height: 32px; border-radius: 4px; background: linear-gradient(135deg, #3d8af7, var(--navy)); color: #fff; display: grid; place-items: center; font-size: 14px; box-shadow: -3px 3px 0 #13398a; }
.empty { padding: 40px; text-align: center; color: var(--tx2); }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid #ccc; border-top-color: var(--blue); border-radius: 50%; animation: sp 1s linear infinite; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .res.panel { grid-template-columns: 200px 1fr; } .res.panel .side { position: fixed; right: 0; top: 48px; bottom: 0; width: 320px; background: #fff; z-index: 40; margin: 0; max-height: none; box-shadow: -4px 0 16px rgba(0,0,0,.1); padding-right: 16px; }
  .page { padding: 20px 24px; } .det { grid-template-columns: 1fr; } .cards3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .shell { grid-template-columns: 0 1fr; } .rail { display: none; } .hubsel { min-width: 0; flex: 1; } .idx, .badge, .user .nm { display: none; }
  .res, .res.panel { grid-template-columns: 1fr; } .filters { display: none; } .page { padding: 16px; } .hero { margin: 0 0 14px; }
  .sbar select { width: 110px; } .types { grid-template-columns: 1fr; } .ufile { grid-template-columns: 1fr; } .ufile .full, .ufile .hd { grid-column: 1; }
}
