/* WorkLog — 3D elevated design */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #eeeeff;
  --white:     #ffffff;
  --surface:   #e8e8ff;
  --text:      #0f0e2a;
  --text-2:    #3b3a5c;
  --muted:     #8888aa;
  --faint:     #e4e4ff;
  --line:      #dddeff;
  --accent:    #6366f1;
  --accent-bg: rgba(99,102,241,.1);
  --accent-2:  #8b5cf6;
  --red:       #ef4444;
  --c0: #fef9c3; --c0b: #fde047;
  --c1: #dcfce7; --c1b: #86efac;
  --c2: #cffafe; --c2b: #67e8f9;
  --c3: #e0f2fe; --c3b: #7dd3fc;
  --c4: #ede9fe; --c4b: #c4b5fd;
  --c5: #fce7f3; --c5b: #f9a8d4;
  --c6: #ffedd5; --c6b: #fdba74;
  --r: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sh-sm: 0 1px 3px rgba(99,102,241,.07), 0 2px 8px rgba(99,102,241,.05);
  --sh:    0 4px 20px rgba(99,102,241,.12), 0 2px 6px rgba(99,102,241,.06);
  --sh-lg: 0 8px 40px rgba(99,102,241,.16), 0 2px 8px rgba(99,102,241,.08);
  --sh-3d: 0 1px 2px rgba(0,0,0,.04),
           0 4px 16px rgba(99,102,241,.1),
           0 10px 32px rgba(99,102,241,.07),
           0 0 0 1px rgba(99,102,241,.05);
  --sh-3d-hover: 0 2px 4px rgba(0,0,0,.04),
                 0 8px 28px rgba(99,102,241,.16),
                 0 20px 52px rgba(99,102,241,.11),
                 0 0 0 1px rgba(99,102,241,.07);
}

html, body {
  height:100%; font-family:var(--font); color:var(--text);
  background:var(--bg); font-size:14px; line-height:1.55; -webkit-font-smoothing:antialiased;
  background-image:
    radial-gradient(ellipse 70% 50% at -5% 0%, rgba(99,102,241,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 105% 100%, rgba(139,92,246,.09) 0%, transparent 55%);
  background-attachment:fixed;
}
a { color:inherit; text-decoration:none; }
button { font-family:var(--font); cursor:pointer; }
.hidden { display:none !important; }

/* ═══ TOP NAV ═══ */
.topnav {
  position:sticky; top:0; z-index:100;
  display:flex; align-items:center; gap:0;
  height:54px; padding:0 28px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border-bottom:1px solid rgba(99,102,241,.1);
  box-shadow:0 1px 0 rgba(99,102,241,.06), 0 4px 24px rgba(99,102,241,.05);
}
.t-logo { font-size:17px; font-weight:800; letter-spacing:-.5px; color:var(--text); margin-right:28px; flex-shrink:0; }
.t-logo span { color:var(--accent); }
.t-links { display:flex; gap:2px; margin-right:auto; }
.t-link { padding:5px 12px; border-radius:99px; font-size:13px; font-weight:500; color:var(--muted); transition:all .12s; }
.t-link:hover { color:var(--text); background:var(--faint); }
.t-link-on { color:var(--accent) !important; background:var(--accent-bg) !important; font-weight:600; }
.t-right { display:flex; align-items:center; gap:12px; }
.t-stat { font-size:12px; font-weight:700; color:var(--accent); background:var(--accent-bg); padding:3px 10px; border-radius:99px; white-space:nowrap; }
.t-avatar { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:white; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.t-signout { background:none; border:none; color:var(--muted); font-size:12px; font-family:var(--font); padding:4px 8px; border-radius:6px; transition:all .12s; }
.t-signout:hover { color:var(--text); background:var(--faint); }

/* ═══ MAIN ═══ */
.main-wrap { max-width:920px; margin:0 auto; padding:40px 28px 80px; }

/* ═══ GREETING ═══ */
.greeting { margin-bottom:32px; }
.greeting-text { font-size:clamp(22px,3vw,28px); font-weight:800; letter-spacing:-.5px; line-height:1.2; margin-bottom:7px; }
.greeting-sub { display:flex; gap:16px; flex-wrap:wrap; font-size:13px; color:var(--muted); }
.gs-dot { display:inline-block; width:4px; height:4px; border-radius:50%; background:var(--accent); vertical-align:middle; margin-right:6px; }
.gs-hi { color:var(--accent); font-weight:700; }

/* ═══ CAPTURE BAR ═══ */
.capture-zone { margin-bottom:28px; }
.capture-bar {
  display:flex; align-items:center;
  background:var(--white); border:1px solid rgba(99,102,241,.15);
  border-radius:14px; box-shadow:var(--sh-3d);
  transition:all .2s; overflow:hidden;
}
.capture-bar:focus-within {
  border-color:rgba(99,102,241,.4);
  box-shadow:var(--sh-3d-hover);
}
.voice-btn {
  flex-shrink:0; width:52px; height:56px;
  display:flex; align-items:center; justify-content:center;
  background:none; border:none; font-size:19px; color:var(--muted);
  transition:all .15s; border-right:1px solid var(--line);
}
.voice-btn:hover { color:var(--accent); background:var(--accent-bg); }
.voice-btn.rec { color:var(--red); border-color:rgba(239,68,68,.2); animation:mic-pulse .65s ease-in-out infinite; }
@keyframes mic-pulse {
  0%,100% { transform:scale(1); }
  50%      { transform:scale(1.18); opacity:.75; }
}
.capture-input {
  flex:1; border:none; background:transparent;
  font-family:var(--font); font-size:15px; color:var(--text);
  padding:0 12px; outline:none; min-width:0; height:56px;
}
.capture-input::placeholder { color:var(--muted); font-size:14px; }
.capture-ai {
  flex-shrink:0; padding:6px 11px; margin-right:2px;
  background:none; border:none; font-size:11px; font-weight:700;
  color:var(--accent); font-family:var(--font); opacity:.65; transition:opacity .12s;
}
.capture-ai:hover { opacity:1; }
.capture-submit {
  flex-shrink:0; margin:7px 9px 7px 2px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:white; border:none;
  border-radius:10px; padding:9px 20px;
  font-size:13px; font-weight:600; font-family:var(--font);
  transition:all .18s; white-space:nowrap;
  box-shadow:0 4px 14px rgba(99,102,241,.4);
}
.capture-submit:hover { box-shadow:0 6px 20px rgba(99,102,241,.55); transform:translateY(-1px); }

.parsed-preview { display:flex; gap:6px; flex-wrap:wrap; padding:8px 14px 0 64px; animation:fade-in .15s ease; }
@keyframes fade-in { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:none; } }
.pp-chip { display:inline-flex; align-items:center; gap:4px; background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.18); border-radius:99px; padding:3px 10px; font-size:12px; font-weight:600; }
.pp-chip.pp-warn { background:#fef3c7; color:#92400e; border-color:#fde68a; }
.pp-lbl { font-size:10px; font-weight:400; opacity:.6; text-transform:uppercase; letter-spacing:.3px; }

/* Autocomplete */
.ac-wrap { position:relative; }
.ac-dropdown {
  position:absolute; top:calc(100% + 4px); left:0; right:0;
  background:var(--white); border:1px solid var(--line);
  border-radius:12px; box-shadow:var(--sh); z-index:50; overflow:hidden;
}
.ac-section { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); padding:10px 14px 5px; }
.ac-chips { display:flex; gap:6px; flex-wrap:wrap; padding:0 14px 10px; border-bottom:1px solid var(--line); }
.ac-q-chip { padding:4px 12px; border-radius:99px; background:var(--faint); border:1px solid var(--line); font-size:12px; font-weight:500; color:var(--text-2); cursor:pointer; transition:all .12s; }
.ac-q-chip:hover { background:var(--accent-bg); color:var(--accent); border-color:rgba(99,102,241,.2); }
.ac-item { padding:9px 14px; font-size:13px; cursor:pointer; color:var(--text-2); transition:background .1s; }
.ac-item:hover,.ac-item.ac-sel { background:var(--accent-bg); color:var(--accent); }
.ac-item strong { color:var(--accent); }
.ac-last { padding:9px 14px; font-size:13px; color:var(--muted); cursor:pointer; transition:background .1s; }
.ac-last:hover { background:var(--faint); }
.ac-last strong { color:var(--text); }

/* ═══ INSIGHTS BAR ═══ */
.insights-bar { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:20px; }
.insight-chip {
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 12px; border-radius:6px;
  background:var(--surface); border:1px solid var(--line);
  font-size:12px; color:var(--text-2); box-shadow:none; white-space:nowrap;
}
.insight-chip .i-ico { font-size:13px; }
.insight-chip strong { color:var(--text); }
.insight-chip.i-warn { background:#fff7ed; border-color:#fed7aa; color:#c2410c; }
.insight-chip.i-streak { background:var(--surface); border-color:var(--line); }
.i-up { color:#059669; font-weight:700; margin-left:4px; }
.i-dn { color:#dc2626; font-weight:700; margin-left:4px; }

/* ═══ RECURRING ENTRIES ═══ */
.rec-list { display:flex; flex-direction:column; gap:10px; margin-bottom:32px; }
.rec-item {
  display:flex; align-items:center; gap:14px;
  background:var(--white); border:1px solid var(--line);
  border-radius:12px; padding:16px 18px;
  box-shadow:var(--sh-sm); transition:all .15s;
}
.rec-item:hover { box-shadow:var(--sh); }
.rec-item.inactive { opacity:.5; }
.rec-ico { font-size:22px; flex-shrink:0; }
.rec-body { flex:1; min-width:0; }
.rec-proj { font-size:14px; font-weight:700; margin-bottom:3px; }
.rec-desc { font-size:13px; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:6px; }
.rec-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.rec-badge { background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.15); border-radius:99px; padding:2px 10px; font-size:11px; font-weight:600; }
.rec-hrs { font-weight:700; color:var(--text); font-size:12px; }
.rec-last { font-size:11px; color:var(--muted); }
.rec-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }

/* Toggle switch */
.toggle-switch { position:relative; width:40px; height:22px; cursor:pointer; display:flex; }
.toggle-switch input { opacity:0; width:0; height:0; position:absolute; }
.toggle-track { position:absolute; inset:0; background:var(--line); border-radius:99px; transition:background .2s; }
.toggle-track::after { content:''; position:absolute; left:3px; top:3px; width:16px; height:16px; border-radius:50%; background:white; transition:transform .2s; box-shadow:0 1px 3px rgba(0,0,0,.2); }
.toggle-switch input:checked + .toggle-track { background:var(--accent); }
.toggle-switch input:checked + .toggle-track::after { transform:translateX(18px); }

/* Recurring create form */
.rec-form-card { background:var(--white); border:1.5px dashed var(--line); border-radius:12px; padding:22px; transition:all .2s; }
.rec-form-card:focus-within { border-color:rgba(99,102,241,.3); border-style:solid; box-shadow:var(--sh-sm); }
.rec-form-title { font-size:14px; font-weight:700; margin-bottom:18px; color:var(--text); }
.rec-form-grid { display:grid; grid-template-columns:1fr 100px; gap:14px; margin-bottom:14px; }
.rfield { display:flex; flex-direction:column; gap:5px; }
.rfield label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); }
.rfield input,.rfield textarea,.rfield select { border:none; border-bottom:1.5px solid var(--line); background:transparent; padding:7px 0; font-size:14px; font-family:var(--font); color:var(--text); outline:none; transition:border-color .15s; width:100%; }
.rfield input:focus,.rfield textarea:focus,.rfield select:focus { border-bottom-color:var(--accent); }
.rfield textarea { resize:none; height:56px; }

