/* Daybreak Web Studio additions (concept by Sea Grape Labs). Builds on app.css tokens. */
.cbtn.swap{text-decoration:none;color:#E8EEF0}
.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:#E2EFF2;color:#004A5E}
.stages .sg.cur{background:#FFF1E2;color:#8A4A12;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:#F1ECDD;border-bottom:1px solid var(--line)}
.browser .chrome i{width:9px;height:9px;border-radius:50%;background:#D8CFB6}
.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:#0E2A33;background:#FBF7EE}
.site .ann{background:#0C3B4A;color:#F7DDB4;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:#0E2A33}
.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:#E8704A;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(8,30,38,.86),rgba(8,30,38,.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:#E5EEF0}
.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:#F4EBDA;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:#5C6870}
.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:#1D2A34;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:#FFF1E2;color:#8A4A12;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(20,30,37,.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(8,30,38,.9) 0%,rgba(8,30,38,.55) 55%,rgba(8,30,38,.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:#3D4F57;flex:1;min-width:200px}
.site .menu-line em{font-style:normal;font-weight:700;color:#E8704A}
.pkg.sgl-pkg{background:linear-gradient(160deg,#1D2A34,#203E4B);color:#fff;border-color:transparent}
.pkg.sgl-pkg .eyebrow{color:#F7DDB4}
.pkg.sgl-pkg li::before{color:#F6B872}
