/* Fern Street Web Studio additions (concept by Sea Grape Labs). Builds on app.css tokens. */
.cbtn.swap{text-decoration:none;color:#E8EFF0}
.stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.stages .sg{position:relative;padding:10px 10px 12px;border-radius:12px;background:var(--sand);font-size:12.5px;font-weight:600;color:var(--muted);overflow:hidden}
.stages .sg i{display:block;font-style:normal;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--faint);margin-bottom:2px}
.stages .sg.done{background:#E3F1F1;color:#00523D}
.stages .sg.cur{background:#F8F2E5;color:#6D5429;box-shadow:inset 0 0 0 2px var(--sun)}
.stages .sg.cur::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:60%;background:var(--sun);border-radius:0 3px 0 0}
.mini-stages{display:flex;gap:3px;margin-top:8px}
.mini-stages span{flex:1;height:5px;border-radius:99px;background:var(--sand-2)}
.mini-stages span.on{background:var(--teal)}
.mini-stages span.now{background:var(--sun)}

.proj{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--line);cursor:pointer}
.proj:first-child{border-top:0}
.proj img{width:64px;height:64px;border-radius:16px;object-fit:cover}
.proj b{font-size:15px}
.proj .meta{font-size:12.5px;color:var(--muted)}
.proj:hover b{color:var(--teal)}

