/* The SI Network in your group, Dox Shield and The Real Group Directory (thesimind.si/network/, /dox-shield/, /groups/, v2.30). Built by
   Codeflex. It adds only what the earlier sheets (simind.css, simind-grow.css, simind-pass.css, roadtest.css) do not have: cards that
   open their area as a whole, the command cards, the try box, the draft check, rows that span, the directory list and its forms. Every
   panel is centered, every grid fills its row, a pill's words wrap inside it. No corner brackets. */
.gxm [hidden]{display:none!important}

/* a card opens the area it is about: one link lies over the whole card; the card's own links, buttons, fields and code stay on top */
.gx-card{position:relative;transition:transform .3s,border-color .3s,box-shadow .3s}
.gx-cover{position:absolute;inset:0;z-index:1;border-radius:inherit}
.gx-card :is(a:not(.gx-cover),button,input,select,textarea,pre,code,.gx-handle,.gx-mint){position:relative;z-index:2}
.gx-card:hover,.gx-card:focus-within{border-color:var(--line2);box-shadow:var(--glow)}
.gxm .gx-cmd:hover,.gxm .gx-fmt:hover,.gxm .gx-item:hover{transform:translateY(-3px)}
.gx-more{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;font-family:var(--f-mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--cyan);text-decoration:none;text-align:center;overflow-wrap:anywhere}
.gx-more svg{flex:0 0 auto;width:14px;height:14px;transition:transform .25s}
.gx-more:hover{color:#fff}
.gx-more:hover svg,.gx-card:hover .gx-more svg{transform:translateX(3px)}
.gx-more:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:6px}
.gxm .btn,.gx-card .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.25;padding-block:9px}
.gxm .gr-tag{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere;line-height:1.35;padding-block:5px}
.gx-note{margin:12px 0 0;text-align:center;color:var(--dim);font-size:13.5px;line-height:1.55}

/* the totals: each a card that opens its area */
.gx-stats .stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.gx-stats .stat small{margin:0;white-space:normal;overflow:visible;text-wrap:balance}
.gx-stats .stat b{width:100%}

