.vault55-home .terminal-header.page-width {
  align-items: center;
  flex-wrap: nowrap;
  min-height: 0;
  gap: 14px 24px;
  padding-block: 10px 7px;
}

.vault55-home .terminal-header .v55-global-search { max-width: none; }
.vault55-home .v55-global-media { margin-top: 3px; }
.vault55-home .v55-global-media label { min-height: 28px; }
.vault55-home .terminal-titlebar { min-height: 34px; padding-block: 7px; }
.vault55-home .terminal-bottom { min-height: 42px; padding-block: 7px; }
.vault55-home .terminal-footer { padding-block: 13px 20px; }

#home-signin { padding: 28px clamp(16px, 4vw, 32px); }
#home-signin h1 { font-size: clamp(21px, 4vw, 32px); letter-spacing: -.06em; }
#home-signin p { margin: 9px 0 16px; color: var(--muted); font-size: 13px; }
#home-signin .open-library { min-height: 40px; padding-block: 5px; }
#home-feed { padding: 0 clamp(14px, 4vw, 32px) 21px; }
.home-section { padding-top: 17px; }
.home-section + .home-section { margin-top: 18px; border-top: 1px solid var(--line); }
.home-section h1, .home-section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  letter-spacing: -.035em;
}
.home-section :is(h1, h2) span { color: var(--green); margin-right: 7px; }
.home-section ul { margin: 0; padding: 0; list-style: none; }
.home-section a { color: var(--green); min-width: 0; }
.home-section a strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.home-section a:focus-visible { outline-offset: -2px; }
.home-section a:hover { background: #102317; }
.home-item-meta, .home-item-detail { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
#home-history li { border-block-start: 1px solid var(--line); }
#home-history a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: center;
  padding: 7px 9px;
}
#home-history .home-item-meta { grid-column: 1; }
.home-item-detail { grid-area: 1 / 2 / 3; text-align: right; }
#home-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#home-related li { min-width: 0; }
#home-related a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
}
#home-related a:hover { border-color: #46634e; }
#home-history-empty, #home-related-empty, #home-status, #home-retry { color: var(--muted); font-size: 12px; }
#home-history-empty, #home-related-empty { margin: 0; }
#home-status { margin: 11px clamp(14px, 4vw, 32px); }
#home-status:empty { display: none; }
#home-retry {
  margin: 0 clamp(14px, 4vw, 32px) 14px;
  padding: 6px 12px;
  color: var(--green);
  background: #0c1910;
  border: 1px solid var(--line);
  cursor: pointer;
}

@media (max-width: 700px) {
  #home-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vault55-home .terminal-bottom { flex-flow: row wrap; align-items: center; gap: 6px 14px; }
}
@media (max-width: 600px) {
  .vault55-home .terminal-header.page-width { flex-wrap: wrap; gap: 7px 12px; }
  .vault55-home .v55-global-media { gap: 2px 8px; }
  .vault55-home .v55-global-media label { gap: 4px; font-size: 10px; }
}
@media (max-width: 430px) {
  #home-history a { column-gap: 8px; }
  .home-item-detail { max-width: 9ch; }
}
