/* 0.6.85 — Menu alignment. Strictly scoped to the root Menu screen. */
[data-screen="menu"] .data-content{
  padding-bottom:calc(var(--nav) + 36px + env(safe-area-inset-bottom));
}
[data-screen="menu"] .menu-archive-summary{
  appearance:none;
  width:100%;
  min-height:74px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 22px;
  gap:12px;
  align-items:center;
  margin:0 0 22px;
  padding:13px;
  border:1px solid var(--line2);
  background:color-mix(in srgb,var(--surface) 94%,var(--lime) 6%);
  color:var(--ink);
  text-align:left;
}
[data-screen="menu"] .menu-archive-summary:focus-visible,
[data-screen="menu"] .tool-row:focus-visible{
  outline:2px solid var(--lime);
  outline-offset:2px;
}
[data-screen="menu"] .menu-archive-summary:active,
[data-screen="menu"] .tool-row:active{
  background:var(--surface2);
}
[data-screen="menu"] .menu-archive-summary>span:nth-child(2)>strong,
[data-screen="menu"] .menu-archive-summary>span:nth-child(2)>small{
  display:block;
}
[data-screen="menu"] .menu-archive-summary strong{
  font-size:14px;
  line-height:1.25;
}
[data-screen="menu"] .menu-archive-summary small{
  margin-top:4px;
  color:var(--ink2);
  font-size:11px;
  line-height:1.4;
}
[data-screen="menu"] .menu-archive-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--lime) 58%,var(--line));
  border-radius:9px;
  background:color-mix(in srgb,var(--lime) 6%,transparent);
  color:var(--lime);
}
[data-screen="menu"] .menu-archive-icon svg,
[data-screen="menu"] .tool-icon svg,
[data-screen="menu"] .menu-nav-chevron svg{
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:square;
  stroke-linejoin:miter;
}
[data-screen="menu"] .menu-archive-icon svg{width:21px;height:21px}
[data-screen="menu"] .menu-section{margin-top:20px}
[data-screen="menu"] .menu-section .section-head{margin-bottom:8px}
[data-screen="menu"] .menu-section .section-head h2{
  font-size:11px;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
}
[data-screen="menu"] .tool-list{
  border-color:var(--line2);
  background:color-mix(in srgb,var(--surface) 96%,var(--bg));
}
[data-screen="menu"] .tool-row{
  min-height:72px;
  grid-template-columns:40px minmax(0,1fr) auto;
  gap:12px;
  padding:11px 12px;
  border-bottom-color:var(--line2);
}
[data-screen="menu"] .tool-row strong{
  font-size:13.5px;
  line-height:1.25;
}
[data-screen="menu"] .tool-row small{
  margin-top:4px;
  font-size:11px;
  line-height:1.45;
}
[data-screen="menu"] .tool-icon{
  width:36px;
  height:36px;
  border-radius:9px;
  color:var(--lime);
  background:color-mix(in srgb,var(--lime) 5%,transparent);
}
[data-screen="menu"] .tool-icon svg{width:19px;height:19px}
[data-screen="menu"] .menu-nav-chevron{
  width:22px;
  height:38px;
  display:grid;
  place-items:center;
  color:var(--ink2);
}
[data-screen="menu"] .menu-nav-chevron svg{width:17px;height:17px}
[data-screen="menu"] .menu-action-label,
[data-screen="menu"] .menu-value{
  align-self:center;
  color:var(--ink2);
  font:800 9px/1.15 var(--mono);
  letter-spacing:.035em;
  text-transform:uppercase;
  text-align:right;
}
[data-screen="menu"] .menu-value{font-size:10px;text-transform:none;letter-spacing:0}
html[data-theme="light"] [data-screen="menu"] .menu-archive-icon,
html[data-theme="light"] [data-screen="menu"] .tool-icon{color:#526d0a}
@media(max-width:359px){
  [data-screen="menu"] .menu-archive-summary{grid-template-columns:38px minmax(0,1fr) 20px;gap:10px;padding-inline:10px}
  [data-screen="menu"] .menu-archive-icon{width:36px;height:36px}
  [data-screen="menu"] .tool-row{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding-inline:10px}
  [data-screen="menu"] .tool-icon{width:34px;height:34px}
  [data-screen="menu"] .menu-action-label,[data-screen="menu"] .menu-value{font-size:8.5px}
}
