/* Panel UI Goals-50 (goalsui64) — wave surfaces only.
   Mobile-first, big tap targets, house dark/gold by
   default; body.g64-light carries the light high-contrast
   theme (item 44). Everything is scoped under g64- so the
   rest of the panel is untouched. */

.g64-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;
  padding:.5rem .75rem;margin:0 0 1rem;border:1px solid #2c2c2c;
  border-radius:10px;background:rgba(255,255,255,.03)}
.g64-bar a{color:inherit}
.g64-bar-link{padding:.55rem .7rem;border-radius:8px;text-decoration:none}
.g64-badge{display:inline-block;min-width:1.4em;text-align:center;
  background:#f5b301;color:#121216;border-radius:999px;
  padding:.05em .45em;font-weight:700}
.g64-mini{min-height:40px;padding:.4rem .7rem;border-radius:8px;
  border:1px solid #444;background:transparent;color:inherit;cursor:pointer}
.g64-inline{display:inline}
.g64-doing{position:relative}
.g64-doing summary{cursor:pointer;padding:.55rem .7rem;list-style:none;
  border:1px solid #444;border-radius:8px;min-height:40px}
.g64-doing-menu{position:absolute;z-index:30;background:#1b1b20;
  border:1px solid #444;border-radius:10px;padding:.4rem;min-width:220px}
.g64-doing-menu a{display:block;padding:.6rem .7rem;border-radius:8px;
  text-decoration:none}
.g64-doing-menu a:hover{background:rgba(255,255,255,.06)}

.g64-tiles{display:grid;grid-template-columns:1fr;gap:.6rem;margin-top:1rem}
@media(min-width:640px){.g64-tiles{grid-template-columns:1fr 1fr}}
.g64-tile{display:block;padding:1rem;border:1px solid #2c2c2c;
  border-radius:12px;text-decoration:none;color:inherit;min-height:56px}
.g64-tile-label{font-size:1.05rem;font-weight:600}
.g64-tile-detail{display:block;margin-top:.25rem}
.g64-tile-urgent{display:inline-block;margin-left:.5rem;color:#f5b301;
  font-weight:700}
.g64-resume{border-color:#f5b301}
.g64-current{outline:2px solid #f5b301}
.g64-usual{margin-top:1rem}
.g64-changes,.g64-recent{margin-top:1rem}

.g64-crumbs{margin-bottom:.6rem}
.g64-rows{list-style:none;padding:0}
.g64-row{padding:.7rem .2rem;border-bottom:1px solid #2c2c2c}
.g64-row a{font-weight:600}
.g64-chip{display:inline-block;border:1px solid #f5b301;color:#f5b301;
  border-radius:999px;padding:.05em .6em;margin-left:.5rem;font-size:.85em}
.g64-sticky{position:sticky;bottom:0;padding:.6rem;background:#121216;
  border-top:1px solid #2c2c2c;text-align:center}
.g64-sticky .btn{display:inline-block;min-height:48px;line-height:48px;
  padding:0 1.2rem}
.g64-toast{display:flex;gap:1rem;align-items:center;padding:.7rem 1rem;
  border:1px solid #f5b301;border-radius:10px;margin-bottom:1rem}
.g64-done{margin-top:1rem}
.g64-done summary{cursor:pointer;padding:.6rem 0;font-weight:600}

.g64-steps{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.g64-step{display:flex;gap:.35rem;align-items:center;padding:.45rem .7rem;
  border:1px solid #2c2c2c;border-radius:999px}
.g64-step-now{border-color:#f5b301}
.g64-step-done{opacity:.75}
.g64-stepsbar{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.8rem}
.g64-stepchip{padding:.5rem .7rem;border:1px solid #444;border-radius:999px;
  text-decoration:none;color:inherit}
.g64-field-error{color:#fbb;background:#3d1414;border:1px solid #a33;
  padding:.5rem .8rem;border-radius:8px}

.g64-frames{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:760px){.g64-frames{grid-template-columns:repeat(3,1fr)}}
.g64-frame{margin:0;border:1px solid #2c2c2c;border-radius:12px;
  padding:.5rem}
.g64-frame img,.g64-frame video{width:100%;height:100%;object-fit:contain;
  background:#000;border-radius:8px}
.g64-frame-square{aspect-ratio:1/1}
.g64-frame-story{aspect-ratio:9/16}
.g64-frame-event{aspect-ratio:16/9}
.g64-frame-file{padding:2rem .5rem;text-align:center}
.g64-cover-frame{position:relative;max-width:420px}
.g64-cover-frame img{width:100%;display:block}
.g64-safe{position:absolute;border:1px dashed rgba(245,179,1,.85);
  pointer-events:none}
.g64-safe-outer{inset:0}
.g64-safe-inner{inset:12%}
.g64-cardframe{width:100%;height:480px;border:1px solid #2c2c2c;
  border-radius:12px;background:#fff}

/* item 44: light high-contrast theme, follows the account */
body.g64-light{background:#f7f5ef;color:#141414}
body.g64-light .card,body.g64-light .g64-bar,
body.g64-light .g64-tile,body.g64-light .g64-frame{
  background:#fff;border-color:#999;color:#141414}
body.g64-light .muted{color:#444}
body.g64-light .g64-doing-menu{background:#fff;border-color:#999}
body.g64-light .g64-sticky{background:#f7f5ef;border-color:#999}
body.g64-light a{color:#7a5200}
