/* GENERATED by ./scripts/ui.mjs write from packages/ui/shed.css and apps/<id>/app.json (brand). Do not edit. */
:root {
  --bg: #fffdf9;
  --panel: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --field: #ffffff;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --soft: #eef3fd;
  --shed: #c2410c;
  --radius: 14px;
  color-scheme: light;
}
/* Shared by every Useful Shed app (packages/ui/index.js says why). App-specific parts stay in the
   app's own style.css, which loads after this file; a rule there must not restyle a class from
   here (scripts/ui.test.js). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header: the app's mark and name, "by Useful Shed", then the app's own links. */
header.top { border-bottom: 1px solid var(--line); background: var(--panel); }
header.top .wrap { display: flex; align-items: center; gap: 6px 12px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.logo .mark { display: block; width: 26px; height: 26px; border-radius: 7px; }
.by { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.shed-face { display: block; width: 20px; height: auto; }
.by:hover { color: var(--ink); }
header nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header nav a:hover { color: var(--ink); }
.linkish { color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; font-size: 15px; text-decoration: underline; }
.linkish:hover { color: var(--ink); }
header nav .linkish { text-decoration: none; }

/* 1px border inside the old 12px x 22px padding, so a ghost button is as tall as a filled one. */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 999px; padding: 11px 21px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.big { padding: 15px 29px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.hint { color: var(--muted); font-size: 14px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Bandi beside the line that says what is happening (packages/ui/bandi.js picks the pose and
   hides him when there is nothing to say). He moves only for visitors who allow motion. */
.bandi-says { display: flex; align-items: center; gap: 10px; }
.bandi-says .status { flex: 1; min-width: 0; }
.bandi-face { flex: none; width: 52px; height: auto; }
.bandi-face[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .bandi-face[data-pose="listen"] { animation: bandi-nod 1.2s ease-in-out infinite; transform-origin: 50% 90%; }
  .bandi-face[data-pose="write"] { animation: bandi-scribble .5s ease-in-out infinite alternate; transform-origin: 50% 90%; }
  .bandi-face[data-pose="coffee"] { animation: bandi-sway 3s ease-in-out infinite; transform-origin: 50% 90%; }
  .bandi-face[data-pose="done"] { animation: bandi-hop .6s ease-out 1; }
  .bandi-face[data-pose="oops"] { animation: bandi-shake .4s ease-in-out 1; }
}
@keyframes bandi-nod { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes bandi-scribble { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-2px) rotate(1deg); } }
@keyframes bandi-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-1px); } }
@keyframes bandi-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-8px); } 100% { transform: translateY(0); } }
@keyframes bandi-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-top: 30px; padding: 28px 0 40px; }
footer p { margin: 8px 0; }
footer nav a { text-decoration: none; }
footer .links a { color: var(--muted); margin-right: 16px; }
.shed-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 16px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.shed-tools .shed { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 800; text-decoration: none; }
.shed-tool a { color: var(--ink); font-weight: 700; }
.shed-tool span { color: var(--muted); }

@media (max-width: 720px) {
  header nav { margin-left: 0; width: 100%; padding-bottom: 10px; }
}
