:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f7f5f0;background:#0b0b0c;--orange:#ff6b1a;--muted:#aaa7a0}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:#0b0b0c}button{font:inherit;color:inherit}button:focus-visible{outline:2px solid #fff;outline-offset:3px}.camera-shell{position:relative;min-height:100svh;overflow:hidden;background:radial-gradient(circle at 50% 30%,#303034,#0b0b0c 68%)}.camera-feed{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.camera-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28),transparent 35%,rgba(0,0,0,.8))}.topbar{position:relative;z-index:3;display:flex;justify-content:space-between;padding:calc(env(safe-area-inset-top) + 20px) 22px 0}.brand{font-weight:800;letter-spacing:.18em;font-size:13px}.icon-button,.back{border:0;background:rgba(22,22,23,.62);backdrop-filter:blur(16px);min-width:44px;height:44px;border-radius:999px;display:grid;place-items:center}.camera-copy{position:absolute;z-index:2;left:24px;top:18%;max-width:330px}.camera-copy p{margin:0 0 8px;color:#d8d4cd}.camera-copy h1{font-size:clamp(42px,13vw,68px);line-height:.94;letter-spacing:-.055em;margin:0}.capture-panel{position:absolute;z-index:4;left:0;right:0;bottom:calc(env(safe-area-inset-bottom) + 28px);display:grid;justify-items:center;gap:25px}.shutter{width:82px;height:82px;border-radius:50%;border:2px solid rgba(255,255,255,.8);background:rgba(0,0,0,.18);padding:7px}.shutter span{display:block;width:100%;height:100%;border-radius:50%;background:#fff}.modes{display:flex;gap:8px;padding:8px;border-radius:22px;background:rgba(12,12,13,.62);backdrop-filter:blur(20px)}.mode{border:0;background:transparent;color:#aaa;display:grid;gap:4px;justify-items:center;padding:8px 12px;font-size:18px}.mode small{font-size:11px}.mode.active{color:#fff}.camera-start{position:absolute;z-index:3;top:47%;left:50%;transform:translateX(-50%);border:1px solid rgba(255,255,255,.26);background:rgba(0,0,0,.35);backdrop-filter:blur(16px);border-radius:999px;padding:12px 18px}.camera-error{position:absolute;z-index:4;left:20px;right:20px;bottom:190px;background:#201b18;border:1px solid #6d3a1c;padding:12px;border-radius:14px;text-align:center}.analysis-screen{position:relative;min-height:100svh;overflow:hidden}.analysis-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.65) brightness(.65)}.analysis-overlay{position:absolute;inset:0;background:radial-gradient(circle,transparent,rgba(0,0,0,.75))}.analysis-copy{position:absolute;z-index:3;left:26px;right:26px;bottom:12%;text-align:center}.analysis-copy b{color:var(--orange);font-size:34px;animation:pulse 1.4s infinite}.analysis-copy p{font-size:29px;font-weight:750;margin:14px 0 6px}.analysis-copy small{color:#c8c4bd}.nodes i{position:absolute;z-index:2;width:7px;height:7px;background:var(--orange);border-radius:50%;box-shadow:0 0 20px var(--orange);left:calc(8% + (var(--i) * 6.4%));top:calc(18% + ((var(--i) * 37) * 1%));animation:node 1.5s calc(var(--i)*.08s) both}.results-screen{min-height:100svh;padding:calc(env(safe-area-inset-top) + 20px) 0 calc(env(safe-area-inset-bottom) + 28px)}.results-header{padding:0 20px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:14px}.results-header div{text-align:center}.results-header small,.detail-screen small,.build-screen small{color:var(--orange);letter-spacing:.15em;font-weight:800;font-size:10px}.results-header h1{font-size:25px;margin:4px 0}.image-strip{margin:22px 20px 16px;padding:9px;background:#181819;border:1px solid #262627;border-radius:18px;display:flex;gap:12px;align-items:center}.image-strip img{width:64px;height:64px;object-fit:cover;border-radius:12px}.image-strip span{display:block;color:#8f8b84;font-size:12px}.image-strip strong{display:block;margin-top:3px}.card-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding:8px 20px 20px;scrollbar-width:none}.opportunity-card{position:relative;flex:0 0 min(88vw,420px);min-height:505px;scroll-snap-align:center;padding:28px;border-radius:30px;background:linear-gradient(145deg,#202021,#121213);border:1px solid #303031;display:flex;flex-direction:column}.card-number{position:absolute;right:24px;top:22px;color:#53504c;font-size:18px}.category{color:var(--orange);font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:800}.opportunity-card h2{font-size:38px;line-height:.98;letter-spacing:-.04em;margin:34px 0 18px;max-width:90%}.opportunity-card>p{font-size:17px;line-height:1.55;color:#c8c4bd}.metrics{margin-top:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:15px 0;border-top:1px solid #343435;border-bottom:1px solid #343435}.metrics span{display:block;color:#807d77;font-size:10px;text-transform:uppercase}.metrics strong{display:block;margin-top:6px;font-size:15px}.actions{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:8px;margin-top:18px}.actions button{border:1px solid #38383a;background:#232324;border-radius:13px;padding:12px 8px;font-weight:700;font-size:13px}.actions .primary{background:var(--orange);border-color:var(--orange);color:#111}.actions .saved{color:var(--orange)}.think{margin:0 20px;width:calc(100% - 40px);border:1px solid #45362c;background:#171412;border-radius:18px;padding:15px 18px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;text-align:left}.think strong{font-weight:800}.think span{grid-column:2;color:#8d8982;font-size:12px}.detail-screen,.saved-screen,.build-screen{min-height:100svh;padding:calc(env(safe-area-inset-top) + 18px) 20px calc(env(safe-area-inset-bottom) + 28px)}.back{width:auto;padding:0 15px;display:flex;gap:6px}.detail-hero{position:relative;height:350px;margin:22px 0;border-radius:28px;overflow:hidden}.detail-hero img{width:100%;height:100%;object-fit:cover;filter:brightness(.45)}.detail-hero>div{position:absolute;left:24px;right:24px;bottom:24px}.detail-hero h1{font-size:40px;line-height:1;margin:9px 0}.detail-section{padding:26px 4px;border-bottom:1px solid #2b2b2c}.detail-section span{font-size:10px;color:var(--orange);letter-spacing:.14em;font-weight:800}.detail-section h2{font-size:25px;margin:10px 0 18px}.detail-section p{color:#c7c3bc;line-height:1.6}.build-screen{display:flex;flex-direction:column;align-items:flex-start}.build-mark{margin-top:18vh;width:70px;height:70px;border-radius:22px;background:var(--orange);color:#111;display:grid;place-items:center;font-size:30px}.build-screen>small{margin-top:25px}.build-screen h1{font-size:48px;line-height:.95;letter-spacing:-.05em;margin:12px 0 20px}.build-screen>p{color:#bbb7b0;line-height:1.6;font-size:17px}.build-list{width:100%;display:grid;gap:1px;margin:25px 0;background:#29292a}.build-list span{background:#111112;padding:16px}.build-screen>button:last-child,.new-discovery{margin-top:auto;width:100%;padding:16px;border:0;border-radius:16px;background:#222;color:#777;font-weight:800}.saved-screen header{display:flex;gap:15px;align-items:center}.saved-screen header h1{font-size:28px}.empty{min-height:60vh;display:grid;place-content:center;text-align:center;color:#8f8c85}.empty b{font-size:42px}.empty h2{color:#fff}.saved-list{display:grid;gap:12px;margin-top:25px}.saved-list article{display:flex;gap:14px;align-items:flex-start;background:#171718;border:1px solid #29292a;border-radius:20px;padding:18px}.saved-list article div{flex:1}.saved-list small{color:var(--orange)}.saved-list h2{margin:6px 0;font-size:21px}.saved-list p{margin:0;color:#aaa69f;line-height:1.45}.new-discovery{margin-top:25px;color:#111;background:var(--orange)}@keyframes pulse{50%{transform:scale(1.18);opacity:.65}}@keyframes node{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@media(min-width:760px){body{display:grid;place-items:center;background:#181819}#app{width:min(100%,520px);min-height:100vh;box-shadow:0 0 80px rgba(0,0,0,.4)}.opportunity-card{flex-basis:420px}}
.image-strip div small{display:block;color:rgba(255,255,255,.56);font-size:.75rem;line-height:1.35;margin-top:.28rem;max-width:42ch}
.scene-observations{margin:0 1.25rem 1.1rem;padding:1rem 1.05rem;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035);display:grid;gap:.38rem}
.scene-observations>span,.evidence-preview>span{font-size:.64rem;letter-spacing:.14em;color:#ff8b36;font-weight:750}
.scene-observations small,.evidence-preview small{display:block;color:rgba(255,255,255,.67);line-height:1.35}
.evidence-preview{margin:.9rem 0 1rem;padding:.8rem;border-radius:14px;background:rgba(255,139,54,.07);display:grid;gap:.28rem}
.evidence-preview small{font-size:.72rem}
.setup-error{margin:2rem 1.25rem;padding:2rem 1.35rem;text-align:center;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:rgba(255,255,255,.04)}
.setup-error>b{font-size:2rem;color:#ff8b36}.setup-error h2{font-size:1.35rem;margin:.7rem 0}.setup-error p{color:rgba(255,255,255,.65);line-height:1.55}.setup-error button{margin-top:1rem;border:0;border-radius:999px;padding:.85rem 1.2rem;background:#ff8b36;color:#111;font-weight:800}

/* v0.2.1 mobile reading density */
.results-screen{padding-bottom:calc(env(safe-area-inset-bottom) + 18px)}
.results-header{position:sticky;top:0;z-index:10;padding:calc(env(safe-area-inset-top) + 10px) 16px 10px;background:linear-gradient(#0b0b0cf2,#0b0b0cda 78%,transparent);backdrop-filter:blur(18px)}
.results-header h1{font-size:21px;margin:3px 0}.results-header small{font-size:9px}.results-header .icon-button{min-width:40px;height:40px}
.image-strip{margin:8px 16px 10px;padding:8px;border-radius:16px;gap:10px}.image-strip img{width:54px;height:54px}.image-strip strong{font-size:14px;line-height:1.15}.image-strip div small{font-size:11px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.scene-observations{margin:0 16px 10px;padding:0;border-radius:15px;overflow:hidden;display:block}.scene-observations summary,.evidence-preview summary,.detail-section summary{list-style:none;cursor:pointer}.scene-observations summary::-webkit-details-marker,.evidence-preview summary::-webkit-details-marker,.detail-section summary::-webkit-details-marker{display:none}.scene-observations summary{min-height:46px;padding:0 13px;display:flex;align-items:center;justify-content:space-between}.scene-observations summary span{font-size:10px;letter-spacing:.13em;color:var(--orange);font-weight:800;text-transform:uppercase}.scene-observations summary b{font-size:11px;color:#aaa69f;font-weight:650}.scene-observations summary:after,.evidence-preview summary:after,.detail-section summary:after{content:'＋';font-size:15px;color:#817d77;margin-left:9px}.scene-observations[open] summary:after,.evidence-preview[open] summary:after,.detail-section[open] summary:after{content:'−'}.scene-observations>div{padding:0 13px 12px;display:grid;gap:5px}.scene-observations small{font-size:12px;line-height:1.35}
.rail-label{display:flex;justify-content:space-between;padding:4px 18px 0;color:#77736d;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.card-rail{gap:10px;padding:8px 16px 12px;scroll-padding-left:16px}.opportunity-card{flex-basis:min(86vw,390px);min-height:0;height:auto;padding:20px;border-radius:24px}.card-topline{display:flex;justify-content:space-between;align-items:center}.card-number{position:static;font-size:13px}.opportunity-card h2{font-size:clamp(25px,7.3vw,32px);line-height:1.02;margin:18px 0 11px;max-width:94%}.card-insight{font-size:14px!important;line-height:1.45!important;margin:0 0 12px;color:#c8c4bd;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.evidence-preview{margin:0 0 12px;padding:0;display:block;border:1px solid rgba(255,139,54,.14);overflow:hidden}.evidence-preview summary{min-height:42px;padding:0 11px;display:flex;align-items:center}.evidence-preview summary span{font-size:10px;letter-spacing:.07em}.evidence-preview summary b{margin-left:auto;font-size:10px;color:#9b958e}.evidence-preview>div{padding:0 11px 10px;display:grid;gap:4px}.evidence-preview small{font-size:11px;line-height:1.3}.metrics{margin-top:0;padding:10px 0;gap:4px}.metrics span{font-size:8px}.metrics strong{font-size:13px;margin-top:3px}.actions{margin-top:12px;gap:6px}.actions button{min-height:42px;padding:9px 6px;font-size:12px;border-radius:12px}.think{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:8;margin:4px 16px 0;width:calc(100% - 32px);padding:13px 15px;box-shadow:0 12px 35px rgba(0,0,0,.52)}
.detail-screen{padding:0 16px calc(env(safe-area-inset-bottom) + 24px)}.detail-sticky{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;padding:calc(env(safe-area-inset-top) + 10px) 0 10px;background:linear-gradient(#0b0b0cf5,#0b0b0cdc 82%,transparent);backdrop-filter:blur(18px)}.detail-sticky small{margin-right:4px}.detail-hero.compact{height:220px;margin:8px 0 14px;border-radius:22px}.detail-hero.compact>div{left:18px;right:18px;bottom:17px}.detail-hero.compact span{font-size:9px;letter-spacing:.12em;color:var(--orange);font-weight:800;text-transform:uppercase}.detail-hero.compact h1{font-size:30px;line-height:1.02;margin:7px 0 0}.reason-lead{padding:3px 2px 16px}.reason-lead p{font-size:15px;line-height:1.5;color:#d4d0c9;margin:8px 0 0}.reason-lead small{font-size:9px;color:var(--orange);letter-spacing:.13em;font-weight:800}.detail-section{padding:0;border-bottom:1px solid #2b2b2c}.detail-section summary{min-height:72px;padding:12px 2px;display:grid;grid-template-columns:1fr auto;align-content:center}.detail-section summary span{grid-column:1;font-size:9px}.detail-section summary h2{grid-column:1;font-size:18px;margin:5px 0 0}.detail-section summary:after{grid-column:2;grid-row:1 / span 2;align-self:center}.detail-section>div{padding:0 2px 14px}.detail-section p{font-size:14px;line-height:1.48;margin:8px 0}
.saved-list article{padding:15px}.saved-list h2{font-size:18px}.saved-list p{font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:380px){.opportunity-card{flex-basis:88vw;padding:18px}.opportunity-card h2{font-size:25px}.actions button{font-size:11px}.results-header{grid-template-columns:40px 1fr 40px;gap:8px}}

/* v0.3.0 — single-screen mobile discovery cards */
.compact-results{
  min-height:100svh;
  height:100svh;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto auto auto minmax(0,1fr) auto;
  padding:0 0 calc(env(safe-area-inset-bottom) + 8px);
}
.compact-results .results-header{
  position:relative;
  padding:calc(env(safe-area-inset-top) + 8px) 14px 7px;
  background:#0b0b0c;
}
.compact-results .results-header h1{font-size:19px;margin:2px 0}
.compact-results .results-header small{font-size:8px;letter-spacing:.12em}
.compact-results .results-header .icon-button{min-width:38px;width:38px;height:38px}

.scene-summary-card{
  margin:0 14px 7px;
  min-height:60px;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 38px;
  align-items:center;
  gap:10px;
  padding:7px;
  border:1px solid #29292a;
  border-radius:17px;
  background:#171718;
}
.scene-summary-card>img{width:54px;height:54px;object-fit:cover;border-radius:12px}
.scene-summary-copy{min-width:0}
.scene-summary-copy span{display:block;color:var(--orange);font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.scene-summary-copy strong{display:block;margin:3px 0 2px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-summary-copy small{display:-webkit-box;color:#95918a;font-size:10px;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.scene-summary-card .scene-observations{margin:0;padding:0;border:0;background:transparent;overflow:visible}
.scene-summary-card .scene-observations summary{
  width:36px;height:36px;min-height:36px;padding:0;
  display:grid;place-items:center;
  border-radius:50%;background:#232324;color:#b6b1aa;
  list-style:none;cursor:pointer;
}
.scene-summary-card .scene-observations summary:after{display:none}
.scene-summary-card .scene-observations[open]{position:static}
.scene-summary-card .scene-observations[open] summary{transform:rotate(180deg)}
.scene-summary-card .scene-observations>div{
  display:none;
  position:absolute;
  z-index:30;
  left:14px;right:14px;
  margin-top:8px;
  padding:14px;
  border:1px solid #343435;
  border-radius:16px;
  background:#1b1b1d;
  box-shadow:0 18px 50px rgba(0,0,0,.62);
}
.scene-summary-card .scene-observations[open]>div{display:block}
.scene-summary-card .scene-observations>div b{display:block;color:var(--orange);font-size:9px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.scene-summary-card .scene-observations>div p{margin:5px 0;color:#c4c0b9;font-size:12px;line-height:1.35}

.discovery-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:1px 18px 5px;
  color:#79756f;font-size:9px;letter-spacing:.1em;text-transform:uppercase;
}
.discovery-toolbar b{color:#b8b3ac;font-size:10px}

.compact-results .card-rail{
  min-height:0;
  height:100%;
  padding:0 14px 7px;
  gap:10px;
  scroll-padding-left:14px;
  align-items:stretch;
}
.compact-results .opportunity-card{
  flex:0 0 calc(100vw - 28px);
  width:calc(100vw - 28px);
  max-width:470px;
  height:100%;
  min-height:0;
  padding:17px;
  border-radius:24px;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto auto auto minmax(0,1fr) auto;
  background:linear-gradient(145deg,#202021,#121213 72%);
}
.card-core{min-height:0}
.compact-results .opportunity-card h2{
  margin:12px 0 8px;
  max-width:96%;
  font-size:clamp(24px,7vw,31px);
  line-height:1;
  letter-spacing:-.04em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.compact-results .card-insight{
  margin:0;
  font-size:13px!important;
  line-height:1.38!important;
  -webkit-line-clamp:3;
}
.compact-results .category{font-size:9px}
.compact-results .card-number{font-size:11px}

.metric-pills{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin:12px 0 9px;
}
.metric-pills>div{
  min-width:0;
  padding:8px 7px;
  border:1px solid #303031;
  border-radius:11px;
  background:#181819;
}
.metric-pills span{display:block;color:#77736d;font-size:7px;letter-spacing:.08em;text-transform:uppercase}
.metric-pills strong{display:block;margin-top:3px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.card-collapsibles{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
  border-top:1px solid #2d2d2e;
}
.card-collapsibles::-webkit-scrollbar{display:none}
.card-detail{border-bottom:1px solid #2d2d2e}
.card-detail summary{
  min-height:38px;
  padding:0 2px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  list-style:none;
  cursor:pointer;
}
.card-detail summary::-webkit-details-marker{display:none}
.card-detail summary span{color:var(--orange);font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.card-detail summary strong{font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-detail summary:after{content:'＋';color:#77736d;font-size:13px}
.card-detail[open] summary:after{content:'−'}
.card-detail-body{padding:0 2px 10px 59px}
.card-detail-body p{margin:4px 0;color:#aaa69f;font-size:11px;line-height:1.36}

.compact-results .actions{
  grid-template-columns:1.2fr .85fr .85fr;
  gap:6px;
  margin-top:10px;
}
.compact-results .actions button{
  min-height:39px;
  padding:8px 5px;
  border-radius:11px;
  font-size:10px;
}
.compact-results .think{
  position:relative;
  bottom:auto;
  z-index:5;
  margin:0 14px;
  width:calc(100% - 28px);
  min-height:48px;
  padding:9px 13px;
  border-radius:15px;
  box-shadow:none;
}
.compact-results .think strong{font-size:12px}
.compact-results .think span{font-size:10px}

@media(max-width:380px){
  .compact-results .results-header{padding-left:11px;padding-right:11px}
  .scene-summary-card{margin-left:11px;margin-right:11px}
  .compact-results .card-rail{padding-left:11px;padding-right:11px;scroll-padding-left:11px}
  .compact-results .opportunity-card{flex-basis:calc(100vw - 22px);width:calc(100vw - 22px);padding:15px}
  .compact-results .opportunity-card h2{font-size:23px}
  .compact-results .actions button{font-size:9px}
  .compact-results .think{margin-left:11px;margin-right:11px;width:calc(100% - 22px)}
}

@media(max-height:700px){
  .compact-results .results-header{padding-top:calc(env(safe-area-inset-top) + 5px);padding-bottom:4px}
  .compact-results .results-header h1{font-size:17px}
  .scene-summary-card{min-height:53px;margin-bottom:4px}
  .scene-summary-card>img{width:47px;height:47px}
  .scene-summary-card{grid-template-columns:47px minmax(0,1fr) 34px}
  .scene-summary-card .scene-observations summary{width:32px;height:32px;min-height:32px}
  .discovery-toolbar{padding-bottom:3px}
  .compact-results .opportunity-card{padding:14px}
  .compact-results .opportunity-card h2{font-size:23px;margin-top:9px}
  .compact-results .card-insight{-webkit-line-clamp:2}
  .metric-pills{margin:8px 0 6px}
  .metric-pills>div{padding:6px}
  .card-detail summary{min-height:34px}
  .compact-results .actions{margin-top:7px}
  .compact-results .actions button{min-height:35px}
  .compact-results .think{min-height:44px;padding:7px 12px}
}

@media(min-width:760px){
  .compact-results .opportunity-card{flex-basis:calc(100% - 28px);width:calc(100% - 28px)}
}

/* v0.4.0 — five-card sets + branching rabbit-hole exploration */
.compact-results{grid-template-rows:auto auto auto minmax(0,1fr) auto}
.compact-results .results-header{padding-bottom:5px}
.compact-results .results-header h1{font-size:18px;letter-spacing:-.025em}
.compact-scene{min-height:48px;grid-template-columns:40px minmax(0,1fr) 34px;margin-bottom:5px;padding:5px 7px;border-radius:14px}
.scene-thumb{width:40px;height:40px;padding:0;border:0;background:transparent;border-radius:10px;overflow:hidden}
.scene-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.compact-scene .scene-summary-copy strong{font-size:13px;margin:1px 0}
.compact-scene .scene-summary-copy small{font-size:9px;-webkit-line-clamp:1}
.compact-scene .scene-observations summary{width:30px;height:30px;min-height:30px}
.discovery-toolbar{padding:0 17px 4px}
.compact-results .card-rail{padding-bottom:5px}
.compact-results .opportunity-card{padding:16px;grid-template-rows:auto auto auto minmax(0,1fr) auto}
.card-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.branch-lineage{display:block;max-width:220px;margin-top:4px;color:#817d76;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-results .opportunity-card h2{font-size:clamp(23px,6.7vw,29px);margin:10px 0 7px}
.compact-results .card-insight{font-size:12.5px!important;line-height:1.35!important;-webkit-line-clamp:3}
.metric-pills{margin:10px 0 7px}
.card-detail summary{min-height:34px;grid-template-columns:44px minmax(0,1fr) auto}
.card-detail summary strong{font-size:10.5px}
.card-detail-body{padding-left:51px}
.compact-actions{display:grid!important;grid-template-columns:1.45fr .62fr 42px .72fr!important;gap:6px!important;margin-top:8px!important}
.compact-actions button{min-width:0;min-height:37px!important;padding:7px 6px!important;border-radius:10px!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-actions .rabbit{background:#211b17;border-color:#5a3926;color:#ffb27f;font-weight:800}
.compact-actions [data-save]{font-size:16px!important;padding:0!important}
.compact-results .think{min-height:43px;padding:7px 12px;border-radius:13px;grid-template-columns:auto 1fr auto;align-items:center}
.compact-results .think strong{font-size:11px}
.compact-results .think span{grid-column:3;font-size:9px;white-space:nowrap;color:#8d8982}
.generation-error{margin:0 15px 5px;font-size:10px;color:#ffb08a;text-align:center}
@media(max-width:380px){.compact-actions{grid-template-columns:1.35fr .58fr 38px .68fr!important}.compact-actions button{font-size:9px!important}.compact-results .think span{display:none}}
@media(max-height:700px){.compact-scene{min-height:44px}.scene-thumb{width:36px;height:36px}.compact-scene{grid-template-columns:36px minmax(0,1fr) 30px}.compact-results .opportunity-card{padding:13px}.compact-results .opportunity-card h2{font-size:22px}.compact-results .card-insight{-webkit-line-clamp:2}.metric-pills{margin:6px 0 5px}.card-detail summary{min-height:31px}.compact-actions button{min-height:33px!important}.compact-results .think{min-height:39px}}

/* v0.4.1 — editorial opportunity summaries + visible branch loading */
.compact-results .opportunity-card.editorial-card{
  grid-template-rows:auto minmax(0,1fr) auto auto;
  padding:18px 18px 14px;
}
.editorial-card .article-summary{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
  padding-right:2px;
}
.editorial-card .article-summary::-webkit-scrollbar{display:none}
.editorial-card .article-summary h2{
  margin:11px 0 9px;
  max-width:100%;
  font-size:clamp(25px,7vw,32px);
  line-height:1.02;
  letter-spacing:-.045em;
  display:block;
  overflow:visible;
}
.article-dek{
  margin:0;
  color:#d0cbc4;
  font-size:14px;
  line-height:1.48;
}
.article-bridge{
  margin-top:16px;
  padding:13px 14px;
  border-left:2px solid var(--orange);
  border-radius:0 12px 12px 0;
  background:rgba(255,255,255,.035);
}
.article-bridge span{
  display:block;
  margin-bottom:5px;
  color:var(--orange);
  font-size:8px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.article-bridge p,.article-why-now{
  margin:0;
  color:#aaa69f;
  font-size:12px;
  line-height:1.46;
}
.article-why-now{margin-top:13px}
.article-why-now b{color:#f2eee8}
.metric-line{
  display:flex;
  gap:8px;
  padding:11px 0 10px;
  overflow-x:auto;
  border-top:1px solid #2d2d2e;
  color:#85817b;
  font-size:9px;
  white-space:nowrap;
  scrollbar-width:none;
}
.metric-line::-webkit-scrollbar{display:none}
.metric-line span{padding-right:9px;border-right:1px solid #333334}
.metric-line span:last-child{border-right:0}
.metric-line b{color:#f2eee8;font-size:11px}
.article-jump-actions{
  display:grid;
  grid-template-columns:1fr 1.25fr .95fr 42px;
  gap:6px;
}
.article-jump-actions button{
  min-width:0;
  min-height:42px;
  padding:8px 6px;
  border:1px solid #373738;
  border-radius:12px;
  background:#232324;
  color:#f4f1eb;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.article-jump-actions button span{
  display:block;
  margin-bottom:2px;
  color:#817d76;
  font-size:7px;
  letter-spacing:.1em;
}
.article-jump-actions .rabbit{background:#211b17;border-color:#5a3926;color:#ffb27f}
.article-jump-actions .primary{background:var(--orange);border-color:var(--orange);color:#111}
.article-jump-actions .save-short{padding:0;font-size:16px}
.article-jump-actions .save-short.saved{color:var(--orange);border-color:#6d3b20}

.thinking-overlay{
  position:fixed;
  z-index:9999;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}
.thinking-overlay.visible{opacity:1;pointer-events:auto}
.liquid-glass{
  position:absolute;
  inset:0;
  background:rgba(7,7,8,.38);
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
}
.liquid-glass:before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 38%,rgba(255,107,26,.12),transparent 42%);
}
.thinking-dialog{
  position:relative;
  width:min(82vw,320px);
  padding:28px 24px 24px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(39,39,41,.76),rgba(17,17,18,.68));
  box-shadow:0 24px 80px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.08);
  text-align:center;
}
.kakashi-eye{
  position:relative;
  width:72px;
  height:38px;
  margin:0 auto 20px;
  overflow:hidden;
  border:2px solid rgba(255,255,255,.82);
  border-radius:70% 0 70% 0;
  transform:rotate(45deg);
  animation:eyeBlink 3.4s infinite;
}
.kakashi-eye i{
  position:absolute;
  inset:7px;
  border:1px solid rgba(255,107,26,.75);
  border-radius:50%;
}
.kakashi-eye b{
  position:absolute;
  width:8px;
  height:8px;
  left:50%;
  top:50%;
  border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 14px rgba(255,107,26,.85);
  transform:translate(-50%,-50%);
  animation:pupilScan 2.1s ease-in-out infinite;
}
.thinking-dialog small{color:var(--orange);font-size:8px;font-weight:850;letter-spacing:.18em}
.thinking-dialog h2{margin:9px 0 7px;font-size:22px;letter-spacing:-.03em}
.thinking-dialog p{margin:0;color:#aaa69f;font-size:12px;line-height:1.45}
.thinking-pulse{display:flex;justify-content:center;gap:6px;margin-top:18px}
.thinking-pulse span{width:5px;height:5px;border-radius:50%;background:#8d8982;animation:dotPulse 1.2s infinite ease-in-out}
.thinking-pulse span:nth-child(2){animation-delay:.16s}.thinking-pulse span:nth-child(3){animation-delay:.32s}
@keyframes eyeBlink{0%,43%,49%,100%{transform:rotate(45deg) scaleY(1)}45%,47%{transform:rotate(45deg) scaleY(.08)}}
@keyframes pupilScan{0%,100%{margin-left:-7px}50%{margin-left:7px}}
@keyframes dotPulse{0%,80%,100%{opacity:.25;transform:scale(.75)}40%{opacity:1;transform:scale(1)}}

@media(max-width:380px){
  .compact-results .opportunity-card.editorial-card{padding:15px 15px 12px}
  .editorial-card .article-summary h2{font-size:24px}
  .article-dek{font-size:13px}
  .article-jump-actions{grid-template-columns:.9fr 1.2fr .82fr 38px}
  .article-jump-actions button{font-size:9px;min-height:39px}
}
@media(max-height:700px){
  .article-bridge{margin-top:10px;padding:10px 12px}
  .article-why-now{margin-top:9px}
  .metric-line{padding:8px 0}
  .article-jump-actions button{min-height:36px}
}
@media(prefers-reduced-motion:reduce){.kakashi-eye,.kakashi-eye b,.thinking-pulse span{animation:none}}


/* v0.4.2 — Apple-clean reading, compact MVP lead, refined eye identity */
.brand{display:flex;align-items:center;gap:9px}.brand span{font-weight:850;letter-spacing:.18em;font-size:12px}.eye-mark{width:30px;height:18px;color:#fff;display:block}
.camera-start{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.compact-results .opportunity-card.editorial-card{grid-template-rows:auto minmax(0,1fr) auto auto;padding:19px 18px 15px}
.editorial-card .article-summary{overflow:hidden;padding:0;display:flex;flex-direction:column;min-height:0}
.editorial-card .article-summary h2{font-size:clamp(25px,7vw,31px);line-height:1.01;margin:12px 0 11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.article-dek{color:#d6d2cb;font-size:14px;line-height:1.48;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.mvp-lead{margin-top:14px;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.075)}
.mvp-lead span{display:block;margin-bottom:5px;color:var(--orange);font-size:8px;font-weight:850;letter-spacing:.14em}
.mvp-lead p{margin:0;color:#bdb8b0;font-size:12px;line-height:1.42;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.article-bridge,.article-why-now,.metric-line{display:none!important}
.evidence-strip{display:flex;gap:8px;padding:10px 0 9px;border-top:1px solid #2d2d2e;color:#85817b;font-size:9px;white-space:nowrap}
.evidence-strip span+span{padding-left:9px;border-left:1px solid #343435}.evidence-strip b{color:#f2eee8;font-size:10px}
.article-jump-actions{grid-template-columns:.8fr 1.18fr .78fr 42px;gap:7px}
.article-jump-actions button{min-height:43px;padding:8px 7px;border-radius:13px;font-size:10px;letter-spacing:0}
.article-jump-actions button span{display:none}.article-jump-actions .rabbit{position:relative;color:#ffc097;background:rgba(255,107,26,.08);border-color:rgba(255,107,26,.32)}
.article-jump-actions .rabbit:before{content:'↳';margin-right:5px;color:var(--orange)}
.article-jump-actions .primary{font-size:11px}.article-jump-actions .save-short{font-size:17px}
.kakashi-eye{width:92px;height:54px;margin:0 auto 18px;display:grid;place-items:center;overflow:visible;border:0;border-radius:0;transform:none;animation:eyeBlinkClean 3.6s infinite;transform-origin:center}
.loading-eye{width:86px;height:49px;color:#f6f3ed;filter:drop-shadow(0 0 16px rgba(255,107,26,.18))}
.loading-eye circle:last-child{fill:var(--orange)}
@keyframes eyeBlinkClean{0%,42%,48%,100%{transform:scaleY(1)}44%,46%{transform:scaleY(.06)}}
@media(max-height:740px){.editorial-card .article-summary h2{font-size:24px;-webkit-line-clamp:2}.article-dek{font-size:13px;-webkit-line-clamp:4}.mvp-lead{margin-top:10px;padding:10px 12px}.mvp-lead p{-webkit-line-clamp:2}.evidence-strip{padding:7px 0}.article-jump-actions button{min-height:38px}}
@media(max-width:380px){.article-jump-actions{grid-template-columns:.75fr 1.16fr .72fr 38px}.article-jump-actions button{font-size:9px}.brand span{font-size:11px}.eye-mark{width:27px}}
@media(prefers-reduced-motion:reduce){.kakashi-eye{animation:none}}

/* v0.5.0 — accessible editorial summaries, real capture modes, refined motion */
.page-enter{animation:pageEnter .34s cubic-bezier(.22,1,.36,1) both}
@keyframes pageEnter{from{opacity:0;transform:translateY(10px) scale(.992)}to{opacity:1;transform:none}}
.eye-mark{width:28px;height:18px;vertical-align:middle;margin-right:8px;color:#fff}
.brand{display:flex;align-items:center}
.brand span{display:inline-block}

.permission-start{min-width:190px;padding:0 18px}
.camera-controls{position:absolute;z-index:5;left:18px;right:18px;top:calc(env(safe-area-inset-top) + 74px);display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px}
.camera-control{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:rgba(15,15,16,.48);backdrop-filter:blur(18px);font-weight:800}
.camera-control:disabled{opacity:.3}
.camera-control.active{background:#fff;color:#111}
.zoom-control{height:44px;display:grid;grid-template-columns:28px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(15,15,16,.48);backdrop-filter:blur(18px)}
.zoom-control span,.zoom-control b{font-size:11px;text-align:center}.zoom-control input{width:100%;accent-color:#fff}.zoom-control input:disabled{opacity:.35}
.focus-ring{position:fixed;z-index:8;width:64px;height:64px;border:1.5px solid #fff;border-radius:18px;transform:translate(-50%,-50%) scale(.65);opacity:0;pointer-events:none}
.focus-ring.show{animation:focusPop .8s ease-out}
@keyframes focusPop{0%{opacity:0;transform:translate(-50%,-50%) scale(1.25)}20%{opacity:1;transform:translate(-50%,-50%) scale(1)}75%{opacity:1}100%{opacity:0}}
.video-shutter span{background:#ff3b30;border-radius:16px;transform:scale(.62);transition:.2s ease}.video-shutter.recording span{border-radius:8px;transform:scale(.42)}
.recording-time{position:absolute;bottom:118px;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.6);font-size:12px;font-variant-numeric:tabular-nums}

.mode-talk .camera-feed{display:none}.mode-talk{background:radial-gradient(circle at 50% 26%,#30231d,#0b0b0c 66%)}
.talk-copy{top:14%;right:24px;text-align:left}.talk-copy h1{font-size:clamp(38px,11vw,58px)}
.talk-panel{position:absolute;z-index:4;left:20px;right:20px;top:35%;display:grid;gap:12px}
.talk-panel p{margin:0;color:#b8b4ad;font-size:13px;text-align:center}
.talk-panel textarea{width:100%;min-height:150px;max-height:220px;resize:none;border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:18px;background:rgba(23,23,24,.72);backdrop-filter:blur(20px);color:#fff;font:600 17px/1.45 inherit;outline:none}
.talk-panel textarea:focus{border-color:rgba(255,107,26,.75);box-shadow:0 0 0 4px rgba(255,107,26,.1)}
.talk-wave{height:44px;display:flex;justify-content:center;align-items:center;gap:4px}
.talk-wave i{display:block;width:3px;height:8px;border-radius:999px;background:#7f7a73;transition:.2s}
.talk-wave.active i{animation:wave 1s ease-in-out infinite;animation-delay:calc(var(--i) * -55ms);background:var(--orange)}
@keyframes wave{0%,100%{height:7px}50%{height:38px}}
.talk-shutter span{display:grid;place-items:center;background:var(--orange);font-size:23px}.talk-shutter.recording span{background:#ff3b30;animation:recordPulse 1.4s infinite}
@keyframes recordPulse{50%{box-shadow:0 0 0 12px rgba(255,59,48,.14)}}
.continue-talk{min-width:180px;min-height:46px;border:0;border-radius:999px;background:#fff;color:#111;font-weight:800}.continue-talk:disabled{opacity:.35}

.unified-loading{display:grid;place-items:center;overflow:hidden}.unified-loading>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.55) brightness(.55) blur(8px);transform:scale(1.06)}
.voice-loading{background:radial-gradient(circle at 50% 32%,#35261f,#0b0b0c 68%)}.voice-source{position:absolute;inset:15% 8% auto;color:rgba(255,255,255,.16);font-size:clamp(28px,8vw,58px);font-weight:800;line-height:1.05;text-align:center}
.liquid-glass.full{position:absolute;inset:0;background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.01));backdrop-filter:blur(20px) saturate(125%)}
.initial-thinking{position:relative;z-index:3;width:min(86vw,430px);padding:46px 28px 38px;text-align:center;border:1px solid rgba(255,255,255,.18);border-radius:34px;background:rgba(22,22,23,.74);box-shadow:0 28px 90px rgba(0,0,0,.42)}
.initial-thinking h2{margin:18px 0 8px;font-size:clamp(30px,8vw,42px);letter-spacing:-.04em}.initial-thinking p{margin:0;color:#d2cec7;font-size:16px;font-weight:700}.initial-thinking em{display:block;margin-top:9px;color:#8f8a83;font-size:12px;font-style:normal;line-height:1.4}.loading-eye{width:96px;height:54px;color:#fff;animation:eyeBlink 3.2s infinite}.loading-eye circle:last-child{color:var(--orange)}
@keyframes eyeBlink{0%,45%,52%,100%{transform:scaleY(1)}48%,50%{transform:scaleY(.08)}}

.article-results .compact-scene{margin-bottom:6px}.voice-thumb{width:100%;height:100%;display:grid;place-items:center;background:#242425;color:var(--orange);font-size:18px}
.article-results .card-rail{padding-bottom:6px}
.article-results .article-card{padding:0;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;background:linear-gradient(160deg,#202021,#121213 70%)}
.article-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 12px;scrollbar-width:none}.article-scroll::-webkit-scrollbar{display:none}
.article-card .card-topline{position:static}.article-card .category{font-size:9px;letter-spacing:.16em}.article-card .branch-lineage{max-width:72vw;font-size:8px}
.article-card .article-summary h2{margin:12px 0 10px;max-width:none;font-size:clamp(27px,7.6vw,36px);line-height:1.02;letter-spacing:-.045em;display:block;overflow:visible;-webkit-line-clamp:unset}
.article-card .article-dek{margin:0;color:#d3cfc8;font-size:15px!important;line-height:1.48!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
.summary-block{margin-top:18px;padding:15px 15px 13px;border:1px solid #303031;border-radius:17px;background:rgba(255,255,255,.025)}
.summary-block>span{display:block;margin-bottom:9px;color:var(--orange);font-size:9px;font-weight:850;letter-spacing:.15em}
.summary-block ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.summary-block li{position:relative;padding-left:19px;color:#c9c5be;font-size:13px;line-height:1.4}.summary-block li:before{content:'•';position:absolute;left:2px;color:#fff;font-weight:900}
.first-version-block{background:rgba(255,107,26,.045);border-color:rgba(255,107,26,.22)}.first-version-block li:before{content:'✓';color:#ff9a60;font-size:11px;top:2px}
.article-card .evidence-strip{margin:14px 2px 0;padding-top:12px}
.article-card .article-jump-actions{position:relative;display:grid;grid-template-columns:.78fr 1.2fr .82fr 44px;gap:7px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #2f2f30;background:rgba(17,17,18,.95);backdrop-filter:blur(18px)}
.article-card .article-jump-actions button{min-width:0;min-height:44px;padding:8px 10px;border-radius:13px;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.article-card .article-jump-actions .rabbit{background:#211b17;border:1px solid #6b3a20;color:#ffb27f}.article-card .article-jump-actions .primary{background:var(--orange);color:#0e0e0f;border-color:var(--orange)}
.article-card .save-short{font-size:18px!important;padding:0!important}
.think-eye{width:28px;height:18px;color:#fff}.think .think-eye circle:last-child{color:var(--orange)}

.detail-screen ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.detail-screen li{position:relative;padding-left:22px;color:#c8c4bd;font-size:17px;line-height:1.48}.detail-screen li:before{content:'✓';position:absolute;left:0;color:var(--orange);font-size:13px;top:4px}.text-detail-hero{min-height:210px;background:radial-gradient(circle at 70% 30%,#34241d,#171718)}
.build-eye{width:76px;height:44px;color:#fff}.build-eye circle:last-child{color:var(--orange)}

@media(max-width:390px){
  .camera-controls{left:12px;right:12px}.zoom-control{padding:0 8px;gap:5px}
  .talk-panel{left:14px;right:14px}.talk-panel textarea{min-height:130px}
  .article-scroll{padding:16px 15px 10px}.article-card .article-summary h2{font-size:27px}.article-card .article-dek{font-size:14px!important}.summary-block{padding:13px}.summary-block li{font-size:12px}
  .article-card .article-jump-actions{grid-template-columns:.72fr 1.18fr .78fr 42px;padding-left:9px;padding-right:9px}.article-card .article-jump-actions button{font-size:10px;padding:7px 6px}
}
@media(max-height:720px){
  .camera-copy{top:15%}.talk-panel{top:31%}.talk-panel textarea{min-height:110px;max-height:150px}
  .article-card .article-summary h2{font-size:25px;margin-top:9px}.article-card .article-dek{font-size:13px!important;line-height:1.4!important}.summary-block{margin-top:12px;padding:11px}.summary-block ul{gap:6px}.summary-block li{font-size:11.5px}.article-scroll{padding-top:14px}.article-card .evidence-strip{margin-top:10px}
}

/* v0.6.0 — Capture/Browse, Apple-style camera controls, persistent social discovery */
svg{width:1.25em;height:1.25em;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-button svg,.back svg{width:20px;height:20px}.mode svg{width:21px;height:21px}.brand svg{width:30px;height:18px}
.capture-topbar,.browse-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.capture-topbar .brand,.browse-header .brand{justify-self:start}.capture-topbar>.icon-button,.browse-header>.icon-button{justify-self:end}
.surface-switch{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(14,14,15,.58);backdrop-filter:blur(22px) saturate(135%);box-shadow:0 8px 28px rgba(0,0,0,.15)}
.surface-switch button{min-width:74px;height:32px;border:0;border-radius:999px;background:transparent;color:rgba(255,255,255,.56);font-size:12px;font-weight:750;letter-spacing:-.01em;transition:.22s ease}.surface-switch button.active{background:rgba(255,255,255,.94);color:#111;box-shadow:0 3px 12px rgba(0,0,0,.22)}
.camera-copy{top:20%}.camera-copy h1{max-width:285px;font-size:clamp(40px,11vw,60px)}
.camera-utilities{position:absolute;z-index:6;top:calc(env(safe-area-inset-top) + 78px);right:16px;display:grid;gap:8px}.camera-control{background:rgba(18,18,19,.52);border-color:rgba(255,255,255,.16);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.zoom-rail{position:absolute;z-index:6;right:17px;top:50%;transform:translateY(-42%);width:42px;padding:7px 5px;display:grid;justify-items:center;gap:7px;border:1px solid rgba(255,255,255,.15);border-radius:24px;background:rgba(15,15,16,.5);backdrop-filter:blur(22px) saturate(130%)}
.zoom-rail button{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.09);font-size:19px;font-weight:500}.zoom-rail input{appearance:slider-vertical;-webkit-appearance:slider-vertical;width:26px;height:128px;accent-color:#fff;writing-mode:bt-lr}.zoom-rail input:disabled{opacity:.3}
.lens-picker{display:flex;align-items:center;gap:5px;padding:4px;border-radius:999px;background:rgba(10,10,11,.58);backdrop-filter:blur(18px);margin-bottom:-14px}.lens-picker button{min-width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#c8c4bd;font-size:11px;font-weight:800;transition:.2s}.lens-picker button.active{background:rgba(255,255,255,.94);color:#111;transform:scale(1.05)}
.focus-ring{width:68px;height:68px;border-radius:12px}.focus-ring:after{content:'';position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-2px;border-radius:50%;background:#fff}
.capture-panel{gap:20px}.modes{max-width:calc(100vw - 28px);gap:2px;padding:5px;border:1px solid rgba(255,255,255,.1)}.mode{min-width:64px;padding:7px 9px;border-radius:16px}.mode.active{background:rgba(255,255,255,.11)}

.browse-screen{min-height:100svh;padding-bottom:calc(env(safe-area-inset-bottom) + 30px);background:radial-gradient(circle at 50% -10%,#2a1d17,#0b0b0c 34%)}
.browse-header{position:sticky;top:0;z-index:20;padding:calc(env(safe-area-inset-top) + 15px) 16px 12px;background:linear-gradient(#0b0b0cf2,#0b0b0cce 82%,transparent);backdrop-filter:blur(20px)}
.browse-intro{padding:18px 18px 12px}.browse-intro small{color:var(--orange);font-size:9px;font-weight:850;letter-spacing:.16em}.browse-intro h1{margin:7px 0 0;font-size:clamp(32px,9vw,45px);line-height:1;letter-spacing:-.045em}
.filter-rail{display:flex;gap:7px;overflow-x:auto;padding:6px 16px 14px;scrollbar-width:none}.filter-rail::-webkit-scrollbar{display:none}.filter-rail button{flex:0 0 auto;min-height:36px;padding:0 14px;border:1px solid #303031;border-radius:999px;background:#171718;color:#96928b;font-size:11px;font-weight:750}.filter-rail button.active{background:#f5f2ec;border-color:#f5f2ec;color:#111}
.browse-feed{display:grid;gap:13px;padding:0 14px}.feed-card{padding:18px;border:1px solid #2c2c2d;border-radius:25px;background:linear-gradient(150deg,#1d1d1f,#121213 74%);box-shadow:0 18px 48px rgba(0,0,0,.18)}
.feed-meta{display:grid;grid-template-columns:38px 1fr 40px;align-items:center;gap:10px}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#282829;color:#fff;font-weight:850}.feed-meta b{display:block;font-size:13px}.feed-meta small{display:block;margin-top:2px;color:#8f8b84;font-size:10px}.feed-save{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:#252526;color:#aaa}.feed-save.saved{background:rgba(255,107,26,.14);color:var(--orange)}.feed-save svg{width:19px;height:19px}
.feed-card h2{margin:17px 0 9px;font-size:clamp(25px,7vw,32px);line-height:1.04;letter-spacing:-.04em}.feed-card>p{margin:0;color:#c5c1ba;font-size:14px;line-height:1.5}.feed-card ul{margin:15px 0 0;padding:0;list-style:none;display:grid;gap:8px}.feed-card li{position:relative;padding-left:18px;color:#a9a59e;font-size:12px;line-height:1.4}.feed-card li:before{content:'•';position:absolute;left:2px;color:var(--orange)}
.tag-row{display:flex;flex-wrap:wrap;gap:6px}.tag-row span{padding:5px 8px;border-radius:999px;background:#242425;color:#aaa69f;font-size:9px;font-weight:700}.feed-card .tag-row{margin-top:16px}.feed-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding-top:14px;border-top:1px solid #2b2b2c}.feed-card footer span{color:#77736f;font-size:10px}.feed-card footer button{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#fff;font-size:11px;font-weight:800}.feed-card footer svg{width:15px;height:15px}.browse-empty{padding:70px 24px;text-align:center;color:#8f8b84}.browse-empty h2{color:#fff}
.article-tags{margin:11px 0 0}.article-tags span{background:rgba(255,255,255,.055)}
.article-card .article-jump-actions{grid-template-columns:.82fr 1.18fr .82fr 46px}.article-card .article-jump-actions button{display:flex;align-items:center;justify-content:center;gap:6px;overflow:visible;text-overflow:clip}.article-card .save-short svg{width:20px;height:20px}.article-card .save-short.saved{background:rgba(255,107,26,.15);color:var(--orange);border-color:rgba(255,107,26,.36)}
.saved-open{display:block;flex:1;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left}.saved-screen .icon-button svg{width:18px;height:18px}
.back{gap:4px;padding:0 12px}.back svg{margin-left:-2px}.detail-sticky .back,.build-screen>.back{min-height:44px}

@media(max-width:390px){.surface-switch button{min-width:65px}.capture-topbar,.browse-header{gap:6px}.capture-topbar{padding-left:14px;padding-right:14px}.brand span{display:none}.zoom-rail{right:12px}.modes{gap:0}.mode{min-width:58px;padding-left:7px;padding-right:7px}.feed-card{padding:16px}.article-card .article-jump-actions{grid-template-columns:.75fr 1.16fr .75fr 42px}}
@media(max-height:700px){.camera-copy{top:16%}.zoom-rail input{height:94px}.capture-panel{gap:13px;bottom:calc(env(safe-area-inset-bottom) + 15px)}.shutter{width:72px;height:72px}.lens-picker{margin-bottom:-10px}.browse-intro{padding-top:10px}.feed-card h2{font-size:25px}}

/* v0.7.0 — Kakashi Experience System */
:root{
  --space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px;--space-5:40px;
  --radius-s:12px;--radius-m:18px;--radius-l:28px;--radius-xl:36px;
  --motion-fast:180ms;--motion-base:320ms;--motion-slow:520ms;
  --ease-kakashi:cubic-bezier(.2,.8,.2,1);
  --glass:rgba(25,25,27,.76);--line:rgba(255,255,255,.1);
}
*{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
.page-enter{animation:kakashiEnter var(--motion-base) var(--ease-kakashi) both}
@keyframes kakashiEnter{from{opacity:0;transform:translateY(8px) scale(.995)}to{opacity:1;transform:none}}

.surface-switch{
  position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;
  width:176px;height:38px;padding:3px;border:1px solid rgba(255,255,255,.14);
  border-radius:999px;background:rgba(18,18,20,.48);backdrop-filter:blur(24px) saturate(135%);
  box-shadow:inset 0 1px rgba(255,255,255,.08);
}
.surface-switch .surface-indicator{position:absolute;z-index:-1;inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:999px;background:rgba(255,255,255,.16);box-shadow:0 6px 18px rgba(0,0,0,.22);transform:translateX(calc(var(--surface-index) * 100%));transition:transform var(--motion-base) var(--ease-kakashi)}
.surface-switch button{border:0!important;background:transparent!important;color:#908d88!important;font-size:12px!important;font-weight:700!important;letter-spacing:-.01em;transition:color var(--motion-fast) ease}
.surface-switch button.active{color:#fff!important}

.capture-topbar,.browse-header{grid-template-columns:1fr auto 1fr!important;padding-left:18px!important;padding-right:18px!important}
.capture-topbar .icon-button,.browse-header .icon-button{justify-self:end}
.camera-copy{max-width:330px!important;text-shadow:0 2px 20px rgba(0,0,0,.7)}
.camera-copy h1{font-size:clamp(32px,10vw,48px)!important;line-height:.96!important;letter-spacing:-.055em!important}
.camera-copy p{font-size:13px!important;color:rgba(255,255,255,.72)!important}
.camera-utilities{top:calc(env(safe-area-inset-top) + 76px)!important;right:16px!important;gap:8px!important}
.camera-control{width:42px!important;height:42px!important;border-radius:50%!important;background:rgba(18,18,20,.54)!important;backdrop-filter:blur(18px)!important;border:1px solid rgba(255,255,255,.12)!important}
.zoom-rail{opacity:0;pointer-events:none;transform:translateX(10px);transition:opacity var(--motion-fast),transform var(--motion-fast)!important;background:rgba(18,18,20,.58)!important;backdrop-filter:blur(22px)!important;border-color:rgba(255,255,255,.13)!important}
.zoom-rail.visible{opacity:1;pointer-events:auto;transform:none}
.lens-picker{background:rgba(10,10,11,.42)!important;backdrop-filter:blur(20px)!important;border:1px solid rgba(255,255,255,.1);border-radius:999px!important;padding:4px!important}
.lens-picker button{width:37px!important;height:37px!important;border-radius:50%!important;transition:transform var(--motion-fast),background var(--motion-fast)!important}
.lens-picker button.active{transform:scale(1.08);background:#f7f5f1!important;color:#111!important}
.shutter{box-shadow:0 0 0 1px rgba(255,255,255,.72),0 10px 36px rgba(0,0,0,.35)!important}
.focus-ring{border-color:#ffd978!important;box-shadow:0 0 0 1px rgba(0,0,0,.35)!important}

.results-screen.article-results{background:radial-gradient(circle at 50% -20%,#2a2724 0,#111112 44%,#09090a 100%)!important}
.results-header{padding-left:18px!important;padding-right:18px!important}
.results-header small{font-size:8px!important;letter-spacing:.16em!important;color:#827f7a!important}
.results-header h1{font-size:20px!important;letter-spacing:-.035em!important}
.compact-scene{margin:0 18px 8px!important;padding:7px!important;border-radius:16px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important}
.scene-thumb{border-radius:12px!important;box-shadow:0 6px 16px rgba(0,0,0,.35)!important}
.discovery-toolbar{padding:0 20px 8px!important;text-transform:none!important;letter-spacing:0!important;font-size:10px!important}
.discovery-toolbar b{font-variant-numeric:tabular-nums}
.compact-results .card-rail{padding:0 18px 8px!important;gap:14px!important;scroll-padding-left:18px!important}
.compact-results .opportunity-card.editorial-card{flex-basis:calc(100vw - 36px)!important;width:calc(100vw - 36px)!important;max-width:520px!important;padding:22px 20px 14px!important;border-radius:30px!important;background:linear-gradient(150deg,rgba(38,38,40,.98),rgba(18,18,19,.99) 68%)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 24px 70px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.04)!important}
.article-scroll{padding-bottom:6px!important}
.card-topline{align-items:center!important}
.category{font-size:9px!important;letter-spacing:.14em!important;color:#f0a16f!important}
.root-label{display:block;margin-top:5px;color:#77736e;font-size:9px}
.branch-crumb{display:flex;align-items:center;gap:4px;max-width:220px;margin:5px 0 0;padding:0;border:0;background:transparent;color:#aaa59e;font-size:9px}
.branch-crumb span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branch-crumb svg{width:11px;height:11px;transform:rotate(-90deg)}
.card-number{color:#6f6c67!important;font-size:10px!important}
.editorial-card .article-summary h2{margin:18px 0 12px!important;font-size:clamp(30px,8.6vw,41px)!important;line-height:.98!important;letter-spacing:-.055em!important}
.article-dek{max-width:38ch;color:#d7d3cc!important;font-size:15px!important;line-height:1.52!important}
.summary-block{margin-top:22px!important;padding-top:16px!important;border-top:1px solid rgba(255,255,255,.09)!important}
.summary-block>span{font-size:8px!important;letter-spacing:.16em!important;color:#e99b68!important}
.summary-block ul{margin-top:10px!important}.summary-block li{font-size:12.5px!important;line-height:1.45!important;color:#b6b1a9!important}
.first-version-block li:not(:first-child){display:none}
.article-jump-actions{position:sticky;bottom:0;grid-template-columns:.72fr 1.2fr .86fr 44px!important;gap:7px!important;padding-top:12px!important;background:linear-gradient(180deg,transparent,#151516 26%)!important}
.article-jump-actions button{min-height:43px!important;border-radius:13px!important;font-size:11px!important;font-weight:760!important;border-color:rgba(255,255,255,.11)!important}
.article-jump-actions .rabbit{background:#28211d!important;color:#ffb27f!important;border-color:#543723!important}
.article-jump-actions .primary{background:#f4f1ec!important;color:#151515!important;border-color:#f4f1ec!important}
.article-jump-actions .save-short.saved{background:#f0a16f!important;color:#131313!important}
.compact-results .think{margin:0 18px calc(env(safe-area-inset-bottom) + 8px)!important;width:calc(100% - 36px)!important;min-height:50px!important;border-radius:16px!important;background:rgba(29,27,26,.88)!important;border-color:rgba(255,255,255,.09)!important;backdrop-filter:blur(18px)!important}

.detail-backdrop{position:fixed;z-index:90;inset:0;display:flex;align-items:flex-end;padding-top:10vh;background:rgba(0,0,0,.56);backdrop-filter:blur(13px);animation:backdropIn var(--motion-base) ease both}
@keyframes backdropIn{from{opacity:0}to{opacity:1}}
.sheet-layer{width:100%;max-width:620px;max-height:92dvh;margin:0 auto;border:1px solid rgba(255,255,255,.1);border-bottom:0;border-radius:32px 32px 0 0;background:linear-gradient(160deg,#232325,#111112 70%);box-shadow:0 -24px 90px rgba(0,0,0,.48);overflow-y:auto;animation:sheetUp var(--motion-base) var(--ease-kakashi) both}
@keyframes sheetUp{from{transform:translateY(8%);opacity:.4}to{transform:none;opacity:1}}
.sheet-handle{position:sticky;z-index:8;top:0;width:38px;height:5px;margin:10px auto 2px;border-radius:999px;background:rgba(255,255,255,.22)}
.detail-screen{position:relative!important;inset:auto!important;height:auto!important;padding-bottom:calc(env(safe-area-inset-bottom) + 28px)!important}
.detail-sticky{top:0!important;grid-template-columns:1fr auto!important;background:rgba(22,22,23,.82)!important;backdrop-filter:blur(22px)!important}
.sheet-close{justify-self:end}
.detail-hero.compact{margin-top:4px!important}
.detail-section{margin-left:18px!important;margin-right:18px!important;border-color:rgba(255,255,255,.09)!important}
.detail-section summary{min-height:72px!important}
.reason-lead{margin-left:18px!important;margin-right:18px!important}
.build-screen{padding:16px 22px calc(env(safe-area-inset-bottom) + 26px)!important;text-align:left!important}
.build-screen header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.build-screen header h1{margin-top:8px!important;font-size:34px!important;line-height:1!important}.build-screen>p{max-width:36ch!important;color:#bab6af!important;line-height:1.55!important}
.build-list{display:grid!important;gap:0!important;margin-top:24px!important;border-top:1px solid var(--line)!important}.build-list span{display:grid!important;grid-template-columns:34px 1fr!important;align-items:center!important;padding:17px 0!important;border-bottom:1px solid var(--line)!important}.build-list i{font-style:normal;color:#77736d;font-size:10px}

.source-preview{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:26px;background:rgba(0,0,0,.82);backdrop-filter:blur(24px);opacity:0;transition:opacity var(--motion-fast)}.source-preview.visible{opacity:1}.source-preview img{max-width:min(92vw,640px);max-height:76dvh;border-radius:24px;object-fit:contain;box-shadow:0 30px 100px #000}.source-preview button{position:absolute;top:calc(env(safe-area-inset-top) + 18px);right:18px;width:46px;height:46px;border-radius:50%;background:rgba(35,35,37,.74);border:1px solid rgba(255,255,255,.12);color:#fff}.source-preview p{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 24px);max-width:70ch;color:#d0ccc5;font-size:12px;text-align:center}

.browse-screen{background:radial-gradient(circle at 50% -10%,#252321 0,#101011 42%,#09090a 100%)!important}
.browse-intro{padding:34px 20px 18px!important}.browse-intro small{font-size:9px!important;letter-spacing:.16em!important}.browse-intro h1{max-width:9ch;margin-top:8px!important;font-size:42px!important;line-height:.95!important;letter-spacing:-.055em!important}.browse-intro p{margin-top:12px;color:#8f8b84;font-size:13px}
.filter-rail{padding:0 20px 14px!important}.filter-rail button{min-height:38px!important;padding:0 15px!important;border-radius:999px!important;background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.08)!important}.filter-rail button.active{background:#f1eee9!important;color:#111!important}
.browse-feed{padding:0 18px calc(env(safe-area-inset-bottom) + 30px)!important;gap:18px!important}.feed-card{padding:22px!important;border-radius:28px!important;background:linear-gradient(150deg,#202022,#131314)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 20px 58px rgba(0,0,0,.25)!important}.feed-card h2{font-size:28px!important;line-height:1.02!important;letter-spacing:-.045em!important}.feed-card>p{font-size:14px!important;line-height:1.52!important}.feed-card footer button{font-weight:760!important}

@media(max-height:700px){.editorial-card .article-summary h2{font-size:27px!important}.article-dek{font-size:13px!important}.summary-block{margin-top:14px!important;padding-top:12px!important}.summary-block li{font-size:11.5px!important}.article-jump-actions button{min-height:38px!important}.compact-results .think{min-height:44px!important}.detail-backdrop{padding-top:5vh}}
@media(min-width:760px){.compact-results .opportunity-card.editorial-card{flex-basis:min(520px,calc(100vw - 36px))!important}.card-rail{justify-content:flex-start!important}.browse-feed{max-width:720px;margin:0 auto}.sheet-layer{margin-bottom:20px;border-radius:32px;border-bottom:1px solid rgba(255,255,255,.1)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v0.7.1 camera zoom menu, gesture safety, and always-visible discovery actions */
.camera-shell{touch-action:pan-y}
.camera-feed{touch-action:none}
.zoom-menu{position:absolute;z-index:7;right:14px;top:42%;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.zoom-menu-button{width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.15);border-radius:50%;background:rgba(15,15,16,.56);backdrop-filter:blur(20px) saturate(130%);color:#fff;font-size:12px;font-weight:800;box-shadow:0 10px 28px rgba(0,0,0,.28)}
.zoom-menu .zoom-rail{position:relative!important;right:auto!important;top:auto!important;width:42px!important;opacity:0!important;pointer-events:none!important;transform:translateY(-7px) scale(.96)!important;transform-origin:top center;transition:opacity var(--motion-fast),transform var(--motion-fast)!important}
.zoom-menu.open .zoom-rail{opacity:1!important;pointer-events:auto!important;transform:none!important}
.zoom-menu.open .zoom-menu-button{background:rgba(247,245,241,.94);color:#111}
.capture-panel{gap:18px!important}

.results-screen.article-results{height:100dvh;min-height:100dvh;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden;padding-bottom:calc(env(safe-area-inset-bottom) + 8px)!important}
.article-results .card-rail{min-height:0;height:100%;overflow-y:hidden;align-items:stretch!important;padding-bottom:6px!important}
.article-results .article-card{height:100%;min-height:0!important;max-height:100%;padding:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important}
.article-results .article-scroll{min-height:0;overflow-y:auto;padding:20px 20px 12px!important}
.article-card .article-jump-actions{position:relative!important;bottom:auto!important;z-index:4;display:grid!important;grid-template-columns:.82fr 1.38fr .9fr 44px!important;flex-shrink:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(17,17,18,.97)!important;border-top:1px solid rgba(255,255,255,.09)!important}
.article-card .article-jump-actions button{display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:44px!important;padding:8px 7px!important;overflow:visible!important;white-space:nowrap;text-overflow:clip;font-size:10px!important}
.article-card .article-jump-actions .rabbit{font-size:9.5px!important}
.compact-results .think{position:relative!important;bottom:auto!important;margin-top:2px!important;margin-bottom:0!important;z-index:3}
@media(max-width:380px){.article-card .article-jump-actions{grid-template-columns:.72fr 1.42fr .86fr 40px!important;gap:5px!important;padding-left:8px!important;padding-right:8px!important}.article-card .article-jump-actions button{font-size:9px!important}.article-card .article-jump-actions .rabbit{font-size:8.5px!important}}
@media(max-height:720px){.results-screen.article-results{grid-template-rows:auto auto auto minmax(0,1fr) auto}.article-results .article-scroll{padding-top:14px!important}.editorial-card .article-summary h2{font-size:25px!important}.summary-block{margin-top:12px!important;padding-top:10px!important}.summary-block li{font-size:11px!important}.article-card .article-jump-actions button{min-height:40px!important}.compact-results .think{min-height:42px!important}}


/* v0.7.2 discovery usability, responsive actions, and unified sheet behavior */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--radius-control:14px;--radius-card:28px;--touch-target:44px}
.results-screen.article-results{grid-template-rows:auto auto auto minmax(0,1fr) auto!important}
.discovery-toolbar{min-height:30px;padding:0 20px 4px!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px;color:#918d86}
.discovery-toolbar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.discovery-toolbar b{flex:0 0 auto;padding:5px 9px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.045);color:#e8e4dd;font-size:10px;letter-spacing:.04em}
.article-results .article-card{transform:scale(.985);opacity:.88;transition:transform 220ms var(--ease-kakashi),opacity 180ms ease,border-color 180ms ease}.article-results .article-card.is-active{transform:none;opacity:1;border-color:rgba(255,255,255,.14)!important}
.article-card .article-jump-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important}
.article-card .article-jump-actions button{min-height:52px!important;padding:6px 3px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px!important;font-size:10px!important;line-height:1.05!important;border-radius:var(--radius-control)!important;white-space:normal!important}
.article-card .article-jump-actions .action-icon{display:grid!important;place-items:center;height:19px;font-size:16px;line-height:1;color:inherit}.article-card .article-jump-actions .action-icon svg{width:18px;height:18px}.article-card .article-jump-actions .action-label{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px;font-weight:780}
.article-card .article-jump-actions .rabbit:before{display:none!important}.article-card .article-jump-actions .rabbit{font-size:10px!important}.article-card .article-jump-actions .save-short{font-size:10px!important}
.sheet-layer{overscroll-behavior:contain;scrollbar-width:none}.sheet-layer::-webkit-scrollbar{display:none}.sheet-close:focus-visible{outline:2px solid #fff;outline-offset:3px}.detail-backdrop{touch-action:pan-y}
.setup-error{max-width:420px;margin:16vh auto 0;padding:28px 24px;text-align:center}.setup-error b{display:grid;place-items:center;margin:0 auto 20px}.setup-error h2{font-size:30px;letter-spacing:-.04em;margin:0 0 12px}.setup-error p{color:#aaa59d;line-height:1.55}.setup-error button{min-height:48px;margin-top:18px;padding:0 22px;border:0;border-radius:15px;background:#f2eee8;color:#111;font-weight:800}
@media(max-height:740px){.article-card .article-jump-actions button{min-height:46px!important}.article-card .article-jump-actions .action-icon{height:16px;font-size:14px}.article-card .article-jump-actions .action-label{font-size:9px}.compact-results .think{min-height:40px!important}.article-results .article-scroll{padding-bottom:8px!important}}
@media(max-width:360px){.article-card .article-jump-actions{gap:4px!important;padding-left:7px!important;padding-right:7px!important}.article-card .article-jump-actions button{min-height:46px!important}.article-card .article-jump-actions .action-label{font-size:8.5px}.discovery-toolbar{padding-left:16px!important;padding-right:16px!important}}
@media(orientation:landscape) and (max-height:520px){.results-screen.article-results{grid-template-columns:minmax(220px,.78fr) minmax(0,1.22fr);grid-template-rows:auto auto minmax(0,1fr) auto}.results-header{grid-column:1;grid-row:1}.compact-scene{grid-column:1;grid-row:2;margin-bottom:8px!important}.discovery-toolbar{grid-column:1;grid-row:3;align-self:start}.article-results .card-rail{grid-column:2;grid-row:1/5;padding-top:12px!important}.compact-results .think{grid-column:1;grid-row:4;margin-bottom:calc(env(safe-area-inset-bottom) + 8px)!important}.article-results .article-card{flex-basis:calc(100% - 24px)!important}.article-scroll{padding-top:14px!important}.article-card .article-jump-actions button{min-height:44px!important}}

/* v0.8.0 — persistent opportunity paths */
.path-history-button{font-size:22px;font-weight:700;color:var(--orange)!important;transform:rotate(-8deg)}
.path-breadcrumb{display:flex;align-items:center;gap:5px;max-width:min(68vw,310px);margin-top:7px;overflow-x:auto;scrollbar-width:none}
.path-breadcrumb::-webkit-scrollbar{display:none}
.path-breadcrumb button{flex:0 0 auto;max-width:130px;padding:0;border:0;background:transparent;color:#aaa59e;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.path-breadcrumb button[aria-current="page"]{color:#f1eee8;font-weight:750}
.path-breadcrumb span{color:#5d5954;font-size:11px}
.path-panel-backdrop{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;padding-top:8vh;background:rgba(0,0,0,.58);backdrop-filter:blur(12px);animation:fade-in .2s ease both}
.path-panel{width:min(100%,680px);max-height:86dvh;overflow:auto;padding:12px 18px calc(24px + env(safe-area-inset-bottom));border:1px solid rgba(255,255,255,.11);border-bottom:0;border-radius:30px 30px 0 0;background:linear-gradient(180deg,#202021,#111112 38%);box-shadow:0 -24px 70px rgba(0,0,0,.45);animation:sheet-up .34s cubic-bezier(.2,.82,.2,1) both}
.path-panel>header{position:sticky;top:-12px;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -6px;padding:14px 6px 12px;background:linear-gradient(#202021 78%,transparent)}
.path-panel header small{display:block;margin-bottom:5px;color:var(--orange);font-size:9px;font-weight:800;letter-spacing:.15em}
.path-panel header h2{margin:0;font-size:25px;letter-spacing:-.04em}
.path-panel>p{max-width:470px;margin:0 0 18px;color:#aaa59e;font-size:13px;line-height:1.5}
.path-panel ol,.path-panel ul{list-style:none;margin:0;padding:0}
.path-panel li{position:relative}
.path-panel li>button{width:calc(100% - min(calc(var(--path-level) * 13px),52px));margin:0 0 7px min(calc(var(--path-level) * 13px),52px);display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.035);color:#eee;text-align:left}
.path-panel li>button:hover,.path-panel li>button.active{border-color:rgba(255,140,76,.48);background:rgba(255,107,26,.1)}
.path-panel li>button>span{width:18px;flex:0 0 18px;color:var(--orange);font-size:13px;text-align:center}
.path-panel li>button div{min-width:0}
.path-panel li>button b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.path-panel li>button small{display:block;margin-top:4px;color:#8f8b85;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.path-panel li li:before{content:'';position:absolute;left:min(calc(var(--path-level) * 13px - 6px),46px);top:-7px;bottom:8px;width:1px;background:rgba(255,255,255,.1)}
@keyframes sheet-up{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
@media(min-width:760px){.path-panel{margin-bottom:20px;border-bottom:1px solid rgba(255,255,255,.11);border-radius:30px}}
@media(max-height:620px){.path-panel{max-height:94dvh}.path-panel>header{padding-top:8px}.path-panel>p{margin-bottom:10px}}

/* v0.9.0 Saved Discovery Library */
.library-screen{padding-left:18px;padding-right:18px;overflow-x:hidden}.library-header{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.library-header>div{text-align:center;min-width:0}.library-header h1{margin:4px 0 0;font-size:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-header small,.library-summary span{color:var(--orange);font-size:10px;font-weight:800;letter-spacing:.14em}.library-summary{margin:22px 0 14px;padding:20px;border:1px solid #2b2b2c;border-radius:24px;background:linear-gradient(145deg,#1c1c1d,#111112)}.library-summary strong{display:block;font-size:38px;line-height:1}.library-summary span{display:block;margin-top:4px}.library-summary p{margin:12px 0 0;color:#8f8b84;font-size:12px;line-height:1.45}.library-search{height:52px;border:1px solid #303032;background:#171718;border-radius:18px;display:flex;align-items:center;gap:10px;padding:0 14px}.library-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;color:#777}.library-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#fff;font:inherit}.library-search button{width:32px;height:32px;border:0;border-radius:50%;background:#28282a;display:grid;place-items:center}.library-search button svg{width:14px;height:14px}.collection-rail,.library-filter-rail{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:14px 0 2px}.collection-rail button,.library-filter-rail button{flex:0 0 auto;border:1px solid #303032;background:#171718;color:#aaa69f;border-radius:999px;padding:10px 13px;font-size:11px;font-weight:750;display:flex;align-items:center;gap:6px}.collection-rail button svg{width:15px;height:15px}.collection-rail button small{opacity:.65}.collection-rail button.active,.library-filter-rail button.active{background:#f4f1ea;color:#111;border-color:#f4f1ea}.library-filter-rail{padding-top:9px;margin-bottom:14px}.library-filter-rail button{padding:7px 11px;font-size:10px}.library-grid{display:grid;gap:12px}.library-card{background:#171718;border:1px solid #29292a;border-radius:22px;overflow:hidden}.library-card-open{display:block;width:100%;padding:19px 18px 15px;border:0;background:transparent;color:inherit;text-align:left}.library-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.library-card-top span{color:var(--orange);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.library-card-top small{color:#77736f;font-size:9px}.library-card h2{margin:12px 0 9px;font-size:23px;line-height:1.08;letter-spacing:-.025em}.library-card p{margin:0;color:#aaa69f;line-height:1.5;font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.library-card blockquote{margin:14px 0 0;padding:11px 12px;border-left:2px solid var(--orange);background:#202021;border-radius:0 10px 10px 0;color:#d2cec7;font-size:12px;line-height:1.45}.library-card .tag-row{margin-top:14px}.library-card footer{display:grid;grid-template-columns:auto auto 40px;align-items:center;gap:4px;padding:9px 10px;border-top:1px solid #29292a}.library-card footer button{border:0;background:transparent;color:#99958e;padding:9px 8px;font-size:10px;font-weight:750;display:flex;align-items:center;gap:5px}.library-card footer svg{width:15px;height:15px}.library-card footer .library-remove{justify-self:end;color:#777}.library-empty button{border:0;border-radius:999px;background:#262628;color:#fff;padding:11px 15px;font-weight:750}.library-dialog-backdrop{position:fixed;z-index:40;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(10px);display:flex;align-items:flex-end}.library-dialog{position:relative;width:100%;max-height:86svh;overflow:auto;padding:28px 20px calc(env(safe-area-inset-bottom) + 24px);border-radius:28px 28px 0 0;background:#171718;border-top:1px solid #343436;box-shadow:0 -30px 80px rgba(0,0,0,.5)}.library-dialog .sheet-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:0;border-radius:50%;background:#29292b;display:grid;place-items:center}.library-dialog .sheet-close svg{width:16px;height:16px}.library-dialog>small{color:var(--orange);font-size:10px;font-weight:800;letter-spacing:.14em}.library-dialog h2{font-size:27px;line-height:1.08;margin:10px 48px 24px 0}.library-dialog label{display:grid;gap:8px;color:#aaa69f;font-size:11px;font-weight:700}.library-dialog input[type=text],.library-dialog input:not([type]),.library-dialog textarea{width:100%;border:1px solid #343436;background:#0f0f10;color:#fff;border-radius:16px;padding:14px;font:inherit;outline:0}.library-dialog textarea{min-height:150px;resize:vertical}.library-dialog input:focus,.library-dialog textarea:focus{border-color:var(--orange)}.dialog-primary{width:100%;margin-top:18px;border:0;border-radius:16px;background:var(--orange);color:#111;padding:15px;font-weight:850}.dialog-primary:disabled{opacity:.4}.collection-checklist{display:grid;gap:8px}.collection-checklist>p{color:#8f8b84}.collection-checklist label{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;padding:13px;border:1px solid #2f2f31;border-radius:14px;background:#1e1e20}.collection-checklist input{accent-color:var(--orange);width:18px;height:18px}.collection-checklist span{color:#fff;font-size:13px}.collection-checklist small{color:#77736f}.undo-toast{position:fixed;z-index:45;left:50%;bottom:calc(env(safe-area-inset-bottom) + 18px);transform:translateX(-50%);width:min(calc(100% - 36px),440px);padding:12px 14px;border-radius:16px;background:#f4f1ea;color:#111;display:flex;align-items:center;justify-content:space-between;box-shadow:0 15px 50px rgba(0,0,0,.45);font-size:12px;font-weight:750}.undo-toast button{border:0;background:transparent;color:#c64d0b;font-weight:900;padding:6px 8px}@media(min-width:760px){.library-dialog-backdrop{align-items:center;justify-content:center}.library-dialog{max-width:480px;border-radius:28px;border:1px solid #343436}}


/* v0.9.1 Capture Quality */
.camera-recovery{left:50%!important;right:auto!important;top:auto!important;bottom:calc(env(safe-area-inset-bottom) + 172px)!important;transform:translateX(-50%);width:min(88vw,360px);padding:16px 16px 14px!important;border-radius:20px!important;background:rgba(17,17,18,.82)!important;backdrop-filter:blur(24px) saturate(135%);border:1px solid rgba(255,255,255,.13);box-shadow:0 18px 50px rgba(0,0,0,.4);text-align:left!important}
.camera-recovery strong{display:block;font-size:15px;color:#fff}.camera-recovery p{margin:5px 0 12px;font-size:12px;line-height:1.45;color:rgba(255,255,255,.72)}.camera-recovery>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.camera-recovery button{min-height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;font-weight:800}.camera-recovery button:last-child{background:#f2efe9;color:#111}
.zoom-menu{transition:opacity var(--motion-fast),transform var(--motion-fast)}
.zoom-menu:not(.open) .zoom-menu-button{opacity:.82}.zoom-menu.open .zoom-menu-button{box-shadow:0 10px 30px rgba(0,0,0,.36)}
.camera-feed{will-change:transform}.focus-ring.show{animation:focusPop .72s cubic-bezier(.2,.8,.2,1)}
@media(max-height:640px){.camera-recovery{bottom:calc(env(safe-area-inset-bottom) + 142px)!important}.camera-recovery p{display:none}}

/* v0.10.0 — Curated Browse Beta */
.browse-intro{max-width:760px;margin:0 auto}.browse-intro h1{max-width:13ch!important}
.browse-tools{display:grid;gap:10px;padding:0 18px 12px;max-width:760px;margin:0 auto}
.browse-search{height:48px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.055);backdrop-filter:blur(18px)}
.browse-search>svg{width:18px;height:18px;fill:none;stroke:#86827c;stroke-width:1.8}.browse-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;font:600 14px/1.2 inherit}.browse-search input::placeholder{color:#77736e}.browse-search button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:#29292a;color:#aaa}.browse-search button[hidden]{display:none}.browse-search button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.browse-sort{display:flex;gap:6px;overflow:auto;scrollbar-width:none}.browse-sort::-webkit-scrollbar{display:none}.browse-sort button{height:34px;white-space:nowrap;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:transparent;color:#817d77;font-size:11px;font-weight:750}.browse-sort button.active{background:#f1eee8;color:#151515;border-color:#f1eee8}
.browse-editorial-card{padding:0!important;overflow:hidden}.scene-art{position:relative;min-height:230px;overflow:hidden;background:#242426}.scene-art:before,.scene-art:after{content:"";position:absolute;inset:auto;border-radius:999px;filter:blur(2px)}.scene-art:before{width:65%;height:65%;left:-8%;top:2%;background:rgba(255,255,255,.12)}.scene-art:after{width:52%;height:52%;right:-6%;bottom:-10%;background:rgba(0,0,0,.28)}.scene-amber{background:linear-gradient(145deg,#8b5d32,#27201b 72%)}.scene-steel{background:linear-gradient(145deg,#4c5960,#202529 72%)}.scene-sage{background:linear-gradient(145deg,#66765c,#20251f 72%)}.scene-sky{background:linear-gradient(145deg,#558197,#202a2f 72%)}.scene-tomato{background:linear-gradient(145deg,#9a4d3b,#2a1d1a 72%)}.scene-plum{background:linear-gradient(145deg,#68445e,#241e23 72%)}.scene-personal{background:linear-gradient(145deg,#7b654b,#24201c 72%)}.scene-orb{position:absolute;width:112px;height:112px;right:13%;top:18%;border-radius:35%;transform:rotate(18deg);background:rgba(255,255,255,.18);box-shadow:-82px 48px 0 rgba(255,255,255,.09),70px 82px 0 rgba(255,255,255,.08)}.scene-lines{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 15%,rgba(255,255,255,.035) 15.2% 15.8%)}.scene-caption{position:absolute;inset:auto 18px 18px;z-index:2}.scene-caption small{display:block;color:rgba(255,255,255,.6);font-size:8px;font-weight:850;letter-spacing:.16em}.scene-caption strong{display:block;margin-top:5px;color:#fff;font-size:19px;letter-spacing:-.025em}.scene-caption>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.scene-caption span{padding:5px 7px;border-radius:999px;background:rgba(0,0,0,.27);backdrop-filter:blur(12px);color:rgba(255,255,255,.76);font-size:8px;font-weight:650}
.browse-editorial-card .feed-meta{padding:17px 20px 0}.browse-editorial-card .feed-story{display:block;width:100%;padding:0 20px;text-align:left;border:0;background:transparent;color:inherit}.browse-editorial-card .feed-story h2{margin-top:18px}.browse-editorial-card .feed-story p{margin:0;color:#c5c1ba;font-size:14px;line-height:1.52}.browse-editorial-card>.tag-row{margin:16px 20px 0}.browse-editorial-card footer{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:18px 20px 20px!important;padding-top:16px!important}.browse-editorial-card footer button{justify-content:center;min-height:42px;border-radius:13px!important;background:#29292a!important}.browse-editorial-card footer .continue-path{background:#f0ede7!important;color:#151515!important}.browse-editorial-card footer .continue-path span{font-size:17px}.browse-empty button{margin-top:14px;padding:10px 15px;border:0;border-radius:999px;background:#f0ede7;color:#151515;font-weight:750}
@media(min-width:760px){.browse-tools{grid-template-columns:minmax(260px,1fr) auto;align-items:center}.browse-editorial-card .scene-art{min-height:320px}}
@media(max-width:390px){.browse-editorial-card footer{grid-template-columns:1fr}.scene-art{min-height:210px}}

/* v0.11.0 Account and sync foundation */
.header-actions{display:flex;align-items:center;gap:8px}.account-button span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.14);font-size:12px;font-weight:800}.account-screen{min-height:100dvh;padding:calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 36px);background:var(--paper,#f6f3ed);color:#141514}.account-header{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;max-width:760px;margin:0 auto 28px}.account-header .back{margin-top:3px}.account-header small,.account-hero small,.data-section small,.future-sync small{font-size:11px;letter-spacing:.14em;font-weight:800;color:#70746e}.account-header h1{margin:5px 0 0;font-size:clamp(30px,8vw,52px);line-height:.98;letter-spacing:-.045em}.account-hero,.sync-status-card,.profile-form,.data-section,.future-sync{max-width:760px;margin:0 auto 16px;border:1px solid rgba(20,21,20,.09);background:rgba(255,255,255,.72);box-shadow:0 18px 48px rgba(24,28,22,.06);border-radius:28px}.account-hero{display:flex;gap:18px;align-items:center;padding:22px}.account-avatar{width:64px;height:64px;flex:0 0 64px;border-radius:22px;display:grid;place-items:center;background:#111a14;color:#fff;font-size:25px;font-weight:800}.account-avatar svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8}.account-hero h2{margin:4px 0 7px;font-size:22px;letter-spacing:-.025em}.account-hero p,.data-section p,.future-sync li{margin:0;color:#626760;line-height:1.55}.sync-status-card{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.sync-status-card>div{display:flex;align-items:center;gap:12px}.sync-status-card svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.sync-status-card span span,.sync-status-card span{display:flex;flex-direction:column}.sync-status-card small{color:#737770}.status-pill{padding:7px 10px;border-radius:999px;background:#e7ece5;font-size:11px;font-weight:800;white-space:nowrap}.profile-form{padding:22px;display:grid;gap:14px}.profile-form label{display:grid;gap:7px;font-size:12px;font-weight:800}.profile-form input{height:50px;border-radius:15px;border:1px solid rgba(20,21,20,.13);padding:0 14px;background:#fff;font:inherit}.profile-form button,.data-actions button{height:48px;border:0;border-radius:15px;background:#142018;color:#fff;font-weight:800}.profile-form>small{color:#767a74;line-height:1.4}.account-stats{max-width:760px;margin:0 auto 16px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.account-stats article{padding:17px;border-radius:20px;background:#172019;color:#fff;display:grid;gap:3px}.account-stats strong{font-size:24px}.account-stats span{font-size:11px;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.1em}.data-section,.future-sync{padding:22px}.data-section h2,.future-sync h2{margin:5px 0 8px;font-size:24px;letter-spacing:-.025em}.data-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.data-actions button{display:flex;align-items:center;justify-content:center;gap:8px}.data-actions button:last-of-type{background:#e8ece7;color:#182019}.data-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.import-message{margin-top:14px!important;padding:12px 14px;border-radius:14px;background:#e8f1e6;color:#234329!important;font-weight:700}.future-sync ul{margin:14px 0 0;padding-left:20px;display:grid;gap:8px}.remove-profile{display:block;max-width:760px;width:100%;margin:24px auto 0;border:0;background:transparent;color:#8a3932;font-weight:800;padding:14px}.account-screen .back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:520px){.account-header{grid-template-columns:1fr}.account-header .back{width:max-content}.account-hero{align-items:flex-start}.account-avatar{width:54px;height:54px;flex-basis:54px;border-radius:18px}.data-actions{grid-template-columns:1fr}.sync-status-card{align-items:flex-start}.account-stats article{padding:14px 12px}}

/* v0.12.0 — resumable Build It projects */
.build-workspace,.builds-screen{min-height:100dvh;padding:calc(env(safe-area-inset-top) + 16px) 18px calc(env(safe-area-inset-bottom) + 90px);background:#f4f1eb;color:#161716}.build-workspace-header{max-width:760px;margin:0 auto 20px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start}.build-workspace-header small,.builds-screen header small,.build-progress-card small,.build-stage small{color:#757871;font-size:10px;font-weight:850;letter-spacing:.14em}.build-workspace-header h1{margin:5px 0 0;font-size:clamp(28px,7vw,48px);line-height:1;letter-spacing:-.045em}.build-workspace .icon-button{background:#fff;color:#161716;border:1px solid rgba(0,0,0,.08)}.build-progress-card{max-width:760px;margin:0 auto 14px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:28px;background:#172019;color:#fff}.build-progress-card strong{display:block;margin:5px 0 8px;font-size:28px}.build-progress-card p{max-width:480px;margin:0;color:rgba(255,255,255,.65);font-size:13px;line-height:1.5}.build-progress-ring{--progress:0;width:76px;height:76px;flex:0 0 76px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ff8c4c calc(var(--progress) * 1%),rgba(255,255,255,.12) 0)}.build-progress-ring:before{content:"";grid-area:1/1;width:60px;height:60px;border-radius:50%;background:#172019}.build-progress-ring span{grid-area:1/1;z-index:1;font-size:13px;font-weight:850}.build-stage-list{max-width:760px;margin:0 auto;display:grid;gap:12px}.build-stage{padding:20px;border:1px solid rgba(20,21,20,.1);border-radius:25px;background:rgba(255,255,255,.76);box-shadow:0 15px 44px rgba(20,24,19,.045)}.build-stage>header{display:flex;gap:14px;align-items:flex-start}.stage-check{width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(20,21,20,.14);border-radius:14px;background:#f0ede7;color:#161716;font-weight:900}.build-stage.complete .stage-check{background:#1b5d39;color:#fff;border-color:#1b5d39}.build-stage h2{margin:4px 0 5px;font-size:21px;letter-spacing:-.03em}.build-stage header p{margin:0;color:#70746e;font-size:12px;line-height:1.4}.build-stage label{display:grid;gap:7px;margin-top:17px}.build-stage label span{font-size:11px;font-weight:850}.build-stage textarea{width:100%;resize:vertical;min-height:108px;padding:14px;border:1px solid rgba(20,21,20,.12);border-radius:16px;background:#fff;color:#161716;font:500 14px/1.5 inherit;outline:none}.build-stage textarea:focus{border-color:#ff7b34;box-shadow:0 0 0 3px rgba(255,123,52,.13)}.build-workspace-footer{position:fixed;z-index:20;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:rgba(244,241,235,.9);backdrop-filter:blur(18px);border-top:1px solid rgba(20,21,20,.08)}.build-workspace-footer button{min-width:180px;height:48px;border:0;border-radius:15px;background:#172019;color:#fff;font-weight:850}.build-workspace-footer small{color:#747870}.builds-screen>.library-header,.builds-hero,.build-filter,.build-project-grid{max-width:760px;margin-left:auto;margin-right:auto}.builds-hero{display:flex;align-items:center;gap:18px;margin-top:18px;padding:22px;border-radius:28px;background:#172019;color:#fff}.builds-hero>strong{font-size:52px;line-height:1;color:#ff8c4c}.builds-hero h2{margin:0 0 5px;font-size:22px}.builds-hero p{margin:0;color:rgba(255,255,255,.65);font-size:12px;line-height:1.45}.build-filter{display:flex;gap:8px;padding:16px 0}.build-filter button{height:36px;padding:0 13px;border:1px solid rgba(20,21,20,.12);border-radius:999px;background:transparent;color:#6d716b;font-weight:800}.build-filter button.active{background:#172019;color:#fff}.build-project-grid{display:grid;gap:12px}.build-project-card{padding:20px;border:1px solid rgba(20,21,20,.1);border-radius:24px;background:#fff}.build-card-meta{display:flex;justify-content:space-between;gap:12px;color:#71756f;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}.build-project-card h2{margin:12px 0 7px;font-size:24px;letter-spacing:-.035em}.build-project-card>p{margin:0;color:#626760;line-height:1.5}.mini-progress{height:5px;margin:18px 0 15px;border-radius:999px;overflow:hidden;background:#e8e5df}.mini-progress i{display:block;height:100%;border-radius:inherit;background:#ff7b34}.build-project-card footer{display:grid;grid-template-columns:1fr auto;gap:8px}.build-project-card footer button{min-height:44px;border:0;border-radius:14px;background:#172019;color:#fff;font-weight:850}.build-project-card footer .build-delete{width:44px;background:#eeeae4;color:#7e332f}.build-delete svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.library-card footer{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}.library-card footer button{font-size:10px!important}.account-stats.four-up{grid-template-columns:repeat(4,1fr)}
@media(max-width:520px){.build-workspace-header{grid-template-columns:auto 1fr}.build-workspace-header>.icon-button{display:none}.build-progress-card{align-items:flex-start}.build-progress-ring{width:64px;height:64px;flex-basis:64px}.build-progress-ring:before{width:50px;height:50px}.build-workspace-footer{justify-content:space-between}.build-workspace-footer small{font-size:9px}.library-card footer{grid-template-columns:1fr 1fr!important}.account-stats.four-up{grid-template-columns:repeat(2,1fr)}}

/* v0.13.0 — AI-assisted Build It briefs */
.build-assist-card,.generated-brief{max-width:760px;margin:0 auto 14px;border-radius:28px;background:#fff;border:1px solid rgba(20,21,20,.09);box-shadow:0 18px 50px rgba(20,24,19,.055)}
.build-assist-card{padding:22px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.build-assist-card>div>svg{width:24px;height:24px;fill:none;stroke:#ff7b34;stroke-width:1.8;margin-bottom:16px}
.build-assist-card small,.generated-brief small{font-size:10px;font-weight:850;letter-spacing:.14em;color:#777b74}
.build-assist-card h2,.generated-brief h2{margin:6px 0 8px;font-size:25px;letter-spacing:-.035em}
.build-assist-card p,.generated-brief header p{max-width:520px;margin:0;color:#686d66;font-size:13px;line-height:1.55}
.build-assist-card>button,.generated-brief header button{min-height:46px;padding:0 16px;border:0;border-radius:15px;background:#172019;color:#fff;font-weight:850;white-space:nowrap}
.generated-brief{overflow:hidden}
.generated-brief>header{padding:22px;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;background:linear-gradient(145deg,#fff,#f7f2eb)}
.generated-brief>header>div:last-child{display:flex;gap:8px;align-items:center}
.generated-brief header .brief-secondary{background:#ebe7e0;color:#242724}
.generated-brief header button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;margin-right:6px;vertical-align:-3px}
.brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid rgba(20,21,20,.08)}
.brief-grid article{padding:22px;border-right:1px solid rgba(20,21,20,.08);border-bottom:1px solid rgba(20,21,20,.08)}
.brief-grid article:nth-child(2n){border-right:0}
.brief-grid h3{margin:6px 0 9px;font-size:18px;letter-spacing:-.025em}
.brief-grid p,.brief-grid li{color:#5f655e;font-size:13px;line-height:1.55}
.brief-grid p{margin:0}
.brief-grid ul,.brief-grid ol{margin:0;padding-left:18px;display:grid;gap:6px}
.generated-brief.generating{padding:22px;display:flex;gap:18px;align-items:center;background:#172019;color:#fff}
.generated-brief.generating p,.generated-brief.generating small{color:rgba(255,255,255,.66)}
.brief-eye{width:58px;height:34px;color:#ff8c4c;animation:briefBlink 2.2s ease-in-out infinite;flex:0 0 auto}
@keyframes briefBlink{0%,44%,54%,100%{transform:scaleY(1);opacity:1}49%{transform:scaleY(.12);opacity:.72}}
@media(max-width:620px){.build-assist-card,.generated-brief>header{align-items:stretch;flex-direction:column}.build-assist-card>button{width:100%}.generated-brief>header>div:last-child{display:grid;grid-template-columns:1fr 1fr}.brief-grid{grid-template-columns:1fr}.brief-grid article,.brief-grid article:nth-child(2n){border-right:0}.generated-brief.generating{align-items:flex-start}}


/* v0.13.3 — centered continuation and background completion */
.results-screen.article-results{grid-template-rows:auto auto auto minmax(0,1fr)!important}
.continuation-card{background:radial-gradient(circle at 50% 18%,rgba(255,107,26,.14),transparent 42%),linear-gradient(145deg,#1c1b1b,#101011)!important;border-color:rgba(255,139,54,.26)!important;padding:24px!important;display:grid!important;place-items:center!important}
.continuation-card-inner{width:min(100%,330px);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:18px 4px}
.continuation-eye{width:78px;height:52px;display:grid;place-items:center;margin-bottom:18px;color:#fff}
.continuation-eye svg{width:78px;height:44px}.continuation-eye circle:last-child{color:var(--orange)}
.continuation-card small{color:var(--orange);font-size:9px;font-weight:850;letter-spacing:.18em}
.continuation-card h2{margin:14px 0 12px!important;max-width:none!important;font-size:clamp(30px,8vw,40px)!important;line-height:1!important;letter-spacing:-.045em!important}
.continuation-card p{margin:0;color:#b9b5ae;font-size:14px;line-height:1.55;max-width:300px}
.continuation-action{width:100%;margin-top:28px;padding:16px 18px;border:0;border-radius:18px;background:var(--orange);color:#15110e;display:grid;gap:4px;text-align:left;box-shadow:0 16px 38px rgba(255,107,26,.18)}
.continuation-action strong{font-size:15px}.continuation-action span{font-size:11px;font-weight:700;opacity:.72}.continuation-action:disabled{background:#242223;color:#777;box-shadow:none}
.continuation-back-hint{margin-top:16px;color:#77736d;font-size:10px;font-weight:700;letter-spacing:.03em}
@media(max-height:700px){.continuation-card-inner{padding:8px 4px}.continuation-eye{margin-bottom:8px}.continuation-card h2{margin:8px 0!important;font-size:28px!important}.continuation-action{margin-top:16px;padding:13px 15px}}
@media(orientation:landscape) and (max-height:520px){.results-screen.article-results{grid-template-rows:auto auto minmax(0,1fr)!important}.continuation-card-inner{padding:4px}.continuation-eye{display:none}.continuation-card h2{font-size:27px!important}}


/* v0.13.3 — full-screen continuation focus */
.continuation-card{position:relative!important;padding:0!important;overflow:hidden!important}
.continuation-card-inner{position:absolute;inset:0;width:100%!important;max-width:none!important;min-height:0!important;padding:clamp(22px,6vh,52px) 24px!important;justify-content:center!important}
.continuation-card p{max-width:340px;font-size:15px}
.continuation-action{width:min(88%,340px)!important;min-height:82px;margin:32px auto 0!important;padding:18px 24px!important;border-radius:24px!important;text-align:center!important;place-items:center!important;display:grid!important;box-shadow:0 22px 60px rgba(255,107,26,.28)!important;transform:translateZ(0)}
.continuation-action strong{font-size:20px!important;letter-spacing:-.02em}.continuation-action span{font-size:12px!important}
.continuation-back-hint{margin-top:20px!important}
.completion-banner{position:fixed;z-index:1000;left:50%;top:max(14px,env(safe-area-inset-top));transform:translateX(-50%);width:min(calc(100% - 24px),430px);border:1px solid rgba(255,255,255,.16);border-radius:20px;padding:13px 16px;background:rgba(22,22,23,.92);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);color:#fff;display:flex;align-items:center;gap:12px;text-align:left;box-shadow:0 18px 55px rgba(0,0,0,.34);animation:completionIn .38s cubic-bezier(.2,.8,.2,1)}
.completion-eye{width:42px;height:26px;flex:0 0 auto;color:var(--orange)}.completion-banner span{display:grid;gap:2px}.completion-banner strong{font-size:13px}.completion-banner small{font-size:11px;color:rgba(255,255,255,.68)}
@keyframes completionIn{from{opacity:0;transform:translate(-50%,-18px) scale(.97)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-height:700px){.continuation-card-inner{padding:18px 22px!important}.continuation-action{min-height:70px!important;margin-top:18px!important}.continuation-eye{margin-bottom:8px!important}}

/* v0.13.4 — stable continuation action */
.continuation-action{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;cursor:pointer}
.continuation-action.is-loading{pointer-events:none;opacity:.72;transform:scale(.985)}
.continuation-action.is-loading strong::after{content:'…';display:inline-block;min-width:1em;text-align:left}


/* v0.13.5 — living camera eye and seamless continuation */
.capture-topbar{grid-template-columns:1fr auto 1fr;align-items:center}.camera-brand{justify-self:start}.camera-awareness{justify-self:end;width:62px;height:44px;border:0;background:transparent;color:#fff;padding:0;display:grid;place-items:center;filter:drop-shadow(0 6px 16px rgba(0,0,0,.45));cursor:pointer}.camera-awareness-eye{width:56px;height:34px;overflow:visible}.camera-awareness-eye *{transform-box:fill-box;transform-origin:center;transition:transform .55s cubic-bezier(.2,.85,.2,1),opacity .45s ease,stroke .45s ease}.camera-awareness .camera-eye-upper{transform:translateY(calc((1 - var(--eye-open,0)) * 8px))}.camera-awareness .camera-eye-lower{transform:translateY(calc((1 - var(--eye-open,0)) * -5px));opacity:var(--eye-open,0)}.camera-awareness .camera-eye-iris,.camera-awareness .camera-eye-pupil{transform:scale(calc(.66 + var(--eye-focus,.25) * .34),calc(.25 + var(--eye-open,0) * .75));opacity:var(--eye-open,0)}.camera-awareness.camera-off .camera-eye-upper{transform:translateY(8px)}.camera-awareness.camera-off .camera-eye-lower,.camera-awareness.camera-off .camera-eye-iris,.camera-awareness.camera-off .camera-eye-pupil{opacity:0}.camera-awareness.camera-obstructed{color:#ff9a5f}.camera-awareness.camera-obstructed .camera-eye-upper{animation:cameraSquint 1.4s ease-in-out infinite}.camera-awareness.camera-on:not(.camera-obstructed) .camera-eye-pupil{animation:cameraBreathe 3.6s ease-in-out infinite}.capture-secondary-actions{position:absolute;z-index:6;top:calc(env(safe-area-inset-top) + 78px);left:16px;display:grid;gap:8px}.capture-secondary-actions .icon-button{width:40px;min-width:40px;height:40px;background:rgba(18,18,19,.42)}@keyframes cameraSquint{0%,100%{transform:translateY(calc((1 - var(--eye-open,.18)) * 8px))}50%{transform:translateY(7px)}}@keyframes cameraBreathe{0%,100%{transform:scale(calc(.66 + var(--eye-focus,.25) * .34),calc(.25 + var(--eye-open,0) * .75))}50%{transform:scale(calc(.72 + var(--eye-focus,.25) * .36),calc(.29 + var(--eye-open,0) * .77))}}
.continuation-card-inner{pointer-events:auto}.continuation-eye{margin:0 0 18px!important;width:96px!important;height:62px!important;border:0;background:transparent;color:#fff;padding:0;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;pointer-events:auto;z-index:3}.continuation-eye svg{width:94px!important;height:54px!important;transition:transform .48s cubic-bezier(.2,.85,.2,1)}.continuation-eye.eye-closed-ready svg path{transform-origin:center;transform:scaleY(.05)}.continuation-eye.eye-closed-ready svg circle{opacity:0}.continuation-eye.eye-closed-ready:hover svg path,.continuation-eye.eye-closed-ready:focus-visible svg path{transform:scaleY(.18)}.continuation-eye.eye-open-loading svg{animation:continuationNaturalBlink 2.5s ease-in-out infinite}.continuation-look-label{font-size:17px;font-weight:850;color:var(--orange);margin-top:14px;letter-spacing:-.01em}.continuation-loading-line{width:min(70%,230px);height:3px;border-radius:999px;background:#2b2827;margin-top:24px;overflow:hidden}.continuation-loading-line i{display:block;width:42%;height:100%;border-radius:inherit;background:var(--orange);animation:continuationScan 1.25s ease-in-out infinite}.continuation-card.is-looking{background:radial-gradient(circle at 50% 28%,rgba(255,107,26,.18),transparent 44%),linear-gradient(145deg,#1c1b1b,#101011)!important}.continuation-card.is-looking .continuation-eye{cursor:wait}.continuation-card.is-looking h2{animation:softPulse 2.2s ease-in-out infinite}@keyframes continuationNaturalBlink{0%,42%,48%,100%{transform:scaleY(1)}45%{transform:scaleY(.08)}}@keyframes continuationScan{0%{transform:translateX(-130%)}100%{transform:translateX(310%)}}@keyframes softPulse{0%,100%{opacity:1}50%{opacity:.72}}
@media(prefers-reduced-motion:reduce){.camera-awareness-eye *,.continuation-eye svg,.continuation-loading-line i{animation:none!important;transition:none!important}}

.continuation-eye{height:auto!important;min-height:92px!important;display:flex!important;flex-direction:column!important;gap:8px!important}.continuation-eye .continuation-look-label{margin:0!important;pointer-events:none}.continuation-eye:active{transform:scale(.96)}


/* v0.13.6 — one exact Kakashi eye everywhere */
.kakashi-eye-svg{
  --eye-open:1;
  overflow:visible;
}
.kakashi-eye-svg .eye-lid,
.kakashi-eye-svg .eye-ball{
  transform-box:view-box;
  transform-origin:32px 18px;
  will-change:transform,opacity;
}
.kakashi-eye-svg .eye-lid{
  transform:scaleY(var(--eye-open,1));
  transition:transform .52s cubic-bezier(.22,.9,.24,1);
}
.kakashi-eye-svg .eye-ball{
  transform:scaleY(var(--eye-open,1));
  opacity:clamp(0,var(--eye-open,1),1);
  transition:transform .48s cubic-bezier(.22,.9,.24,1),opacity .22s ease;
}
.kakashi-eye-svg .eye-pupil{fill:var(--orange)}

/* Camera status now lives in the original top-left brand position. */
.capture-topbar{grid-template-columns:1fr auto 1fr!important}
.camera-topbar-balance{display:block;min-width:112px;justify-self:end}
.camera-brand.camera-awareness{
  justify-self:start;
  width:auto;
  min-width:112px;
  height:44px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.45));
  cursor:pointer;
}
.camera-brand.camera-awareness .camera-awareness-eye{width:30px;height:18px;display:block;margin:0}
.camera-brand.camera-awareness span{font-weight:850;letter-spacing:.18em;font-size:12px}
.camera-awareness.camera-off{--eye-open:0}
.camera-awareness.camera-on{--eye-open:max(.12,var(--camera-eye-open,.6))}
.camera-awareness.camera-obstructed{--eye-open:.12;color:#ff9a5f}
.camera-awareness.camera-on:not(.camera-obstructed) .eye-pupil{animation:cameraPupilBreathe 3.8s ease-in-out infinite}
@keyframes cameraPupilBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}

/* The same lids perform every blink instead of replacing or scaling the whole logo. */
.loading-eye .eye-lid,
.brief-eye .eye-lid,
.error-eye .eye-lid,
.completion-eye .eye-lid,
.continuation-eye.eye-open-loading .eye-lid{
  animation:kakashiLidBlink 3.15s cubic-bezier(.45,0,.2,1) infinite;
}
.loading-eye .eye-ball,
.brief-eye .eye-ball,
.error-eye .eye-ball,
.completion-eye .eye-ball,
.continuation-eye.eye-open-loading .eye-ball{
  animation:kakashiBallBlink 3.15s cubic-bezier(.45,0,.2,1) infinite;
}
@keyframes kakashiLidBlink{
  0%,39%,49%,100%{transform:scaleY(1)}
  44%,46%{transform:scaleY(0)}
}
@keyframes kakashiBallBlink{
  0%,39%,49%,100%{transform:scaleY(1);opacity:1}
  43%,47%{transform:scaleY(0);opacity:0}
}

/* End-of-set eye closes into a clean line, then opens in exactly the same spot. */
.continuation-eye.eye-closed-ready .kakashi-eye-svg{--eye-open:0}
.continuation-eye.eye-closed-ready:hover .kakashi-eye-svg,
.continuation-eye.eye-closed-ready:focus-visible .kakashi-eye-svg{--eye-open:.18}
.continuation-eye.eye-open-loading .kakashi-eye-svg{--eye-open:1}
.continuation-eye.eye-closed-ready svg path,
.continuation-eye.eye-closed-ready svg circle,
.continuation-eye.eye-closed-ready:hover svg path,
.continuation-eye.eye-closed-ready:focus-visible svg path{
  transform:none;
  opacity:1;
}
.continuation-eye.eye-closed-ready .eye-ball{opacity:0!important;transform:scaleY(0)!important}
.continuation-eye.eye-closed-ready .eye-lid{transform:scaleY(0)!important}
.continuation-eye.eye-closed-ready:hover .eye-lid,
.continuation-eye.eye-closed-ready:focus-visible .eye-lid{transform:scaleY(.18)!important}
.continuation-eye.eye-open-loading svg{animation:none!important}

@media(max-width:380px){
  .camera-brand.camera-awareness{min-width:96px}
  .camera-brand.camera-awareness .camera-awareness-eye{width:27px}
  .camera-brand.camera-awareness span{font-size:11px}
  .camera-topbar-balance{min-width:96px}
}
@media(prefers-reduced-motion:reduce){
  .kakashi-eye-svg .eye-lid,.kakashi-eye-svg .eye-ball{animation:none!important;transition:none!important}
}


/* v0.13.7 — clean camera eye placement, natural blinking, and focus feedback */
.capture-topbar{grid-template-columns:56px minmax(0,1fr) 56px!important;align-items:center!important;padding-left:22px!important;padding-right:22px!important}
.camera-topbar-balance{min-width:56px!important;width:56px!important}
.camera-brand.camera-awareness{
  justify-self:start!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.45));
}
.camera-brand.camera-awareness .camera-awareness-eye{width:34px!important;height:21px!important;margin:0!important}
.camera-brand.camera-awareness span{display:none!important}
.camera-awareness.is-blinking .eye-lid{transform:scaleY(0)!important}
.camera-awareness.is-blinking .eye-ball{transform:scaleY(0)!important;opacity:0!important}
.camera-awareness.camera-off .eye-lid{transform:scaleY(0)!important}
.camera-awareness.camera-off .eye-ball{transform:scaleY(0)!important;opacity:0!important}
.camera-awareness.camera-obstructed .eye-lid{transition-duration:.8s!important}
.camera-awareness.camera-on:not(.camera-obstructed) .eye-lid,
.camera-awareness.camera-on:not(.camera-obstructed) .eye-ball{transition-duration:.58s!important}

.focus-ring{
  width:72px!important;height:72px!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;opacity:0;transform:translate(-50%,-50%) scale(.72)!important;
}
.focus-corners{position:absolute;inset:0;border:2px solid #ffd84d;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.focus-corners:before,.focus-corners:after{content:'';position:absolute;background:#ffd84d}
.focus-corners:before{left:50%;top:-5px;width:2px;height:8px;transform:translateX(-50%)}
.focus-corners:after{left:50%;bottom:-5px;width:2px;height:8px;transform:translateX(-50%)}
.focus-sun{position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);font-size:23px;line-height:1;color:#ffd84d;text-shadow:0 1px 4px rgba(0,0,0,.65)}
.focus-ring.show{animation:appleFocusPop 1.05s cubic-bezier(.22,.8,.2,1) both!important}
.focus-ring.double-focus .focus-corners{animation:focusConfirm .45s ease-out 1}
@keyframes appleFocusPop{0%{opacity:0;transform:translate(-50%,-50%) scale(1.18)}16%{opacity:1;transform:translate(-50%,-50%) scale(1)}72%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(.96)}}
@keyframes focusConfirm{0%,100%{filter:brightness(1)}45%{filter:brightness(1.65);transform:scale(.9)}}
@media(max-width:380px){.capture-topbar{grid-template-columns:50px minmax(0,1fr) 50px!important}.camera-topbar-balance{min-width:50px!important;width:50px!important}.camera-brand.camera-awareness{width:40px!important;min-width:40px!important}.camera-brand.camera-awareness .camera-awareness-eye{width:31px!important}}


/* v0.13.8 — trademark living eye, camera focus and background resilience */
.kakashi-eye-svg{--eye-open:1;overflow:visible}
.kakashi-eye-svg .eye-lid,.kakashi-eye-svg .eye-ball,.kakashi-eye-svg .eye-closed-line{transform-box:fill-box;transform-origin:center;transition:transform .62s cubic-bezier(.22,.9,.25,1),opacity .42s ease}
.kakashi-eye-svg .eye-pupil{fill:currentColor!important}
.kakashi-eye-svg .eye-iris{stroke:currentColor!important}
.kakashi-eye-svg .eye-closed-line{opacity:calc(1 - min(1,var(--eye-open,1) * 2.5));transform:scaleX(calc(.86 + var(--eye-open,1) * .14))}
.kakashi-eye-svg .eye-lid{opacity:clamp(0,calc(var(--eye-open,1) * 2.5),1)}
.kakashi-eye-svg .eye-ball{opacity:clamp(0,calc((var(--eye-open,1) - .08) * 2.2),1);transform:scaleY(max(.04,var(--eye-open,1)))}
.kakashi-eye-svg .eye-lid-upper{transform:translateY(calc((1 - var(--eye-open,1)) * 14px))}
.kakashi-eye-svg .eye-lid-lower{transform:translateY(calc((1 - var(--eye-open,1)) * -14px))}

.capture-topbar{grid-template-columns:52px minmax(0,1fr) 52px!important;align-items:center!important}
.camera-brand.camera-awareness{position:relative!important;inset:auto!important;justify-self:start!important;width:44px!important;min-width:44px!important;height:38px!important;padding:0!important;margin:0!important;color:#fff!important;background:transparent!important;border:0!important;filter:drop-shadow(0 3px 10px rgba(0,0,0,.45))!important;z-index:10!important}
.camera-brand.camera-awareness .camera-awareness-eye{width:42px!important;height:25px!important;margin:0!important}
.camera-topbar-balance{display:block!important;width:44px!important;height:38px!important;justify-self:end!important}
.camera-awareness.camera-obstructed{color:#fff!important}
.camera-awareness.camera-off .kakashi-eye-svg,.camera-awareness.camera-obstructed .kakashi-eye-svg{--eye-open:0!important}
.camera-awareness.is-blinking .kakashi-eye-svg{--eye-open:0!important}
.camera-awareness.camera-on:not(.camera-obstructed) .kakashi-eye-svg{color:#fff}
.camera-awareness .eye-pupil{animation:none!important}

.loading-eye,.brief-eye,.error-eye,.completion-eye,.continuation-eye-mark{color:#fff!important}
.loading-eye .eye-pupil,.brief-eye .eye-pupil,.error-eye .eye-pupil,.completion-eye .eye-pupil,.continuation-eye-mark .eye-pupil{fill:currentColor!important}
.loading-eye,.continuation-eye.eye-open-loading .kakashi-eye-svg{animation:none!important;--eye-open:1}
.loading-eye .eye-lid,.loading-eye .eye-ball,.loading-eye .eye-closed-line,.continuation-eye.eye-open-loading .eye-lid,.continuation-eye.eye-open-loading .eye-ball,.continuation-eye.eye-open-loading .eye-closed-line{animation:trademarkBlink 3.4s cubic-bezier(.22,.9,.25,1) infinite}
.continuation-eye.eye-closed-ready .kakashi-eye-svg{--eye-open:0!important}
.continuation-eye.eye-closed-ready:hover .kakashi-eye-svg,.continuation-eye.eye-closed-ready:focus-visible .kakashi-eye-svg{--eye-open:.28!important}
@keyframes trademarkBlink{0%,39%,48%,100%{transform:none;opacity:1}43%,45%{transform:scaleY(.02);opacity:.15}}

.focus-ring{width:72px!important;height:72px!important;border:2px solid #ffd75e!important;border-radius:8px!important;box-shadow:0 1px 5px rgba(0,0,0,.6)!important;background:transparent!important}
.focus-ring:after{display:none!important}
.focus-ring .focus-corners{position:absolute;inset:0;border-radius:inherit}
.focus-ring .focus-sun{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);font-size:20px;color:#ffd75e;text-shadow:0 1px 3px #000}
.focus-ring.double-focus{box-shadow:0 0 0 1px rgba(255,215,94,.35),0 1px 6px rgba(0,0,0,.65)!important}
@keyframes appleFocusPop{0%{opacity:0;transform:translate(-50%,-50%) scale(1.35)}16%{opacity:1;transform:translate(-50%,-50%) scale(.94)}28%{transform:translate(-50%,-50%) scale(1)}76%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1)}}
.focus-ring.show{animation:appleFocusPop 1.35s cubic-bezier(.2,.82,.2,1) both!important}

@media(prefers-reduced-motion:reduce){.loading-eye .eye-lid,.loading-eye .eye-ball,.loading-eye .eye-closed-line,.continuation-eye.eye-open-loading *{animation:none!important}}


/* v0.13.9 — unified Capture/Browse header geometry */
.camera-shell .capture-topbar{
  position:relative!important;
  top:auto!important;
  z-index:20!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:10px!important;
  padding:calc(env(safe-area-inset-top) + 15px) 16px 12px!important;
  background:linear-gradient(rgba(11,11,12,.72),rgba(11,11,12,.18) 82%,transparent)!important;
  backdrop-filter:blur(14px)!important;
}
.camera-shell .capture-topbar .camera-brand.camera-awareness{
  justify-self:start!important;
  width:48px!important;
  min-width:48px!important;
  height:44px!important;
  margin:0!important;
}
.camera-shell .capture-topbar .camera-awareness-eye{
  width:42px!important;
  height:25px!important;
}
.camera-shell .capture-topbar .surface-switch{justify-self:center!important}
.camera-shell .capture-topbar .header-actions{justify-self:end!important;display:flex!important;gap:8px!important}
.camera-shell .capture-topbar .header-actions .icon-button{
  width:44px!important;min-width:44px!important;height:44px!important;
  background:rgba(18,18,19,.42)!important;
}
.camera-shell .capture-secondary-actions,.camera-topbar-balance{display:none!important}
@media(max-width:390px){
  .camera-shell .capture-topbar{gap:6px!important;padding-left:16px!important;padding-right:16px!important}
  .camera-shell .capture-topbar .camera-brand.camera-awareness{width:44px!important;min-width:44px!important}
  .camera-shell .capture-topbar .header-actions{gap:6px!important}
  .camera-shell .capture-topbar .header-actions .icon-button{width:42px!important;min-width:42px!important;height:42px!important}
}

/* v0.13.10 — one trademark eye and unified permission onboarding */
:root{--kakashi-eye-width:42px;--kakashi-eye-height:25px}
.eye-mark,.camera-awareness-eye,.loading-eye,.continuation-eye-mark,.brief-eye,.error-eye,.completion-eye,.permission-eye{
  width:var(--kakashi-eye-width)!important;
  height:var(--kakashi-eye-height)!important;
  min-width:var(--kakashi-eye-width)!important;
  min-height:var(--kakashi-eye-height)!important;
  color:#fff!important;
  display:block!important;
  margin:0!important;
  filter:none!important;
}
.brand{gap:10px!important}.brand .eye-mark{margin:0!important}
.kakashi-eye{width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important;margin:0 auto 20px!important;display:grid!important;place-items:center!important}
.initial-thinking .loading-eye,.thinking-overlay .loading-eye{width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important}
.continuation-eye{width:auto!important;min-width:180px!important;min-height:92px!important;height:auto!important}
.continuation-eye .continuation-eye-mark{width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important}
.continuation-eye.eye-open-loading .continuation-eye-mark,.loading-eye{animation:none!important}
.loading-eye .eye-lid,.loading-eye .eye-ball,.loading-eye .eye-closed-line,.continuation-eye.eye-open-loading .eye-lid,.continuation-eye.eye-open-loading .eye-ball,.continuation-eye.eye-open-loading .eye-closed-line{
  animation:trademarkBlink 3.4s cubic-bezier(.22,.9,.25,1) infinite!important;
}
.camera-shell .capture-topbar .camera-awareness-eye{width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important}

.permission-suite{
  min-width:min(86vw,340px)!important;
  min-height:72px!important;
  padding:12px 20px!important;
  border:1px solid rgba(255,255,255,.2)!important;
  border-radius:999px!important;
  background:rgba(20,20,21,.72)!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  box-shadow:0 16px 44px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(18px) saturate(1.2)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.2)!important;
  transition:transform .2s ease,background .2s ease,opacity .2s ease!important;
}
.permission-suite span{display:grid;text-align:left;gap:2px}
.permission-suite strong{font-size:17px;line-height:1.1;letter-spacing:-.02em}
.permission-suite small{font-size:11px;line-height:1.2;color:rgba(255,255,255,.64);font-weight:700}
.permission-suite:active{transform:scale(.975)}
.permission-suite:disabled{opacity:.78;cursor:wait}
.permission-suite.is-requesting .permission-eye .eye-lid,.permission-suite.is-requesting .permission-eye .eye-ball,.permission-suite.is-requesting .permission-eye .eye-closed-line{animation:trademarkBlink 2.2s cubic-bezier(.22,.9,.25,1) infinite!important}
.permission-summary{max-width:min(88vw,420px)}
@media(max-width:380px){:root{--kakashi-eye-width:40px;--kakashi-eye-height:24px}.permission-suite{min-width:min(88vw,320px)!important}}

/* v0.13.11 — exact trademark eye, true clarity squint, and media-state polish */
:root{--kakashi-eye-width:42px;--kakashi-eye-height:25px}
.kakashi-eye-svg{
  width:var(--kakashi-eye-width)!important;
  height:var(--kakashi-eye-height)!important;
  min-width:var(--kakashi-eye-width)!important;
  min-height:var(--kakashi-eye-height)!important;
  color:#fff!important;
  overflow:visible!important;
}
.kakashi-eye-svg .eye-iris,.kakashi-eye-svg .eye-pupil{stroke:currentColor!important;fill:none!important}
.kakashi-eye-svg .eye-pupil{fill:currentColor!important;stroke:none!important}
.eye-mark,.camera-awareness-eye,.loading-eye,.continuation-eye-mark,.brief-eye,.error-eye,.completion-eye,.permission-eye{
  width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important;
  min-width:var(--kakashi-eye-width)!important;min-height:var(--kakashi-eye-height)!important;
  max-width:var(--kakashi-eye-width)!important;max-height:var(--kakashi-eye-height)!important;
  color:#fff!important;margin:0!important;display:block!important;filter:none!important;
}
.kakashi-eye{
  width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important;
  min-width:var(--kakashi-eye-width)!important;min-height:var(--kakashi-eye-height)!important;
  max-width:var(--kakashi-eye-width)!important;max-height:var(--kakashi-eye-height)!important;
  margin:0 auto 24px!important;display:block!important;color:#fff!important;
}
.loading-eye circle:last-child,.loading-eye .eye-pupil,.think-eye circle:last-child,.build-eye circle:last-child,.continuation-eye circle:last-child{fill:currentColor!important;color:inherit!important}

/* The camera eye is closed only when off/blocked, and continuously squints with quality. */
.camera-awareness .kakashi-eye-svg{--eye-open:var(--camera-eye-open,var(--eye-open,0));transition:none!important}
.camera-awareness.camera-off .kakashi-eye-svg,.camera-awareness.camera-obstructed .kakashi-eye-svg{--eye-open:0!important}
.camera-awareness.camera-on:not(.camera-obstructed) .kakashi-eye-svg{--eye-open:var(--eye-open,.5)!important}
.camera-awareness.camera-soft .kakashi-eye-svg{filter:drop-shadow(0 0 7px rgba(255,255,255,.08))}
.camera-awareness.camera-clear .kakashi-eye-svg{filter:drop-shadow(0 0 7px rgba(255,255,255,.18))}
.camera-awareness.is-blinking .kakashi-eye-svg{--eye-open:0!important}
.camera-awareness .eye-lid,.camera-awareness .eye-ball,.camera-awareness .eye-closed-line{
  transition:transform .72s cubic-bezier(.16,1,.3,1),opacity .52s ease!important;
}

/* Every non-camera use is the exact same master artwork and dimensions. */
.initial-thinking .kakashi-eye,.thinking-overlay .kakashi-eye{width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important}
.initial-thinking .loading-eye,.thinking-overlay .loading-eye,.continuation-eye .continuation-eye-mark{transform:none!important}
.loading-eye .eye-lid,.loading-eye .eye-ball,.loading-eye .eye-closed-line,
.continuation-eye.eye-open-loading .eye-lid,.continuation-eye.eye-open-loading .eye-ball,.continuation-eye.eye-open-loading .eye-closed-line{
  animation:trademarkMasterBlink 3.6s cubic-bezier(.16,1,.3,1) infinite!important;
}
@keyframes trademarkMasterBlink{
  0%,38%,48%,100%{transform:translateY(0) scaleY(1);opacity:1}
  42%,44%{transform:scaleY(.02);opacity:.08}
}
@media(prefers-reduced-motion:reduce){.loading-eye *,.continuation-eye.eye-open-loading *{animation:none!important}}

/* v0.13.12 — aligned camera utilities and stateful trademark eye */
/* Camera controls form one precise right-side stack. */
.camera-utilities{
  top:calc(env(safe-area-inset-top) + 82px)!important;
  right:16px!important;
  display:grid!important;
  grid-template-columns:52px!important;
  justify-items:center!important;
  gap:10px!important;
}
.camera-control{
  width:52px!important;
  min-width:52px!important;
  height:52px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:0!important;
}
.camera-control svg{
  width:25px!important;
  height:25px!important;
  display:block!important;
  margin:auto!important;
  transform:none!important;
}
.zoom-menu{
  right:16px!important;
  top:calc(env(safe-area-inset-top) + 206px)!important;
  align-items:center!important;
}
.zoom-menu-button{
  width:52px!important;
  min-width:52px!important;
  height:52px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
}

/* Browse and all non-observing header marks rest as a clean closed line. */
.brand-resting .eye-resting{--eye-open:0!important}
.brand-resting .eye-resting .eye-closed-line{opacity:1!important}

/* Loading is actively looking: no permanent center line, with a full natural blink. */
.loading-eye,.continuation-eye.eye-open-loading .kakashi-eye-svg{--eye-open:1!important}
.loading-eye .eye-closed-line,.continuation-eye.eye-open-loading .eye-closed-line{opacity:0!important;animation:loadingClosedLine 4.1s cubic-bezier(.16,1,.3,1) infinite!important}
.loading-eye .eye-lid-upper,.continuation-eye.eye-open-loading .eye-lid-upper{animation:loadingUpperLid 4.1s cubic-bezier(.16,1,.3,1) infinite!important}
.loading-eye .eye-lid-lower,.continuation-eye.eye-open-loading .eye-lid-lower{animation:loadingLowerLid 4.1s cubic-bezier(.16,1,.3,1) infinite!important}
.loading-eye .eye-ball,.continuation-eye.eye-open-loading .eye-ball{animation:loadingEyeBall 4.1s cubic-bezier(.16,1,.3,1) infinite!important}
@keyframes loadingUpperLid{
  0%,38%,52%,100%{transform:translateY(0)}
  43%,47%{transform:translateY(14px)}
}
@keyframes loadingLowerLid{
  0%,38%,52%,100%{transform:translateY(0)}
  43%,47%{transform:translateY(-14px)}
}
@keyframes loadingEyeBall{
  0%,38%,52%,100%{transform:scaleY(1);opacity:1}
  43%,47%{transform:scaleY(.04);opacity:0}
}
@keyframes loadingClosedLine{
  0%,40%,50%,100%{opacity:0}
  43%,47%{opacity:1}
}

/* Camera clarity changes are deliberately gradual instead of binary. */
.camera-awareness .kakashi-eye-svg{
  transition:none!important;
}
.camera-awareness .eye-lid-upper,.camera-awareness .eye-lid-lower{
  transition:transform 1.05s cubic-bezier(.16,1,.3,1),opacity .8s ease!important;
}
.camera-awareness .eye-ball{
  transition:transform .95s cubic-bezier(.16,1,.3,1),opacity .75s ease!important;
}
.camera-awareness .eye-closed-line{
  transition:opacity .7s ease,transform .95s cubic-bezier(.16,1,.3,1)!important;
}
.camera-awareness.camera-on:not(.camera-obstructed) .kakashi-eye-svg{--eye-open:var(--eye-open,.55)!important}
.camera-awareness.camera-obstructed .kakashi-eye-svg,.camera-awareness.camera-off .kakashi-eye-svg{--eye-open:0!important}
.camera-awareness.camera-obstructed{color:#fff!important}

@media(max-width:390px){
  .camera-utilities{right:14px!important}
  .zoom-menu{right:14px!important}
}
@media(prefers-reduced-motion:reduce){
  .loading-eye .eye-lid-upper,.loading-eye .eye-lid-lower,.loading-eye .eye-ball,.loading-eye .eye-closed-line,
  .continuation-eye.eye-open-loading *{animation:none!important}
  .loading-eye .eye-closed-line,.continuation-eye.eye-open-loading .eye-closed-line{opacity:0!important}
}


/* v0.13.13 — stable shared header, dismissible focus feedback, refined permission setup */
.browse-header,
.camera-shell .capture-topbar{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:calc(env(safe-area-inset-top) + 71px)!important;
  grid-template-columns:96px minmax(0,1fr) 96px!important;
  align-items:center!important;
  gap:8px!important;
  padding:calc(env(safe-area-inset-top) + 15px) 16px 12px!important;
}
.browse-header .brand,
.camera-shell .capture-topbar .camera-brand.camera-awareness{
  width:48px!important;
  min-width:48px!important;
  height:44px!important;
  justify-self:start!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
}
.browse-header .brand span{display:none!important}
.browse-header .surface-switch,
.camera-shell .capture-topbar .surface-switch{
  justify-self:center!important;
  width:max-content!important;
  margin:0!important;
}
.browse-header .header-actions,
.camera-shell .capture-topbar .header-actions{
  width:96px!important;
  min-width:96px!important;
  justify-self:end!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
}
.browse-header .header-actions .icon-button,
.camera-shell .capture-topbar .header-actions .icon-button{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  margin:0!important;
}
.camera-shell .capture-topbar{
  position:relative!important;
  top:auto!important;
}
.focus-ring{
  visibility:hidden!important;
  opacity:0!important;
}
.focus-ring.show{
  visibility:visible!important;
}
.permission-suite{
  min-width:min(88vw,360px)!important;
  min-height:68px!important;
  padding:12px 18px 12px 22px!important;
  justify-content:space-between!important;
  gap:18px!important;
  background:linear-gradient(180deg,rgba(35,35,37,.88),rgba(18,18,19,.92))!important;
  border-color:rgba(255,255,255,.22)!important;
}
.permission-suite span:first-child{text-align:left!important}
.permission-arrow{
  width:38px;height:38px;border-radius:999px;display:grid!important;place-items:center;
  flex:0 0 auto;background:#f4f1eb;color:#111;font-size:22px;font-weight:800;
}
.permission-spinner{
  width:28px;height:28px;border-radius:999px;border:3px solid rgba(255,255,255,.2);
  border-top-color:#fff;animation:permissionSpin .8s linear infinite;flex:0 0 auto;
}
@keyframes permissionSpin{to{transform:rotate(360deg)}}
@media(max-width:390px){
  .browse-header,.camera-shell .capture-topbar{
    grid-template-columns:88px minmax(0,1fr) 88px!important;
    gap:6px!important;padding-left:14px!important;padding-right:14px!important;
  }
  .browse-header .header-actions,.camera-shell .capture-topbar .header-actions{width:88px!important;min-width:88px!important;gap:4px!important}
  .browse-header .header-actions .icon-button,.camera-shell .capture-topbar .header-actions .icon-button{width:42px!important;min-width:42px!important;height:42px!important}
}


/* v0.13.14 — Invisible UI cleanup */
#cameraError:empty,
#cameraError[hidden],
.camera-error:empty,
.permission-summary:empty,
.completion-banner:empty,
.undo-toast:empty{display:none!important}
.focus-ring[hidden],
.focus-ring:not(.show){display:none!important;visibility:hidden!important;opacity:0!important}
.focus-ring.show{display:block!important;visibility:visible!important}
.camera-shell>[hidden]{display:none!important}
.camera-start[hidden],.recording-time[hidden]{display:none!important}


/* v0.13.15 — one active eye motion, cancellable looking, seamless continuation handoff */
:root{--kakashi-active-eye-top:clamp(176px,27vh,248px)}

/* Remove every legacy loading blink so active eyes use the camera's exact open/close transition. */
.loading-eye .eye-lid,.loading-eye .eye-ball,.loading-eye .eye-closed-line,
.continuation-eye.eye-open-loading .eye-lid,.continuation-eye.eye-open-loading .eye-ball,.continuation-eye.eye-open-loading .eye-closed-line{
  animation:none!important;
}
.active-looking-eye .kakashi-eye-svg{--eye-open:1!important}
.active-looking-eye.is-blinking .kakashi-eye-svg{--eye-open:0!important}
.active-looking-eye .eye-lid-upper,.active-looking-eye .eye-lid-lower{
  transition:transform .19s cubic-bezier(.22,.9,.25,1),opacity .16s ease!important;
}
.active-looking-eye .eye-ball{
  transition:transform .19s cubic-bezier(.22,.9,.25,1),opacity .15s ease!important;
}
.active-looking-eye .eye-closed-line{
  transition:opacity .14s ease,transform .19s cubic-bezier(.22,.9,.25,1)!important;
}

/* The eye occupies one trademark viewport coordinate before and after Look deeper. */
.thinking-overlay .kakashi-eye,
.analysis-screen .initial-thinking .kakashi-eye{
  position:fixed!important;
  top:var(--kakashi-active-eye-top)!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  z-index:4!important;
}
.thinking-overlay .thinking-dialog,
.analysis-screen .thinking-dialog{
  padding-top:88px!important;
}
.continuation-card.is-active .continuation-eye-mark{
  position:fixed!important;
  top:var(--kakashi-active-eye-top)!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:15!important;
}
.continuation-card.is-active .continuation-eye{
  padding-top:58px!important;
}

.stop-looking-button{
  min-width:156px;
  height:48px;
  margin:20px auto 0;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(10,10,11,.42);
  color:#fff;
  font:700 15px/1 system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;
  letter-spacing:-.01em;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.18);
}
.stop-looking-button:active{transform:scale(.97)}
.stop-looking-button:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media(max-height:690px){:root{--kakashi-active-eye-top:154px}.thinking-overlay .thinking-dialog,.analysis-screen .thinking-dialog{padding-top:70px!important}}
@media(prefers-reduced-motion:reduce){.active-looking-eye *{transition:none!important}}

/* Full blinks use the same quick lid closure everywhere, while camera clarity remains gradual between blinks. */
.camera-awareness.is-blinking .eye-lid-upper,.camera-awareness.is-blinking .eye-lid-lower,
.camera-awareness.is-blinking .eye-ball,.camera-awareness.is-blinking .eye-closed-line,
.active-looking-eye.is-blinking .eye-lid-upper,.active-looking-eye.is-blinking .eye-lid-lower,
.active-looking-eye.is-blinking .eye-ball,.active-looking-eye.is-blinking .eye-closed-line{
  transition:transform .19s cubic-bezier(.22,.9,.25,1),opacity .15s ease!important;
}


/* v0.13.16 — seamless in-place continuation */
:root{--continuation-eye-size:96px}
.continuation-card,.continuation-card.is-looking{transition:background .34s ease,border-color .34s ease!important}
.continuation-card-inner{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;contain:layout paint;transform:translateZ(0)}
.continuation-eye-stage{width:var(--continuation-eye-size);height:62px;display:grid;place-items:center;margin:0 0 18px;flex:0 0 62px}
.continuation-eye-stage .kakashi-eye-svg{width:94px!important;height:54px!important;display:block}
.continuation-eye-stage.active-looking-eye .kakashi-eye-svg{--eye-open:1!important}
.continuation-card small,.continuation-card h2,.continuation-card p,.continuation-action,.continuation-loading-line,.continuation-back-hint{transition:opacity .22s ease,transform .28s cubic-bezier(.22,.8,.2,1)}
.continuation-action{width:min(100%,280px)!important;min-height:64px!important;margin:26px auto 0!important;padding:0 28px!important;border-radius:999px!important;border:1px solid rgba(255,139,54,.46)!important;background:linear-gradient(180deg,rgba(255,122,32,.98),rgba(235,86,16,.98))!important;color:#fff!important;font:850 18px/1 system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif!important;letter-spacing:-.02em!important;box-shadow:0 16px 38px rgba(255,92,18,.22),inset 0 1px 0 rgba(255,255,255,.28)!important;display:grid!important;place-items:center!important;cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;z-index:4!important}
.continuation-action.is-cancel{background:rgba(18,18,19,.74)!important;border-color:rgba(255,255,255,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 16px 38px rgba(0,0,0,.2)!important}
.continuation-action:active{transform:scale(.975)!important}
.continuation-card.is-looking .continuation-eye-stage{cursor:wait}
.continuation-card.is-looking .continuation-eye-stage .kakashi-eye-svg{animation:none!important}
.continuation-card.is-looking .continuation-eye-stage.is-blinking .kakashi-eye-svg{--eye-open:0!important}
.continuation-loading-line{margin-top:18px!important}
/* Do not pull the continuation eye into a separate fixed layer. Keeping it in-flow removes handoff drift. */
.continuation-card.is-active .continuation-eye-mark{position:static!important;inset:auto!important;transform:none!important;z-index:auto!important}
.continuation-card.is-active .continuation-eye{padding-top:0!important}
@media(max-height:700px){.continuation-eye-stage{margin-bottom:10px}.continuation-action{min-height:58px!important;margin-top:18px!important}.continuation-card h2{font-size:28px!important}}

/* v0.13.17 — zero-drift continuation eye handoff */
.continuation-card-inner{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  grid-template-rows:72px minmax(190px,auto) 154px!important;
  align-content:center!important;
  justify-items:center!important;
  padding:clamp(24px,5vh,46px) 24px!important;
  contain:layout paint style!important;
}
.continuation-eye-stage{
  grid-row:1!important;
  width:96px!important;
  height:62px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  transform:translateZ(0)!important;
  will-change:auto!important;
}
.continuation-eye-stage .kakashi-eye-svg{
  width:94px!important;
  height:54px!important;
  margin:0!important;
  transform:none!important;
}
.continuation-eye-stage.resting-looking-eye .kakashi-eye-svg{--eye-open:0!important}
.continuation-eye-stage.active-looking-eye .kakashi-eye-svg{--eye-open:1!important}
.continuation-eye-stage .eye-lid-upper,
.continuation-eye-stage .eye-lid-lower,
.continuation-eye-stage .eye-ball,
.continuation-eye-stage .eye-closed-line{
  transition:transform .58s cubic-bezier(.16,1,.3,1),opacity .42s ease!important;
}
.continuation-eye-stage.active-looking-eye.is-blinking .kakashi-eye-svg{--eye-open:0!important}
.continuation-copy{
  grid-row:2!important;
  width:100%!important;
  min-height:190px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding-top:8px!important;
}
.continuation-copy small{min-height:14px!important}
.continuation-copy h2{min-height:80px!important;display:grid!important;place-items:center!important;margin:14px 0 12px!important}
.continuation-copy p{min-height:70px!important}
.continuation-controls{
  grid-row:3!important;
  width:100%!important;
  min-height:154px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
.continuation-action{margin:0 auto!important}
.continuation-loading-line{margin-top:18px!important;min-height:3px!important}
.continuation-loading-line[hidden]{display:block!important;visibility:hidden!important;opacity:0!important}
.continuation-back-hint{min-height:18px!important;margin-top:14px!important}
.continuation-card.is-ready .continuation-eye-stage{cursor:pointer!important}
.continuation-card.is-looking .continuation-eye-stage{cursor:wait!important}
@media(max-height:700px){
  .continuation-card-inner{grid-template-rows:62px minmax(158px,auto) 132px!important;padding:18px 22px!important}
  .continuation-copy{min-height:158px!important;padding-top:2px!important}
  .continuation-copy h2{min-height:64px!important;margin:8px 0!important}
  .continuation-copy p{min-height:58px!important}
  .continuation-controls{min-height:132px!important}
}

/* v0.13.20 — quiet percentage progress */
.analysis-progress-wrap{
  width:min(270px,72vw);
  margin:16px auto 4px;
  display:grid;
  grid-template-columns:1fr 38px;
  align-items:center;
  gap:10px;
}
.analysis-progress-track{
  width:100%;
  height:4px;
  margin:0;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.11);
}
.analysis-progress-track span{
  display:block;
  width:100%;
  height:100%;
  border-radius:inherit;
  background:#fff;
  transform:scaleX(.01);
  transform-origin:left center;
  transition:none;
}
.analysis-progress-wrap strong{
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.shutter:disabled{opacity:.72;pointer-events:none}
@media(prefers-reduced-motion:reduce){.analysis-progress-track span{transition:none}}

/* v0.13.22 — continuous clarity eye, no random camera blink */
.camera-awareness,
.camera-awareness.camera-on,
.camera-awareness.camera-off,
.camera-awareness.camera-obstructed,
.camera-awareness.is-blinking{
  --eye-open:var(--camera-eye-open,0)!important;
}
.camera-awareness .kakashi-eye-svg,
.camera-awareness.camera-on .kakashi-eye-svg,
.camera-awareness.camera-off .kakashi-eye-svg,
.camera-awareness.camera-obstructed .kakashi-eye-svg,
.camera-awareness.is-blinking .kakashi-eye-svg{
  --eye-open:var(--camera-eye-open,0)!important;
  animation:none!important;
  transition:none!important;
}
.camera-awareness .eye-lid-upper,
.camera-awareness .eye-lid-lower,
.camera-awareness .eye-ball,
.camera-awareness .eye-closed-line,
.camera-awareness.is-blinking .eye-lid-upper,
.camera-awareness.is-blinking .eye-lid-lower,
.camera-awareness.is-blinking .eye-ball,
.camera-awareness.is-blinking .eye-closed-line{
  animation:none!important;
  will-change:transform,opacity;
}
.camera-awareness .eye-lid-upper,
.camera-awareness .eye-lid-lower{
  transition:transform .48s cubic-bezier(.2,.72,.2,1),opacity .40s linear!important;
}
.camera-awareness .eye-ball{
  transition:transform .46s cubic-bezier(.2,.72,.2,1),opacity .38s linear!important;
}
.camera-awareness .eye-closed-line{
  transition:opacity .38s linear,transform .46s cubic-bezier(.2,.72,.2,1)!important;
}
.camera-awareness.camera-soft .kakashi-eye-svg{filter:drop-shadow(0 0 5px rgba(255,255,255,.06))!important}
.camera-awareness.camera-clear .kakashi-eye-svg{filter:drop-shadow(0 0 7px rgba(255,255,255,.16))!important}
@media(prefers-reduced-motion:reduce){
  .camera-awareness .eye-lid-upper,
  .camera-awareness .eye-lid-lower,
  .camera-awareness .eye-ball,
  .camera-awareness .eye-closed-line{transition:none!important}
}

/* v0.13.23 — reliable follow-up discovery and readable branch action */
.article-card .article-jump-actions .action-label{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  font-size:10px!important;
}
.article-card .article-jump-actions .rabbit .action-label{
  min-width:0;
  letter-spacing:-.01em;
}
@media(max-width:360px){
  .article-card .article-jump-actions .action-label{font-size:9.5px!important}
}

/* v0.13.24 — shared percentage progress for continuation and three-path branching */
.continuation-progress{
  width:min(270px,72vw)!important;
  margin:18px auto 0!important;
  flex:0 0 auto;
}
.continuation-progress[hidden]{display:none!important}
.continuation-card.is-looking .continuation-controls{min-height:172px!important}
.continuation-card.is-looking .continuation-back-hint{margin-top:12px!important}
.thinking-overlay .analysis-progress-wrap{margin-top:18px}
@media(max-height:700px){
  .continuation-card.is-looking .continuation-controls{min-height:148px!important}
  .continuation-progress{margin-top:12px!important}
}


/* v0.13.25 — foreground recovery and scroll-safe loading composition */
html,body,#app{min-height:100%;background:#0b0b0c}
html.app-suspended,body.app-suspended{background:#0b0b0c!important}
html.is-looking-ui,body.is-looking-ui{
  height:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:none!important;
}
body.is-looking-ui #app{
  height:100svh!important;
  min-height:100svh!important;
  overflow:hidden!important;
}
.analysis-screen.unified-loading{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:100svh!important;
  min-height:100svh!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.thinking-overlay{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:none!important;
}
.thinking-overlay .thinking-dialog,
.analysis-screen .thinking-dialog{
  max-height:calc(100svh - 32px)!important;
  overflow:hidden!important;
}
/* Keep the trademark eye bound to its loading composition instead of the page scroll layer. */
.thinking-overlay .kakashi-eye,
.analysis-screen .initial-thinking .kakashi-eye{
  position:absolute!important;
  top:28px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
}
.thinking-overlay .thinking-dialog,
.analysis-screen .thinking-dialog{
  padding-top:104px!important;
}
@media(max-height:690px){
  .thinking-overlay .kakashi-eye,
  .analysis-screen .initial-thinking .kakashi-eye{top:20px!important}
  .thinking-overlay .thinking-dialog,
  .analysis-screen .thinking-dialog{padding-top:88px!important}
}

/* v0.13.26 — iOS foreground paint recovery and adaptive tablet/desktop framing */
:root{--app-height:100svh;--app-width:100vw}
html,body,#app{min-height:var(--app-height,100svh)}
#app{position:relative;isolation:isolate;contain:paint;background:#0b0b0c}
.camera-shell{min-height:var(--app-height,100svh);height:var(--app-height,100svh)}
.camera-feed{opacity:0;background:transparent;transition:opacity .18s ease}
.camera-feed.is-live{opacity:1}
.camera-shell:not(.camera-live){background:radial-gradient(circle at 50% 28%,#303034,#0b0b0c 68%)}

/* Mobile remains the canonical layout. These rules only activate on tablet/desktop. */
@media (min-width:760px){
  html,body{background:#171718}
  body{display:flex;justify-content:center;min-width:0}
  #app{width:100%;max-width:1180px;min-height:var(--app-height,100svh);box-shadow:0 0 80px rgba(0,0,0,.28)}
  .camera-shell,.analysis-screen,.results-screen,.browse-screen,.saved-screen,.account-screen,.build-screen,.builds-screen,.build-workspace{min-height:var(--app-height,100svh)}
  .browse-header,.capture-topbar{max-width:1100px;margin-left:auto!important;margin-right:auto!important}
  .browse-intro,.browse-tools,.filter-rail{max-width:1040px;margin-left:auto!important;margin-right:auto!important;width:100%}
  .browse-intro h1{max-width:15ch!important;font-size:clamp(46px,6vw,72px)!important}
  .browse-feed{max-width:1040px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .browse-empty{grid-column:1/-1}
  .camera-copy{left:max(36px,calc((100% - 1040px)/2));max-width:460px}
  .camera-copy h1{font-size:clamp(56px,7vw,88px)}
  .capture-panel{bottom:calc(env(safe-area-inset-bottom) + 34px)}
  .camera-utilities,.zoom-menu{right:max(26px,calc((100% - 1080px)/2))!important}
  .compact-results .card-rail{max-width:1080px;margin-left:auto;margin-right:auto}
  .compact-results .opportunity-card.editorial-card{flex-basis:min(560px,calc(100vw - 120px))!important}
}
@media (min-width:1180px){
  #app{margin:18px auto;border-radius:28px;min-height:calc(var(--app-height,100vh) - 36px);overflow:hidden}
  .camera-shell,.analysis-screen,.results-screen,.browse-screen{height:calc(var(--app-height,100vh) - 36px);min-height:calc(var(--app-height,100vh) - 36px)}
  .browse-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px!important}
  .feed-card{min-height:100%}
}


/* v0.13.27 — focus-driven multi-state eye and three-way path icon */
.camera-awareness .eye-lid-upper,
.camera-awareness .eye-lid-lower,
.camera-awareness .eye-ball,
.camera-awareness .eye-closed-line{
  transition-duration:.28s!important;
  transition-timing-function:cubic-bezier(.22,.72,.18,1)!important;
}
.camera-awareness[data-quality="blurred"] .kakashi-eye-svg{filter:none!important}
.article-card .article-jump-actions .rabbit .action-icon svg{
  width:20px!important;
  height:20px!important;
  stroke-width:1.8;
  overflow:visible;
}


/* v0.14.0 — automatic build route and universal-comprehension reading */
.completion-route{max-width:760px;margin:0 auto 14px;padding:22px;border-radius:28px;background:#172019;color:#fff;box-shadow:0 20px 54px rgba(20,24,19,.12)}
.completion-route>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.completion-route>header small,.route-step small{font-size:10px;font-weight:850;letter-spacing:.14em;color:rgba(255,255,255,.55)}
.completion-route>header h2{margin:6px 0 6px;font-size:26px;letter-spacing:-.04em}
.completion-route>header p{max-width:500px;margin:0;color:rgba(255,255,255,.67);font-size:13px;line-height:1.5}
.completion-route>header>span{display:grid;place-items:center;min-width:52px;height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.1);font-size:12px;font-weight:900}
.route-list{display:grid;gap:10px}
.route-step{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:rgba(255,255,255,.045)}
.route-step.current{background:#fff;color:#171817;border-color:#fff;box-shadow:0 14px 34px rgba(0,0,0,.17)}
.route-step.done{opacity:.72}
.route-marker{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.1);font-weight:900}
.route-step.current .route-marker{background:#ff8c4c;color:#171817}
.route-step.done .route-marker{background:#2e8a58;color:#fff}
.route-step h3{margin:5px 0 6px;font-size:19px;letter-spacing:-.025em}
.route-step p{margin:0 0 12px;color:rgba(255,255,255,.68);font-size:13px;line-height:1.5}
.route-step.current p{color:#626760}
.route-action,.route-proof{display:grid;grid-template-columns:76px 1fr;gap:8px;margin-top:7px;font-size:12px;line-height:1.45}
.route-action b,.route-proof b{color:#ffad7d}
.route-step.current .route-action b,.route-step.current .route-proof b{color:#b45119}
.build-starting{min-height:150px}
@media(max-width:520px){.completion-route{padding:18px}.completion-route>header h2{font-size:23px}.route-step{grid-template-columns:36px 1fr;padding:15px}.route-marker{width:36px;height:36px;border-radius:12px}.route-action,.route-proof{grid-template-columns:1fr;gap:2px}}


/* v0.14.1 — discovery completion polish */
.continuation-card{display:grid!important;place-items:center!important;overflow:hidden!important}
.continuation-card-inner{position:absolute;inset:0;display:grid!important;place-items:center!important;padding:22px!important}
.continuation-stage-card{width:min(86vw,430px);min-height:560px;max-width:430px;padding:46px 28px 36px!important;text-align:center;border:1px solid rgba(255,255,255,.18);border-radius:34px;background:rgba(22,22,23,.74);box-shadow:0 28px 90px rgba(0,0,0,.42);display:grid;grid-template-rows:auto auto auto auto auto auto auto;align-content:start;justify-items:center;gap:0}
.continuation-stage-card .continuation-eye-stage{width:var(--kakashi-eye-width);height:var(--kakashi-eye-height);display:grid;place-items:center;color:#fff;margin:0 auto 2px}
.continuation-stage-card .continuation-eye-stage .kakashi-eye-svg{width:var(--kakashi-eye-width)!important;height:var(--kakashi-eye-height)!important;transform:none!important}
.continuation-stage-card small{margin-top:0;color:var(--orange);font-size:8px;font-weight:850;letter-spacing:.18em}
.continuation-stage-card h2{margin:18px 0 10px!important;font-size:clamp(30px,8vw,42px)!important;line-height:.98!important;letter-spacing:-.04em!important;max-width:100%!important}
.continuation-stage-card .continuation-phase{margin:0;color:#d2cec7;font-size:16px;font-weight:700;line-height:1.45;max-width:320px}
.continuation-stage-card .continuation-progress{width:100%;max-width:320px;margin-top:24px!important}
.continuation-stage-card .continuation-pulse{margin-top:14px!important;margin-bottom:0!important}
.continuation-stage-card .continuation-action{margin-top:26px!important}
.continuation-stage-card .continuation-back-hint{display:block;margin-top:18px!important;color:#8f8a83!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:0!important}
.continuation-card.is-ready .continuation-stage-card{min-height:560px}
.continuation-card.is-ready .continuation-pulse,.continuation-card.is-ready .continuation-progress{display:none!important}
.continuation-card.is-ready .continuation-action{background:rgba(0,0,0,.35)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:none!important}
.continuation-card.is-ready .continuation-phase{min-height:92px;display:grid;align-items:center}
.continuation-card.is-looking .continuation-phase{min-height:92px;display:grid;align-items:center}
.continuation-card.is-looking .continuation-stage-card{min-height:560px}
.continuation-card.is-looking .continuation-eye-stage .eye-lid,.continuation-card.is-looking .continuation-eye-stage .eye-ball{animation:none!important}
.continuation-card.is-looking .continuation-eye-stage.active-looking-eye.is-blinking .kakashi-eye-svg{--eye-open:0!important}
.continuation-card.is-looking .continuation-eye-stage.active-looking-eye .kakashi-eye-svg{--eye-open:1!important}
.completion-banner{padding:13px 16px!important}
.completion-banner .completion-eye .eye-lid,.completion-banner .completion-eye .eye-ball{animation:none!important}
.completion-banner .completion-eye{width:56px;height:34px;flex:0 0 auto;color:#fff;--eye-open:0;--eye-focus:.3;display:grid;place-items:center}
.completion-banner .completion-eye .kakashi-eye-svg{width:56px;height:34px;overflow:visible}
.completion-banner .completion-eye *{transform-box:fill-box;transform-origin:center;transition:transform .55s cubic-bezier(.2,.85,.2,1),opacity .45s ease,stroke .45s ease}
.completion-banner .completion-eye .eye-lid-upper{transform:translateY(calc((1 - var(--eye-open,0)) * 8px))}
.completion-banner .completion-eye .eye-lid-lower{transform:translateY(calc((1 - var(--eye-open,0)) * -5px));opacity:var(--eye-open,0)}
.completion-banner .completion-eye .eye-iris,.completion-banner .completion-eye .eye-pupil{transform:scale(calc(.66 + var(--eye-focus,.3) * .34),calc(.25 + var(--eye-open,0) * .75));opacity:var(--eye-open,0)}
.completion-banner.eye-open .completion-eye{--eye-open:1}
.completion-banner.eye-closing .completion-eye{--eye-open:0}
@media(max-width:420px){.continuation-stage-card{width:min(100%,430px);min-height:530px;padding:40px 24px 32px!important}.continuation-stage-card .continuation-phase{font-size:15px;min-height:86px}.continuation-stage-card .continuation-action{width:min(100%,280px)!important}}
@media(max-height:720px){.continuation-stage-card{min-height:500px;padding:36px 24px 28px!important}.continuation-card.is-ready .continuation-stage-card,.continuation-card.is-looking .continuation-stage-card{min-height:500px}.continuation-stage-card h2{font-size:clamp(28px,7vw,38px)!important}.continuation-stage-card .continuation-phase{font-size:15px;min-height:84px}.continuation-stage-card .continuation-progress{margin-top:18px!important}.continuation-stage-card .continuation-action{margin-top:18px!important}}


/* v0.14.2 — focused Next Steps handoff */
.next-steps-screen{padding-bottom:calc(env(safe-area-inset-bottom) + 28px)!important}
.next-steps-header{margin-bottom:14px!important}
.next-steps-intro{max-width:760px;margin:0 auto 14px;padding:24px;border-radius:28px;background:#172019;color:#fff;border:1px solid rgba(255,255,255,.08)}
.next-steps-intro small{color:#ff8c4c;font-size:10px;font-weight:850;letter-spacing:.14em}
.next-steps-intro h2{margin:7px 0 9px;font-size:clamp(24px,6vw,34px);line-height:1.02;letter-spacing:-.04em}
.next-steps-intro p{max-width:620px;margin:0;color:rgba(255,255,255,.7);font-size:14px;line-height:1.55}
.next-steps-screen .completion-route{margin-top:0}
.next-steps-screen .generated-brief{margin-top:14px}
.next-steps-footer{max-width:760px;margin:14px auto 0;padding:16px 0 0;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid rgba(20,21,20,.1)}
.next-steps-footer button{min-height:48px;padding:0 20px;border:0;border-radius:15px;background:#172019;color:#fff;font-weight:850}
.next-steps-footer small{color:#747870;font-size:11px}
.article-jump-actions .rabbit .action-icon svg{transform:none}
@media(max-width:620px){.next-steps-footer{align-items:stretch;flex-direction:column}.next-steps-footer button{width:100%}.next-steps-footer small{text-align:center}.article-jump-actions .action-label{font-size:9px}}


/* v0.14.3 — one-tap camera, proportional focus eye, card controls, and Do It route */
.camera-awareness .kakashi-eye-svg{--eye-open:var(--camera-eye-open,0)!important}
.camera-awareness .eye-lid-upper,.camera-awareness .eye-lid-lower,.camera-awareness .eye-ball,.camera-awareness .eye-closed-line{transition-duration:.28s!important;transition-timing-function:cubic-bezier(.2,.72,.2,1)!important}
.scene-summary-card{cursor:pointer;-webkit-tap-highlight-color:transparent}
.scene-summary-card:focus-visible{outline:2px solid rgba(255,255,255,.8);outline-offset:2px}
.scene-summary-card .scene-observations>div{pointer-events:none}
.discovery-position{display:flex!important;align-items:center;gap:7px;white-space:nowrap}
.discovery-position #discoveryDepth{color:var(--orange)}
.discovery-position i{display:block;width:1px;height:13px;background:rgba(255,255,255,.22)}
.continuation-card-inner{padding:0!important;width:100%!important;height:100%!important}
.continuation-stage-card{width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;max-height:none!important;border-radius:inherit!important;padding:clamp(24px,5vh,42px) 24px!important;overflow:hidden!important;align-content:center!important}
.continuation-card.is-ready .continuation-stage-card,.continuation-card.is-looking .continuation-stage-card{min-height:0!important;height:100%!important}
.continuation-stage-card .continuation-phase{min-height:72px!important}
.route-marker{border:0;cursor:pointer;font:900 14px/1 inherit;transition:transform .16s ease,background .2s ease}
.route-marker:active{transform:scale(.92)}
.route-marker:focus-visible{outline:2px solid #ff8c4c;outline-offset:3px}
.action-loading-screen{position:fixed!important;inset:0!important;width:100%!important;height:100svh!important;overflow:hidden!important}
@media(max-height:720px){.continuation-stage-card{padding:22px 20px!important}.continuation-stage-card h2{margin:12px 0 8px!important}.continuation-stage-card .continuation-phase{min-height:62px!important}.continuation-stage-card .continuation-action{margin-top:14px!important}}


/* v0.14.4 — repaired Look Deeper, depth-only cards, and native dark Do It */
.card-number{color:var(--orange)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important}

/* The continuation card is a normal, self-contained card. No absolute child or nested dialog sizing. */
.article-results .continuation-card{position:relative!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;overflow:hidden!important;background:radial-gradient(circle at 50% 20%,rgba(255,107,26,.14),transparent 43%),linear-gradient(160deg,#202021,#111112 72%)!important}
.article-results .continuation-card-inner{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;padding:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;contain:layout paint!important}
.article-results .continuation-stage-card{position:relative!important;width:100%!important;height:auto!important;min-height:min(480px,100%)!important;max-height:100%!important;margin:0!important;padding:28px 22px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:26px!important;background:rgba(17,17,18,.58)!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;text-align:center!important}
.article-results .continuation-stage-card .continuation-eye-stage{flex:0 0 auto!important;margin:0 0 14px!important}
.article-results .continuation-stage-card small{flex:0 0 auto!important}
.article-results .continuation-stage-card h2{flex:0 0 auto!important;margin:14px 0 10px!important;font-size:clamp(28px,7.8vw,38px)!important;line-height:1!important}
.article-results .continuation-stage-card .continuation-phase{flex:0 0 auto!important;min-height:0!important;max-width:310px!important;margin:0!important;font-size:15px!important;line-height:1.45!important}
.article-results .continuation-stage-card .continuation-progress{flex:0 0 auto!important;width:100%!important;max-width:300px!important;margin:22px 0 0!important}
.article-results .continuation-stage-card .continuation-pulse{flex:0 0 auto!important;margin:14px 0 0!important}
.article-results .continuation-stage-card .continuation-action{flex:0 0 auto!important;width:min(100%,280px)!important;min-height:58px!important;margin:24px auto 0!important}
.article-results .continuation-stage-card .continuation-back-hint{flex:0 0 auto!important;margin:14px 0 0!important}
@media(max-height:720px){.article-results .continuation-card-inner{padding:12px!important}.article-results .continuation-stage-card{min-height:0!important;padding:20px 18px!important}.article-results .continuation-stage-card .continuation-eye-stage{margin-bottom:8px!important}.article-results .continuation-stage-card h2{margin:9px 0 7px!important;font-size:27px!important}.article-results .continuation-stage-card .continuation-phase{font-size:13px!important}.article-results .continuation-stage-card .continuation-progress{margin-top:14px!important}.article-results .continuation-stage-card .continuation-action{min-height:50px!important;margin-top:14px!important}.article-results .continuation-stage-card .continuation-back-hint{margin-top:9px!important;font-size:10px!important}}

/* Do It now belongs to the same dark visual system as discovery. */
.build-workspace.next-steps-screen{min-height:100svh!important;padding:calc(env(safe-area-inset-top) + 16px) 18px calc(env(safe-area-inset-bottom) + 34px)!important;background:radial-gradient(circle at 50% 0,rgba(255,107,26,.08),transparent 28%),#0b0b0c!important;color:#f7f5f0!important}
.next-steps-screen .build-workspace-header{max-width:760px!important;margin:0 auto 16px!important;color:#fff!important}
.next-steps-screen .build-workspace-header .back,.next-steps-screen .build-workspace-header .icon-button{background:#181819!important;color:#fff!important;border:1px solid #2f2f30!important}
.next-steps-screen .build-workspace-header small{color:var(--orange)!important}
.next-steps-screen .build-workspace-header h1{color:#fff!important}
.next-steps-screen .next-steps-intro{background:linear-gradient(150deg,#201b18,#131314)!important;border:1px solid rgba(255,107,26,.22)!important;box-shadow:none!important}
.next-steps-screen .completion-route{background:linear-gradient(160deg,#1c1c1d,#111112)!important;border:1px solid #303031!important;box-shadow:none!important;color:#fff!important}
.next-steps-screen .completion-route>header>span{background:#242425!important;color:#fff!important}
.next-steps-screen .route-step{background:#181819!important;border-color:#303031!important;color:#fff!important}
.next-steps-screen .route-step.current{background:#211b17!important;border-color:rgba(255,107,26,.5)!important;box-shadow:0 12px 34px rgba(0,0,0,.25)!important;color:#fff!important}
.next-steps-screen .route-step p,.next-steps-screen .route-step.current p{color:#b8b4ad!important}
.next-steps-screen .route-step .route-action,.next-steps-screen .route-step .route-proof{color:#f4f1eb!important}
.next-steps-screen .route-step .route-action b,.next-steps-screen .route-step .route-proof b,.next-steps-screen .route-step.current .route-action b,.next-steps-screen .route-step.current .route-proof b{color:#ff9a5f!important}
.next-steps-screen .route-step.current .route-marker{background:var(--orange)!important;color:#111!important}
.next-steps-screen .generated-brief{background:#151516!important;border:1px solid #303031!important;box-shadow:none!important;color:#fff!important}
.next-steps-screen .generated-brief>header{background:linear-gradient(150deg,#201b18,#151516)!important;border-bottom:1px solid #303031!important}
.next-steps-screen .generated-brief h2,.next-steps-screen .generated-brief h3{color:#fff!important}
.next-steps-screen .generated-brief header p,.next-steps-screen .brief-grid p,.next-steps-screen .brief-grid li{color:#b8b4ad!important}
.next-steps-screen .brief-grid{border-color:#303031!important}
.next-steps-screen .brief-grid article{border-color:#303031!important;background:#151516!important}
.next-steps-screen .generated-brief header .brief-secondary{background:#282829!important;color:#fff!important}
.next-steps-screen .generated-brief header button:not(.brief-secondary){background:var(--orange)!important;color:#111!important}
.next-steps-screen .next-steps-footer{border-color:#303031!important}
.next-steps-screen .next-steps-footer button{background:var(--orange)!important;color:#111!important}
.next-steps-screen .next-steps-footer small{color:#8f8b84!important}


/* v0.14.5 — route-only action flow and smooth progress */
.generated-brief,.build-assist-card{display:none!important}
.analysis-progress-track span{transition:none!important;will-change:transform}
.next-steps-screen .completion-route{margin-top:16px}

/* v0.14.7 refinements */
.modes .mode {
  cursor: pointer;
}

.modes .mode.active {
  box-shadow: 0 10px 30px rgba(122, 151, 255, 0.2);
}

.card-number {
  min-width: 74px;
  text-align: center;
}

.article-summary {
  gap: 10px;
}

.article-dek {
  color: var(--muted);
}

.editorial-detail-screen {
  gap: 16px;
}

.detail-hero.compact {
  min-height: 0;
  padding: 16px;
  gap: 16px;
  align-items: stretch;
}

.detail-hero.compact img {
  width: 132px;
  min-width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 20px;
}

.detail-hero-copy {
  display: grid;
  gap: 10px;
  align-content: center;
}

.detail-hero-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.1;
}

.detail-hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.editorial-reason-lead {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px 18px 20px;
  gap: 10px;
}

.editorial-reason-lead small {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.editorial-reason-lead p {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
}

.detail-section summary span {
  display: block;
  margin-bottom: 6px;
}

.detail-section summary h2 {
  margin: 0;
}

.detail-section div p,
.detail-section div li {
  line-height: 1.75;
}

.detail-section div ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.do-it-summary-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}

.do-it-summary-copy,
.do-it-next-move {
  display: grid;
  gap: 8px;
}

.do-it-summary-copy small,
.do-it-next-move span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.do-it-summary-copy h2,
.do-it-next-move strong {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.do-it-summary-copy p,
.do-it-next-move p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.compact-footer {
  padding-top: 0;
}

.continuation-card {
  min-height: clamp(500px, 76svh, 780px);
}

@media (min-width: 720px) {
  .detail-hero.compact {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .do-it-summary-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 560px) {
  .detail-hero.compact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .detail-hero.compact img {
    width: 100%;
    height: 180px;
  }
}

/* v0.14.8 layout and continuation fixes */
.results-header > div.completion-header-state {
  min-width: 0;
}

.completion-header-banner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  overflow: hidden;
}

.completion-header-banner .completion-eye {
  width: 48px;
  height: 30px;
  flex: 0 0 auto;
  color: #fff;
  --eye-open: 0;
  --eye-focus: .3;
  display: grid;
  place-items: center;
}

.completion-header-banner .completion-eye .kakashi-eye-svg {
  width: 48px;
  height: 30px;
  overflow: visible;
}

.completion-header-banner .completion-eye * {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .55s cubic-bezier(.2,.85,.2,1), opacity .45s ease, stroke .45s ease;
}

.completion-header-banner .completion-eye .eye-lid-upper {
  transform: translateY(calc((1 - var(--eye-open,0)) * 8px));
}

.completion-header-banner .completion-eye .eye-lid-lower {
  transform: translateY(calc((1 - var(--eye-open,0)) * -5px));
  opacity: var(--eye-open,0);
}

.completion-header-banner .completion-eye .eye-iris,
.completion-header-banner .completion-eye .eye-pupil {
  transform: scale(calc(.66 + var(--eye-focus,.3) * .34), calc(.25 + var(--eye-open,0) * .75));
  opacity: var(--eye-open,0);
}

.completion-header-banner.eye-open .completion-eye { --eye-open: 1; }
.completion-header-banner.eye-closing .completion-eye { --eye-open: 0; }

.completion-header-banner > span {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.completion-header-banner strong {
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.completion-header-banner small {
  color: rgba(255,255,255,.62) !important;
  font-size: 9px !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discovery-position #discoveryDepth {
  color: var(--orange);
  white-space: nowrap;
}

.continuation-card.is-ready .continuation-eye-stage,
.continuation-card.is-ready [data-continuation-title],
.continuation-card.is-ready [data-continuation-copy],
.continuation-card.is-ready [data-continuation-hint] {
  display: none !important;
}

.continuation-card.is-ready .continuation-stage-card {
  justify-content: center !important;
  gap: 26px !important;
}

.continuation-card.is-ready [data-continuation-kicker] {
  font-size: 11px !important;
  letter-spacing: .18em !important;
}

.continuation-card.is-ready .continuation-action {
  margin-top: 0 !important;
}

.editorial-detail-screen .editorial-hero {
  width: calc(100% + 32px) !important;
  margin-left: -16px !important;
  margin-right: -16px !important;
  margin-top: 0 !important;
  padding: 22px 20px 24px !important;
  border-radius: 0 0 32px 32px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  background:
    radial-gradient(circle at 78% 12%, rgba(255,107,26,.22), transparent 38%),
    linear-gradient(160deg, #242426, #111112 72%) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.24) !important;
}

.editorial-detail-screen .editorial-hero img {
  border-radius: 22px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.3);
}

.editorial-detail-screen .detail-hero-copy,
.next-steps-screen *,
.route-step > div,
.do-it-summary-card > div {
  min-width: 0;
}

.editorial-detail-screen .detail-hero-copy h1,
.editorial-detail-screen .detail-hero-copy p,
.next-steps-screen h1,
.next-steps-screen h2,
.next-steps-screen h3,
.next-steps-screen p,
.next-steps-screen span,
.next-steps-screen strong {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 430px) {
  .completion-header-banner {
    gap: 6px;
  }

  .completion-header-banner .completion-eye {
    width: 38px;
    height: 25px;
  }

  .completion-header-banner .completion-eye .kakashi-eye-svg {
    width: 38px;
    height: 25px;
  }

  .completion-header-banner strong {
    font-size: 11px;
  }

  .completion-header-banner small {
    max-width: 165px;
  }

  .discovery-position {
    gap: 5px !important;
    font-size: 11px !important;
  }

  .editorial-detail-screen .editorial-hero {
    padding-top: 18px !important;
  }
}

/* v0.14.9 — experience consistency and visual refinement */
:root {
  --ui-gutter: clamp(16px, 4vw, 22px);
  --ui-radius-lg: 28px;
  --ui-radius-md: 20px;
  --ui-border: rgba(255,255,255,.09);
  --ui-surface: rgba(255,255,255,.045);
  --ui-surface-strong: rgba(255,255,255,.075);
  --ui-copy: rgba(247,245,240,.72);
  --ui-subtle: rgba(247,245,240,.48);
}

/* Shared screen rhythm */
.results-header,
.browse-header,
.library-header,
.build-workspace-header,
.detail-sticky {
  min-height: 62px;
}

.results-header,
.library-header,
.build-workspace-header {
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
}

.results-header h1,
.library-header h1,
.build-workspace-header h1 {
  letter-spacing: -.035em;
  line-height: 1.04;
}

.icon-button,
.back {
  border: 1px solid var(--ui-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.icon-button:active,
.back:active,
.article-jump-actions button:active,
.continuation-action:active,
.route-marker:active {
  transform: scale(.965);
}

/* Results composition */
.compact-results .scene-summary-card {
  margin-left: var(--ui-gutter) !important;
  margin-right: var(--ui-gutter) !important;
  border-radius: var(--ui-radius-md) !important;
  border-color: var(--ui-border) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.028)) !important;
}

.discovery-toolbar {
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
  min-height: 46px;
  align-items: center;
}

.discovery-toolbar > span {
  color: var(--ui-subtle) !important;
  font-size: 11px !important;
  letter-spacing: .01em;
}

.discovery-position {
  padding: 7px 10px !important;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.card-rail {
  gap: 12px !important;
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
  scroll-padding-left: var(--ui-gutter) !important;
  overscroll-behavior-x: contain;
}

.article-card {
  border-radius: var(--ui-radius-lg) !important;
  border-color: var(--ui-border) !important;
  background:
    radial-gradient(circle at 88% 4%, rgba(255,107,26,.07), transparent 30%),
    linear-gradient(155deg, #202021, #121213 68%) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.article-card .article-scroll {
  padding: 24px 22px 14px !important;
}

.article-card .card-topline {
  align-items: flex-start !important;
  gap: 14px;
}

.article-card .card-number {
  flex: 0 0 auto;
  min-width: 68px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: rgba(247,245,240,.64) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .04em;
}

.article-card .article-summary h2 {
  max-width: 100% !important;
  margin-top: 24px !important;
  font-size: clamp(29px, 8vw, 39px) !important;
  line-height: .99 !important;
  text-wrap: balance;
}

.article-card .article-dek {
  font-size: 15px !important;
  line-height: 1.62 !important;
  color: var(--ui-copy) !important;
}

.article-card .summary-block {
  padding: 18px 0 !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
}

.article-card .summary-block > span {
  color: rgba(255,154,95,.9) !important;
  letter-spacing: .15em !important;
}

.article-card .summary-block li {
  line-height: 1.55 !important;
  color: rgba(247,245,240,.78) !important;
}

.article-jump-actions {
  min-height: 70px;
  padding: 8px !important;
  gap: 5px !important;
  border-top-color: rgba(255,255,255,.08) !important;
  background: rgba(10,10,11,.68) !important;
  backdrop-filter: blur(18px) saturate(130%);
}

.article-jump-actions button {
  border-radius: 15px !important;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.article-jump-actions .action-label {
  font-size: 10px !important;
  font-weight: 780 !important;
  letter-spacing: -.01em;
}

.article-jump-actions .primary {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 7px 20px rgba(255,107,26,.13);
}

/* Continuation card */
.article-results .continuation-card {
  border-radius: var(--ui-radius-lg) !important;
  border-color: var(--ui-border) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.article-results .continuation-stage-card {
  border-radius: 24px !important;
  background: rgba(17,17,18,.48) !important;
}

.continuation-card.is-ready .continuation-stage-card {
  gap: 22px !important;
}

.continuation-card.is-ready [data-continuation-kicker] {
  color: rgba(247,245,240,.62) !important;
}

.continuation-card.is-ready .continuation-action {
  width: min(100%, 260px) !important;
  min-height: 56px !important;
  background: var(--orange) !important;
  color: #111 !important;
  border-color: transparent !important;
  font-size: 16px !important;
}

/* Why page as one editorial system */
.editorial-detail-screen {
  padding-bottom: calc(env(safe-area-inset-bottom) + 34px) !important;
}

.editorial-detail-screen .detail-sticky {
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
  background: rgba(11,11,12,.86) !important;
  backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.editorial-detail-screen .editorial-hero {
  width: calc(100% + (var(--ui-gutter) * 2)) !important;
  margin-left: calc(var(--ui-gutter) * -1) !important;
  margin-right: calc(var(--ui-gutter) * -1) !important;
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
  border-radius: 0 0 34px 34px !important;
}

.editorial-detail-screen .detail-hero-copy h1 {
  text-wrap: balance;
  font-size: clamp(29px, 8vw, 42px) !important;
  line-height: 1 !important;
}

.editorial-detail-screen .detail-hero-copy p {
  color: rgba(247,245,240,.7) !important;
  font-size: 14px;
  line-height: 1.65 !important;
}

.editorial-reason-lead,
.editorial-detail-screen .detail-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editorial-reason-lead {
  border-radius: 24px !important;
  padding: 20px !important;
}

.editorial-reason-lead p {
  font-size: 16px;
  line-height: 1.72 !important;
}

.editorial-detail-screen .detail-section {
  border: 1px solid var(--ui-border) !important;
  border-radius: 22px !important;
  margin-top: 12px !important;
  padding: 0 !important;
  background: rgba(255,255,255,.026);
  overflow: hidden;
}

.editorial-detail-screen .detail-section summary {
  min-height: 84px;
  padding: 18px 20px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
}

.editorial-detail-screen .detail-section summary > span,
.editorial-detail-screen .detail-section summary > h2 {
  grid-column: 1;
}

.editorial-detail-screen .detail-section summary::after {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.editorial-detail-screen .detail-section > div {
  padding: 0 20px 22px !important;
  border-top: 1px solid rgba(255,255,255,.06);
}

.editorial-detail-screen .detail-section > div p:first-child,
.editorial-detail-screen .detail-section > div ul:first-child {
  margin-top: 18px;
}

/* Do It hierarchy */
.build-workspace.next-steps-screen {
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
}

.next-steps-screen .next-steps-header {
  margin-bottom: 10px !important;
}

.next-steps-screen .next-steps-header h1 {
  font-size: clamp(18px, 5vw, 26px) !important;
  text-wrap: balance;
}

.do-it-summary-card {
  border-radius: 24px !important;
  padding: 20px !important;
  gap: 18px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(255,107,26,.08), transparent 34%),
    rgba(255,255,255,.035) !important;
}

.do-it-summary-copy h2 {
  font-size: clamp(20px, 5.6vw, 28px) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

.do-it-summary-copy p,
.do-it-next-move p {
  line-height: 1.62 !important;
}

.do-it-next-move {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,107,26,.2);
  background: rgba(255,107,26,.055);
}

.next-steps-screen .completion-route {
  margin-top: 14px !important;
  border-radius: var(--ui-radius-lg) !important;
  overflow: hidden;
}

.next-steps-screen .completion-route > header {
  padding: 22px !important;
}

.next-steps-screen .completion-route > header h2 {
  font-size: clamp(23px, 6vw, 31px) !important;
  line-height: 1.05 !important;
}

.next-steps-screen .completion-route > header p {
  line-height: 1.55 !important;
}

.next-steps-screen .route-list {
  gap: 8px !important;
  padding: 0 10px 10px !important;
}

.next-steps-screen .route-step {
  padding: 18px !important;
  border-radius: 20px !important;
}

.next-steps-screen .route-step h3 {
  font-size: 19px !important;
  line-height: 1.18 !important;
  text-wrap: balance;
}

.next-steps-screen .route-step p,
.next-steps-screen .route-action span,
.next-steps-screen .route-proof span {
  line-height: 1.58 !important;
}

.next-steps-screen .route-action,
.next-steps-screen .route-proof {
  border-radius: 14px !important;
}

.next-steps-footer.compact-footer {
  padding-top: 14px !important;
}

.next-steps-footer.compact-footer button {
  width: 100%;
  min-height: 52px !important;
  border-radius: 17px !important;
}

/* Browse density and visual hierarchy */
.browse-intro {
  padding-left: var(--ui-gutter) !important;
  padding-right: var(--ui-gutter) !important;
}

.browse-intro h1 {
  text-wrap: balance;
}

.browse-tools,
.filter-rail,
.browse-feed {
  margin-left: var(--ui-gutter) !important;
  margin-right: var(--ui-gutter) !important;
}

.browse-feed {
  gap: 14px !important;
}

.browse-editorial-card {
  border-radius: var(--ui-radius-lg) !important;
  border-color: var(--ui-border) !important;
  background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  overflow: hidden;
}

.browse-editorial-card h2 {
  text-wrap: balance;
  line-height: 1.04 !important;
}

.browse-editorial-card > p {
  color: var(--ui-copy) !important;
  line-height: 1.6 !important;
}

.browse-editorial-card footer {
  border-top-color: rgba(255,255,255,.07) !important;
  gap: 8px !important;
}

.browse-editorial-card footer button {
  border-radius: 15px !important;
}

.feed-meta {
  align-items: center !important;
}

.feed-meta small {
  color: var(--ui-subtle) !important;
}

/* Saved library calmness */
.library-summary,
.library-search,
.collection-rail,
.library-filter-rail,
.library-grid,
.build-project-grid {
  margin-left: var(--ui-gutter) !important;
  margin-right: var(--ui-gutter) !important;
}

.library-card,
.build-project-card {
  border-radius: 24px !important;
  border-color: var(--ui-border) !important;
  background: linear-gradient(160deg, rgba(255,255,255,.052), rgba(255,255,255,.024)) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.library-card h2,
.build-project-card h2 {
  text-wrap: balance;
  line-height: 1.08 !important;
}

/* Small-height and narrow-screen hardening */
@media (max-width: 430px) {
  .article-card .article-scroll {
    padding-left: 19px !important;
    padding-right: 19px !important;
  }

  .article-card .card-number {
    min-width: 62px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .article-jump-actions {
    min-height: 66px;
  }

  .editorial-detail-screen .detail-section summary {
    min-height: 78px;
    padding: 16px 17px !important;
  }

  .editorial-detail-screen .detail-section > div {
    padding-left: 17px !important;
    padding-right: 17px !important;
  }

  .next-steps-screen .route-step {
    grid-template-columns: 42px minmax(0,1fr) !important;
    gap: 13px !important;
  }
}

@media (max-height: 700px) {
  .article-card .article-summary h2 {
    margin-top: 18px !important;
    font-size: clamp(27px, 7vw, 34px) !important;
  }

  .article-card .summary-block {
    padding: 14px 0 !important;
  }

  .article-jump-actions {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .icon-button,
  .back,
  .article-jump-actions button,
  .continuation-action,
  .route-marker {
    transition: none !important;
  }
}

/* v0.14.10 — unlimited path coordinates, centered cards, native Why header */
.card-rail {
  padding-left: var(--rail-edge-space, var(--ui-gutter)) !important;
  padding-right: var(--rail-edge-space, var(--ui-gutter)) !important;
  scroll-padding-left: var(--rail-edge-space, var(--ui-gutter)) !important;
  scroll-padding-right: var(--rail-edge-space, var(--ui-gutter)) !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth;
}

.card-rail > .opportunity-card {
  scroll-snap-align: center !important;
  scroll-snap-stop: always;
}

.article-card .card-number {
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  white-space: nowrap;
  padding-inline: 10px !important;
}

.discovery-position #discoveryDepth,
.discovery-position #cardPosition {
  white-space: nowrap;
}

.editorial-detail-screen {
  padding-top: 0 !important;
}

.editorial-detail-screen .detail-app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: calc(100% + (var(--ui-gutter) * 2));
  margin-left: calc(var(--ui-gutter) * -1);
  margin-right: calc(var(--ui-gutter) * -1);
  min-height: calc(env(safe-area-inset-top) + 76px);
  padding: calc(env(safe-area-inset-top) + 10px) var(--ui-gutter) 10px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  align-items: center;
  gap: 12px;
  background: rgba(11,11,12,.9);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(22px) saturate(135%);
}

.editorial-detail-screen .detail-app-header > div {
  min-width: 0;
  text-align: center;
}

.editorial-detail-screen .detail-app-header small {
  display: block;
  margin-bottom: 3px;
  color: var(--orange) !important;
  font-size: 9px !important;
  font-weight: 850;
  letter-spacing: .16em;
}

.editorial-detail-screen .detail-app-header h1 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(16px,4.4vw,21px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editorial-detail-screen .detail-app-header .icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
}

.editorial-detail-screen .detail-header-spacer {
  width: 44px;
  height: 44px;
}

.editorial-detail-screen .editorial-hero {
  margin-top: 0 !important;
  border-top: 0 !important;
}

.editorial-detail-screen .editorial-reason-lead {
  margin-top: 16px !important;
}

@media (prefers-reduced-motion: reduce) {
  .card-rail { scroll-behavior: auto; }
}

/* v0.14.16 — visible version status and automatic update controls */
.app-version-card{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:18px 0;
  padding:18px;
  border:1px solid #2f2f31;
  border-radius:22px;
  background:linear-gradient(145deg,#1c1c1d,#121213 72%);
}
.app-version-mark{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:rgba(255,107,26,.09);
  color:var(--orange);
}
.version-eye{width:38px;height:24px}
.app-version-copy{min-width:0}
.app-version-copy small{color:var(--orange);font-size:9px;font-weight:850;letter-spacing:.16em}
.app-version-copy h2{margin:5px 0 4px;font-size:20px;line-height:1.1}
.app-version-copy p{margin:0;color:#d4d0c9;font-size:12px;line-height:1.45}
.app-version-copy>span{display:block;margin-top:4px;color:#7f7b75;font-size:10px;line-height:1.4}
.app-version-actions{display:grid;justify-items:end;gap:8px}
.app-version-actions button{
  min-height:38px;
  padding:0 13px;
  border:1px solid #38383a;
  border-radius:12px;
  background:#28282a;
  color:#fff;
  font-size:11px;
  font-weight:800;
}
.app-version-actions button:disabled{opacity:.48}
.update-pill[data-status="available"],.update-pill[data-status="installing"]{background:rgba(255,107,26,.14);color:#ff9a5f}
.update-pill[data-status="error"]{background:rgba(255,121,96,.11);color:#ff9b86}
@media(max-width:520px){
  .app-version-card{grid-template-columns:48px minmax(0,1fr);padding:16px}
  .app-version-mark{width:48px;height:48px}
  .app-version-actions{grid-column:1/-1;width:100%;grid-template-columns:1fr auto;align-items:center;justify-items:start}
  .app-version-actions button{justify-self:end}
}




/* v0.14.18 — single-source editorial discovery card system */
.article-results .card-rail{
  display:flex;
  width:100%;
  gap:14px;
  padding:10px var(--rail-edge-space,18px) 24px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:var(--rail-edge-space,18px);
  overscroll-behavior-x:contain;
  overscroll-behavior-y:none;
  touch-action:pan-x;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.article-results .card-rail::-webkit-scrollbar{display:none}
.article-results .opportunity-card.article-card{
  flex:0 0 min(calc(100vw - 36px),430px);
  width:min(calc(100vw - 36px),430px);
  max-width:min(calc(100vw - 36px),430px);
  height:min(760px,calc(100svh - 270px));
  min-height:560px;
  padding:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  overflow:hidden;
  scroll-snap-align:center;
  scroll-snap-stop:always;
  border:1px solid rgba(255,255,255,.12);
  border-radius:32px;
  background:linear-gradient(160deg,#202021,#121213 72%);
  transform:none;
}
.article-results .article-card .article-scroll{
  min-width:0;
  width:100%;
  height:100%;
  padding:36px 34px 28px;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-x:none;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.article-results .article-card .article-scroll::-webkit-scrollbar{display:none}
.article-results .article-card .card-topline{
  width:100%;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.article-results .article-card .card-topline-copy{min-width:0}
.article-results .article-card .category{
  max-width:100%;
  color:#ff9a60;
  font-size:11px;
  font-weight:900;
  line-height:1.3;
  letter-spacing:.18em;
  text-transform:uppercase;
  white-space:normal;
  overflow-wrap:break-word;
}
.article-results .article-card .article-context{display:none}
.article-results .article-card .card-number{
  position:static;
  flex:0 0 auto;
  width:auto;
  min-width:auto;
  margin:0;
  padding:10px 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#d7d3cc;
  font-size:12px;
  font-weight:900;
  line-height:1;
  letter-spacing:.06em;
  white-space:nowrap;
}
.article-results .article-card .article-summary{
  width:100%;
  display:block;
  margin:32px 0 0;
  padding:0;
}
.article-results .article-card .article-summary h2{
  width:100%;
  max-width:100%;
  margin:0 0 20px;
  padding:0;
  color:#fff;
  font-size:clamp(34px,8.8vw,44px);
  font-weight:900;
  line-height:.98;
  letter-spacing:-.055em;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:break-word;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
.article-results .article-card .article-dek{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  color:#d6d2cb;
  font-size:17px;
  font-weight:650;
  line-height:1.52;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:break-word;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
.article-results .article-card .summary-block{
  width:100%;
  max-width:100%;
  margin:24px 0 0;
  padding:20px 22px 19px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  background:rgba(255,255,255,.025);
  overflow:visible;
}
.article-results .article-card .summary-block>span{
  display:block;
  margin:0 0 14px;
  color:#ff9a60;
  font-size:10px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:.18em;
}
.article-results .article-card .summary-block ul{
  width:100%;
  margin:0;
  padding:0 0 0 24px;
  display:grid;
  gap:10px;
}
.article-results .article-card .summary-block li{
  position:relative;
  width:100%;
  margin:0;
  padding:0;
  color:#d0ccc5;
  font-size:15px;
  font-weight:550;
  line-height:1.48;
  white-space:normal;
  overflow:visible;
  overflow-wrap:break-word;
}
.article-results .article-card .summary-block li:before{
  left:-18px;
}
.article-results .article-card .first-version-block{
  margin-bottom:8px;
  border-color:rgba(255,107,26,.34);
  background:rgba(255,107,26,.055);
}
.article-results .article-card .article-jump-actions{
  position:relative;
  width:auto;
  min-height:104px;
  margin:0 26px 22px;
  padding:16px 0 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  border-top:1px solid rgba(255,255,255,.11);
  background:linear-gradient(180deg,rgba(17,17,18,0),#111112 22%);
  backdrop-filter:none;
}
.article-results .article-card .article-jump-actions button{
  min-width:0;
  min-height:78px;
  padding:9px 5px;
  border-radius:20px;
}
@media(max-width:390px){
  .article-results .opportunity-card.article-card{
    flex-basis:calc(100vw - 34px);
    width:calc(100vw - 34px);
    max-width:calc(100vw - 34px);
    height:min(730px,calc(100svh - 270px));
    min-height:570px;
  }
  .article-results .article-card .article-scroll{padding:32px 28px 24px}
  .article-results .article-card .article-summary{margin-top:28px}
  .article-results .article-card .article-summary h2{font-size:clamp(31px,8.5vw,39px);margin-bottom:19px}
  .article-results .article-card .article-dek{font-size:16px}
  .article-results .article-card .summary-block{padding:19px 20px 18px}
  .article-results .article-card .summary-block li{font-size:14px}
  .article-results .article-card .article-jump-actions{margin-inline:20px;gap:8px}
}
@media(max-height:740px){
  .article-results .opportunity-card.article-card{height:calc(100svh - 260px);min-height:520px}
  .article-results .article-card .article-scroll{padding-top:28px}
  .article-results .article-card .article-summary{margin-top:24px}
  .article-results .article-card .article-summary h2{font-size:clamp(29px,7.6vw,36px)}
  .article-results .article-card .article-dek{font-size:15px}
  .article-results .article-card .article-jump-actions{min-height:92px}
  .article-results .article-card .article-jump-actions button{min-height:68px}
}


/* v0.14.19 — balanced card sizing, full-card swipe capture, and permission startup polish */
.article-results .opportunity-card.article-card{
  flex-basis:min(calc(100vw - 42px),418px);
  width:min(calc(100vw - 42px),418px);
  max-width:min(calc(100vw - 42px),418px);
  height:min(720px,calc(100svh - 286px));
  min-height:520px;
  touch-action:pan-y;
}
.article-results .article-card .article-scroll{
  padding:28px 28px 22px;
  touch-action:pan-y;
}
.article-results .article-card .article-summary{margin-top:24px}
.article-results .article-card .article-summary h2{
  margin-bottom:16px;
  font-size:clamp(30px,8vw,39px);
  line-height:1;
}
.article-results .article-card .article-dek{
  font-size:15.5px;
  line-height:1.5;
}
.article-results .article-card .summary-block{
  margin-top:19px;
  padding:17px 18px 16px;
  border-radius:22px;
}
.article-results .article-card .summary-block>span{margin-bottom:12px}
.article-results .article-card .summary-block ul{gap:9px;padding-left:22px}
.article-results .article-card .summary-block li{font-size:14px;line-height:1.45}
.article-results .article-card .article-jump-actions{
  min-height:84px;
  margin:0 20px 17px;
  padding-top:12px;
  gap:8px;
}
.article-results .article-card .article-jump-actions button{
  min-height:62px;
  padding:7px 4px;
  border-radius:17px;
}
.article-results .article-card .article-jump-actions .action-icon{height:18px}
.article-results .article-card .article-jump-actions .action-label{font-size:10px!important}
.permission-suite{max-width:min(92vw,390px)!important}
.permission-suite strong{white-space:normal}
@media(max-width:390px){
  .article-results .opportunity-card.article-card{
    flex-basis:calc(100vw - 40px);
    width:calc(100vw - 40px);
    max-width:calc(100vw - 40px);
    height:min(700px,calc(100svh - 282px));
    min-height:510px;
  }
  .article-results .article-card .article-scroll{padding:26px 24px 20px}
  .article-results .article-card .article-summary{margin-top:22px}
  .article-results .article-card .article-summary h2{font-size:clamp(28px,7.7vw,35px)}
  .article-results .article-card .article-dek{font-size:15px}
  .article-results .article-card .summary-block{padding:16px 17px 15px}
  .article-results .article-card .article-jump-actions{margin-inline:16px;gap:7px}
  .article-results .article-card .article-jump-actions button{min-height:60px}
}
@media(max-height:740px){
  .article-results .opportunity-card.article-card{height:calc(100svh - 276px);min-height:490px}
  .article-results .article-card .article-scroll{padding-top:24px}
  .article-results .article-card .article-summary{margin-top:20px}
  .article-results .article-card .article-summary h2{font-size:clamp(27px,7vw,33px)}
  .article-results .article-card .article-jump-actions{min-height:78px}
  .article-results .article-card .article-jump-actions button{min-height:57px}
}


/* v0.14.20 — fluid card height and reliable two-axis card gestures */
.article-results .card-rail{
  align-items:flex-start;
}
.article-results .opportunity-card.article-card{
  height:auto!important;
  min-height:0!important;
  max-height:calc(100svh - 245px)!important;
  align-self:flex-start;
  touch-action:none!important;
}
.article-results .article-card .article-scroll{
  min-height:0;
  max-height:calc(100svh - 350px);
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  touch-action:none!important;
  -webkit-overflow-scrolling:auto;
}
.article-results .article-card .article-jump-actions{
  flex:0 0 auto;
}
@media(max-width:390px){
  .article-results .opportunity-card.article-card{
    height:auto!important;
    min-height:0!important;
    max-height:calc(100svh - 238px)!important;
  }
  .article-results .article-card .article-scroll{
    max-height:calc(100svh - 338px);
    padding:24px 22px 18px;
  }
  .article-results .article-card .article-jump-actions{
    margin:0 15px 15px;
    min-height:74px;
    gap:7px;
  }
  .article-results .article-card .article-jump-actions button{
    min-height:56px;
    border-radius:16px;
  }
}
@media(max-height:740px){
  .article-results .opportunity-card.article-card{
    height:auto!important;
    min-height:0!important;
    max-height:calc(100svh - 225px)!important;
  }
  .article-results .article-card .article-scroll{
    max-height:calc(100svh - 318px);
  }
}


/* v0.14.21 — full-height editorial cards and anchored app note */
.results-screen.article-results{
  height:100dvh!important;
  min-height:100dvh!important;
  display:grid!important;
  grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
  overflow:hidden!important;
  padding-bottom:calc(env(safe-area-inset-bottom) + 8px)!important;
}
.article-results .card-rail{
  min-height:0!important;
  height:100%!important;
  align-items:stretch!important;
  padding-top:4px!important;
  padding-bottom:4px!important;
  overflow-y:hidden!important;
}
.article-results .opportunity-card.article-card{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
}
.article-results .article-card .article-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:30px 30px 20px!important;
  overscroll-behavior:contain!important;
}
.article-results .article-card .article-jump-actions{
  flex:0 0 auto!important;
  margin:0 24px 18px!important;
  padding-top:13px!important;
  min-height:82px!important;
}
.article-results .article-card .article-jump-actions button{
  min-height:62px!important;
}
.results-app-note{
  min-height:28px;
  margin:2px 20px 0;
  padding:5px 8px calc(3px + env(safe-area-inset-bottom));
  color:#c88d6e;
  font-size:11px;
  font-weight:700;
  line-height:1.3;
  text-align:center;
  letter-spacing:.01em;
}
.results-app-note.is-error{color:#ffad86}
@media(max-width:390px){
  .article-results .article-card .article-scroll{padding:27px 25px 18px!important}
  .article-results .article-card .article-jump-actions{margin:0 18px 15px!important;gap:8px!important;min-height:76px!important}
  .article-results .article-card .article-jump-actions button{min-height:58px!important}
  .results-app-note{margin-inline:14px;font-size:10px}
}
@media(max-height:740px){
  .article-results .article-card .article-scroll{padding-top:24px!important;padding-bottom:14px!important}
  .article-results .article-card .article-jump-actions{margin-bottom:12px!important;min-height:70px!important}
  .article-results .article-card .article-jump-actions button{min-height:54px!important}
  .results-app-note{min-height:24px;padding-top:3px;font-size:9.5px}
}

/* v0.14.22 — tighter editorial rhythm and true bottom-anchored actions */
.results-screen.article-results{
  grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
}
.article-results .card-rail{
  min-height:0!important;
  height:100%!important;
  align-items:stretch!important;
  padding-top:2px!important;
  padding-bottom:2px!important;
}
.article-results .opportunity-card.article-card{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  align-self:stretch!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
}
.article-results .article-card .article-scroll{
  min-height:0!important;
  height:auto!important;
  padding:22px 28px 16px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
.article-results .article-card .card-topline{
  margin:0!important;
}
.article-results .article-card .article-summary{
  margin:15px 0 0!important;
}
.article-results .article-card .article-summary h2{
  margin:0 0 14px!important;
  font-size:clamp(31px,8vw,39px)!important;
  line-height:.99!important;
}
.article-results .article-card .article-dek{
  font-size:15.5px!important;
  line-height:1.48!important;
}
.article-results .article-card .summary-block{
  margin-top:18px!important;
  padding:17px 18px 16px!important;
}
.article-results .article-card .summary-block>span{
  margin-bottom:11px!important;
}
.article-results .article-card .article-jump-actions{
  align-self:end!important;
  margin:0 20px 14px!important;
  padding:11px 0 0!important;
  min-height:76px!important;
}
.article-results .article-card .article-jump-actions button{
  min-height:58px!important;
}
.results-app-note{
  margin-top:1px!important;
  padding-top:4px!important;
}
@media(max-width:390px){
  .article-results .article-card .article-scroll{
    padding:20px 23px 14px!important;
  }
  .article-results .article-card .article-summary{
    margin-top:13px!important;
  }
  .article-results .article-card .article-summary h2{
    margin-bottom:12px!important;
    font-size:clamp(29px,7.8vw,35px)!important;
  }
  .article-results .article-card .article-dek{
    font-size:15px!important;
  }
  .article-results .article-card .summary-block{
    margin-top:16px!important;
    padding:16px 17px 15px!important;
  }
  .article-results .article-card .article-jump-actions{
    margin:0 16px 12px!important;
    min-height:72px!important;
  }
  .article-results .article-card .article-jump-actions button{
    min-height:55px!important;
  }
}
@media(max-height:740px){
  .article-results .article-card .article-scroll{
    padding-top:18px!important;
    padding-bottom:12px!important;
  }
  .article-results .article-card .article-summary{
    margin-top:12px!important;
  }
  .article-results .article-card .article-summary h2{
    font-size:clamp(27px,7.2vw,33px)!important;
  }
  .article-results .article-card .summary-block{
    margin-top:14px!important;
  }
  .article-results .article-card .article-jump-actions{
    margin-bottom:10px!important;
    min-height:68px!important;
  }
  .article-results .article-card .article-jump-actions button{
    min-height:52px!important;
  }
}


/* v0.14.23 — direct full-card swipe tracking */
.article-results .card-rail{
  touch-action:pan-y!important;
  scroll-behavior:auto;
}
.article-results .card-rail.is-card-dragging{
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
}
.article-results .opportunity-card.article-card,
.article-results .article-card .article-scroll{
  touch-action:pan-y!important;
  -webkit-user-select:none;
  user-select:none;
}
.article-results .article-card.is-swipe-active{
  cursor:grabbing;
}
.article-results .article-card .article-scroll p,
.article-results .article-card .article-scroll h2,
.article-results .article-card .article-scroll li,
.article-results .article-card .article-scroll span{
  -webkit-user-drag:none;
}


/* v0.15.0 — canonical iOS-quality interaction and visual standardization */
:root{
  --motion-instant:120ms;
  --motion-fast:180ms;
  --motion-standard:260ms;
  --motion-slow:360ms;
  --ease-ios:cubic-bezier(.22,.74,.22,1);
  --surface-1:#101011;
  --surface-2:#181819;
  --surface-3:#202021;
  --stroke-soft:rgba(255,255,255,.09);
  --stroke-strong:rgba(255,255,255,.15);
}
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{overscroll-behavior:none}
button,a,[role="button"]{-webkit-tap-highlight-color:transparent}
button{transition:transform var(--motion-instant) var(--ease-ios),background var(--motion-fast) ease,border-color var(--motion-fast) ease,opacity var(--motion-fast) ease}
button:active{transform:scale(.965)}
.page-enter{animation:kakashiPageIn var(--motion-standard) var(--ease-ios) both}
@keyframes kakashiPageIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

.results-screen.article-results{background:radial-gradient(circle at 50% 18%,rgba(255,107,26,.045),transparent 34%),#0b0b0c}
.article-results .card-rail{
  touch-action:none!important;
  scroll-snap-type:x mandatory;
  scroll-behavior:auto!important;
  -webkit-overflow-scrolling:auto;
  will-change:scroll-position;
}
.article-results .card-rail.is-card-dragging{scroll-snap-type:none!important}
.article-results .opportunity-card.article-card,
.article-results .article-card .article-scroll{
  touch-action:none!important;
  -webkit-user-select:none;
  user-select:none;
}
.article-results .article-card .article-scroll{
  -webkit-overflow-scrolling:auto!important;
  scrollbar-width:none;
  will-change:scroll-position;
}
.article-results .article-card .article-scroll::-webkit-scrollbar{display:none}
.article-results .article-card.is-swipe-active{transform:scale(.995);border-color:var(--stroke-strong)!important}
.article-results .article-card.is-swipe-active,
.article-results .article-card .article-scroll.is-vertical-dragging{cursor:grabbing}
.article-results .article-card{transition:border-color var(--motion-fast) ease,transform var(--motion-fast) var(--ease-ios),opacity var(--motion-fast) ease!important}
.article-results .article-card.is-active{opacity:1!important;transform:none}
.article-results .article-card:not(.is-active){opacity:.9}
.article-results .article-jump-actions{backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%)}
.article-results .article-jump-actions button{box-shadow:inset 0 1px 0 rgba(255,255,255,.045)}
.article-results .article-jump-actions .primary{box-shadow:0 10px 30px rgba(255,107,26,.14),inset 0 1px 0 rgba(255,255,255,.5)}

.detail-screen,.build-workspace,.library-screen,.browse-screen{scroll-behavior:smooth}
.detail-section,.library-card,.feed-card,.do-it-summary-card{transition:border-color var(--motion-fast) ease,background var(--motion-fast) ease,transform var(--motion-fast) var(--ease-ios)}
.detail-section[open]{border-color:var(--stroke-strong)}
.surface-switch,.modes,.filter-rail,.collection-rail,.library-filter-rail{scrollbar-width:none}
.surface-switch::-webkit-scrollbar,.modes::-webkit-scrollbar,.filter-rail::-webkit-scrollbar,.collection-rail::-webkit-scrollbar,.library-filter-rail::-webkit-scrollbar{display:none}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* v0.15.1 — Live camera path feed */
.mode-live .camera-copy{top:15%;max-width:300px}
.mode-live .camera-copy h1{font-size:clamp(34px,9vw,52px)}
.mode-live .camera-gradient{background:linear-gradient(180deg,rgba(0,0,0,.34),rgba(0,0,0,.06) 34%,rgba(0,0,0,.86) 88%)}
.mode-live .modes{gap:1px}
.mode-live .mode{min-width:58px;padding-inline:7px}
.mode .live-mode-eye{width:22px;height:15px;color:currentColor}
.mode .live-mode-eye circle:last-child{color:var(--orange)}
.live-path-feed{position:absolute;z-index:5;left:14px;right:14px;bottom:calc(env(safe-area-inset-bottom) + 154px);display:grid;gap:9px;pointer-events:none}
.live-feed-head{justify-self:end;display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(12,12,13,.58);backdrop-filter:blur(22px) saturate(135%);color:#fff;font-size:10px;box-shadow:0 10px 34px rgba(0,0,0,.22)}
.live-feed-head strong{font-size:9px;letter-spacing:.14em}.live-feed-head small{color:rgba(255,255,255,.62)}
.live-dot{width:7px;height:7px;border-radius:50%;background:#777}.live-dot.active{background:#ff6b1a;box-shadow:0 0 0 4px rgba(255,107,26,.14);animation:livePulse 1.5s ease-in-out infinite}
.live-feed-list{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-height:min(44svh,390px);overflow:hidden}
.live-path-comment{pointer-events:auto;width:min(88%,410px);display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(255,255,255,.16);border-radius:18px 18px 5px 18px;background:rgba(20,20,21,.78);backdrop-filter:blur(24px) saturate(135%);text-align:left;box-shadow:0 14px 42px rgba(0,0,0,.34);animation:liveCommentIn .42s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--live-index) * 35ms)}
.live-path-comment span{color:#ff9a60;font-size:8px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.live-path-comment strong{font-size:14px;line-height:1.2;color:#fff}
.live-path-comment small{font-size:9px;color:rgba(255,255,255,.52)}
.live-feed-empty{width:min(84%,360px);padding:13px 15px;border:1px solid rgba(255,255,255,.13);border-radius:18px 18px 5px 18px;background:rgba(20,20,21,.6);backdrop-filter:blur(20px);display:grid;gap:4px;color:#fff}
.live-feed-empty strong{font-size:13px}.live-feed-empty span{font-size:10px;line-height:1.4;color:rgba(255,255,255,.58)}
.live-capture-panel{gap:12px}
.live-toggle{min-width:190px;min-height:54px;padding:8px 16px 8px 11px;display:flex;align-items:center;gap:11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(17,17,18,.7);backdrop-filter:blur(22px);text-align:left;box-shadow:0 12px 40px rgba(0,0,0,.28)}
.live-toggle-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f4f1eb;color:#111;font-size:13px}.live-toggle.active .live-toggle-icon{background:#ff6b1a;color:#111;box-shadow:0 0 0 6px rgba(255,107,26,.13)}
.live-toggle>span:last-child{display:grid;gap:1px}.live-toggle strong{font-size:13px}.live-toggle small{font-size:9px;color:rgba(255,255,255,.55)}
@keyframes livePulse{50%{opacity:.55;transform:scale(.88)}}
@keyframes liveCommentIn{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}
@media(max-height:720px){.live-path-feed{bottom:calc(env(safe-area-inset-bottom) + 142px)}.live-feed-list{max-height:36svh}.live-path-comment{padding:10px 12px}.live-path-comment strong{font-size:13px}.mode-live .camera-copy{display:none}}
@media(max-width:380px){.mode-live .mode{min-width:52px;padding-inline:5px}.live-path-feed{left:10px;right:10px}.live-path-comment{width:92%}}


/* v0.15.2 — Live mode visual polish and quieter feed behavior */
.mode-live .camera-copy{
  top:13.2%;
  max-width:308px;
}
.mode-live .camera-copy p{
  margin-bottom:9px;
  font-size:14px;
  color:rgba(247,245,240,.78);
  text-shadow:0 4px 18px rgba(0,0,0,.28);
}
.mode-live .camera-copy h1{
  font-size:clamp(36px,9.4vw,54px);
  line-height:.95;
  letter-spacing:-.058em;
  text-shadow:0 8px 32px rgba(0,0,0,.34);
}
.mode-live .camera-gradient{
  background:linear-gradient(180deg,rgba(4,4,5,.42),rgba(4,4,5,.08) 26%,rgba(4,4,5,.16) 52%,rgba(4,4,5,.78) 77%,rgba(4,4,5,.92) 100%);
}
.mode-live .capture-panel{
  bottom:calc(env(safe-area-inset-bottom) + 18px);
  gap:14px;
}
.mode-live .modes{
  width:min(calc(100vw - 24px), 430px);
  justify-content:space-between;
  padding:7px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(11,11,12,.7);
  box-shadow:0 12px 44px rgba(0,0,0,.32);
}
.mode-live .mode{
  min-width:56px;
  padding:8px 8px;
}
.mode-live .mode.active{
  background:rgba(255,255,255,.1);
}
.live-path-feed{
  position:absolute;
  z-index:5;
  left:14px;
  right:14px;
  bottom:calc(env(safe-area-inset-bottom) + 136px);
  display:grid;
  gap:10px;
  pointer-events:none;
}
.live-feed-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(17,17,18,.72),rgba(13,13,14,.62));
  -webkit-backdrop-filter:blur(24px) saturate(140%);
  backdrop-filter:blur(24px) saturate(140%);
  color:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.24);
}
.live-feed-status{display:flex;align-items:center;gap:9px;min-width:0}
.live-feed-status>div{display:grid;gap:2px;min-width:0}
.live-feed-head strong{font-size:10px;letter-spacing:.16em}
.live-feed-head small{font-size:11px;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-feed-badge{
  flex:0 1 auto;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.045);
  font-size:10px;
  color:rgba(255,255,255,.8);
  white-space:nowrap;
}
.live-dot{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.34);box-shadow:0 0 0 5px rgba(255,255,255,.04)}
.live-dot.active{background:#ff6b1a;box-shadow:0 0 0 6px rgba(255,107,26,.12);animation:livePulse 1.6s ease-in-out infinite}
.live-feed-list{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:9px;
  max-height:min(42svh,380px);
  overflow:hidden;
}
.live-path-comment{
  pointer-events:auto;
  width:100%;
  display:grid;
  gap:6px;
  padding:14px 15px 13px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(20,20,21,.82),rgba(13,13,14,.76));
  -webkit-backdrop-filter:blur(28px) saturate(145%);
  backdrop-filter:blur(28px) saturate(145%);
  text-align:left;
  box-shadow:0 18px 46px rgba(0,0,0,.34);
  transform:translateY(calc(var(--live-stack, 0) * -1px));
  animation:liveCommentIn .42s cubic-bezier(.2,.8,.2,1) both;
  animation-delay:calc(var(--live-index) * 35ms);
}
.live-path-comment.is-fresh{
  border-color:rgba(255,107,26,.38);
  box-shadow:0 18px 52px rgba(0,0,0,.36),0 0 0 1px rgba(255,107,26,.12) inset,0 0 28px rgba(255,107,26,.08);
}
.live-path-comment span{
  color:#ffab76;
  font-size:9px;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.live-path-comment strong{
  font-size:15px;
  line-height:1.18;
  color:#fff;
  letter-spacing:-.025em;
}
.live-path-comment small{
  font-size:11px;
  line-height:1.42;
  color:rgba(255,255,255,.62);
}
.live-path-comment i{
  font-style:normal;
  font-size:10px;
  font-weight:700;
  color:#f3eee7;
  opacity:.84;
}
.live-feed-empty{
  width:100%;
  padding:14px 15px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(20,20,21,.66),rgba(12,12,13,.56));
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  backdrop-filter:blur(22px) saturate(135%);
  display:grid;
  gap:5px;
  color:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.24);
}
.live-feed-empty strong{font-size:13px;letter-spacing:-.015em}
.live-feed-empty span{font-size:11px;line-height:1.45;color:rgba(255,255,255,.6)}
.live-feed-note{
  padding:0 4px;
  font-size:10px;
  line-height:1.45;
  color:rgba(255,181,140,.88);
  text-shadow:0 6px 18px rgba(0,0,0,.26);
}
.live-capture-panel{gap:14px}
.live-toggle{
  width:min(calc(100vw - 34px), 340px);
  min-height:58px;
  padding:9px 16px 9px 12px;
  display:flex;
  align-items:center;
  gap:11px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(17,17,18,.8),rgba(11,11,12,.74));
  -webkit-backdrop-filter:blur(24px) saturate(135%);
  backdrop-filter:blur(24px) saturate(135%);
  text-align:left;
  box-shadow:0 14px 42px rgba(0,0,0,.3);
}
.live-toggle.active{border-color:rgba(255,107,26,.42);box-shadow:0 16px 48px rgba(0,0,0,.32),0 0 0 1px rgba(255,107,26,.12) inset}
.live-toggle-icon{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f4f1eb;
  color:#111;
  font-size:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.live-toggle.active .live-toggle-icon{background:#ff6b1a;color:#111;box-shadow:0 0 0 7px rgba(255,107,26,.12)}
.live-toggle>span:last-child{display:grid;gap:2px}
.live-toggle strong{font-size:13px;letter-spacing:-.015em}
.live-toggle small{font-size:10px;color:rgba(255,255,255,.56)}
@keyframes livePulse{50%{opacity:.6;transform:scale(.9)}}
@keyframes liveCommentIn{from{opacity:0;transform:translateY(18px) scale(.975)}to{opacity:1;transform:translateY(calc(var(--live-stack, 0) * -1px)) scale(1)}}
@media(max-height:760px){
  .live-path-feed{bottom:calc(env(safe-area-inset-bottom) + 126px)}
  .live-feed-list{max-height:35svh}
  .mode-live .camera-copy{top:11.5%;max-width:286px}
  .mode-live .camera-copy h1{font-size:clamp(32px,8.6vw,44px)}
}
@media(max-height:700px){
  .mode-live .camera-copy{display:none}
  .live-path-feed{bottom:calc(env(safe-area-inset-bottom) + 122px)}
}
@media(max-width:390px){
  .live-path-feed{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 132px)}
  .live-feed-head{padding:9px 10px}
  .live-feed-badge{display:none}
  .live-path-comment{padding:13px 13px 12px}
  .live-toggle{width:min(calc(100vw - 24px), 340px)}
}


/* v0.15.2 final — compact live path stream */
.live-feed-list{
  gap:8px;
  max-height:min(34svh,300px);
}
.live-path-comment{
  position:relative;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"category arrow" "title arrow";
  column-gap:12px;
  row-gap:4px;
  padding:13px 14px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(22,22,23,.84),rgba(12,12,13,.78));
}
.live-path-comment span{grid-area:category}
.live-path-comment strong{
  grid-area:title;
  font-size:15px;
  line-height:1.22;
  padding-right:2px;
}
.live-path-comment i{
  grid-area:arrow;
  align-self:center;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:20px;
  line-height:1;
  opacity:.82;
}
.live-path-comment small{display:none}
.live-feed-empty{
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:"orb title" "orb copy";
  align-items:center;
  column-gap:11px;
  row-gap:2px;
  padding:11px 13px;
  border-radius:17px;
  background:rgba(17,17,18,.66);
}
.live-feed-empty .live-listening-orb{
  grid-area:orb;
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(255,107,26,.46);
  background:radial-gradient(circle at center,#ff6b1a 0 21%,rgba(255,107,26,.18) 23% 48%,transparent 50%);
  box-shadow:0 0 0 5px rgba(255,107,26,.08);
  animation:livePulse 1.8s ease-in-out infinite;
}
.live-feed-empty strong{grid-area:title;font-size:12px}
.live-feed-empty>span:last-child{grid-area:copy;font-size:10px}
.live-feed-note{
  justify-self:center;
  max-width:92%;
  text-align:center;
  color:rgba(255,255,255,.54);
  font-size:9px;
  letter-spacing:.01em;
}
.mode-live .camera-copy{
  pointer-events:none;
  text-shadow:0 3px 24px rgba(0,0,0,.46);
}
.camera-shell.live-active .camera-copy{
  opacity:.28;
  transform:translateY(-4px);
  transition:opacity .3s ease,transform .3s ease;
}
@media(max-height:760px){
  .live-feed-list{max-height:30svh}
  .live-feed-note{display:none}
}
@media(max-width:390px){
  .live-path-comment strong{font-size:14px}
}


/* v0.15.3 — simplified live feed, clean stacking, and 4–6 second cadence */
.mode-live .camera-copy{opacity:.18!important;transform:none!important}
.live-path-feed{
  left:14px!important;
  right:14px!important;
  bottom:calc(env(safe-area-inset-bottom) + 228px)!important;
  gap:0!important;
  pointer-events:none;
}
.live-feed-list{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  align-items:stretch!important;
  gap:8px!important;
  max-height:min(34svh,290px)!important;
  overflow:hidden!important;
}
.live-feed-list.is-empty{display:none!important}
.live-path-comment{
  pointer-events:auto!important;
  width:100%!important;
  min-height:58px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 30px!important;
  grid-template-areas:"category arrow" "title arrow"!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:3px!important;
  margin:0!important;
  padding:11px 12px 11px 14px!important;
  border-radius:17px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(16,16,17,.78)!important;
  -webkit-backdrop-filter:blur(26px) saturate(140%)!important;
  backdrop-filter:blur(26px) saturate(140%)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.28)!important;
  transform:none!important;
  animation:liveCommentIn .34s cubic-bezier(.2,.8,.2,1) both!important;
}
.live-path-comment.is-fresh{
  border-color:rgba(255,107,26,.42)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.3),0 0 0 1px rgba(255,107,26,.1) inset!important;
}
.live-path-comment span{grid-area:category!important;font-size:8px!important;letter-spacing:.16em!important;color:#ff9d67!important}
.live-path-comment strong{grid-area:title!important;font-size:14px!important;line-height:1.2!important;white-space:normal!important;overflow:visible!important}
.live-path-comment i{
  grid-area:arrow!important;
  width:28px!important;
  height:28px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.07)!important;
  font-size:18px!important;
}
.live-capture-panel{gap:10px!important}
.live-control-group{
  width:min(calc(100vw - 28px),360px);
  display:grid;
  justify-items:center;
  gap:7px;
}
.live-feed-note{
  display:block!important;
  width:100%;
  max-width:none!important;
  padding:0 4px!important;
  color:rgba(255,255,255,.68)!important;
  font-size:10px!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.live-toggle{
  width:100%!important;
  min-height:50px!important;
  padding:0 18px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:9px!important;
  border-radius:999px!important;
  background:rgba(15,15,16,.8)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.28)!important;
  text-align:center!important;
}
.live-toggle.active{border-color:rgba(255,107,26,.48)!important;background:rgba(24,17,14,.84)!important}
.live-toggle-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#f3efe9;
  box-shadow:0 0 0 5px rgba(255,255,255,.06);
}
.live-toggle-dot.active{background:#ff6b1a;box-shadow:0 0 0 5px rgba(255,107,26,.12);animation:livePulse 1.5s ease-in-out infinite}
.live-toggle strong{font-size:14px!important;letter-spacing:-.01em!important}
.live-feed-head,.live-feed-empty,.live-feed-badge,.live-toggle-icon,.live-toggle>span:last-child{display:none!important}
@keyframes liveCommentIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@media(max-height:760px){
  .live-path-feed{bottom:calc(env(safe-area-inset-bottom) + 216px)!important}
  .live-feed-list{max-height:27svh!important}
  .live-path-comment{min-height:54px!important;padding-top:9px!important;padding-bottom:9px!important}
}
@media(max-width:390px){
  .live-path-feed{left:10px!important;right:10px!important;bottom:calc(env(safe-area-inset-bottom) + 222px)!important}
  .live-control-group{width:min(calc(100vw - 20px),350px)}
  .live-path-comment strong{font-size:13px!important}
  .live-feed-note{font-size:9px!important}
}


/* v0.18.0 — public paths, lineage, and saved-header repair */
.saved-screen.library-screen{padding-top:0!important;}
.library-header{position:sticky;top:0;z-index:30;min-height:calc(env(safe-area-inset-top) + 92px)!important;padding-top:calc(env(safe-area-inset-top) + 14px)!important;padding-bottom:12px!important;background:linear-gradient(180deg,#0b0b0c 78%,rgba(11,11,12,.92));}
.library-header>div:nth-child(2){align-self:center;padding-top:2px;}
.library-header h1{font-size:clamp(24px,7vw,34px)!important;line-height:1.03!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.path-origin,.library-origin,.feed-origin{margin-top:18px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.48);font-size:11px;letter-spacing:.01em;}
.path-origin strong,.library-origin strong,.feed-origin strong{color:rgba(255,255,255,.82);font-weight:800;}
.library-origin{margin-top:14px;}
.feed-origin{margin:12px 18px 0;padding-bottom:8px;}
.community-actions{display:flex;gap:8px;padding:12px 18px 2px;}
.community-actions button{min-height:38px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.04);color:rgba(255,255,255,.68);padding:0 13px;font-weight:800;}
.community-actions button.active{background:rgba(255,107,26,.15);border-color:rgba(255,107,26,.45);color:#ff8b49;}
.public-knowledge-terms{display:grid;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.035);}
.public-knowledge-terms p{margin:0;color:rgba(255,255,255,.68);font-size:13px;line-height:1.5;}
.public-knowledge-terms strong{color:#fff;}
.share-consent{grid-template-columns:22px 1fr!important;align-items:start!important;margin-top:16px!important;}
.share-consent input{width:19px;height:19px;accent-color:#ff6b1a;}
.dialog-primary.danger{background:#3b1c19!important;color:#ffb0a7!important;}
.creator-reputation{margin:16px 0;padding:20px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(145deg,rgba(255,107,26,.12),rgba(255,255,255,.03));}
.creator-reputation small{color:#ff7a2d;font-size:10px;font-weight:850;letter-spacing:.14em;}
.creator-reputation strong{display:block;margin-top:8px;font-size:42px;line-height:1;}
.creator-reputation span{display:block;margin-top:5px;font-weight:800;}
.creator-reputation p{margin:10px 0 0;font-size:12px;line-height:1.45;color:rgba(255,255,255,.58);}
.library-card footer{grid-template-columns:repeat(4,minmax(0,1fr)) auto!important;}
@media(max-width:520px){.library-card footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}.library-card footer .library-remove{position:absolute;right:14px;bottom:14px}.library-card{position:relative}.library-card footer{padding-right:52px!important}}

/* v0.24.3 — complete guided tour visibility */
.tutorial-layer .tutorial-card {
  max-height: min(44vh, 390px);
  overflow: auto;
  overscroll-behavior: contain;
}
.tutorial-layer .tutorial-card h2,
.tutorial-layer .tutorial-card p { max-width: 100%; }
@media (min-width: 760px) {
  .tutorial-layer .tutorial-card { max-width: 430px; max-height: min(48vh, 420px); }
}
/* v0.24.3 — centered guidance and dialogs */


/* v0.24.4 — adaptive guided-tour placement */
.tutorial-layer .tutorial-card{position:fixed!important;margin:0!important;max-width:min(430px,calc(100vw - 24px));z-index:4;}
.tutorial-layer .tutorial-spotlight{z-index:3;pointer-events:none;}
.tutorial-layer .tutorial-card[data-placement="left"],.tutorial-layer .tutorial-card[data-placement="right"]{max-width:min(390px,42vw);}
@media(max-width:759px){.tutorial-layer .tutorial-card[data-placement="left"],.tutorial-layer .tutorial-card[data-placement="right"]{max-width:calc(100vw - 24px);}}