/* Website mockup */
.browser{border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:var(--sh-2)}
.browser .chrome{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#EEEAE2;border-bottom:1px solid var(--line)}
.browser .chrome i{width:9px;height:9px;border-radius:50%;background:#CDCBB7}
.browser .chrome span{margin-left:8px;flex:1;background:#fff;border-radius:99px;padding:3px 12px;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.browser .chrome .live{font-size:11px;font-weight:700;color:var(--ok)}
.site{position:relative;font-family:var(--sans);color:#053026;background:#F9F7F2}
.site .ann{background:#004939;color:#E7DEBC;text-align:center;font-size:12px;padding:7px 10px;font-weight:600;letter-spacing:.02em}
.site .snav{display:flex;align-items:center;gap:16px;padding:12px 20px;font-size:12px;font-weight:600;color:#053026}
.site .snav b{font-family:var(--serif);font-weight:400;font-size:17px;letter-spacing:.18em;text-transform:uppercase;margin-right:auto}
.site .snav span.cta{background:#C3885F;color:#fff;border-radius:99px;padding:6px 12px}
.site .shero{position:relative;min-height:260px;display:flex;align-items:flex-end;padding:22px;color:#fff}
.site .shero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.site .shero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(1,34,27,.86),rgba(1,34,27,.1) 70%)}
.site .shero div{position:relative;z-index:1;max-width:520px}
.site .shero h4{font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.08;margin:0;text-wrap:balance}
.site .shero p{margin:8px 0 12px;font-size:13.5px;color:#E5F0EF}
.site .shero .row span{font-size:12px;font-weight:700;border-radius:99px;padding:7px 13px}
.site .hrs{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 20px;background:#F0EAE0;font-size:12.5px;font-weight:600}
.site .dishes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px 20px 20px}
.site .dish img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.site .dish b{display:block;font-size:12.5px;margin-top:6px}
.site .dish span{font-size:11.5px;color:#55716F}
.pinlayer{position:absolute;inset:0;z-index:5;cursor:crosshair}
.pin{position:absolute;transform:translate(-50%,-100%);z-index:6;border:0;background:var(--sun);color:#14302F;width:28px;height:28px;border-radius:50% 50% 50% 0;rotate:-45deg;display:grid;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.3);font-weight:700;font-size:12px}
.pin span{rotate:45deg}
.pin.done{background:var(--teal);color:#fff}
.pin.new{animation:pop .6s var(--ease-out)}
.pinlist .li{align-items:flex-start}
.pinlist .num{width:26px;height:26px;border-radius:50%;background:var(--sun);display:grid;place-items:center;font-weight:700;font-size:12px;flex:none}
.pinlist .num.done{background:var(--teal);color:#fff}

/* Editor */
.editor{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:18px;align-items:start}
.photo-pick{display:flex;gap:8px}
.photo-pick button{border:2px solid transparent;border-radius:12px;padding:0;overflow:hidden;width:76px;height:56px;background:none;transition:border-color .25s var(--ease)}
.photo-pick button img{width:100%;height:100%;object-fit:cover}
.photo-pick button[aria-pressed=true]{border-color:var(--sun)}
.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0}
.hist{font-size:12.5px}
.hist div{display:flex;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.hist div:first-child{border-top:0}
.hist b{min-width:34px}

/* Publish */
.pub{display:flex;flex-direction:column;gap:10px}
.pub-steps{display:flex;gap:8px;flex-wrap:wrap}
.pub-steps span{flex:1;min-width:90px;text-align:center;padding:8px 6px;border-radius:10px;background:var(--sand);font-size:12px;font-weight:600;color:var(--muted);transition:background .4s var(--ease),color .4s var(--ease)}
.pub-steps span.on{background:var(--teal);color:#fff}
.pub-steps span.now{background:#F8F2E5;color:#6D5429;box-shadow:inset 0 0 0 2px var(--sun)}

.health{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.hcard{overflow:hidden}
.hcard .ph{height:110px;position:relative}
.hcard .ph img{width:100%;height:100%;object-fit:cover}
.hcard .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,32,31,.7),transparent 60%)}
.hcard .ph b{position:absolute;left:14px;bottom:10px;color:#fff;z-index:1;font-size:14px}
.hcard .ms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px}
.hcard .m{text-align:center;font-size:11.5px;color:var(--muted)}
.hcard .m .ring{margin:0 auto 4px}
.hcard .checks{padding:0 14px 14px;display:flex;flex-wrap:wrap;gap:6px}
.scan .ring .fg{animation:spinfill 1.4s var(--ease)}
@keyframes spinfill{from{stroke-dashoffset:120}}

.rev-bars{display:flex;align-items:flex-end;gap:12px;height:180px;padding-top:10px}
.rev-bars .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end;font-size:11.5px;color:var(--muted)}
.rev-bars .stack{width:100%;max-width:46px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:8px 8px 4px 4px;overflow:hidden;animation:grow-y 1s var(--ease) both;transform-origin:bottom}
@keyframes grow-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.rev-bars .b1{background:var(--teal)}
.rev-bars .b2{background:var(--sun)}

.req{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}
.req:first-child{border-top:0}
.req img{width:40px;height:40px;border-radius:12px;object-fit:cover}
.pkg{padding:18px;display:flex;flex-direction:column;gap:6px}
.pkg .pp{font-family:var(--serif);font-size:30px;line-height:1}
.pkg ul{margin:6px 0 0;padding:0;list-style:none;font-size:13px;display:flex;flex-direction:column;gap:4px}
.pkg li::before{content:"✓ ";color:var(--teal);font-weight:700}

@media (max-width:1080px){.editor{grid-template-columns:1fr}}
@media (max-width:900px){
  .stages{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cbtn.swap .lg{display:none}
}
@media (min-width:901px){.cbtn.swap .sm{display:none}}
@media (max-width:640px){
  .site .shero{min-height:210px;padding:16px}
  .site .shero h4{font-size:23px}
  .site .dishes{grid-template-columns:repeat(3,1fr);gap:6px;padding:12px}
  .site .snav{gap:8px;padding:10px 12px;font-size:11px}
  .site .snav .hide-s{display:none}
  .proj{grid-template-columns:48px minmax(0,1fr);}
  .proj img{width:48px;height:48px;border-radius:12px}
  .proj .end{grid-column:1/-1}
  .req{grid-template-columns:auto minmax(0,1fr)}
  .req .end{grid-column:1/-1}
}
.grid>*,.stack>*{min-width:0}
@media (max-width:900px){.topbar{flex-wrap:wrap}.topbar .grow{flex-basis:100%;height:0}}
.editor>*{min-width:0}
.ico>svg{width:20px;height:20px}
.site .shero::after{background:linear-gradient(0deg,rgba(1,34,27,.9) 0%,rgba(1,34,27,.55) 55%,rgba(1,34,27,.15) 100%)}
.pub-steps span{min-width:64px}

.site .menu-line{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;padding:0 20px 18px;font-size:12px}
.site .menu-line b{font-family:var(--serif);font-weight:400;font-size:15px}
.site .menu-line span{color:#345751;flex:1;min-width:200px}
.site .menu-line em{font-style:normal;font-weight:700;color:#C3885F}
.pkg.sgl-pkg{background:linear-gradient(160deg,#14302F,#144C42);color:#fff;border-color:transparent}
.pkg.sgl-pkg .eyebrow{color:#E7DEBC}
.pkg.sgl-pkg li::before{color:#D8BF84}

/* Partner view and client setup */
.ideaform{display:flex;flex-direction:column;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:12px}
.ideas{display:flex;flex-direction:column;gap:10px}
.idea{border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;background:var(--shell)}
.idea b{font-size:13.5px;font-weight:600}
.idea small{font-size:11.5px;color:var(--faint)}
.reply{display:flex;gap:8px;align-items:flex-start;background:#F1F6EF;border-radius:10px;padding:8px 10px;font-size:12.5px;color:#2B4A2E}
.reply .avatar{color:#426544;flex:none}
.crow2{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line)}
.crow2 p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.crow2 b{font-size:14px}
.cic{width:42px;height:42px;border-radius:12px;background:#E3F1F1;color:var(--teal);display:grid;place-items:center;flex:none}
.cic svg{width:20px;height:20px}
.cic.big{width:56px;height:56px;border-radius:16px}
.cic.big svg{width:26px;height:26px}
.status2{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}
.stat{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid var(--line);font-size:13px}
.stat:nth-child(-n+2){border-top:0}
.stat>span:nth-child(2){color:var(--muted)}
.stat b{font-weight:600;text-align:right}
.dot{width:9px;height:9px;border-radius:50%;background:var(--line-2)}
.dot.g{background:var(--ok)}.dot.y{background:var(--sun)}
.oauth2{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px;border-radius:16px;background:var(--sand)}
.oauth2 .sglm{width:56px;height:56px;border-radius:16px;background:#EEF3EC;display:grid;place-items:center}
.oauth2 .sglm svg{width:38px;height:38px}
.oauth2 .dash{width:44px;border-top:2px dashed var(--line-2)}
@media (max-width:640px){.status2{grid-template-columns:1fr}.stat:nth-child(2){border-top:1px solid var(--line)}}

.locknote{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;border-radius:14px;background:#EEF3EC;color:#2B4A2E;font-size:13px;margin-top:14px}
.locknote svg{flex:none;margin-top:1px}
.builder-hero::before{background:linear-gradient(100deg,rgba(8,27,11,.9) 0%,rgba(20,48,47,.62) 45%,rgba(20,48,47,.1) 80%),linear-gradient(0deg,rgba(13,32,31,.5),transparent 55%)}
.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
@media (max-width:1240px){.board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.board{grid-template-columns:1fr 1fr}.view-switch button{padding:4px 7px}}
.crow2{display:grid;grid-template-columns:42px minmax(0,1fr);gap:4px 12px;align-items:start}
.crow2>.row{grid-column:2;justify-content:flex-start}
.board .btn{white-space:normal;text-align:center;font-size:12.5px;padding:7px 10px}