/* the command cards: three a row, two on a tablet (a lone last one spans), one on a phone */
.gx-cmds .gx-cmd{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0}
.gx-cmd h3{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px 8px;font-family:var(--f-mono);font-size:19px;color:#fff;letter-spacing:.02em}
.gx-cmd h3 small{font-family:inherit;font-size:12.5px;letter-spacing:.08em;color:var(--steel);text-transform:uppercase}
.gx-cmd p{flex:1 1 auto;margin:0}
.gx-ex{display:block;max-width:100%;padding:6px 14px;border-radius:14px;border:1px solid var(--line2);background:rgba(2,10,26,.85);font-family:var(--f-mono);font-size:13px;color:#dff6ff;white-space:nowrap;overflow-x:auto;scrollbar-width:thin}
@media (max-width:1024px) and (min-width:641px){.gx-cmds>.gx-cmd:last-child:nth-child(odd){grid-column:1/-1}}

/* the try box: the answer as the group would see it */
.gx-try{display:flex;flex-direction:column;gap:16px}
.gx-form{display:flex;flex-direction:column;gap:16px}
.gx-form-row{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr) auto;gap:12px;align-items:end}
.gx-report .gx-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-form .hero-cta{justify-content:center;margin:4px 0 0}
.gx-bubble{display:flex;flex-direction:column;align-items:center;gap:8px}
.gx-answer{margin:0;width:100%;max-width:640px;padding:16px 18px;border-radius:16px 16px 16px 4px;border:1px solid var(--line2);background:linear-gradient(180deg,rgba(10,34,72,.95),rgba(4,16,36,.95));color:#e9f4ff;font-family:var(--f-body,inherit);font-size:15px;line-height:1.6;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}
.gx-bubble small{color:var(--dim);font-size:13px;text-align:center}
.gx-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* steps: two by two (three on the network page), each with its link */
.gx-steps .step{margin:0;height:100%}
.gx-steps .step>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.gx-steps .step h3,.gx-steps .step p{margin:0}
.gx-steps .step .gx-more{margin-top:6px;text-align:left}
.gx-steps.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gx-steps.is-3>.step:last-child:nth-child(odd){grid-column:auto}

/* tables in a panel */
.gx-limits{display:flex;flex-direction:column;align-items:center;gap:12px}
.gx-limits .rt-table-wrap{width:100%}
.gx-table tbody th{white-space:normal}
.gx-table tbody th code{display:inline-block;font-family:var(--f-mono);font-size:13px;color:#dff6ff;white-space:nowrap}
.gx-table tbody td{overflow-wrap:anywhere}
.gx-table a{color:var(--cyan);overflow-wrap:anywhere}

/* rows that span: the name on the left, the words across the rest */
.gx-rules{display:flex;flex-direction:column;gap:6px}
.gx-rows{margin:0;display:flex;flex-direction:column}
.gx-row{display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);gap:8px 28px;align-items:start;padding:18px 0;border-top:1px solid var(--line);text-align:left}
.gx-row:first-child{border-top:0;padding-top:4px}
.gx-row dt{margin:0;font-family:var(--f-display);font-size:clamp(15px,1.3vw,18px);letter-spacing:.03em;color:#fff}
.gx-row dd{margin:0;min-width:0;color:var(--muted);font-size:15.5px;line-height:1.65}
.gx-row>dt{min-width:0;overflow-wrap:anywhere}
.gx-row dd .gx-inline{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.gx-rules .hero-cta{justify-content:center;margin:12px 0 0}
.gx-inline{color:var(--cyan);white-space:nowrap}
.gx-photo{display:flex;align-items:center;justify-content:center;gap:10px}
.gx-photo svg{flex:0 0 auto;width:20px;height:20px;color:var(--cyan)}

/* what stays up */
.gx-stays{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.gx-stays p{margin:0;max-width:860px;font-size:16px;line-height:1.7;text-wrap:pretty}

/* the draft check */
.gx-check textarea{min-height:110px}
.gx-result{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;text-align:center}
.gx-result p{flex:1 1 100%;margin:0;text-align:center;font-size:16px}
.gx-result.is-ok p{color:#bdfbe9}.gx-result.is-bad p{color:#ffd2b8}

/* the cards of two plain statements: their link at the bottom */
.gxm .rt-col .gx-more{margin-top:auto;align-self:flex-start;padding-top:6px}
.gxm .answer.gx-card .gx-more{margin-top:14px}
.gxm .answer.rt-pair .hero-cta,.gxm .band.gx-card .hero-cta{position:relative;z-index:2}

/* the directory list */
.gx-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 16px}
.gx-list{display:flex;flex-direction:column;gap:12px}
.gx-list .rt-empty{display:flex;flex-direction:column;align-items:center;gap:12px}
.gx-list .rt-empty p{margin:0;max-width:760px;text-wrap:balance}
.gx-item{display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr) auto;gap:14px 26px;align-items:center;min-width:0;padding:18px 22px;border-radius:var(--r);border:1px solid var(--line);background:linear-gradient(180deg,rgba(6,22,52,.92),rgba(3,12,28,.94));text-align:left}
.gx-item-id{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.gx-handle{display:block;max-width:100%;padding:8px 14px;border-radius:12px;border:1px solid var(--line2);background:rgba(2,8,20,.85);font-family:var(--f-mono);font-size:15px;color:#fff;white-space:nowrap;overflow-x:auto;scrollbar-width:thin}
.gx-item-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.gx-item p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.6;overflow-wrap:anywhere}
.gx-item p.gx-proj{color:#e4f1ff;font-size:16px}
.gx-tags{display:flex;flex-wrap:wrap;gap:8px}
.gx-tags .gr-tag{white-space:nowrap}
.gx-tags .gr-tag svg{flex:0 0 auto;width:14px;height:14px}
.gx-mint{display:block;max-width:100%;font-family:var(--f-mono);font-size:12.5px;color:#cfe4ff;white-space:nowrap;overflow-x:auto;scrollbar-width:thin}
.gx-item-acts{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0}

/* read it: four cards, the fields */
.gx-fmt{color:inherit;text-decoration:none;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.gx-fmt code{display:block;max-width:100%;padding:6px 14px;border-radius:14px;border:1px solid var(--line2);background:rgba(2,10,26,.85);font-family:var(--f-mono);font-size:12.5px;line-height:1.4;color:#dff6ff;overflow-wrap:anywhere}
.gx-fields{margin-top:22px}
.gx-sub{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 12px;font-family:var(--f-display);font-size:clamp(17px,1.6vw,21px);letter-spacing:.03em;color:#fff;text-align:center}
.gx-sub svg{flex:0 0 auto;width:22px;height:22px;color:var(--cyan)}

/* one group's page */
.gx-e .gx-proof{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.gx-e .gx-proof .gx-tags{justify-content:center}
.gx-e .gx-facts{margin:0;display:flex;flex-direction:column;width:100%}

@media (max-width:1100px){
  .gx-steps.is-3{grid-template-columns:1fr}
}
@media (max-width:900px){
  .gx-item{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px}
  .gx-item-id,.gx-item-body{align-items:center;width:100%}
  .gx-tags{justify-content:center}
  .gx-item-acts{flex-direction:row;flex-wrap:wrap;gap:10px 18px}
  .gx-row{grid-template-columns:minmax(0,1fr);gap:6px}
  .gx-form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .gx-form-row .btn{grid-column:1/-1;justify-self:center}
}
@media (max-width:640px){
  .gx-form-row,.gx-report .gx-form-row{grid-template-columns:1fr}
  .gx-item{padding:16px 14px}
  .gx-handle{font-size:13px;padding:8px 10px}
  .gx-row{text-align:center}
  .gx-steps .step{flex-direction:column;gap:12px}
  .gx-steps .step .n{flex:0 0 auto;width:44px;height:44px}
  .gxm .gr-stats .stat{padding-inline:10px}
  .gxm .gr-stats .stat small{font-size:10.5px;letter-spacing:.08em}
  .gx-answer{font-size:14px;padding:14px}
}
@media (prefers-reduced-motion:reduce){
  .gx-card,.gx-more svg{transition:none}
  .gxm .gx-cmd:hover,.gxm .gx-fmt:hover,.gxm .gx-item:hover{transform:none}
}
