.gfu,.gfu-dialog {
  color-scheme: dark;
  color: #fafafa;
  background: #050505;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
  text-align: left;
}
.gfu, .gfu *, .gfu-dialog * { box-sizing: border-box; }
.gfu { padding: clamp(12px,2.2vw,30px); min-width: 0; }
.gfu .gfu-top, .gfu-dialog .gfu-dhead { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.gfu .gfu-top { margin:0 0 20px; flex-wrap:wrap; }
.gfu .gfu-top h2 {
  color:white; font:800 clamp(27px,3vw,43px)/1.05 Arial,sans-serif;
  letter-spacing:-.045em; margin:0;
}
.gfu .gfu-tools { display:flex; gap:3px; }
.gfu button,.gfu-dialog button,.gfu select,.gfu-dialog input,.gfu-dialog select {
  appearance:none; margin:0; border:1px solid #767676; border-radius:0;
  padding:9px 13px; font:700 14px/1.25 Arial,sans-serif;
  text-transform:none; letter-spacing:normal; box-shadow:none; text-shadow:none;
  background:#121212; color:#fff; cursor:pointer;
}
.gfu button::after,.gfu button::before { display:none; }
.gfu button[aria-pressed="true"],.gfu .gfu-save,.gfu-dialog .gfu-save { background:#fff;color:#080808;border-color:white; }
.gfu :focus-visible,.gfu-dialog :focus-visible { outline:3px solid white; outline-offset:2px; }
.gfu-scroll {overflow:auto;}
.gfu .gfu-scroll table {width:100%; min-width:700px; margin:0; table-layout:fixed; border-collapse:separate; border-spacing:6px; border:0; background:#050505;}
.gfu .gfu-scroll tr {background:transparent;}
.gfu .gfu-scroll th,.gfu .gfu-scroll td {
  border:1px solid #626262; background:#050505; color:white; padding:0;
  height:64px; text-align:center; vertical-align:middle; box-shadow:none;
}
.gfu .gfu-scroll th {font:750 clamp(14px,1.3vw,19px)/1.05 Arial,sans-serif; text-transform:uppercase; letter-spacing:.02em;}
.gfu thead th small {display:block;font:inherit;letter-spacing:inherit;color:inherit;margin-top:3px;}
.gfu .gfu-scroll th:first-child {width:clamp(68px,9%,120px);font-variant-numeric:tabular-nums;}
.gfu .gfu-scroll td:has(button) {border-color:transparent;background:#050505;}
.gfu td>div {display:flex;gap:1px;min-height:62px;}
.gfu button[data-event],.gfu .gfu-legend [style] {
  background:var(--sw); color:var(--ink); border:0; border-radius:0;
  font:750 clamp(14px,1.3vw,19px)/1.08 Arial,sans-serif; padding:5px 2px;
  letter-spacing:0; text-align:center;
}
.gfu button[data-event] { flex:1 1 0;min-width:0;overflow-wrap:anywhere; }
.gfu button[data-event] small {display:block;font:600 11px/1.2 Arial,sans-serif;letter-spacing:0;color:inherit;margin-top:4px;}
.gfu button[data-event]:hover,.gfu button[data-event]:focus-visible {box-shadow:inset 0 0 0 3px currentColor;}
.gfu .gfu-legend {border:1px solid #626262;margin:32px 6px 0;padding:clamp(14px,2vw,28px);}
.gfu .gfu-legend h3,.gfu-dialog .gfu-other h4 {margin:0 0 13px;color:white;font:750 18px/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.02em;}
.gfu .gfu-legend>div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
.gfu .gfu-legend [style] {display:grid;align-items:center;min-height:53px;overflow-wrap:anywhere;}
.gfu[data-editor] .gfu-legend {margin:16px 0;}
.gfu[data-editor] table {min-width:880px;}
.gfu .gfu-scroll .gfu-over {outline:3px solid #e6bb68;outline-offset:-3px;}
.gfu .gfu-mobile {display:none;}
.gfu .gfu-dialog {
  width:min(420px,calc(100vw - 28px)); max-height:90vh; margin:auto; padding:0;
  border:1px solid #737373; border-top:7px solid var(--sw,#dbb365);
  border-radius:0; background:#101010;color:#fafafa;box-shadow:0 22px 80px #000b;
}
.gfu-dialog::backdrop {background:#000b;}
.gfu-dialog form {margin:0;padding:clamp(18px,3vw,28px);}
.gfu-dialog .gfu-dhead small {color:#c6c6c6;font:bold 12px/1 Arial,sans-serif;letter-spacing:.08em;}
.gfu-dialog .gfu-dhead button {width:40px;height:40px;padding:0;font:28px/1 Arial;color:white;background:#161616;}
.gfu .gfu-dialog h3 {color:white;font:800 32px/1.05 Arial,sans-serif;letter-spacing:-.04em;margin:12px 0 16px;}
.gfu .gfu-detail h3 {font-size:clamp(34px,6vw,54px);margin-bottom:3px;}
.gfu-dialog .gfu-day {font-size:18px;margin:0 0 22px;color:#dedede;}
.gfu-dialog .gfu-times {display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #555;margin:0;padding:16px 0;}
.gfu-dialog .gfu-times div+div {padding-left:20px;border-left:1px solid #555;}
.gfu-dialog .gfu-times dt {font:600 13px Arial,sans-serif;color:#bdbdbd;}
.gfu-dialog .gfu-times dd {margin:5px 0 0;font:700 36px/1 Arial,sans-serif;letter-spacing:-.045em;color:white;font-variant-numeric:tabular-nums;}
.gfu-dialog .gfu-duration {font-size:14px;margin:12px 0;color:#ccc;}
.gfu-dialog .gfu-other {margin-top:26px;}
.gfu-dialog .gfu-other h4 {font-size:13px;}
.gfu-dialog .gfu-other div {display:flex;justify-content:space-between;gap:10px;border-top:1px solid #444;padding:9px 0;}
.gfu-dialog label {display:grid;gap:5px;margin:14px 0;color:white;font-weight:600;}
.gfu-dialog :is(input,select) {appearance:auto;width:100%;min-height:40px;}
.gfu-dialog [role=alert] {color:#ff9a9e;}
.gfu-dialog [role=alert]:empty {display:none;}
.gfu-dialog [data-del] {margin:8px 6px 8px 0;}
@media(max-width:720px){
  .gfu:not([data-editor]) .gfu-scroll {display:none;}
  .gfu .gfu-mobile {display:grid;gap:6px;}
  .gfu-mobile select {appearance:auto;min-height:44px;width:100%;}
  .gfu .gfu-mobile button {display:flex;align-items:center;justify-content:space-between;padding:15px 12px;min-height:52px;text-align:left;}
  .gfu .gfu-mobile button small {margin:0;font-size:13px;}
  .gfu .gfu-legend {margin:20px 0 0;}
  .gfu .gfu-legend>div {grid-template-columns:repeat(2,minmax(0,1fr));}
}
body:has(main.page .gfu) main.page {background:#080808;color:white;}
main.page:has(.gfu) {padding-top:24px;}
main.page>.gfu {max-width:1180px;margin:auto;}
.gfu[data-editor] .gfu-legend {padding:12px;}
.gfu[data-editor] .gfu-legend>div {display:flex;flex-wrap:wrap;gap:5px;}
.gfu[data-editor] .gfu-legend [data-kind] {min-height:38px;padding:8px 12px;cursor:grab;}