/* Schedule options */
.schedule-opts { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.sched-opt { display:inline-flex; align-items:center; gap:6px; padding:7px 16px; border:1.5px solid var(--line); border-radius:99px; font-size:13px; font-weight:500; color:var(--muted); cursor:pointer; transition:all .12s; }
.sched-opt:hover { border-color:var(--accent); color:var(--accent); }
.sched-opt.sched-on { border-color:var(--accent); background:var(--accent-bg); color:var(--accent); }
.sched-opt input[type=radio] { display:none; }

/* Day picker */
.day-picker { display:flex; gap:6px; margin-top:12px; flex-wrap:wrap; }
.day-btn { width:40px; height:40px; border-radius:50%; border:1.5px solid var(--line); background:var(--white); font-size:13px; font-weight:700; color:var(--muted); cursor:pointer; transition:all .12s; }
.day-btn:hover { border-color:var(--accent); color:var(--accent); }
.day-btn.day-on { background:var(--accent); color:white; border-color:var(--accent); }

.rec-save { margin-top:4px; background:var(--accent); color:white; border:none; border-radius:var(--r); padding:10px 28px; font-size:14px; font-weight:600; font-family:var(--font); transition:all .15s; box-shadow:0 4px 14px rgba(99,102,241,.25); }
.rec-save:hover { opacity:.88; transform:translateY(-1px); }

/* ═══ FILTER / VIEW BAR ═══ */
.fv-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.tabs { display:flex; gap:4px; }
.tab { padding:5px 14px; border-radius:99px; border:1px solid var(--line); font-size:13px; color:var(--muted); transition:all .12s; font-weight:500; }
.tab:hover { border-color:var(--muted); color:var(--text); }
.tab-on { background:var(--accent) !important; color:white !important; border-color:var(--accent) !important; }
.fv-right { display:flex; align-items:center; gap:8px; }
.search-in { border:1px solid var(--line); border-radius:var(--r); background:var(--white); padding:6px 12px; font-size:13px; font-family:var(--font); color:var(--text); outline:none; width:170px; transition:all .2s; }
.search-in:focus { border-color:var(--accent); width:210px; }
.search-in::placeholder { color:var(--muted); }
.view-btns { display:flex; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.view-btn { padding:6px 11px; font-size:15px; background:var(--white); border:none; color:var(--muted); transition:all .12s; cursor:pointer; border-right:1px solid var(--line); }
.view-btn:last-child { border-right:none; }
.view-btn:hover { background:var(--faint); color:var(--text); }
.view-btn.vb-on { background:var(--accent-bg); color:var(--accent); }

/* ═══ CARDS (grid) ═══ */
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; align-items:start; }
.card {
  border-radius:14px; border:none; border-left:3px solid var(--line);
  padding:16px 18px; background:var(--white);
  position:relative; transition:all .22s cubic-bezier(.34,1.2,.64,1); overflow:hidden;
  animation:card-in .22s ease both;
  box-shadow:var(--sh-3d);
}
@keyframes card-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.card:nth-child(1){animation-delay:.00s} .card:nth-child(2){animation-delay:.04s}
.card:nth-child(3){animation-delay:.08s} .card:nth-child(4){animation-delay:.12s}
.card:nth-child(5){animation-delay:.15s} .card:nth-child(6){animation-delay:.18s}
.card:nth-child(7){animation-delay:.20s} .card:nth-child(8){animation-delay:.22s}
.card:hover { box-shadow:var(--sh-3d-hover); transform:translateY(-4px); }
.card:hover .card-actions { opacity:1; }
.card.c0{border-left-color:var(--c0b)} .card.c1{border-left-color:var(--c1b)}
.card.c2{border-left-color:var(--c2b)} .card.c3{border-left-color:var(--c3b)}
.card.c4{border-left-color:var(--c4b)} .card.c5{border-left-color:var(--c5b)}
.card.c6{border-left-color:var(--c6b)}
.card-actions { position:absolute; top:9px; right:9px; opacity:0; transition:opacity .15s; }
.card-del { background:rgba(0,0,0,.06); border:none; border-radius:5px; padding:3px 7px; font-size:11px; color:rgba(0,0,0,.4); transition:all .12s; }
.card-del:hover { background:#fef2f2; color:#dc2626; }
.card-proj { font-size:14px; font-weight:700; letter-spacing:-.2px; margin-bottom:6px; padding-right:24px; }
.card-desc { font-size:13px; color:rgba(28,27,24,.72); line-height:1.55; margin-bottom:12px; word-break:break-word; }
.card-foot { display:flex; flex-direction:column; gap:7px; }
.card-left { display:flex; align-items:center; gap:8px; }
.hrs { font-size:12px; font-weight:700; padding:2px 9px; border-radius:99px; background:rgba(0,0,0,.08); }
.cdate { font-size:11px; color:rgba(28,27,24,.45); }
.card-tags { display:flex; gap:5px; flex-wrap:wrap; }
.ctag { font-size:10px; padding:2px 8px; border-radius:99px; background:rgba(0,0,0,.06); color:rgba(28,27,24,.6); }

/* ═══ LIST VIEW ═══ */
.log-list { display:flex; flex-direction:column; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:var(--white); box-shadow:var(--sh-sm); }
.ll-item {
  display:grid; grid-template-columns:56px 130px 1fr auto;
  align-items:stretch; border-bottom:1px solid var(--line);
  animation:card-in .18s ease both; border-left:3px solid transparent;
}
.ll-item:last-child { border-bottom:none; }
.ll-item:hover { background:var(--faint); }
.ll-item.c0{border-left-color:var(--c0b)} .ll-item.c1{border-left-color:var(--c1b)}
.ll-item.c2{border-left-color:var(--c2b)} .ll-item.c3{border-left-color:var(--c3b)}
.ll-item.c4{border-left-color:var(--c4b)} .ll-item.c5{border-left-color:var(--c5b)}
.ll-item.c6{border-left-color:var(--c6b)}
.ll-date { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:12px 8px; border-right:1px solid var(--line); flex-shrink:0; }
.ll-date-num { font-size:17px; font-weight:800; line-height:1; }
.ll-date-mo  { font-size:10px; color:var(--muted); }
.ll-proj-cell { display:flex; align-items:center; padding:12px 14px; border-right:1px solid var(--line); }
.ll-proj { font-size:13px; font-weight:700; }
.ll-desc-cell { padding:12px 14px; display:flex; flex-direction:column; justify-content:center; gap:4px; min-width:0; }
.ll-desc { font-size:13px; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ll-tags { display:flex; gap:4px; flex-wrap:wrap; }
.ll-meta { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; padding:12px 14px; gap:5px; flex-shrink:0; }
.ll-hrs { font-size:13px; font-weight:800; color:var(--accent); }
.ll-del { background:none; border:none; color:var(--muted); font-size:12px; padding:2px 6px; border-radius:4px; transition:all .12s; }
.ll-del:hover { color:#dc2626; background:#fef2f2; }

/* ═══ EMPTY ═══ */
.empty { text-align:center; padding:80px 20px; color:var(--muted); }
.empty-ico { font-size:44px; margin-bottom:16px; }
.empty h3 { font-size:17px; font-weight:700; color:var(--text); margin-bottom:6px; }
.empty p  { font-size:14px; line-height:1.6; }

/* ═══ TOAST ═══ */
.toast-wrap { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); z-index:9999; pointer-events:none; }
.toast { background:var(--text); color:white; padding:10px 22px; border-radius:99px; font-size:13px; font-weight:500; box-shadow:0 8px 24px rgba(0,0,0,.18); animation:fadeup .22s ease; }
.toast-err .toast { background:#dc2626; }
.toast-ok  .toast { background:#059669; }

/* Buy Me a Coffee floating button */
.bmc-float {
  position:fixed; bottom:22px; right:22px; z-index:500;
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg,#FFDD00,#FBB040);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; text-decoration:none; box-shadow:0 4px 18px rgba(0,0,0,.2);
  transition:transform .2s, box-shadow .2s;
}
.bmc-float:hover { transform:scale(1.12) translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,.25); }

/* Footer BMC link (landing) */
.lf-right { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.lf-bmc   { font-size:12px; color:rgba(255,255,255,.5); text-decoration:none; transition:color .15s; white-space:nowrap; }
.lf-bmc:hover { color:#FFDD00; }
@keyframes fadeup { from { transform:translateY(10px); opacity:0; } to { transform:translateY(0); opacity:1; } }

/* ═══ LANDING ═══ */
.landing-body { margin:0; padding:0; background:#080818; font-family:'Inter',sans-serif; }
.landing { min-height:100vh; display:flex; flex-direction:column; background:#080818; color:white; }

/* Nav */
.l-nav {
  display:flex; align-items:center; justify-content:space-between; padding:18px 56px;
  background:rgba(8,8,24,.8); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(255,255,255,.07); position:sticky; top:0; z-index:100;
}
.l-logo { font-size:20px; font-weight:800; letter-spacing:-.5px; color:white; text-decoration:none; }
.l-logo span { color:#a78bfa; }
.l-nav-links { display:flex; gap:28px; align-items:center; }
.l-nav-link { font-size:14px; font-weight:500; color:rgba(255,255,255,.55); transition:color .15s; text-decoration:none; }
.l-nav-link:hover { color:white; }
.l-signin { font-size:14px; font-weight:600; color:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.2); padding:7px 18px; border-radius:99px; transition:all .15s; text-decoration:none; white-space:nowrap; }
.l-signin:hover { color:white; border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.08); }

/* Hero */
.l-hero {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:96px 24px 72px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(99,102,241,.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 90% 90%, rgba(139,92,246,.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(236,72,153,.12) 0%, transparent 50%);
}
.l-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(99,102,241,.18); color:#c4b5fd;
  border:1px solid rgba(99,102,241,.4); border-radius:99px;
  padding:5px 16px; font-size:12px; font-weight:600; margin-bottom:30px; letter-spacing:.3px;
}
.l-h1 {
  font-size:clamp(38px,5.5vw,72px); font-weight:800; letter-spacing:-2.5px; line-height:1.05;
  margin:0 0 24px; color:white;
}
.l-h1 em { font-style:normal; background:linear-gradient(135deg,#a78bfa,#f9a8d4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.l-sub { font-size:clamp(15px,2vw,19px); color:rgba(255,255,255,.58); max-width:500px; margin:0 auto 40px; line-height:1.7; }
.l-cta-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:32px; }
.l-cta-btn {
  display:inline-flex; align-items:center;
  background:linear-gradient(135deg,#6366f1,#8b5cf6); color:white;
  padding:14px 32px; border-radius:99px; font-size:15px; font-weight:700;
  text-decoration:none; transition:all .18s;
  box-shadow:0 8px 32px rgba(99,102,241,.5), 0 2px 8px rgba(0,0,0,.3);
  white-space:nowrap;
}
.l-cta-btn:hover { transform:translateY(-2px); color:white; box-shadow:0 14px 44px rgba(99,102,241,.65), 0 4px 12px rgba(0,0,0,.3); }
.l-cta-ghost {
  display:inline-flex; align-items:center; font-size:14px; font-weight:500;
  color:rgba(255,255,255,.6); text-decoration:none; padding:13px 20px; transition:color .15s;
}
.l-cta-ghost:hover { color:white; }
.l-social { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; }
.l-social-item { font-size:13px; color:rgba(255,255,255,.45); font-weight:500; }
.l-social-sep { color:rgba(255,255,255,.2); font-size:13px; }

/* App preview frame */
.l-preview-wrap {
  display:flex; justify-content:center; padding:0 24px 80px;
}
.l-preview-frame {
  width:100%; max-width:640px; border-radius:16px; overflow:hidden;
  border:1px solid rgba(255,255,255,.12); box-shadow:0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  background:#13132a;
}
.lpf-bar {
  display:flex; align-items:center; gap:8px; padding:11px 16px;
  background:#1a1a35; border-bottom:1px solid rgba(255,255,255,.08);
}
.lpf-dot { display:inline-block; width:11px; height:11px; border-radius:50%; }
.lpf-r { background:#ff5f57; }
.lpf-y { background:#febc2e; }
.lpf-g { background:#28c840; }
.lpf-url { margin-left:10px; font-size:12px; color:rgba(255,255,255,.35); background:rgba(255,255,255,.06); padding:3px 12px; border-radius:6px; flex:1; text-align:center; }
.lpf-body { padding:20px; }
.lpf-input {
  display:flex; align-items:center; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
  border-radius:10px; padding:12px 14px; margin-bottom:16px; gap:4px; min-height:46px;
}
.lpf-text { font-size:13px; color:rgba(255,255,255,.75); flex:1; }
.lpf-cursor { display:inline-block; width:2px; height:15px; background:#a78bfa; animation:blink .9s step-end infinite; border-radius:1px; }
@keyframes blink { 50% { opacity:0; } }
.lpf-entries { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.lpf-entry {
  display:flex; align-items:center; gap:10px; background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08); border-radius:9px; padding:10px 12px;
}
.lpf-dot-e { display:inline-block; width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.lpf-edesc { font-size:13px; color:rgba(255,255,255,.8); flex:1; }
.lpf-ebadge { font-size:11px; font-weight:600; padding:2px 9px; border-radius:99px; white-space:nowrap; }
.lpf-etime { font-size:13px; font-weight:700; color:rgba(255,255,255,.7); white-space:nowrap; margin-left:auto; }
.lpf-footer { display:flex; align-items:center; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.5); }
.lpf-footer strong { color:white; }
.lpf-btn {
  background:linear-gradient(135deg,#6366f1,#8b5cf6); color:white; border:none;
  padding:8px 18px; border-radius:8px; font-size:12px; font-weight:700; cursor:pointer;
}

/* Features */
.l-features { padding:80px 24px; max-width:1100px; margin:0 auto; width:100%; }
.l-features-label { font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#a78bfa; margin-bottom:14px; text-align:center; }
.l-features-h2 { font-size:clamp(26px,3.5vw,40px); font-weight:800; letter-spacing:-1px; color:white; text-align:center; margin:0 0 56px; }
.l-feat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.l-feat-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09);
  border-radius:16px; padding:28px 24px; transition:all .2s;
}
.l-feat-card:hover { background:rgba(255,255,255,.07); border-color:rgba(99,102,241,.4); transform:translateY(-3px); }
.l-feat-ico { font-size:26px; margin-bottom:14px; }
.l-feat-title { font-size:16px; font-weight:700; color:white; margin-bottom:10px; }
.l-feat-desc { font-size:14px; color:rgba(255,255,255,.52); line-height:1.7; margin:0; }

/* CTA Banner */
.l-cta-banner {
  margin:0 24px 80px; padding:60px 40px; text-align:center; border-radius:24px;
  background:linear-gradient(135deg, rgba(99,102,241,.3) 0%, rgba(139,92,246,.25) 100%);
  border:1px solid rgba(99,102,241,.35);
}
.l-cta-banner-h { font-size:clamp(22px,3vw,36px); font-weight:800; letter-spacing:-1px; color:white; margin:0 0 12px; }
.l-cta-banner-sub { font-size:15px; color:rgba(255,255,255,.6); margin:0 0 32px; }
.l-cta-light { background:white; color:#4f46e5; box-shadow:0 8px 32px rgba(0,0,0,.3); }
.l-cta-light:hover { color:#4f46e5; background:#f0f0ff; }

/* Footer */
.l-footer { padding:22px 56px; border-top:1px solid rgba(255,255,255,.07); background:rgba(0,0,0,.2); }
.lf-inner { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; max-width:1100px; margin:0 auto; }
.lf-brand { font-size:15px; font-weight:800; color:white; letter-spacing:-.3px; }
.lf-brand span { color:#a78bfa; }
.lf-tagline { font-size:12px; font-weight:400; color:rgba(255,255,255,.35); margin-left:6px; }
.lf-links { display:flex; gap:20px; }
.lf-links a { font-size:12px; color:rgba(255,255,255,.38); transition:color .12s; text-decoration:none; }
.lf-links a:hover { color:rgba(255,255,255,.7); }
.lf-copy { font-size:12px; color:rgba(255,255,255,.25); }

/* ── Section shared ── */
.l-section-label { font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#a78bfa; margin-bottom:14px; text-align:center; }
.l-section-h2    { font-size:clamp(26px,3.5vw,40px); font-weight:800; letter-spacing:-1px; color:white; text-align:center; margin:0 0 52px; }

/* ── Compare section ── */
.l-compare      { padding:80px 24px; max-width:1060px; margin:0 auto; width:100%; }
.l-compare-wrap { display:grid; grid-template-columns:1fr 56px 1fr; align-items:start; gap:0; }
.l-compare-card { border-radius:20px; padding:32px 28px; border:1px solid; }
.l-before       { background:rgba(239,68,68,.06); border-color:rgba(239,68,68,.2); }
.l-after        { background:rgba(16,185,129,.06); border-color:rgba(16,185,129,.22); }
.l-cc-hdr       { display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.l-cc-icon      { font-size:22px; }
.l-cc-title     { font-size:17px; font-weight:700; color:white; }
.l-cc-list      { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:13px; }
.l-cc-list li   { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:rgba(255,255,255,.62); line-height:1.5; }
.l-cc-x         { color:#f87171; font-weight:700; flex-shrink:0; margin-top:1px; }
.l-cc-v         { color:#34d399; font-weight:700; flex-shrink:0; margin-top:1px; }
.l-compare-mid  { display:flex; align-items:center; justify-content:center; padding-top:68px; }
.l-compare-arrow { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; color:white; font-size:18px; font-weight:800; box-shadow:0 8px 24px rgba(99,102,241,.45); }
/* scroll animations */
.l-anim         { opacity:0; transition:opacity .65s ease, transform .65s ease; }
.l-before.l-anim { transform:translateX(-28px); }
.l-after.l-anim  { transform:translateX(28px); }
.l-step.l-anim   { transform:translateY(22px); }
.l-anim.l-visible { opacity:1; transform:none; }

/* ── How it works ── */
.l-how          { padding:72px 24px 80px; max-width:860px; margin:0 auto; width:100%; text-align:center; }
.l-steps        { display:flex; align-items:flex-start; justify-content:center; gap:0; margin-bottom:48px; }
.l-step         { flex:1; display:flex; flex-direction:column; align-items:center; gap:16px; padding:0 12px; max-width:240px; }
.l-step-num     { width:52px; height:52px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#a855f7); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:800; color:white; box-shadow:0 8px 24px rgba(99,102,241,.4); flex-shrink:0; }
.l-step-title   { font-size:15px; font-weight:700; color:white; margin-bottom:6px; }
.l-step-desc    { font-size:13px; color:rgba(255,255,255,.5); line-height:1.65; margin:0; }
.l-step-desc em { color:rgba(167,139,250,.8); font-style:normal; }
.l-step-conn    { width:48px; height:2px; background:linear-gradient(90deg,#6366f1,#a855f7); opacity:.35; margin-top:25px; flex-shrink:0; }
.l-how-cta      { text-align:center; }

/* ── App footer Feedback button ── */
.af-feedback    { background:none; border:1px solid rgba(255,255,255,.14); color:rgba(255,255,255,.45); font-size:12px; padding:3px 12px; border-radius:99px; cursor:pointer; font-family:var(--font); transition:all .15s; }
.af-feedback:hover { color:white; border-color:rgba(255,255,255,.4); background:rgba(255,255,255,.06); }

/* ── Feedback modal ── */
.fb-overlay { position:fixed; inset:0; background:rgba(0,0,0,.52); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); z-index:600; display:flex; align-items:center; justify-content:center; padding:20px; }
.fb-panel   { background:var(--white); border-radius:20px; width:100%; max-width:420px; box-shadow:0 24px 60px rgba(0,0,0,.22); overflow:hidden; }
.fb-hdr     { display:flex; align-items:flex-start; justify-content:space-between; padding:20px 20px 16px; border-bottom:1px solid var(--line); }
.fb-title   { font-size:15px; font-weight:700; color:var(--text); }
.fb-sub     { font-size:12px; color:var(--muted); margin-top:3px; }
.fb-close   { background:none; border:none; cursor:pointer; font-size:14px; color:var(--muted); width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; transition:background .15s; flex-shrink:0; }
.fb-close:hover { background:var(--bg); color:var(--text); }
.fb-body    { padding:18px 20px 20px; display:flex; flex-direction:column; gap:14px; }
.fb-q       { font-size:13px; font-weight:600; color:var(--text-2); }
.fb-stars   { display:flex; gap:4px; }
.fb-star    { background:none; border:none; cursor:pointer; font-size:30px; color:var(--line); padding:0; transition:color .1s, transform .12s; line-height:1; }
.fb-star.on { color:#f59e0b; }
.fb-star:hover { transform:scale(1.18); color:#fbbf24; }
.fb-lbl     { font-size:12px; font-weight:600; color:var(--muted); display:block; margin-bottom:6px; }
.fb-field   { display:flex; flex-direction:column; }
.fb-sel,.fb-ta { width:100%; padding:9px 11px; border-radius:9px; border:1px solid var(--line); background:var(--bg); color:var(--text); font-size:13px; font-family:var(--font); }
.fb-ta      { resize:vertical; min-height:78px; }
.fb-sel:focus,.fb-ta:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(99,102,241,.1); }
.fb-submit  { background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:white; border:none; border-radius:10px; padding:11px 20px; font-size:14px; font-weight:700; cursor:pointer; font-family:var(--font); transition:opacity .15s; }
.fb-submit:hover { opacity:.88; }
.fb-submit:disabled { opacity:.5; cursor:not-allowed; }
.fb-success { padding:12px 16px; background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.25); border-radius:10px; color:#065f46; font-size:13px; font-weight:500; text-align:center; }

/* old classes kept for compatibility */
.l-eyebrow { display:inline-flex; align-items:center; gap:6px; background:rgba(99,102,241,.2); color:#c4b5fd; border:1px solid rgba(99,102,241,.35); border-radius:99px; padding:5px 14px; font-size:12px; font-weight:600; margin-bottom:28px; letter-spacing:.2px; }
.l-hero h1 { font-size:clamp(38px,5.5vw,68px); font-weight:800; letter-spacing:-2.5px; line-height:1.06; margin-bottom:22px; color:white; }
.l-hero h1 em { font-style:normal; background:linear-gradient(135deg,#a78bfa,#f9a8d4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.l-cta { display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg,#6366f1,#8b5cf6); color:white; padding:14px 36px; border-radius:99px; font-size:15px; font-weight:700; transition:all .18s; box-shadow:0 8px 32px rgba(99,102,241,.5), 0 2px 8px rgba(0,0,0,.3); }
.l-cta:hover { transform:translateY(-2px); box-shadow:0 14px 44px rgba(99,102,241,.65), 0 4px 12px rgba(0,0,0,.3); }
.l-pills { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:36px; }
.pill { padding:7px 16px; border:1px solid rgba(255,255,255,.12); border-radius:99px; font-size:13px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.7); backdrop-filter:blur(8px); }
.l-preview { display:flex; gap:14px; justify-content:center; padding:0 24px 72px; flex-wrap:wrap; }
.p-card { border-radius:14px; border:1px solid rgba(255,255,255,.12); padding:15px 16px; width:210px; background:rgba(255,255,255,.07); backdrop-filter:blur(14px); box-shadow:0 4px 24px rgba(0,0,0,.3); }
.p-card.p-c0,.p-card.p-c1,.p-card.p-c2 { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.12); }
.p-proj { font-size:13px; font-weight:700; color:white; margin-bottom:5px; }
.p-desc { font-size:12px; color:rgba(255,255,255,.55); line-height:1.5; margin-bottom:10px; }
.p-foot { display:flex; align-items:center; gap:7px; }
.p-hrs { font-size:11px; font-weight:700; padding:2px 8px; border-radius:99px; background:rgba(255,255,255,.15); color:white; }
.p-tag { font-size:11px; padding:2px 8px; border-radius:99px; background:rgba(99,102,241,.25); color:#c4b5fd; }

/* ═══ LOGIN ═══ */
.login-page {
  min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px;
  background:#080818;
  background-image:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(99,102,241,.4) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 85%, rgba(139,92,246,.28) 0%, transparent 60%);
}
.login-card { background:var(--white); border:none; border-radius:20px; padding:44px 40px; width:100%; max-width:400px; box-shadow:0 4px 8px rgba(0,0,0,.15), 0 24px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07); }
.back-link { display:inline-flex; align-items:center; gap:4px; font-size:13px; color:var(--muted); margin-bottom:28px; transition:color .12s; }
.back-link:hover { color:var(--text); }
.login-logo { font-size:24px; font-weight:800; letter-spacing:-.5px; margin-bottom:4px; }
.login-logo span { color:var(--accent); }
.login-tag { font-size:14px; color:var(--muted); margin-bottom:32px; }
.login-err { background:#fef2f2; border:1px solid #fecaca; border-radius:var(--r); padding:10px 14px; font-size:13px; color:#dc2626; margin-bottom:18px; }
.login-form { display:flex; flex-direction:column; gap:24px; }
.lfield { display:flex; flex-direction:column; gap:6px; }
.lfield label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); }
.lfield input { border:none; border-bottom:1.5px solid var(--line); background:transparent; padding:9px 0; font-size:15px; font-family:var(--font); color:var(--text); outline:none; transition:border-color .15s; }
.lfield input:focus { border-bottom-color:var(--accent); }
.lfield input::placeholder { color:var(--muted); font-size:14px; }
.login-btn { margin-top:4px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:white; border:none; border-radius:var(--r); padding:13px; font-size:14px; font-weight:600; font-family:var(--font); transition:all .18s; box-shadow:0 4px 18px rgba(99,102,241,.45); }
.login-btn:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(99,102,241,.6); }
.login-register-link { text-align:center; font-size:13px; color:var(--muted); margin-bottom:14px; }
.login-register-link a { color:var(--accent); font-weight:600; text-decoration:none; }
.login-register-link a:hover { color:var(--accent-2); }
.demo-hint { margin-top:22px; padding:13px 16px; background:var(--surface); border-radius:10px; font-size:12px; color:var(--muted); text-align:center; line-height:2; }
.demo-hint code { font-family:'Courier New',monospace; background:rgba(99,102,241,.08); color:var(--accent); padding:1px 7px; border-radius:4px; font-size:11px; cursor:pointer; }
.demo-hint code:hover { background:rgba(99,102,241,.15); }

/* ═══ TIMESHEET ═══ */
.pg-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:28px; gap:16px; }
.pg-head h1 { font-size:24px; font-weight:800; letter-spacing:-.6px; line-height:1.2; }
.pg-date { font-size:13px; color:var(--muted); margin-top:3px; }
.ts-period-bar { display:flex; align-items:flex-end; gap:24px; flex-wrap:wrap; background:var(--white); border:1px solid var(--line); border-radius:12px; padding:16px 20px; margin-bottom:24px; box-shadow:var(--sh-sm); }
.ts-period-form { display:flex; gap:20px; align-items:flex-end; flex-wrap:wrap; flex:1; }
.ts-period-group { display:flex; flex-direction:column; gap:6px; }
.ts-period-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); }
.ts-sel { border:1px solid var(--line); border-radius:var(--r); background:var(--bg); color:var(--text); font-family:var(--font); font-size:13px; padding:7px 12px; outline:none; cursor:pointer; }
.ts-sel:focus { border-color:var(--accent); }
.ts-seg { display:flex; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.seg-btn { padding:7px 14px; font-size:12px; font-weight:500; font-family:var(--font); border:none; background:var(--bg); color:var(--muted); cursor:pointer; transition:all .12s; white-space:nowrap; border-right:1px solid var(--line); }
.seg-btn:last-child { border-right:none; }
.seg-btn:hover { background:var(--faint); color:var(--text); }
.seg-btn.seg-on { background:var(--accent); color:white; }
.ts-export-group { display:flex; flex-direction:column; gap:6px; }
.ts-btn-outline { display:inline-flex; align-items:center; gap:6px; background:var(--white); color:var(--text); border:1px solid var(--line); border-radius:var(--r); padding:8px 14px; font-size:13px; font-weight:500; font-family:var(--font); cursor:pointer; transition:all .12s; text-decoration:none; white-space:nowrap; }
.ts-btn-outline:hover { border-color:var(--accent); color:var(--accent); }
.ts-stats { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.ts-stat { background:var(--white); border:1px solid var(--line); border-radius:10px; padding:14px 22px; text-align:center; flex-shrink:0; box-shadow:var(--sh-sm); }
.ts-stat-num { font-size:24px; font-weight:800; letter-spacing:-.8px; color:var(--accent); }
.ts-stat-unit { font-size:14px; font-weight:400; color:var(--muted); }
.ts-stat-lbl { font-size:10px; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); font-weight:600; margin-top:2px; }
.ts-ai-btn { margin-left:auto; background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.2); border-radius:99px; padding:9px 18px; font-size:13px; font-weight:600; font-family:var(--font); cursor:pointer; transition:all .15s; white-space:nowrap; }
.ts-ai-btn:hover { background:rgba(99,102,241,.14); }
.ts-ai-btn:disabled { opacity:.5; cursor:not-allowed; }
.ts-ai-box { margin-bottom:20px; border:1px solid rgba(99,102,241,.18); border-radius:12px; overflow:hidden; background:#faf9ff; }
.ts-ai-hdr { display:flex; justify-content:space-between; align-items:center; padding:11px 16px; background:var(--accent-bg); font-size:13px; font-weight:600; color:var(--accent); }
.ts-ai-body { padding:16px 18px; font-size:14px; color:#3730a3; line-height:1.75; white-space:pre-wrap; }
.ts-ai-foot { padding:10px 18px; border-top:1px solid rgba(99,102,241,.12); display:flex; justify-content:space-between; align-items:center; }
.ts-ai-hint { font-size:11px; color:var(--muted); }
.ts-grid { display:grid; grid-template-columns:1fr 310px; gap:20px; align-items:start; }
.ts-section-title { font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); font-weight:700; margin-bottom:12px; }
.ts-table-wrap { background:var(--white); border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:var(--sh-sm); }
.ts-table-wrap .ts-section-title { padding:16px 16px 0; }
.ts-table { width:100%; border-collapse:collapse; }
.ts-table thead th { padding:10px 12px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); border-bottom:1.5px solid var(--line); text-align:left; }
.ts-num { text-align:right; }
.ts-table td { padding:9px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
.td-date { text-align:center; white-space:nowrap; padding:10px 8px; }
.td-date-num { font-size:17px; font-weight:800; line-height:1; }
.td-date-mo  { font-size:10px; color:var(--muted); }
.td-day  { font-size:11px; color:var(--muted); white-space:nowrap; }
.td-proj { font-weight:600; font-size:13px; white-space:nowrap; }
.td-desc { font-size:13px; color:var(--text-2); max-width:320px; }
.td-hrs  { text-align:right; font-weight:700; white-space:nowrap; }
.td-tags { margin-top:5px; display:flex; gap:4px; flex-wrap:wrap; }
.tr-day-total td { background:var(--bg); font-size:11px; color:var(--muted); padding:5px 12px; border-bottom:1.5px solid var(--line); }
.td-day-total-lbl { text-align:right; }
.td-day-total-val { text-align:right; font-weight:700; color:var(--text); }
.tr-grand-total td { font-weight:800; font-size:14px; background:var(--surface); border-top:2px solid var(--text); border-bottom:none; padding:12px; }
.ts-proj-list { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:14px; display:flex; flex-direction:column; gap:14px; box-shadow:var(--sh-sm); }
.ts-proj-top { display:flex; justify-content:space-between; margin-bottom:5px; }
.ts-proj-name { font-size:13px; font-weight:600; }
.ts-proj-hrs  { font-size:13px; font-weight:700; color:var(--accent); }
.ts-proj-bar-wrap { height:5px; background:var(--faint); border-radius:99px; margin-bottom:3px; }
.ts-proj-bar { height:5px; background:linear-gradient(90deg,var(--accent),var(--accent-2)); border-radius:99px; transition:width .5s; }
.ts-proj-pct { font-size:11px; color:var(--muted); }
.ts-integrations { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:16px; box-shadow:var(--sh-sm); }
.ts-int-title { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); margin-bottom:12px; }
.ts-int-row { display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--line); }
.ts-int-row:last-child { border-bottom:none; padding-bottom:0; }
.ts-int-icon { font-size:18px; flex-shrink:0; margin-top:1px; }
.ts-int-name { font-size:13px; font-weight:600; margin-bottom:2px; }
.ts-int-desc { font-size:12px; color:var(--muted); margin-bottom:5px; line-height:1.4; }
.ts-int-link { font-size:12px; font-weight:600; color:var(--accent); text-decoration:underline; text-underline-offset:2px; }

/* ═══ NAV DROPDOWN ═══ */
.t-dropdown { position:relative; }
.t-drop-btn { background:none; border:none; cursor:pointer; font-family:var(--font); font-size:13px; font-weight:500; }
.t-drop-panel {
  position:absolute; top:calc(100% + 8px); left:50%; transform:translateX(-50%);
  background:var(--white); border:1px solid var(--line);
  border-radius:12px; box-shadow:var(--sh); min-width:168px; overflow:hidden;
  display:flex; flex-direction:column; z-index:200;
}
.t-drop-item { padding:10px 16px; font-size:13px; font-weight:500; color:var(--text-2); transition:all .1s; }
.t-drop-item:hover { background:var(--faint); color:var(--text); }
.t-drop-on { background:var(--accent-bg) !important; color:var(--accent) !important; }

/* ═══ SHARED GROWTH STYLES ═══ */
.pg-count { font-size:16px; font-weight:500; color:var(--muted); margin-left:8px; }
.pg-back { font-size:13px; color:var(--muted); padding:6px 14px; border:1px solid var(--line); border-radius:99px; transition:all .12s; white-space:nowrap; }
.pg-back:hover { color:var(--text); border-color:var(--muted); }

/* Add card / inline form */
.add-card { background:var(--white); border:1.5px dashed var(--line); border-radius:12px; padding:16px 20px; margin-bottom:24px; transition:all .2s; }
.add-card:focus-within { border-color:rgba(99,102,241,.3); border-style:solid; box-shadow:var(--sh-sm); }
.add-toggle { background:none; border:none; font-family:var(--font); font-size:14px; font-weight:600; color:var(--accent); cursor:pointer; padding:0; transition:opacity .12s; }
.add-toggle:hover { opacity:.75; }
.add-form { margin-top:18px; }
.af-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.af-full { grid-column:1/-1; }
.af-actions { display:flex; gap:10px; }
.btn-primary { background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:white; border:none; border-radius:var(--r); padding:10px 24px; font-size:13px; font-weight:600; font-family:var(--font); cursor:pointer; transition:all .18s; box-shadow:0 4px 16px rgba(99,102,241,.4); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(99,102,241,.55); }
.btn-ghost { background:none; border:1px solid var(--line); border-radius:var(--r); padding:10px 18px; font-size:13px; font-family:var(--font); color:var(--muted); cursor:pointer; transition:all .12s; }
.btn-ghost:hover { border-color:var(--muted); color:var(--text); }
.btn-del { background:none; border:none; font-size:12px; color:var(--muted); cursor:pointer; padding:0; font-family:var(--font); transition:color .12s; }
.btn-del:hover { color:#dc2626; }

/* Category filter */
.cat-filter { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:22px; }
.cat-tab { padding:5px 14px; border-radius:99px; border:1px solid var(--line); font-size:13px; color:var(--muted); transition:all .12s; font-weight:500; }
.cat-tab:hover { border-color:var(--muted); color:var(--text); }
.cat-on { background:var(--accent) !important; color:white !important; border-color:var(--accent) !important; }
.cat-count { background:rgba(255,255,255,.25); border-radius:99px; padding:1px 7px; font-size:11px; margin-left:2px; }
.cat-on .cat-count { background:rgba(255,255,255,.25); }
.cat-tab:not(.cat-on) .cat-count { background:var(--faint); color:var(--text-2); border-radius:99px; padding:1px 7px; font-size:11px; margin-left:2px; }

/* ═══ GROWTH HUB ═══ */
.hub-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:36px; flex-wrap:wrap; }
.hub-label { display:inline-flex; background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.18); border-radius:99px; padding:4px 12px; font-size:11px; font-weight:600; margin-bottom:12px; }
.hub-title { font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.6px; margin-bottom:6px; }
.hub-sub { font-size:14px; color:var(--muted); max-width:400px; line-height:1.55; }
.hub-stats { display:flex; gap:16px; flex-wrap:wrap; }
.hub-stat { background:var(--white); border:none; border-radius:12px; padding:14px 20px; text-align:center; min-width:90px; box-shadow:var(--sh-sm); }
.hs-num { display:block; font-size:26px; font-weight:800; letter-spacing:-.8px; color:var(--accent); line-height:1; margin-bottom:4px; }
.hs-of { font-size:16px; color:var(--muted); font-weight:500; }
.hs-lbl { font-size:11px; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); font-weight:600; }
.hub-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.hub-panel { background:var(--white); border:none; border-radius:16px; padding:22px; box-shadow:var(--sh-3d); display:flex; flex-direction:column; }
.hp-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.hp-title { font-size:14px; font-weight:700; color:var(--text); display:flex; align-items:center; gap:6px; }
.hp-ico { font-size:16px; }
.hp-all { font-size:12px; color:var(--accent); font-weight:600; }
.hp-all:hover { opacity:.75; }
.hp-list { display:flex; flex-direction:column; gap:10px; flex:1; margin-bottom:14px; }
.hp-item { display:flex; align-items:flex-start; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); transition:background .1s; }
.hp-item:last-child { border-bottom:none; }
.hp-item:hover { background:none; }
.hpi-ico { font-size:18px; flex-shrink:0; margin-top:1px; }
.hpi-body { flex:1; min-width:0; }
.hpi-title { font-size:13px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:3px; }
.hpi-meta { font-size:11px; color:var(--muted); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.hpi-at { font-weight:400; color:var(--muted); }
.hpi-xp-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; margin-top:4px; }
.dot-current { background:var(--accent); box-shadow:0 0 0 3px rgba(99,102,241,.18); }
.dot-past { background:var(--line); }
.learn-status-dot { display:inline-block; width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.status-in-progress { background:#f59e0b; }
.status-completed { background:#10b981; }
.status-want { background:#94a3b8; }
.hp-empty { text-align:center; padding:24px 12px; color:var(--muted); font-size:13px; line-height:1.7; flex:1; }
.hp-empty a { color:var(--accent); }
.hp-cta { display:inline-flex; align-items:center; font-size:13px; font-weight:600; color:var(--accent); margin-top:auto; padding:8px 0 0; transition:opacity .12s; }
.hp-cta:hover { opacity:.75; }

/* ═══ ACHIEVEMENTS ═══ */
.achieve-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.achieve-card {
  border-radius:14px; padding:18px 20px;
  border:none; border-left:3px solid var(--line);
  background:var(--white);
  position:relative; transition:all .22s cubic-bezier(.34,1.2,.64,1);
  animation:card-in .2s ease both; box-shadow:var(--sh-3d);
}
.achieve-card:hover { transform:translateY(-4px); box-shadow:var(--sh-3d-hover); }
.ac-milestone { border-left-color:#fde047; }
.ac-work      { border-left-color:#93c5fd; }
.ac-cert      { border-left-color:#86efac; }
.ac-award     { border-left-color:#fdba74; }
.ac-personal  { border-left-color:#d8b4fe; }
.ac-top { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.ac-cat-ico { font-size:18px; }
.ac-cat-lbl { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:rgba(0,0,0,.45); }
.ac-del { background:rgba(0,0,0,.06); border:none; border-radius:5px; padding:3px 7px; font-size:11px; color:rgba(0,0,0,.35); cursor:pointer; transition:all .12s; }
.ac-del:hover { background:#fef2f2; color:#dc2626; }
.ac-title { font-size:15px; font-weight:700; letter-spacing:-.2px; margin-bottom:7px; color:var(--text); }
.ac-desc { font-size:13px; color:var(--text-2); line-height:1.55; margin-bottom:10px; }
.ac-date { font-size:11px; color:rgba(0,0,0,.4); font-weight:500; }

/* ═══ EXPERIENCE TIMELINE ═══ */
.xp-timeline { display:flex; flex-direction:column; gap:0; }
.xp-item { display:flex; gap:16px; }
.xp-spine { display:flex; flex-direction:column; align-items:center; width:20px; flex-shrink:0; padding-top:4px; }
.xp-dot { width:14px; height:14px; border-radius:50%; background:var(--line); border:2px solid var(--white); box-shadow:0 0 0 2px var(--line); flex-shrink:0; }
.xp-dot-current { background:var(--accent); box-shadow:0 0 0 3px rgba(99,102,241,.2); }
.xp-line { flex:1; width:2px; background:var(--line); margin:4px 0; min-height:32px; }
.xp-item:last-child .xp-line { display:none; }
.xp-body { flex:1; background:var(--white); border:none; border-radius:14px; padding:18px 20px; margin-bottom:16px; box-shadow:var(--sh-3d); transition:all .22s cubic-bezier(.34,1.2,.64,1); }
.xp-body:hover { transform:translateY(-3px); box-shadow:var(--sh-3d-hover); }
.xp-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:10px; flex-wrap:wrap; }
.xp-role { font-size:15px; font-weight:700; letter-spacing:-.2px; margin-bottom:3px; }
.xp-company { font-size:13px; font-weight:600; color:var(--text-2); }
.xp-loc { color:var(--muted); font-weight:400; }
.xp-right { text-align:right; flex-shrink:0; }
.xp-dates { font-size:12px; color:var(--muted); margin-bottom:3px; }
.xp-duration { font-size:12px; font-weight:700; color:var(--accent); display:flex; align-items:center; justify-content:flex-end; gap:6px; }
.xp-current-badge { background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.2); border-radius:99px; padding:2px 9px; font-size:10px; font-weight:700; white-space:nowrap; }
.xp-desc { font-size:13px; color:var(--text-2); line-height:1.65; margin-bottom:12px; }
.xp-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.xp-tag { font-size:11px; padding:3px 10px; border-radius:99px; background:var(--faint); border:1px solid var(--line); color:var(--text-2); }
.xp-current-check { justify-content:center; }

/* ═══ LEARNING TRACKER ═══ */
.learn-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
.learn-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.learn-card { border-radius:14px; padding:16px 18px; background:var(--white); border:none; box-shadow:var(--sh-3d); transition:all .22s cubic-bezier(.34,1.2,.64,1); animation:card-in .2s ease both; }
.learn-card:hover { transform:translateY(-4px); box-shadow:var(--sh-3d-hover); }
.lc-in-progress { border-left:3px solid #f59e0b; }
.lc-completed   { border-left:3px solid #10b981; }
.lc-want        { border-left:3px solid #94a3b8; }
.lc-top { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.lc-type-ico { font-size:18px; }
.lc-status-badge { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; padding:2px 9px; border-radius:99px; }
.ls-in-progress { background:#fef3c7; color:#92400e; }
.ls-completed   { background:#d1fae5; color:#065f46; }
.ls-want        { background:#f1f5f9; color:#64748b; }
.lc-title { font-size:14px; font-weight:700; letter-spacing:-.2px; margin-bottom:5px; color:var(--text); }
.lc-source { font-size:12px; color:var(--muted); margin-bottom:7px; font-weight:500; }
.lc-notes { font-size:12px; color:var(--text-2); line-height:1.55; margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.lc-stars { font-size:14px; color:#f59e0b; letter-spacing:1px; margin-bottom:10px; }
.lc-footer { display:flex; align-items:center; gap:8px; margin-top:auto; padding-top:10px; border-top:1px solid var(--line); }
.lc-date { font-size:11px; color:var(--muted); }
.lc-done-btn { background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.2); border-radius:99px; padding:3px 12px; font-size:11px; font-weight:700; font-family:var(--font); cursor:pointer; transition:all .12s; }
.lc-done-btn:hover { background:var(--accent); color:white; }

/* ═══ APP FOOTER ═══ */
.app-footer { border-top:1px solid var(--line); padding:18px 28px; margin-top:40px; }
.af-inner { max-width:920px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.af-copy { font-size:12px; color:var(--muted); }
.af-links { display:flex; gap:16px; }
.af-links a { font-size:12px; color:var(--muted); transition:color .12s; }
.af-links a:hover { color:var(--text); }


/* ═══ PUBLIC LAYOUT ═══ */
.pub-page { min-height:100vh; display:flex; flex-direction:column; background:var(--white); }
.pub-main { flex:1; max-width:760px; margin:0 auto; padding:60px 28px 80px; width:100%; }
.pub-nav-links { display:flex; gap:4px; }
.pub-nav-link { padding:5px 12px; border-radius:99px; font-size:13px; font-weight:500; color:var(--muted); transition:all .12s; }
.pub-nav-link:hover { color:var(--text); background:var(--faint); }
.pub-footer { border-top:1px solid var(--line); padding:28px 56px; background:var(--white); }
.pf-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.pf-brand { font-size:16px; font-weight:800; letter-spacing:-.5px; color:var(--text); margin-right:auto; }
.pf-brand span { color:var(--accent); }
.pf-links { display:flex; gap:20px; flex-wrap:wrap; }
.pf-links a { font-size:13px; color:var(--muted); transition:color .12s; }
.pf-links a:hover { color:var(--text); }
.pf-copy { font-size:12px; color:var(--muted); }

/* ═══ POLICY PAGES ═══ */
.policy-head { margin-bottom:48px; padding-bottom:28px; border-bottom:1px solid var(--line); }
.ph-label { display:inline-flex; align-items:center; background:var(--accent-bg); color:var(--accent); border:1px solid rgba(99,102,241,.18); border-radius:99px; padding:4px 12px; font-size:11px; font-weight:600; margin-bottom:18px; letter-spacing:.2px; }
.policy-head h1 { font-size:clamp(26px,4vw,42px); font-weight:800; letter-spacing:-1.5px; line-height:1.1; margin-bottom:12px; }
.policy-head .ph-meta { font-size:14px; color:var(--muted); }
.policy-body { font-size:15px; color:var(--text-2); line-height:1.8; }
.policy-body h2 { font-size:18px; font-weight:700; color:var(--text); letter-spacing:-.3px; margin:40px 0 12px; padding-top:8px; }
.policy-body p { margin-bottom:16px; }
.policy-body ul { padding-left:22px; margin-bottom:16px; }
.policy-body ul li { margin-bottom:8px; }
.policy-body a { color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.policy-body a:hover { opacity:.8; }
.pb-callout { background:var(--accent-bg); border:1px solid rgba(99,102,241,.15); border-radius:12px; padding:16px 20px; margin:0 0 32px; font-size:14px; color:var(--text); line-height:1.7; }

/* About feature grid */
.about-feature-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:16px; margin:0 0 48px; }
.af-card { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:20px; }
.af-ico { font-size:22px; margin-bottom:10px; }
.af-title { font-size:14px; font-weight:700; color:var(--text); margin-bottom:6px; }
.af-desc { font-size:13px; color:var(--text-2); line-height:1.6; }

/* Contact form */
.contact-form { margin-top:32px; }
.cf-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.cfield { display:flex; flex-direction:column; gap:6px; }
.cfield label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); }
.cfield input,.cfield textarea { border:none; border-bottom:1.5px solid var(--line); background:transparent; padding:9px 0; font-size:14px; font-family:var(--font); color:var(--text); outline:none; transition:border-color .15s; width:100%; }
.cfield input:focus,.cfield textarea:focus { border-bottom-color:var(--accent); }
.cfield textarea { resize:vertical; height:100px; }
.cf-full { grid-column:1/-1; }
.cf-submit { margin-top:8px; background:var(--accent); color:white; border:none; border-radius:var(--r); padding:13px 32px; font-size:14px; font-weight:600; font-family:var(--font); transition:all .15s; box-shadow:0 4px 14px rgba(99,102,241,.3); cursor:pointer; }
.cf-submit:hover { opacity:.88; transform:translateY(-1px); }
.contact-info { margin-top:48px; padding-top:32px; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; }
.ci-item { display:flex; align-items:flex-start; gap:12px; }
.ci-ico { font-size:22px; flex-shrink:0; margin-top:2px; }
.ci-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); margin-bottom:4px; }
.ci-val { font-size:14px; color:var(--text); font-weight:500; }
.ci-val a { color:var(--accent); }

/* ═══ HAMBURGER / MOBILE DRAWER ═══ */
.t-menu-btn { display:none; background:none; border:none; font-size:19px; color:var(--muted); padding:6px 8px; border-radius:6px; transition:all .12s; margin-left:8px; flex-shrink:0; cursor:pointer; }
.t-menu-btn:hover { color:var(--text); background:var(--faint); }
.t-mobile-drawer { display:none; background:var(--white); border-bottom:1px solid var(--line); padding:10px 16px 14px; position:sticky; top:52px; z-index:99; box-shadow:0 4px 16px rgba(0,0,0,.06); }
.t-mobile-drawer.open { display:flex; flex-direction:column; gap:2px; }
.t-drawer-link { padding:10px 14px; border-radius:var(--r); font-size:14px; font-weight:500; color:var(--text-2); transition:all .12s; }
.t-drawer-link:hover { background:var(--faint); color:var(--text); }
.t-drawer-link.t-link-on { background:var(--accent-bg); color:var(--accent); }
.t-drawer-divider { height:1px; background:var(--line); margin:8px 0; }
.t-drawer-signout { background:none; border:none; font-family:var(--font); font-size:14px; font-weight:500; color:var(--muted); padding:10px 14px; border-radius:var(--r); cursor:pointer; text-align:left; width:100%; transition:all .12s; }
.t-drawer-signout:hover { background:#fef2f2; color:#dc2626; }

/* ═══ RESPONSIVE ═══ */
@media (max-width:900px) {
  .l-feat-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:720px) {
  /* App nav */
  .topnav { padding:0 12px 0 16px; }
  .t-links { display:none; }
  .t-stat { display:none; }
  .t-signout { display:none; }
  .t-menu-btn { display:flex; align-items:center; justify-content:center; }

  /* App main */
  .main-wrap { padding:20px 16px 60px; }
  .app-footer { padding:16px; margin-top:20px; }
  .af-inner { flex-direction:column; align-items:flex-start; gap:10px; }
  .af-links { gap:12px; flex-wrap:wrap; }

  /* Dashboard */
  .greeting-text { font-size:20px; }
  .fv-bar { flex-direction:column; align-items:stretch; gap:10px; }
  .tabs { flex-wrap:wrap; }
  .fv-right { justify-content:space-between; }
  .search-in { flex:1; width:auto; }
  .cards { grid-template-columns:1fr; }
  .ll-item { grid-template-columns:48px 1fr auto; }
  .ll-proj-cell { display:none; }
  .insights-bar { gap:6px; }

  /* Capture bar on mobile */
  .capture-bar { border-radius:12px; }
  .capture-input { font-size:14px; }
  .capture-submit { padding:9px 14px; font-size:12px; }

  /* Recurring */
  .rec-item { flex-wrap:wrap; gap:10px; }
  .rec-form-grid { grid-template-columns:1fr; }

  /* Timesheet */
  .ts-grid { grid-template-columns:1fr; }
  .ts-period-bar { flex-direction:column; align-items:flex-start; }
  .ts-stats { flex-direction:column; align-items:stretch; }
  .ts-stat { text-align:left; }
  .pg-head { flex-direction:column; gap:12px; }

  /* Growth */
  .hub-head { flex-direction:column; }
  .hub-grid { grid-template-columns:1fr; }
  .hub-stats { justify-content:flex-start; }
  .achieve-grid { grid-template-columns:1fr; }
  .learn-grid { grid-template-columns:1fr; }
  .af-grid { grid-template-columns:1fr; }
  .xp-header { flex-direction:column; gap:4px; }
  .xp-right { text-align:left; }
  .xp-duration { justify-content:flex-start; }

  /* Landing */
  .l-nav { padding:14px 20px; }
  .l-nav-links { display:none; }
  .l-preview { display:none; }
  .l-preview-wrap { display:none; }
  .l-hero { padding:70px 20px 48px; }
  .l-footer { padding:16px 20px; }
  .l-feat-grid { grid-template-columns:1fr; }
  .l-cta-banner { margin:0 16px 60px; padding:40px 24px; }
  .lf-inner { flex-direction:column; align-items:flex-start; gap:10px; }
  .lf-links { flex-wrap:wrap; gap:12px; }
  /* Compare section mobile */
  .l-compare-wrap { grid-template-columns:1fr; gap:16px; }
  .l-compare-mid  { display:none; }
  .l-compare      { padding:48px 20px; }
  /* How it works mobile */
  .l-steps        { flex-direction:column; align-items:center; gap:12px; }
  .l-step         { max-width:100%; flex-direction:row; gap:18px; text-align:left; padding:0; }
  .l-step-num     { width:44px; height:44px; font-size:18px; flex-shrink:0; }
  .l-step-body    { text-align:left; }
  .l-step-conn    { width:2px; height:30px; background:linear-gradient(180deg,#6366f1,#a855f7); margin:0 0 0 21px; }
  .l-how          { padding:48px 20px 56px; }

  /* Public pages */
  .pub-main { padding:36px 20px 60px; }
  .pub-footer { padding:24px 20px; }
  .pf-inner { flex-direction:column; align-items:flex-start; gap:14px; }
  .pf-brand { margin-right:0; }
  .pub-nav-links { display:none; }
  .about-feature-grid { grid-template-columns:1fr; }
  .cf-grid { grid-template-columns:1fr; }
  .contact-info { grid-template-columns:1fr; }
}

@media (max-width:480px) {
  .topnav { height:48px; }
  .t-mobile-drawer { top:48px; }
  .t-logo { font-size:15px; }
  .t-avatar { display:none; }
  .l-h1 { letter-spacing:-1.5px; }
  .l-hero h1 { letter-spacing:-1.5px; }
  .l-pills { gap:6px; }
  .pill { font-size:12px; padding:6px 12px; }
  .l-feat-grid { grid-template-columns:1fr; }
  .capture-bar { flex-wrap:nowrap; }
  .voice-btn { width:44px; }
  .rec-desc { display:none; }
  .login-card { padding:32px 24px; }

  /* Growth page mobile */
  .gp-head { flex-direction:column; gap:1.25rem; padding:1.5rem; }
  .gp-stats-row { gap:1.25rem; }
  .gp-bento { grid-template-columns:1fr; }
  .gp-col-xp, .gp-col-ach, .gp-col-learn { grid-column:1; grid-row:auto; }

  /* Today layout mobile */
  .tl-layout    { grid-template-columns:1fr; }
  .tl-sidebar   { order:-1; }
  .prog-ring-wrap { justify-content:center; }
  .tl-greet .tl-hi { font-size:1.35rem; }
}

/* ─── TODAY / DAILY LOG LAYOUT ────────────────────────────────────────────── */

.tl-layout {
  display:grid;
  grid-template-columns:1fr 340px;
  gap:1.5rem;
  align-items:start;
}

/* ── Left column ── */
.tl-main { display:flex; flex-direction:column; gap:1.25rem; }

.tl-greet { }
.tl-hi    { font-size:1.65rem; font-weight:800; color:var(--text); line-height:1.2; margin-bottom:.35rem; }
.tl-sub   { font-size:.9rem; color:var(--muted); }

/* Quick-log chips */
.ql-chips  { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:.25rem; }
.ql-chip   {
  display:inline-flex; align-items:center; gap:.3rem; padding:.45rem .85rem;
  background:var(--white); border:1.5px solid var(--line); border-radius:99px;
  font-size:.8rem; font-weight:600; color:var(--text-2); cursor:pointer;
  transition:all .15s; font-family:var(--font); box-shadow:var(--sh-3d);
}
.ql-chip:hover  { border-color:var(--accent); color:var(--accent); background:var(--accent-bg); transform:translateY(-1px); }
.ql-chip span   { font-weight:400; color:var(--muted); font-size:.75rem; }
.ql-chip:hover span { color:var(--accent); opacity:.7; }

/* Input card */
.tl-input-card {
  background:var(--white); border-radius:18px; box-shadow:var(--sh-3d);
  padding:1.25rem; display:flex; flex-direction:column; gap:.75rem;
}
.tl-textarea {
  width:100%; border:1.5px solid var(--line); border-radius:12px;
  padding:.9rem 1rem; font-family:var(--font); font-size:.95rem;
  color:var(--text); resize:none; background:var(--faint);
  transition:border-color .15s, background .15s; line-height:1.6;
  box-sizing:border-box;
}
.tl-textarea:focus  { outline:none; border-color:var(--accent); background:var(--white); }
.tl-textarea::placeholder { color:var(--muted); }

.tl-input-foot   { display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
.tl-input-right  { display:flex; align-items:center; gap:.6rem; }
.tl-char-count   { font-size:.75rem; color:var(--muted); }

.tl-voice-btn {
  display:flex; align-items:center; gap:.35rem;
  background:none; border:1.5px solid var(--line); border-radius:8px;
  padding:.45rem .8rem; font-size:.82rem; font-weight:600; color:var(--text-2);
  cursor:pointer; transition:all .15s;
}
.tl-voice-btn:hover, .tl-voice-btn.voice-on {
  background:var(--accent-bg); border-color:var(--accent); color:var(--accent);
}
.tl-voice-btn.voice-on { animation:voicePulse 1.2s ease-in-out infinite; }
@keyframes voicePulse { 0%,100%{box-shadow:0 0 0 0 rgba(99,102,241,.4)} 50%{box-shadow:0 0 0 6px rgba(99,102,241,0)} }

.tl-parse-btn {
  display:flex; align-items:center; gap:.4rem;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; border:none; border-radius:9px;
  padding:.5rem 1.1rem; font-size:.85rem; font-weight:700; cursor:pointer;
  transition:opacity .15s, transform .15s;
}
.tl-parse-btn:hover:not(:disabled) { opacity:.88; transform:translateY(-1px); }
.tl-parse-btn:disabled { opacity:.4; cursor:not-allowed; }

/* Voice waveform */
.tl-wave {
  display:flex; align-items:center; gap:.5rem;
  padding:.5rem .75rem; background:var(--accent-bg); border-radius:8px;
  font-size:.8rem; color:var(--accent);
}
.wave-bars { display:flex; align-items:center; gap:3px; }
.wave-bars span {
  display:inline-block; width:3px; border-radius:2px;
  background:var(--accent); animation:waveAnim .8s ease-in-out infinite;
}
.wave-bars span:nth-child(1)  { height:8px;  animation-delay:0s; }
.wave-bars span:nth-child(2)  { height:14px; animation-delay:.1s; }
.wave-bars span:nth-child(3)  { height:20px; animation-delay:.2s; }
.wave-bars span:nth-child(4)  { height:16px; animation-delay:.3s; }
.wave-bars span:nth-child(5)  { height:22px; animation-delay:.15s; }
.wave-bars span:nth-child(6)  { height:18px; animation-delay:.25s; }
.wave-bars span:nth-child(7)  { height:12px; animation-delay:.35s; }
.wave-bars span:nth-child(8)  { height:20px; animation-delay:.05s; }
.wave-bars span:nth-child(9)  { height:10px; animation-delay:.4s; }
.wave-bars span:nth-child(10) { height:16px; animation-delay:.2s; }
@keyframes waveAnim { 0%,100%{transform:scaleY(.5)} 50%{transform:scaleY(1)} }

/* Processing */
.tl-processing {
  display:flex; align-items:center; gap:.6rem;
  padding:.5rem .75rem; font-size:.82rem; color:var(--muted);
}
.proc-dots { display:flex; gap:4px; }
.proc-dots span {
  width:6px; height:6px; border-radius:50%; background:var(--accent);
  animation:procPulse 1.2s ease-in-out infinite;
}
.proc-dots span:nth-child(2) { animation-delay:.2s; }
.proc-dots span:nth-child(3) { animation-delay:.4s; }
@keyframes procPulse { 0%,100%{opacity:.3;transform:scale(.8)} 50%{opacity:1;transform:scale(1)} }

/* AI Summary card */
.tl-summary {
  background:var(--white); border-radius:18px; box-shadow:var(--sh-3d);
  padding:1.25rem; display:flex; flex-direction:column; gap:1rem;
}
.ts-head        { display:flex; align-items:center; justify-content:space-between; }
.ts-head-left   { display:flex; align-items:center; gap:.5rem; }
.ts-star        { font-size:1.1rem; }
.ts-title       { font-weight:700; font-size:1rem; color:var(--text); }
.ts-subtitle    { font-size:.75rem; color:var(--muted); }
.ts-clear-btn   { background:none; border:none; font-size:.82rem; color:var(--muted); cursor:pointer; padding:.2rem .4rem; border-radius:5px; }
.ts-clear-btn:hover { background:var(--faint); color:var(--text-2); }

/* Parsed entry rows */
.ts-list        { display:flex; flex-direction:column; gap:.5rem; }
.ts-entry       { display:flex; align-items:center; gap:.75rem; padding:.7rem .9rem; background:var(--faint); border-radius:10px; }
.ts-dot         { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.ts-body        { flex:1; display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; min-width:0; }
.ts-desc        { font-size:.88rem; font-weight:500; color:var(--text); flex:1; min-width:120px; cursor:text; }
.ts-desc:focus  { outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }
.ts-badge       { font-size:.68rem; font-weight:700; padding:.2rem .55rem; border-radius:99px; white-space:nowrap; flex-shrink:0; }
.ts-time        { font-size:.88rem; font-weight:600; color:var(--text); white-space:nowrap; cursor:text; min-width:48px; text-align:right; }
.ts-time:focus  { outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }
.ts-del         { background:none; border:none; color:var(--muted); cursor:pointer; font-size:1rem; padding:.1rem .3rem; border-radius:5px; flex-shrink:0; transition:all .12s; }
.ts-del:hover   { color:#ef4444; background:rgba(239,68,68,.1); }

.ts-footer      { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem; padding-top:.5rem; border-top:1px solid var(--line); }
.ts-total       { font-size:.9rem; color:var(--text-2); }
.ts-total strong { color:var(--accent); font-size:1.05rem; }

.tl-send-btn {
  display:inline-flex; align-items:center; gap:.4rem;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; border:none; border-radius:10px;
  padding:.65rem 1.5rem; font-size:.9rem; font-weight:700; cursor:pointer;
  transition:opacity .15s, transform .15s; box-shadow:0 4px 16px rgba(99,102,241,.3);
}
.tl-send-btn:hover:not(:disabled) { opacity:.88; transform:translateY(-2px); }
.tl-send-btn:disabled { opacity:.5; cursor:not-allowed; }

.ts-privacy { font-size:.72rem; color:var(--muted); display:flex; align-items:center; }

/* Today's saved log */
.tl-today-saved {
  background:var(--white); border-radius:18px; box-shadow:var(--sh-3d); padding:1.25rem;
}
.tts-head    { display:flex; align-items:center; justify-content:space-between; margin-bottom:.75rem; }
.tts-title   { font-weight:700; font-size:.9rem; color:var(--text); }
.tts-badge   { font-size:.72rem; font-weight:700; background:var(--accent-bg); color:var(--accent); padding:.2rem .55rem; border-radius:99px; }

/* Card layout for today's entries */
.tts-cards   { display:flex; flex-direction:column; gap:.6rem; }
.tts-card    { border:1px solid var(--line); border-radius:12px; background:var(--faint); overflow:hidden; transition:box-shadow .15s; }
.tts-card:hover { box-shadow:0 2px 12px rgba(0,0,0,.08); }
.tts-card-view  { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.7rem 1rem; }
.tts-card-left  { display:flex; align-items:center; gap:.65rem; flex:1; min-width:0; }
.tts-card-body  { display:flex; flex-direction:column; gap:.25rem; flex:1; min-width:0; }
.tts-card-meta  { display:flex; gap:.4rem; flex-wrap:wrap; align-items:center; }
.tts-card-right { display:flex; align-items:center; gap:.4rem; flex-shrink:0; }
.tts-dot     { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.tts-desc    { font-size:.875rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.tts-proj    { font-size:.7rem; background:var(--faint); color:var(--text-2); padding:.15rem .45rem; border-radius:99px; white-space:nowrap; border:1px solid var(--line); }
.tts-cat-pill { font-size:.7rem; font-weight:600; padding:.15rem .45rem; border-radius:99px; white-space:nowrap; }
.tts-hrs     { font-size:.85rem; font-weight:700; color:var(--accent); white-space:nowrap; }
.tts-edit-btn { background:none; border:none; cursor:pointer; font-size:.85rem; padding:.15rem .3rem; border-radius:6px; color:var(--muted); transition:all .12s; }
.tts-edit-btn:hover { background:var(--accent-bg); }
.tts-del-form { margin:0; }
.tts-del-btn  { background:none; border:none; color:var(--muted); cursor:pointer; font-size:.95rem; padding:.1rem .3rem; border-radius:4px; transition:all .12s; }
.tts-del-btn:hover { color:#ef4444; background:rgba(239,68,68,.1); }

/* Inline edit form */
.tts-card-edit  { padding:.75rem 1rem; background:var(--white); border-top:1px solid var(--line); display:flex; flex-direction:column; gap:.5rem; }
.tce-row        { display:flex; gap:.5rem; }
.tce-inp        { flex:1; background:var(--faint); border:1px solid var(--line); border-radius:8px; padding:.45rem .7rem; font-size:.85rem; font-family:inherit; color:var(--text); outline:none; transition:border-color .15s; }
.tce-inp:focus  { border-color:var(--accent); }
.tce-hrs        { max-width:80px; flex:none; }
.tce-cat        { max-width:150px; flex:none; }
.tce-actions    { display:flex; gap:.5rem; }
.tce-save-btn   { background:var(--accent); color:white; border:none; border-radius:8px; padding:.45rem 1rem; font-size:.82rem; font-weight:700; cursor:pointer; font-family:inherit; transition:opacity .12s; }
.tce-save-btn:hover { opacity:.88; }
.tce-cancel-btn { background:var(--faint); color:var(--text-2); border:1px solid var(--line); border-radius:8px; padding:.45rem 1rem; font-size:.82rem; font-weight:600; cursor:pointer; font-family:inherit; transition:background .12s; }
.tce-cancel-btn:hover { background:var(--line); }

/* legacy list items kept for compat */
.tts-list    { display:flex; flex-direction:column; gap:0; }
.tts-item    { display:flex; align-items:center; gap:.6rem; padding:.55rem 0; border-bottom:1px solid var(--line); }
.tts-item:last-child { border-bottom:none; padding-bottom:0; }
.tts-item:first-child { padding-top:0; }

/* ── Right sidebar ── */
.tl-sidebar { display:flex; flex-direction:column; gap:1rem; }

.tl-card {
  background:var(--white); border-radius:18px; box-shadow:var(--sh-3d);
  padding:1.25rem; transition:box-shadow .2s;
}
.tl-card:hover { box-shadow:var(--sh-3d-hover); }

/* AI Insight card */
.ai-insight-card { background:linear-gradient(135deg,#f5f3ff,#ede9fe); border:1px solid rgba(99,102,241,.15); }
.ai-insight-text { font-size:.875rem; color:#4c1d95; line-height:1.7; margin:0; }

/* Share CTA card */
.share-cta-card { background:linear-gradient(135deg,#080818,#1e1b4b); border:none; }
.share-cta-inner { display:flex; align-items:center; gap:.75rem; margin-bottom:.85rem; }
.share-cta-icon  { font-size:1.4rem; color:#a78bfa; }
.share-cta-title { font-size:.9rem; font-weight:700; color:white; margin-bottom:.15rem; }
.share-cta-sub   { font-size:.75rem; color:rgba(255,255,255,.5); }
.share-cta-btn   {
  width:100%; padding:.65rem; border-radius:10px; border:none; cursor:pointer;
  background:linear-gradient(135deg,#6366f1,#8b5cf6); color:white;
  font-size:.82rem; font-weight:700; font-family:var(--font); transition:opacity .15s;
}
.share-cta-btn:hover { opacity:.88; }

/* Share Modal overlay */
.sm-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:1000;
  display:flex; align-items:center; justify-content:center; padding:20px;
  backdrop-filter:blur(6px);
}
.sm-overlay.hidden { display:none; }
.sm-panel {
  background:var(--white); border-radius:22px; width:100%; max-width:500px;
  max-height:90vh; overflow-y:auto; box-shadow:0 24px 80px rgba(0,0,0,.25);
  padding:1.5rem;
}
.sm-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; }
.sm-title  { font-size:1rem; font-weight:800; color:var(--text); }
.sm-close  { background:none; border:none; font-size:1.1rem; cursor:pointer; color:var(--muted); padding:.2rem .4rem; border-radius:6px; transition:background .12s; }
.sm-close:hover { background:var(--faint); }

/* The shareable card */
.sm-card-wrap { display:flex; justify-content:center; margin-bottom:1.25rem; }
.sc-card {
  width:340px; border-radius:18px; padding:1.75rem;
  background:linear-gradient(135deg,#0f0e2a 0%,#1e1b4b 50%,#2d1b69 100%);
  color:white; font-family:'Inter',sans-serif; position:relative; overflow:hidden;
}
.sc-card::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle,rgba(99,102,241,.4) 0%,transparent 70%);
}
.sc-top    { display:flex; justify-content:space-between; align-items:center; margin-bottom:1.25rem; }
.sc-logo   { font-size:.95rem; font-weight:800; letter-spacing:-.3px; color:white; }
.sc-logo span { color:#a78bfa; }
.sc-week   { font-size:.7rem; color:rgba(255,255,255,.5); }
.sc-name   { font-size:1.1rem; font-weight:700; color:white; margin-bottom:1.25rem; }
.sc-stats  { display:flex; align-items:center; gap:.5rem; margin-bottom:1.25rem; background:rgba(255,255,255,.07); border-radius:12px; padding:.9rem; }
.sc-stat   { flex:1; text-align:center; }
.sc-num    { display:block; font-size:1.1rem; font-weight:800; color:white; }
.sc-lbl    { display:block; font-size:.65rem; color:rgba(255,255,255,.5); margin-top:.15rem; }
.sc-div    { width:1px; align-self:stretch; background:rgba(255,255,255,.12); }
.sc-prog-wrap { margin-bottom:1rem; }
.sc-prog-bar  { height:6px; background:rgba(255,255,255,.12); border-radius:99px; margin-bottom:.4rem; overflow:hidden; }
.sc-prog-fill { height:100%; background:linear-gradient(90deg,#6366f1,#a78bfa); border-radius:99px; transition:width .3s; }
.sc-prog-lbl  { font-size:.7rem; color:rgba(255,255,255,.5); }
.sc-top-proj  { display:flex; align-items:center; gap:.4rem; font-size:.78rem; color:rgba(255,255,255,.7); margin-bottom:.75rem; background:rgba(255,255,255,.06); padding:.5rem .75rem; border-radius:8px; }
.sc-proj-dot  { width:7px; height:7px; border-radius:50%; background:#a78bfa; flex-shrink:0; }
.sc-proj-hrs  { margin-left:auto; font-weight:600; color:white; }
.sc-msg    { font-size:.8rem; color:rgba(255,255,255,.6); font-style:italic; margin-bottom:1rem; }
.sc-footer { font-size:.65rem; color:rgba(255,255,255,.3); }

/* Share action buttons */
.sm-actions { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; margin-bottom:1rem; }
.sm-btn {
  display:flex; align-items:center; justify-content:center; gap:.45rem;
  padding:.6rem .75rem; border-radius:10px; border:none; cursor:pointer;
  font-size:.82rem; font-weight:600; font-family:var(--font); transition:opacity .15s;
}
.sm-btn:hover { opacity:.85; }
.sm-li  { background:#0077b5; color:white; }
.sm-fb  { background:#1877f2; color:white; }
.sm-tw  { background:#000; color:white; }
.sm-ig  { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:white; grid-column:1/-1; }

/* LinkedIn copy box */
.sm-copy-box   { border-top:1px solid var(--line); padding-top:1rem; }
.sm-copy-label { font-size:.8rem; color:var(--muted); margin-bottom:.5rem; }
.sm-copy-ta    { width:100%; height:140px; font-size:.78rem; line-height:1.6; border:1.5px solid var(--line); border-radius:10px; padding:.6rem .75rem; font-family:var(--font); resize:none; color:var(--text); background:var(--faint); }
.sm-copy-btn   { margin-top:.5rem; padding:.5rem 1rem; background:var(--accent); color:white; border:none; border-radius:8px; font-size:.82rem; font-weight:700; cursor:pointer; font-family:var(--font); }
.sm-copied     { margin-left:.5rem; font-size:.8rem; color:#059669; font-weight:600; }
.sm-copied.hidden { display:none; }

.tlc-head   { display:flex; align-items:center; justify-content:space-between; margin-bottom:.875rem; }
.tlc-title  { font-weight:700; font-size:.9rem; color:var(--text); }
.tlc-action { font-size:1.1rem; cursor:pointer; text-decoration:none; line-height:1; }
.tlc-goal   { font-size:.72rem; background:var(--faint); color:var(--muted); padding:.2rem .5rem; border-radius:99px; }

/* Week day table */
.week-days  { display:flex; flex-direction:column; gap:.35rem; margin-bottom:.75rem; }
.wd-row     { display:flex; align-items:center; gap:.5rem; padding:.25rem 0; border-radius:6px; }
.wd-today   { background:var(--accent-bg); padding:.25rem .5rem; margin:0 -.5rem; }
.wd-future  { opacity:.4; }
.wd-name    { font-size:.78rem; font-weight:600; color:var(--text-2); width:28px; flex-shrink:0; }
.wd-today .wd-name { color:var(--accent); }
.wd-bar-track { flex:1; height:6px; background:var(--line); border-radius:99px; overflow:hidden; }
.wd-bar       { height:100%; background:linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius:99px; transition:width .5s ease; }
.wd-today .wd-bar { background:var(--accent); }
.wd-hours    { font-size:.75rem; font-weight:600; color:var(--text-2); min-width:44px; text-align:right; }
.wd-today .wd-hours { color:var(--accent); font-weight:700; }
.week-total-row { display:flex; justify-content:space-between; align-items:center; padding-top:.5rem; border-top:1px solid var(--line); }
.wtr-lbl    { font-size:.78rem; color:var(--muted); }
.wtr-hrs    { font-size:.9rem; font-weight:800; color:var(--text); }

/* Progress ring */
.prog-ring-wrap { position:relative; display:flex; justify-content:center; align-items:center; margin:.25rem 0; }
.prog-svg       { display:block; overflow:visible; }
.prog-inner     { position:absolute; text-align:center; }
.prog-pct       { font-size:1.6rem; font-weight:800; color:var(--text); line-height:1; }
.prog-sym       { font-size:1rem; }
.prog-hrs       { font-size:.82rem; font-weight:600; color:var(--text-2); margin-top:.1rem; }
.prog-goal-lbl  { font-size:.72rem; color:var(--muted); }
.prog-msg       { font-size:.8rem; color:var(--text-2); text-align:center; margin-top:.5rem; font-weight:500; }

/* Export buttons */
.exp-row { display:flex; gap:.5rem; }
.exp-btn {
  flex:1; display:flex; align-items:center; justify-content:center; gap:.3rem;
  padding:.55rem .5rem; border-radius:9px; font-size:.8rem; font-weight:600;
  text-align:center; text-decoration:none; transition:all .15s; box-sizing:border-box;
}
.exp-csv  { background:#d1fae5; color:#065f46; }
.exp-view { background:#dbeafe; color:#1d4ed8; }
.exp-xl   { background:#fef3c7; color:#b45309; }
.exp-btn:hover { filter:brightness(.92); transform:translateY(-1px); }

/* Quick stats */
.qs-row  { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.qs-stat { text-align:center; flex:1; }
.qs-num  { display:block; font-size:1.15rem; font-weight:800; color:var(--text); }
.qs-lbl  { font-size:.68rem; color:var(--muted); margin-top:.1rem; }
.qs-div  { width:1px; height:28px; background:var(--line); flex-shrink:0; }

/* ─── GROWTH PAGE ─────────────────────────────────────────────────────────── */

/* Header */
.gp-head {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:1.5rem; margin-bottom:1.5rem;
  padding:2rem 2.5rem;
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius:20px;
  box-shadow:0 4px 24px rgba(99,102,241,.35), 0 1px 4px rgba(0,0,0,.08);
}
.gp-eyebrow {
  font-size:.75rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  color:rgba(255,255,255,.75); margin-bottom:.4rem;
}
.gp-h1 { font-size:1.9rem; font-weight:800; color:#fff; margin:0 0 .3rem; line-height:1.15; }
.gp-sub { font-size:.9rem; color:rgba(255,255,255,.75); margin:0; }
.gp-stats-row { display:flex; align-items:center; gap:2rem; flex-shrink:0; }
.gp-stat { text-align:center; }
.gs-num { display:block; font-size:2.1rem; font-weight:800; color:#fff; line-height:1; }
.gs-of  { font-size:1.1rem; opacity:.6; }
.gs-lbl { display:block; font-size:.68rem; font-weight:700; text-transform:uppercase;
          letter-spacing:.07em; color:rgba(255,255,255,.65); margin-top:.25rem; }
.gp-stat-div { width:1px; height:44px; background:rgba(255,255,255,.2); flex-shrink:0; }

/* Bento grid */
.gp-bento {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:auto auto;
  gap:1.25rem;
  align-items:start;
}
.gp-col-xp    { grid-column:1; grid-row:1 / 3; }
.gp-col-ach   { grid-column:2; grid-row:1; }
.gp-col-learn { grid-column:2; grid-row:2; }

/* Section cards */
.gp-col {
  background:var(--white); border-radius:18px;
  box-shadow:var(--sh-3d);
  padding:1.5rem; display:flex; flex-direction:column; gap:.875rem;
  transition:box-shadow .22s;
}
.gp-col:hover { box-shadow:var(--sh-3d-hover); }

/* Section header */
.gp-sec-head { display:flex; align-items:center; gap:.5rem; }
.gp-sec-ico  { font-size:1.15rem; }
.gp-sec-title { font-weight:700; font-size:1.05rem; color:var(--text); flex:1; }
.gp-count-pill {
  font-size:.72rem; font-weight:700; background:var(--accent-bg);
  color:var(--accent); padding:.2rem .55rem; border-radius:99px;
}

/* ── Experience timeline ─ */
.gp-xp-list { display:flex; flex-direction:column; gap:0; }
.gp-xp-item {
  display:flex; align-items:flex-start; gap:.75rem;
  padding:.875rem 0; border-bottom:1px solid var(--line); position:relative;
}
.gp-xp-item:last-child { border-bottom:none; padding-bottom:0; }
.gp-xp-item:first-child { padding-top:0; }
.gp-xp-dot {
  width:10px; height:10px; border-radius:50%; background:var(--line);
  flex-shrink:0; margin-top:.35rem;
  border:2px solid var(--muted);
}
.xp-current .gp-xp-dot {
  background:var(--accent);
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(99,102,241,.18);
}
.gp-xp-content { flex:1; min-width:0; }
.gp-xp-role { font-weight:700; font-size:.95rem; color:var(--text); margin-bottom:.15rem; }
.gp-xp-co   { font-size:.85rem; color:var(--text-2); display:flex; align-items:center; flex-wrap:wrap; gap:.3rem; }
.gp-xp-loc  { color:var(--muted); }
.gp-xp-dur  { font-size:.75rem; color:var(--muted); margin-top:.25rem; }
.gp-cur-badge {
  background:rgba(99,102,241,.1); color:var(--accent);
  padding:.1rem .45rem; border-radius:99px; font-size:.68rem; font-weight:700;
}

/* ── Achievements ─ */
.gp-ach-list { display:flex; flex-direction:column; gap:.5rem; }
.gp-ach-item {
  display:flex; align-items:center; gap:.65rem;
  padding:.65rem .75rem; border-radius:10px;
  background:var(--faint); transition:background .15s;
}
.gp-ach-item.ach-cert     { background:rgba(99,102,241,.09); }
.gp-ach-item.ach-award    { background:rgba(245,158,11,.09); }
.gp-ach-item.ach-work     { background:rgba(16,185,129,.09); }
.gp-ach-item.ach-personal { background:rgba(139,92,246,.09); }
.gp-ach-ico   { font-size:1.1rem; flex-shrink:0; }
.gp-ach-info  { flex:1; min-width:0; }
.gp-ach-title { font-weight:600; font-size:.88rem; color:var(--text);
                white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gp-ach-meta  { font-size:.72rem; color:var(--muted); margin-top:.1rem; }

/* ── Learning list ─ */
.gp-learn-list { display:flex; flex-direction:column; gap:0; }
.gp-learn-item {
  display:flex; align-items:center; gap:.6rem;
  padding:.7rem 0; border-bottom:1px solid var(--line);
}
.gp-learn-item:last-child { border-bottom:none; padding-bottom:0; }
.gp-learn-item:first-child { padding-top:0; }
.gp-learn-ico   { font-size:.95rem; flex-shrink:0; }
.gp-learn-info  { flex:1; min-width:0; }
.gp-learn-title { font-weight:600; font-size:.88rem; color:var(--text);
                  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gp-learn-meta  { font-size:.72rem; color:var(--muted); margin-top:.1rem;
                  display:flex; align-items:center; gap:.3rem; }
.ls-completed .gp-learn-title { text-decoration:line-through; opacity:.5; }
.gp-learn-src { color:var(--muted); }
.ls-dot { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.ls-dot.ls-in-progress { background:var(--accent); }
.ls-dot.ls-completed   { background:#10b981; }
.ls-dot.ls-want        { background:#f59e0b; }

/* ── Shared action buttons ─ */
.gp-del-form { margin:0; flex-shrink:0; }
.gp-del-btn {
  background:none; border:none; color:var(--muted); cursor:pointer;
  font-size:1rem; padding:.15rem .35rem; border-radius:6px; line-height:1;
  transition:all .12s;
}
.gp-del-btn:hover { color:#ef4444; background:rgba(239,68,68,.1); }
.gp-done-btn {
  background:none; border:none; color:var(--muted); cursor:pointer;
  font-size:.85rem; padding:.15rem .35rem; border-radius:6px; line-height:1;
  transition:all .12s;
}
.gp-done-btn:hover { color:#10b981; background:rgba(16,185,129,.1); }

/* ── Add button ─ */
.gp-add-btn {
  width:100%; padding:.65rem; margin-top:.25rem;
  border:1.5px dashed var(--line); border-radius:10px; background:none;
  color:var(--accent); font-size:.85rem; font-weight:600;
  cursor:pointer; transition:all .15s;
}
.gp-add-btn:hover { background:var(--faint); border-color:var(--accent); }

/* ── Inline add form ─ */
.gp-add-form {
  background:var(--faint); border-radius:12px; padding:1rem; margin-top:.25rem;
  border:1px solid var(--line);
}
.gp-lbl  { font-size:.72rem; font-weight:600; color:var(--muted); display:block; margin-bottom:.25rem; }
.gp-inp  {
  width:100%; padding:.55rem .75rem; border:1.5px solid var(--line); border-radius:8px;
  font-family:var(--font); font-size:.875rem; background:var(--white); color:var(--text);
  box-sizing:border-box; margin-bottom:.6rem; transition:border-color .15s;
}
.gp-inp:focus   { outline:none; border-color:var(--accent); }
.gp-inp:disabled { opacity:.45; cursor:not-allowed; }
.gp-ta   { resize:vertical; }
.gp-row2 { display:grid; grid-template-columns:1fr 1fr; gap:.6rem; }
.gp-check {
  font-size:.84rem; color:var(--text-2); display:flex; align-items:center;
  gap:.4rem; cursor:pointer; margin-bottom:.6rem;
}
/* Category emoji pill selectors */
.gp-cat-pills { display:flex; gap:.4rem; flex-wrap:wrap; margin:.4rem 0; }
.gp-cat-pill  {
  display:inline-flex; align-items:center; gap:.3rem; padding:.35rem .75rem;
  border:1.5px solid var(--line); border-radius:99px; font-size:.8rem; font-weight:600;
  color:var(--text-2); cursor:pointer; transition:all .15s; user-select:none;
}
.gp-cat-pill input[type=radio] { display:none; }
.gp-cat-pill:has(input:checked) { border-color:var(--accent); background:var(--accent-bg); color:var(--accent); }
.gp-cat-pill:hover { border-color:var(--accent); }

.lfield-hint { font-size:.72rem; color:var(--muted); margin-top:.25rem; display:block; }

.gp-form-foot { display:flex; gap:.5rem; justify-content:flex-end; margin-top:.25rem; }
.gp-save-btn {
  padding:.5rem 1.1rem; background:var(--accent); color:#fff;
  border:none; border-radius:8px; font-weight:600; font-size:.85rem; cursor:pointer;
  transition:background .15s;
}
.gp-save-btn:hover { background:var(--accent-2); }
.gp-cancel-btn {
  padding:.5rem 1rem; background:none; border:1.5px solid var(--line);
  border-radius:8px; font-size:.85rem; color:var(--text-2); cursor:pointer;
  transition:border-color .15s;
}
.gp-cancel-btn:hover { border-color:var(--muted); }

/* ── Empty state ─ */
.gp-empty {
  color:var(--muted); font-size:.85rem; text-align:center;
  padding:1.25rem 0; line-height:1.6;
}

/* ── Chat Log Input (clog-*) ──────────────────────────────────────────────── */
.clog-box { background:var(--white); border:1px solid var(--line); border-radius:14px; overflow:hidden; margin-bottom:20px; }
.clog-head { display:flex; align-items:center; gap:10px; padding:14px 18px; border-bottom:1px solid var(--line); background:var(--surface); }
.clog-head-av { width:32px; height:32px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; flex-shrink:0; }
.clog-head-name { font-size:13px; font-weight:700; color:var(--text); }
.clog-head-dot { font-size:8px; color:#22c55e; margin:0 4px; }
.clog-head-sub { font-size:11px; color:var(--muted); }

.clog-feed { display:flex; flex-direction:column; gap:8px; padding:16px 18px; max-height:320px; overflow-y:auto; }

.cmsg { display:flex; align-items:flex-start; gap:8px; animation:cmsgIn .3s ease both; }
.cbot { flex-direction:row; }
.cuser { flex-direction:row-reverse; }

.cmsg-av { width:28px; height:28px; flex-shrink:0; background:linear-gradient(135deg,var(--accent),var(--accent-2)); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px; }
.cmsg-bub { background:var(--surface); border:1px solid var(--line); border-radius:4px 12px 12px 12px; padding:10px 14px; font-size:13px; color:var(--text); line-height:1.55; max-width:320px; }
.cmsg-bub small { display:block; font-size:11px; color:var(--muted); margin-top:4px; }
.cmsg-user-bub { background:var(--accent); color:#fff; border-radius:12px 4px 12px 12px; padding:10px 14px; font-size:13px; max-width:280px; word-break:break-word; }
.cmsg-bub-err { background:#fef2f2 !important; border-color:#fecaca !important; color:#dc2626 !important; }

.cmsg-typing { display:flex; gap:5px; align-items:center; padding:12px 16px !important; }
.cmsg-typing span { width:6px; height:6px; background:var(--muted); border-radius:50%; animation:typeDot 1.2s infinite; }
.cmsg-typing span:nth-child(2) { animation-delay:.2s; }
.cmsg-typing span:nth-child(3) { animation-delay:.4s; }
@keyframes typeDot { 0%,60%,100%{transform:translateY(0);opacity:.5} 30%{transform:translateY(-5px);opacity:1} }

.cmsg-entries { margin-top:8px; display:flex; flex-direction:column; gap:3px; }
.cmsg-entry-row { display:flex; align-items:center; gap:6px; font-size:12px; padding:4px 0; border-top:1px solid var(--line); }
.cmsg-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.cmsg-desc { flex:1; color:var(--text); }
.cmsg-proj { color:var(--muted); font-size:11px; background:#f0f0f5; padding:1px 6px; border-radius:99px; white-space:nowrap; }
.cmsg-hrs { font-weight:700; color:var(--text); white-space:nowrap; }
.cmsg-total { margin-top:6px; font-size:12px; color:var(--muted); border-top:1px solid var(--line); padding-top:6px; }

.clog-chips { display:flex; gap:6px; flex-wrap:wrap; padding:10px 18px; border-top:1px solid var(--line); background:var(--surface); }
.clog-chip { background:var(--white); border:1px solid var(--line); border-radius:99px; padding:5px 12px; font-size:12px; font-family:var(--font); color:var(--text); cursor:pointer; transition:all .15s; white-space:nowrap; }
.clog-chip:hover { border-color:var(--accent); color:var(--accent); background:rgba(99,102,241,.04); }

.clog-bar { display:flex; align-items:flex-end; gap:8px; padding:12px 18px 14px; border-top:1px solid var(--line); }
.clog-ta { flex:1; background:var(--surface); border:1.5px solid var(--line); border-radius:10px; padding:10px 14px; font-size:13.5px; font-family:var(--font); color:var(--text); resize:none; outline:none; line-height:1.5; transition:border-color .2s; max-height:120px; overflow-y:auto; }
.clog-ta:focus { border-color:var(--accent); }
.clog-ta::placeholder { color:var(--muted); }
.clog-send { width:40px; height:40px; flex-shrink:0; background:var(--accent); color:#fff; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .2s; }
.clog-send:hover { background:var(--accent-2); transform:scale(1.05); }
.clog-send:disabled { opacity:.4; cursor:default; transform:none; }

@keyframes cmsgIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

/* ── Chat Log v2 overrides (more polished) ───────────────────────────────── */
.clog-box { border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.clog-head { background: linear-gradient(135deg, rgba(99,102,241,.07), rgba(168,85,247,.05)); border-bottom: 1px solid rgba(99,102,241,.12); }
.clog-head-av { border-radius: 10px; box-shadow: 0 3px 10px rgba(99,102,241,.35); }
.clog-head-name { font-size: 13.5px; }
.clog-head-dot { animation: pulseGreen 2s ease-in-out infinite; }
@keyframes pulseGreen { 0%,100%{opacity:1} 50%{opacity:.4} }
.clog-feed { max-height: 380px; scroll-behavior: smooth; }

/* Better bot bubble — indigo tint like ChatGPT */
.cmsg-bub { background: rgba(99,102,241,.06); border: 1px solid rgba(99,102,241,.13); max-width: 340px; font-size: 13.5px; }
/* Better bot avatar — square not circle */
.cmsg-av { border-radius: 9px; box-shadow: 0 2px 8px rgba(99,102,241,.3); }
/* Better user bubble */
.cmsg-user-bub { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 4px 14px rgba(99,102,241,.35); font-size: 13.5px; }

/* ChatGPT-style input bar */
.clog-bar { background: var(--white); padding: 12px 18px 16px; }
.clog-ta-wrap { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.clog-ta-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.clog-ta { border: none; border-radius: 14px; padding: 12px 50px 12px 16px; background: transparent; width: 100%; font-size: 14px; }
.clog-ta:focus { box-shadow: none; border-color: transparent; }
.clog-send { position: absolute; right: 9px; bottom: 9px; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); flex-shrink: 0; }
.clog-send:hover { background: var(--accent-2); }
.clog-send:disabled { opacity: .3; }

/* Better chips */
.clog-chip { font-size: 12px; font-weight: 500; transition: all .15s; }
.clog-chip:hover { background: rgba(99,102,241,.06); color: var(--accent); border-color: rgba(99,102,241,.4); transform: translateY(-1px); }

/* Teams integration card */
.teams-badge { display:inline-flex; align-items:center; gap:5px; background:#f0f4ff; border:1px solid #d8e0ff; border-radius:8px; padding:3px 10px 3px 7px; font-size:11.5px; color:#5b6fcf; font-weight:600; text-decoration:none; white-space:nowrap; }
.teams-badge:hover { background:#e6eeff; }
.teams-badge svg { flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════════════════════
   WORKLOG BOT — Full-screen ChatGPT-style interface
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Body override (applied via JS class) ─────────────────────────────────── */
body.wb-page { overflow: hidden; }
body.wb-page .main-wrap {
  max-width: none !important; margin: 0 !important; padding: 0 !important;
  height: calc(100dvh - 54px); overflow: hidden;
}
body.wb-page .app-footer { display: none !important; }

/* ── App shell ────────────────────────────────────────────────────────────── */
.wb-app { display: flex; height: 100%; background: var(--bg); }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.wb-sidebar {
  width: 260px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 10px 20px;
  overflow-y: auto; overflow-x: hidden;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.wb-sidebar::-webkit-scrollbar { width: 3px; }
.wb-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* sidebar bot card */
.wb-sb-bot {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.05));
  border: 1px solid rgba(99,102,241,.12);
}
.wb-sb-av {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(99,102,241,.38);
}
.wb-sb-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.wb-sb-status { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.wb-online { width: 6px; height: 6px; border-radius: 50%; background: #10b981; flex-shrink: 0; animation: wbOnlinePulse 2.5s ease-in-out infinite; }
@keyframes wbOnlinePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.75)} }

/* sidebar card */
.wb-sc { border-radius: 10px; border: 1px solid var(--line); padding: 11px 12px 10px; background: var(--white); }
.wb-sc-title { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }

/* quick stats grid */
.wb-qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.wb-qs-item { text-align: center; padding: 8px 4px; background: var(--bg); border-radius: 8px; }
.wb-qs-num { display: block; font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.2; }
.wb-qs-lbl { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }

/* week ring */
.wb-week-ring { position: relative; display: inline-flex; }
.wb-ring-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.wb-ring-pct { font-size: 13px; font-weight: 800; color: var(--accent); }

/* today entries list in sidebar */
.wb-today-list { display: flex; flex-direction: column; gap: 3px; max-height: 190px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.wb-tl-item { font-size: 12px; border-radius: 6px; overflow: hidden; }
.wb-tl-view { display: flex; align-items: center; gap: 5px; padding: 5px 4px; border-radius: 6px; transition: background .12s; }
.wb-tl-view:hover { background: var(--bg); }
.wb-tl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.wb-tl-desc { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.wb-tl-hrs { font-size: 11px; font-weight: 700; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.wb-tl-edit { background: none; border: none; cursor: pointer; font-size: 11px; color: transparent; padding: 1px 2px; border-radius: 3px; transition: all .1s; flex-shrink: 0; line-height: 1; }
.wb-tl-view:hover .wb-tl-edit { color: var(--muted); }
.wb-tl-edit:hover { color: var(--accent) !important; }
.wb-tl-del { background: none; border: none; cursor: pointer; font-size: 14px; color: transparent; padding: 0 2px; border-radius: 3px; transition: all .1s; flex-shrink: 0; line-height: 1; font-family: var(--font); }
.wb-tl-view:hover .wb-tl-del { color: var(--muted); }
.wb-tl-del:hover { color: var(--red) !important; }
.wb-tl-del-form { display: inline; margin: 0; padding: 0; }
.wb-tl-editf { padding: 6px 4px; }
.wb-tl-inp { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; font-size: 11px; font-family: var(--font); color: var(--text); outline: none; margin-bottom: 4px; box-sizing: border-box; }
.wb-tl-inp:focus { border-color: var(--accent); }
select.wb-tl-inp { padding: 3px 5px; }
.wb-tl-editrow { display: grid; grid-template-columns: 58px 1fr; gap: 4px; margin-bottom: 4px; }
.wb-tl-editbtns { display: flex; gap: 4px; }
.wb-tl-save { background: var(--accent); color: white; border: none; border-radius: 5px; padding: 4px 10px; font-size: 11px; font-family: var(--font); cursor: pointer; transition: background .12s; }
.wb-tl-save:hover { background: var(--accent-2); }
.wb-tl-cancel { background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 4px 10px; font-size: 11px; font-family: var(--font); cursor: pointer; }

/* quick actions */
.wb-qa-list { display: flex; flex-direction: column; gap: 2px; }
.wb-qa-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 7px;
  background: none; border: none; font-family: var(--font); font-size: 12.5px;
  color: var(--text-2); cursor: pointer; text-decoration: none; width: 100%; text-align: left;
  transition: all .12s;
}
.wb-qa-btn:hover { background: var(--accent-bg); color: var(--accent); }
.wb-qa-btn span { width: 20px; text-align: center; flex-shrink: 0; }
.wb-insight-text { font-size: 12px; color: var(--text-2); line-height: 1.65; }

/* ── Main chat ─────────────────────────────────────────────────────────────── */
.wb-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }

/* mobile topbar */
.wb-mobile-bar {
  display: none; align-items: center; justify-content: space-between;
  padding: 9px 14px; background: var(--white);
  border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.wb-sidebar-toggle {
  width: 34px; height: 34px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer; flex-shrink: 0;
}
.wb-mobile-title { font-size: 14px; font-weight: 700; color: var(--text); }
.wb-share-mini {
  width: 34px; height: 34px; background: var(--accent-bg); border: none;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); cursor: pointer; flex-shrink: 0;
}

/* feed */
.wb-feed {
  flex: 1; overflow-y: auto; padding: 24px 24px 12px;
  display: flex; flex-direction: column; gap: 18px;
  scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.wb-feed::-webkit-scrollbar { width: 4px; }
.wb-feed::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* messages */
.wb-msg { display: flex; gap: 10px; animation: wbMsgIn .35s cubic-bezier(.16,1,.3,1) both; }
@keyframes wbMsgIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.wb-msg-bot { align-self: flex-start; max-width: min(720px, 100%); }
.wb-msg-user { align-self: flex-end; flex-direction: row-reverse; max-width: min(520px, 84%); }

/* avatar */
.wb-av {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(99,102,241,.32);
}

/* bubbles */
.wb-bub { padding: 13px 16px; line-height: 1.65; font-size: 14px; border-radius: 18px; }
.wb-bub-bot {
  background: var(--white); border: 1px solid var(--line);
  border-bottom-left-radius: 4px; color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 14px rgba(99,102,241,.07);
}
.wb-bub-user {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; border-bottom-right-radius: 4px;
  box-shadow: 0 4px 18px rgba(99,102,241,.38);
}

/* typing indicator */
.wb-typing { display: flex !important; gap: 5px; align-items: center; padding: 14px 18px !important; }
.wb-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: wbDot 1.3s ease infinite;
}
.wb-typing span:nth-child(2) { animation-delay: .22s; }
.wb-typing span:nth-child(3) { animation-delay: .44s; }
@keyframes wbDot { 0%,80%,100%{transform:scale(.65);opacity:.4} 40%{transform:scale(1);opacity:1} }

/* entries inside bot bubble */
.wb-entries { margin-top: 10px; display: flex; flex-direction: column; gap: 1px; }
.wb-entry-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid rgba(99,102,241,.07);
}
.wb-entry-row:last-child { border-bottom: none; }
.wb-entry-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.wb-entry-desc { flex: 1; font-size: 13px; color: var(--text); min-width: 0; }
.wb-entry-proj {
  font-size: 10.5px; color: var(--muted);
  background: var(--surface); padding: 2px 7px; border-radius: 99px;
  white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0;
}
.wb-entry-hrs { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.wb-log-total { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* chips row */
.wb-chips {
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto;
  padding: 8px 16px; border-top: 1px solid var(--line);
  background: var(--white); flex-shrink: 0;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.wb-chips::-webkit-scrollbar { display: none; }
.wb-chip {
  padding: 5px 13px; border-radius: 99px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--font); font-size: 12px; font-weight: 500;
  color: var(--text-2); cursor: pointer; flex-shrink: 0;
  transition: all .13s;
}
.wb-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); transform: translateY(-1px); }
.wb-chip:active { transform: scale(.96); }

/* input bar */
.wb-bar {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 16px;
  padding-bottom: max(12px, calc(10px + env(safe-area-inset-bottom)));
  background: var(--white); border-top: 1px solid var(--line); flex-shrink: 0;
}
.wb-ta-wrap {
  flex: 1; position: relative;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 14px; transition: border-color .2s, box-shadow .2s, background .15s;
}
.wb-ta-wrap:focus-within {
  border-color: var(--accent); background: var(--white);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.wb-ta {
  width: 100%; background: transparent; border: none; outline: none;
  padding: 11px 46px 11px 15px;
  font-family: var(--font); font-size: 14px; color: var(--text); line-height: 1.5;
  resize: none; overflow-y: hidden; max-height: 120px; min-height: 44px; display: block;
}
.wb-ta::placeholder { color: var(--muted); }
.wb-ta-send {
  position: absolute; right: 8px; bottom: 8px;
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
.wb-ta-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(99,102,241,.4); }
.wb-ta-send:disabled { opacity: .3; cursor: default; transform: none; box-shadow: none; }
.wb-mic {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.wb-mic:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-bg); }
.wb-mic.wbmic-on { background: #fef2f2; border-color: var(--red); color: var(--red); animation: wbMicPulse 1.2s ease-in-out infinite; }
@keyframes wbMicPulse { 0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.35)} 50%{box-shadow:0 0 0 8px rgba(239,68,68,0)} }

/* mobile overlay */
.wb-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.38); backdrop-filter: blur(2px);
}
.wb-overlay.open { display: block; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wb-sidebar {
    position: fixed; left: 0; top: 54px; bottom: 0; z-index: 210; width: 282px;
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
  }
  .wb-sidebar.open { transform: translateX(0); }
  .wb-mobile-bar { display: flex; }
  .wb-feed { padding: 16px 14px 10px; gap: 14px; }
  .wb-bar { padding: 8px 12px; padding-bottom: max(10px, calc(8px + env(safe-area-inset-bottom))); gap: 6px; }
  .wb-chips { padding: 7px 12px; }
  .wb-bub { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .wb-msg { animation: none; }
  .wb-online, .wb-mic, .wb-typing span { animation: none !important; }
}

/* ── Inline chat entry edit ── */
.wb-entry-edit {
  background: none; border: none; cursor: pointer; font-size: 13px;
  color: var(--muted); padding: 0 3px; flex-shrink: 0; line-height: 1;
  opacity: 0; transition: opacity .15s;
}
.wb-entry-row:hover .wb-entry-edit { opacity: 1; }
.wb-chat-editf {
  padding: 8px 2px 2px; display: flex; flex-direction: column; gap: 6px;
}

/* ── AI Fix toggle ── */
.wb-aifix {
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 10px; height: 36px; cursor: pointer; font-size: 12px; font-weight: 500;
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
  transition: all .15s; font-family: var(--font); display: flex; align-items: center; gap: 4px;
}
.wb-aifix:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.wb-aifix.on { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); font-weight: 600; }

/* ── Date chip picker ── */
.wb-date-inp {
  position: fixed; opacity: 0; pointer-events: none; width: 1px; height: 1px;
  top: 50%; left: 50%;
}

/* ── Standup copy / log refresh ── */
.wb-standup-copy {
  font-size: 12px; color: var(--accent); background: none;
  border: 1px solid var(--accent); border-radius: 6px; padding: 4px 12px;
  cursor: pointer; font-family: var(--font); margin-top: 4px; display: inline-block;
}
.wb-standup-copy:hover { background: var(--accent-bg); }
.wb-log-refresh {
  font-size: 12px; color: var(--accent); background: none; border: none;
  cursor: pointer; font-family: var(--font); padding: 0; text-decoration: underline; margin-left: 6px;
}

/* ── BMC button repositioned on chat page ── */
body.wb-page .bmc-float {
  bottom: auto; top: 62px; right: 14px;
  width: 36px; height: 36px; font-size: 16px;
  z-index: 100; opacity: 0.5;
}
body.wb-page .bmc-float:hover { opacity: 1; transform: scale(1.1) translateY(0); }

/* ════════════════════════════════════════════════════════════
   WorkLog Bot — Card Board
   ════════════════════════════════════════════════════════════ */

/* ── Status bar ── */
.wb-status-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px; height: 42px; flex-shrink: 0;
  border-bottom: 1px solid var(--line); background: var(--white);
  font-size: 13px; color: var(--muted); overflow: hidden;
}
.wb-status-icon { font-size: 15px; flex-shrink: 0; color: var(--accent); }
.wb-status-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-status-err  { color: var(--red) !important; }
.wb-status-dots { display: flex; gap: 3px; align-items: center; }
.wb-status-dots span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: wbDot 1.2s ease-in-out infinite;
}
.wb-status-dots span:nth-child(2) { animation-delay: .2s; }
.wb-status-dots span:nth-child(3) { animation-delay: .4s; }

/* ── Card board ── */
.wb-board {
  flex: 1; overflow-y: auto; padding: 18px 20px 16px;
  display: flex; flex-direction: column; gap: 22px; scroll-behavior: smooth;
}

/* ── Day group ── */
.wb-day-group { display: flex; flex-direction: column; gap: 10px; }
.wb-day-hdr {
  display: flex; align-items: center; gap: 10px;
  position: sticky; top: 0; z-index: 5;
  background: var(--bg); padding: 4px 2px; margin-bottom: -2px;
}
.wb-day-label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.wb-day-today .wb-day-label { color: var(--accent); }
.wb-day-total {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  background: var(--white); border: 1px solid var(--line);
  padding: 1px 9px; border-radius: 99px;
}
.wb-day-line { flex: 1; height: 1px; background: var(--line); }
.wb-day-cards {
  display: flex; flex-wrap: wrap; gap: 10px;
  min-height: 50px; padding: 2px 0; border-radius: 10px;
  transition: background .15s, outline .15s;
}
.wb-day-cards.wb-drag-over {
  background: var(--accent-bg); outline: 2px dashed var(--accent); outline-offset: 4px;
}
.wb-day-empty-msg { font-size: 12.5px; color: var(--muted); font-style: italic; padding: 4px; }

/* ── Single card ── */
.wbcard {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  width: 186px; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s; position: relative; overflow: hidden;
  cursor: default; user-select: none;
}
.wbcard:hover { box-shadow: 0 6px 22px rgba(0,0,0,.10); transform: translateY(-2px); }
.wbcard.wbcard-dragging { opacity: .4; transform: scale(.96) rotate(-1deg); }
.wbcard-stripe { height: 5px; flex-shrink: 0; }
.wbcard-body { flex: 1; padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 5px; }
.wbcard-desc {
  font-size: 12.5px; font-weight: 500; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.wbcard-meta { display: flex; align-items: center; gap: 5px; }
.wbcard-proj { flex: 1; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbcard-hrs  { font-size: 13px; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.wbcard-badge {
  display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 5px;
  color: white; margin-top: 1px; opacity: .88;
}
.wbcard-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 10px 8px; opacity: 0; transition: opacity .15s; gap: 4px;
}
.wbcard:hover .wbcard-foot { opacity: 1; }
.wbcard-drag { cursor: grab; font-size: 12px; color: var(--muted); padding: 2px 3px; }
.wbcard-drag:active { cursor: grabbing; }
.wbcard-btn {
  background: none; border: none; cursor: pointer; font-size: 13px;
  color: var(--muted); padding: 3px 6px; border-radius: 6px; line-height: 1;
  transition: background .1s, color .1s;
}
.wbcard-btn:hover { color: var(--text); background: var(--bg); }
.wbcard-btn.del:hover { color: var(--red); background: #fef2f2; }
.wbcard-actions { display: flex; gap: 2px; }

/* ── Card edit mode ── */
.wbcard-editf { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 7px; }
.wbcard-einp {
  width: 100%; font-size: 12px; padding: 5px 8px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 7px;
  background: var(--bg); color: var(--text); font-family: var(--font);
  resize: none; transition: border-color .15s;
}
.wbcard-einp:focus { outline: none; border-color: var(--accent); }
.wbcard-erow { display: flex; gap: 5px; }
.wbcard-ebtns { display: flex; gap: 6px; }
.wbcard-esave {
  flex: 1; padding: 6px; border-radius: 7px; border: none;
  background: var(--accent); color: white; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: var(--font);
}
.wbcard-ecancel {
  flex: 1; padding: 6px; border-radius: 7px;
  border: 1px solid var(--line); background: none; color: var(--muted);
  font-size: 12px; cursor: pointer; font-family: var(--font);
}

/* ── Board empty state ── */
.wb-board-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--muted); text-align: center; padding: 40px 24px;
}
.wb-board-empty-ico   { font-size: 44px; opacity: .45; }
.wb-board-empty-title { font-size: 16px; font-weight: 700; color: var(--text); }
.wb-board-empty-sub   { font-size: 13.5px; line-height: 1.55; max-width: 300px; }

/* ── Response modal (bottom-sheet) ── */
.wbmodal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.38); z-index: 400;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.wbmodal-overlay.open { opacity: 1; pointer-events: auto; }
.wbmodal-panel {
  background: var(--white); border-radius: 18px 18px 0 0;
  width: 100%; max-width: 620px; max-height: 78vh; overflow-y: auto;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateY(28px); transition: transform .26s cubic-bezier(.16,1,.3,1);
}
.wbmodal-overlay.open .wbmodal-panel { transform: translateY(0); }
.wbmodal-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.wbmodal-title { font-size: 15px; font-weight: 700; color: var(--text); }
.wbmodal-close {
  background: none; border: none; cursor: pointer; font-size: 16px;
  color: var(--muted); padding: 2px 8px; border-radius: 6px;
}
.wbmodal-close:hover { background: var(--bg); }
.wbmodal-body { padding: 16px 20px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ── Mobile card board ── */
@media (max-width: 768px) {
  .wbcard { width: calc(50% - 5px); min-width: 140px; }
  .wb-board { padding: 12px 14px; gap: 18px; }
  .wb-status-bar { padding: 0 14px; }
  /* Hide AI Fix text label on narrow screens, show just the icon */
  .wb-aifix { font-size: 0; width: 36px; height: 36px; padding: 0; border-radius: 50%; justify-content: center; }
  .wb-aifix::before { content: '✨'; font-size: 15px; }
  /* Tighten bar */
  .wb-bar { padding: 8px 10px; gap: 5px; }
  .wb-mic { width: 38px; height: 38px; }
  /* Day group label wraps nicely */
  .wb-day-hdr { flex-wrap: wrap; gap: 4px; }
  .wb-day-line { min-width: 40px; }
}
@media (max-width: 480px) {
  .wbcard { width: 100%; }
  /* Single column chips at 480 still scroll */
  .wb-chip { font-size: 11.5px; padding: 5px 11px; }
  /* BMC hides on mobile board page — too cramped */
  body.wb-page .bmc-float { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   AI Thinking Overlay
   ═══════════════════════════════════════════════════════════ */
.wb-main { position: relative; }

.wb-thinking {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(249,249,252,.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.wb-thinking.active { opacity: 1; pointer-events: auto; }

.wb-thinking-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0 24px; text-align: center;
}
.wb-thinking-logo {
  font-size: 40px; color: var(--accent);
  animation: wbThinkPulse 1.8s ease-in-out infinite;
  line-height: 1;
}
.wb-thinking-name {
  font-size: 19px; font-weight: 800; color: var(--text);
  letter-spacing: -.4px;
}
.wb-thinking-msg {
  font-size: 13.5px; color: var(--muted); min-height: 20px;
  transition: opacity .35s ease; max-width: 260px; line-height: 1.5;
}
.wb-thinking-dots { display: flex; gap: 6px; margin-top: 4px; }
.wb-thinking-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: wbThinkDot 1.3s ease-in-out infinite;
}
.wb-thinking-dots span:nth-child(2) { animation-delay: .22s; }
.wb-thinking-dots span:nth-child(3) { animation-delay: .44s; }

@keyframes wbThinkPulse {
  0%,100% { transform: scale(1); opacity: .75; }
  50%      { transform: scale(1.18); opacity: 1; }
}
@keyframes wbThinkDot {
  0%,80%,100% { opacity: .18; transform: scale(.8); }
  40%         { opacity: 1;   transform: scale(1.1); }
}

/* ═══════════════════════════════════════════════════════════
   Card Minimize / Expand
   ═══════════════════════════════════════════════════════════ */

/* Toggle button — appears on card hover */
.wbcard-toggle {
  position: absolute; top: 5px; right: 5px;
  width: 18px; height: 18px; border-radius: 4px;
  background: rgba(0,0,0,.07); border: none;
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted);
  display: none; align-items: center; justify-content: center;
  padding: 0; line-height: 1; z-index: 2;
  transition: background .12s, color .12s;
}
.wbcard { position: relative; }
.wbcard:hover .wbcard-toggle { display: flex; }
.wbcard-toggle:hover { background: rgba(0,0,0,.15); color: var(--text); }

/* Compact row — hidden by default, shown when collapsed */
.wbcard-compact {
  display: none; align-items: center; gap: 8px;
  padding: 7px 12px 8px; cursor: pointer;
  border-radius: 0 0 12px 12px;
  transition: background .12s;
}
.wbcard-compact:hover { background: var(--faint); }
.wbcard-compact-txt {
  flex: 1; font-size: 12px; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wbcard-compact-hrs {
  font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.wbcard-compact-arr { font-size: 10px; color: var(--muted); flex-shrink: 0; }

/* Collapsed state */
.wbcard.wbcard-min .wbcard-body  { display: none; }
.wbcard.wbcard-min .wbcard-foot  { display: none; }
.wbcard.wbcard-min .wbcard-editf { display: none !important; }
.wbcard.wbcard-min .wbcard-compact { display: flex; }

/* Expand button styling */
.wbcard-btn.expand { color: var(--accent); }
.wbcard-btn.expand:hover { color: var(--accent); background: var(--accent-bg); }
