/* AI CLOCK Workspace — Phase 2 scaffold v0.1 */#appRoot{
  --orange: #FF7A00;
  --blue: #0057FF;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --bg: #f7f6f3;
  --card: #ffffff;
  --line: #e8e4dc;
  --radius: 14px;
}#appRoot, #appRoot *{ box-sizing: border-box; }#appRoot{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}#appRoot h1, #appRoot h2, #appRoot h3{ margin: 0 0 .4rem; }#appRoot .muted{ color: var(--muted); }#appRoot .center{ text-align: center; }#appRoot .error{ color: #c0392b; font-size: .9rem; }#appRoot .success{ color: #1e7e34; font-size: .95rem; }/* ---------- auth ---------- */#appRoot .auth-screen{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: linear-gradient(135deg, #fff7ef, #eef3ff);
}#appRoot .auth-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}#appRoot .brand{ text-align: center; margin-bottom: 1.2rem; }#appRoot .brand .logo{ width: 64px; height: 64px; }#appRoot .brand h1{ letter-spacing: 2px; font-size: 1.6rem; }#appRoot .tagline{ color: var(--muted); font-size: .95rem; }#appRoot .auth-tabs{ display: flex; gap: .5rem; margin-bottom: 1rem; }#appRoot .auth-tab{
  flex: 1; padding: .6rem; border: 1px solid var(--line);
  background: none; border-radius: 10px; cursor: pointer; font-size: .95rem;
}#appRoot .auth-tab.active{ background: var(--ink); color: #fff; border-color: var(--ink); }/* ---------- sign-up gate (first screen) ---------- */#appRoot .gate-wrap{ display: flex; gap: 2.5rem; align-items: center; max-width: 960px; width: 100%; }#appRoot .gate-pitch{ flex: 1; min-width: 0; }#appRoot .gate-ball{ border-radius: 50%; box-shadow: 0 10px 26px rgba(255,122,0,.4); margin-bottom: 1rem; }/* ---------- the swollen ball clock: the brand mark. Never redesign it. ---------- */#appRoot .gate-ball-svg{ display: block; margin-bottom: 1rem; filter: drop-shadow(0 10px 18px rgba(255,122,0,.4)); }#appRoot .gate-pitch h1{ font-size: 2rem; line-height: 1.15; margin: 0 0 .6rem; }#appRoot .gate-pitch h1 span{ color: var(--orange); }#appRoot .gate-sub{ color: var(--muted); margin: 0 0 1rem; font-size: 1.02rem; }#appRoot .gate-points{ list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }#appRoot .gate-points li{ font-size: .96rem; }#appRoot .gate-wrap .auth-card{ flex: none; }@media (max-width: 760px) {#appRoot .gate-wrap{ flex-direction: column; gap: 1.5rem; }#appRoot .gate-pitch h1{ font-size: 1.5rem; }#appRoot .gate-ball{ width: 72px; height: 72px; }}/* ---------- layout ---------- */#appRoot .app{ min-height: 100vh; display: flex; flex-direction: column; }#appRoot .topbar{
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 1.2rem; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}#appRoot .brand.small{ display: flex; align-items: center; gap: .5rem; font-weight: 800; letter-spacing: 1.5px; }#appRoot .brand.small .logo{ width: 34px; height: 34px; }#appRoot .user-box{ display: flex; align-items: center; gap: .6rem; }#appRoot .user-email{ font-size: .85rem; color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }#appRoot .mainnav{
  display: flex; gap: .4rem; padding: .6rem 1.2rem;
  background: var(--card); border-bottom: 1px solid var(--line);
  overflow-x: auto; position: sticky; top: 57px; z-index: 9;
}#appRoot .nav-btn{
  border: 1px solid var(--line); background: none; border-radius: 999px;
  padding: .55rem 1rem; font-size: .92rem; cursor: pointer; white-space: nowrap;
}#appRoot .nav-btn.active{ background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; }#appRoot .demo-banner{
  background: #fff8e6; border-bottom: 1px solid #f0dfae;
  padding: .6rem 1.2rem; font-size: .9rem;
}#appRoot .linklike{ background: none; border: none; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: inherit; padding: 0; }#appRoot .content{ flex: 1; padding: 1.2rem; max-width: 1080px; width: 100%; margin: 0 auto; }#appRoot .view-head{ display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }#appRoot .foot{ text-align: center; padding: 1.4rem; font-size: .85rem; }/* ---------- cards & grid ---------- */#appRoot .card{
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1.2rem;
}#appRoot .grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }#appRoot .proj-card{ display: flex; flex-direction: column; gap: .5rem; }#appRoot .proj-card h3{ font-size: 1.05rem; }#appRoot .badges{ display: flex; gap: .4rem; flex-wrap: wrap; }#appRoot .badge{
  font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px;
  background: #eef2ff; color: var(--blue); text-transform: capitalize;
}#appRoot .badge.type-campaign{ background: #fff3e6; color: #b25b00; }#appRoot .badge.type-content{ background: #e9f7ef; color: #1e7e34; }#appRoot .badge.type-ad{ background: #fdecec; color: #c0392b; }#appRoot .badge.status-paused{ background: #f1f1f1; color: var(--muted); }#appRoot .badge.status-done{ background: #e9f7ef; color: #1e7e34; }#appRoot .proj-goal{ font-size: .9rem; color: var(--muted); }#appRoot .proj-tags{ display: flex; gap: .3rem; flex-wrap: wrap; }#appRoot .tag{ font-size: .75rem; background: #f4f1ea; border-radius: 6px; padding: .15rem .5rem; color: #6b5f4d; }#appRoot .proj-date{ font-size: .78rem; color: var(--muted); }#appRoot .proj-actions{ display: flex; gap: .5rem; margin-top: auto; padding-top: .5rem; }/* ---------- forms ---------- */#appRoot label{ display: block; font-size: .9rem; font-weight: 600; margin: .8rem 0; }#appRoot input, #appRoot select, #appRoot textarea{
  display: block; width: 100%; margin-top: .35rem;
  padding: .65rem .8rem; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}#appRoot textarea{ resize: vertical; }#appRoot input:focus, #appRoot select:focus, #appRoot textarea:focus{ outline: 2px solid var(--orange); border-color: var(--orange); }#appRoot .form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }@media (max-width: 560px) {#appRoot .form-grid{ grid-template-columns: 1fr; }}#appRoot .btn{
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: .65rem 1.1rem; font-size: .95rem; cursor: pointer; font-weight: 600;
}#appRoot .btn.primary{ background: var(--orange); border-color: var(--orange); color: #fff; }#appRoot .btn.primary:hover{ filter: brightness(.95); }#appRoot .btn.ghost{ background: transparent; }#appRoot .btn.small{ padding: .4rem .7rem; font-size: .85rem; }#appRoot #demo-enter{ width: 100%; margin-top: .8rem; }#appRoot .chips{ display: flex; gap: .4rem; flex-wrap: wrap; margin: .8rem 0; }#appRoot .chip{
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .35rem .8rem; font-size: .85rem; cursor: pointer;
}#appRoot .chip.active{ background: var(--ink); color: #fff; border-color: var(--ink); }#appRoot .seg{ display: flex; gap: .5rem; margin-bottom: .5rem; }#appRoot .seg-btn{
  flex: 1; padding: .7rem; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; font-size: 1rem; cursor: pointer;
}#appRoot .seg-btn.active{ border-color: var(--orange); background: #fff7ef; font-weight: 700; }#appRoot .media-result{
  margin-top: 1rem; border: 1px dashed var(--line); border-radius: 10px;
  padding: 1rem; background: #faf9f7;
}#appRoot .progress{ height: 10px; background: #eee; border-radius: 999px; overflow: hidden; margin: .6rem 0; }#appRoot .progress > div{ height: 100%; width: 40%; background: var(--blue); border-radius: 999px; animation: slide 1.2s infinite ease-in-out; }@keyframes slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }#appRoot .caption-preview{
  border-left: 4px solid var(--orange); margin: 1rem 0 0; padding: .8rem 1rem;
  background: #fffdf8; border-radius: 0 10px 10px 0; white-space: pre-wrap; font-size: .95rem;
}#appRoot .steps{ font-size: .92rem; color: var(--muted); }#appRoot .steps code{ background: #f4f1ea; padding: .1rem .4rem; border-radius: 6px; font-size: .85rem; }/* ---------- modal ---------- */#appRoot .modal-backdrop{
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 50;
}#appRoot .modal{ width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; margin: 0; }#appRoot .modal-actions{ display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }#appRoot [hidden]{ display: none !important; }/* AI Assistant view */#appRoot .suggestions{ margin: .5rem 0 0 1.1rem; padding: 0; }#appRoot .suggestions li{ margin: .45rem 0; color: var(--muted, #666); font-style: italic; }#appRoot elevenlabs-convai{ display: block; margin: 1rem auto; }/* Social accounts */#appRoot .social-row{ display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }#appRoot .social-row:last-of-type{ border-bottom: none; }#appRoot .social-right{ display: flex; align-items: center; gap: .5rem; white-space: nowrap; }/* Terms & Conditions */#appRoot .terms-check{ display: flex; align-items: center; gap: .5rem; font-size: .92rem; }#appRoot .terms-check input[type="checkbox"]{ width: 1.1rem; height: 1.1rem; accent-color: #FF7A00; }#appRoot .terms-body{ max-height: 50vh; overflow-y: auto; font-size: .93rem; }#appRoot .terms-body p{ margin: .6rem 0; }/* ---------- team ---------- */#appRoot .team-card{ display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }#appRoot .team-photo{ width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }#appRoot .team-card h3{ margin-bottom: .15rem; }#appRoot .team-title{ font-weight: 700; font-size: .85rem; margin-bottom: .6rem; }@media (max-width: 520px) {#appRoot .team-card{ flex-direction: column; }}
#appRoot .mainnav{display:none!important}
#appRoot .talk-ball{background:none;border:0;cursor:pointer;padding:0;line-height:0}
#appRoot .talk-ball img{border-radius:50%;box-shadow:0 10px 26px rgba(255,122,0,.4);transition:transform .15s}
#appRoot .talk-ball:hover img{transform:scale(1.05)}
/* site context: sidebar already brands the page, so the app topbar keeps only the user */
#appRoot .topbar .brand.small{display:none}
#appRoot .topbar{justify-content:flex-end}
