/* Solopreneurs V4 · technical fixes + richer examples · v1 (approved by Nikolina, Nov 19 2026)
   Load in <head>, after the page CSS. Markup is in the HTML; no script edits the page after load.
   Header (picture, bear, animation, chat) and "Off your hands" untouched except the round button.
   Header grain: no page grain over the clear picture window (in the header's WebGL shader, same learning as SMBs). */

/* 1 · placeholder fills inside windows take the page tint, never grey */
.mc-win .mc-u{background:#F4EEFA!important}
.mc-win .mc-inp,.mc-win .mc-row{background:#F8F4FC!important}
.mc-win .mk-veil{background:#F9F6FC!important}

/* 2 · our round 30 px corner button (bottom-right, 12 px in) replaces the text Pause pills */
.pg-sec .mc .mc-pause.mk-rb{z-index:20;width:30px;height:30px;inset:auto 12px 12px auto;border:0;border-radius:50%;padding:0;cursor:pointer;display:block;
  background:#ffffffe0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252943' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 8v8M14.5 8v8'/%3E%3C/svg%3E") 50%/14px 14px no-repeat;
  box-shadow:0 2px 8px #1d3f5a26}
.pg-sec .mc .mc-pause.mk-rb:hover{background-color:#fff}
.pg-sec .mc .mc-pause.mk-rb[data-s=paused]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252943' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 7.8 16.3 12l-6.8 4.2z'/%3E%3C/svg%3E")}
.pg-sec .mc .mc-pause.mk-rb[data-s=done]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252943' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12a7 7 0 1 0 2.1-5'/%3E%3Cpath d='M5 5v4h4'/%3E%3C/svg%3E")}
.pg-sec .mc .mc-pause.mk-rb>*{display:none}
.pg-sec .mc .mc-pause.mk-rb:focus-visible{outline:2px solid #1e2047;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.pg-sec .mc .mc-pause.mk-rb{display:none}}
/* Off your hands: the pills stay centred now that the pill button is gone */
#s5 .rg-ctl{display:flex!important;justify-content:center}

/* 3 · richer examples: one wedding florist, "Spring weddings" */
.mk-sub{display:block;font-size:11px;line-height:1.35;color:#5F6584;font-weight:400;margin-top:2px}
.mk-col{display:flex;flex-direction:column;min-width:0}
.mk-th{width:34px;height:34px;border-radius:8px;background:url(/img/pd/v4/peony-post.webp) center/cover;flex:none;display:block}
.mk-th.b{background-image:url(/img/pd/v4/peony-vase.webp);background-position:50% 40%}
.mk-th.c{background-image:url(/img/pd/v4/peony-bouquet.webp);background-position:50% 45%}
.mk-ths{display:flex;gap:6px;margin-left:auto}
.mk-ths .mk-th{width:28px;height:28px;border-radius:7px}
.mc-row.mk-has-th{gap:10px;align-items:center}
.mc-box.mk-boxpic{display:grid!important;grid-template-columns:1fr 38%;column-gap:14px;align-items:center}
.mc-box.mk-boxpic .mk-pic{grid-column:2;grid-row:1 / span 3;align-self:stretch;min-height:92px;border-radius:10px;background:url(/img/pd/v4/peony-post.webp) 50% 30%/cover}
.mc-box.mk-boxpic>*:not(.mk-pic){grid-column:1}
.mk-line{font-size:11.5px;line-height:1.4;color:#5F6584}
.res .mk-line{display:block;margin-top:6px}
.cal-i{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;gap:0!important}
.cal-i .mk-sub{font-size:10px;margin-top:3px}
.cal-i .mk-th{order:-1;margin:0 0 6px;width:100%;height:30px;border-radius:6px}

/* 4 · windows grow with their richer content (Good at what you do keeps its morphing window); nothing is cut */
.pg-sec .mc.mk-std.mk-center .mc-win{max-height:none!important}

/* 5 · phones: windows get smaller inside the frame, content reflows; never a window scaled as one picture */
@media (max-width:640px){
  .pg-sec .mc.mk-std.mk-center{aspect-ratio:auto!important;height:auto!important;padding:16px 16px 58px;display:flex;align-items:center}
  .pg-sec .mc.mk-std.mk-center .mk-stage{position:relative!important;transform:none!important;width:100%!important;height:auto!important}
  .pg-sec .mc.mk-std.mk-center .mc-win{position:relative!important;translate:none!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important}
  .pg-sec .mc.mk-std.mk-center .mc-row{flex-wrap:nowrap;min-width:0}
  .pg-sec .mc.mk-std.mk-center .mc-row .mk-col{flex:1 1 auto}
  .pg-sec .mc.mk-std.mk-center .mc-row .mc-chip{flex:none}
  .pg-sec .mc.mk-std.mk-center .mk-ths .mk-th:nth-child(3){display:none}
}
@media (max-width:360px){
  .pg-sec .mc.mk-std.mk-center .mc-row{flex-wrap:wrap;row-gap:6px}
  .pg-sec .mc.mk-std.mk-center .mc-row .sp{display:none}
}
/* Off your hands: the page's own .rg-pause pill rules must not reach our round button */
#s5 .mc .mc-pause.mk-rb.rg-pause{position:absolute;width:30px;height:30px;margin:0;inset:auto 12px 12px auto;grid-column:auto;justify-self:auto;flex:none;z-index:20}
/* the page's #s5 .rg-pause{background:...} shorthand wiped the icon: restore it with the same specificity */
#s5 .mc .mc-pause.mk-rb.rg-pause{border:0;padding:0;background:#ffffffe0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252943' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 8v8M14.5 8v8'/%3E%3C/svg%3E") 50%/14px 14px no-repeat;box-shadow:0 2px 8px #1d3f5a26}
#s5 .mc .mc-pause.mk-rb.rg-pause:hover{background-color:#fff}
#s5 .mc .mc-pause.mk-rb.rg-pause[data-s=paused]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252943' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 7.8 16.3 12l-6.8 4.2z'/%3E%3C/svg%3E")}
#s5 .mc .mc-pause.mk-rb.rg-pause[data-s=done]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252943' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12a7 7 0 1 0 2.1-5'/%3E%3Cpath d='M5 5v4h4'/%3E%3C/svg%3E")}

/* v5 · phones (<=640 px), as on SMBs v5: no module window is scaled as one picture.
   The stage keeps its real size, windows sit inside the frame, content restacks at its own px sizes (>=10 px). */
@media (max-width:640px){
  .pg-sec .mc.mk-std .mk-stage{transform:none!important}
  /* Good at what you do: one fixed window on every tab (nothing jumps), clear of the round button */
  .pg-sec #jobs .mc.mk-std{aspect-ratio:auto!important;height:540px!important}
  .pg-sec #jobs .mc.mk-std .mk-stage{width:100%!important;height:100%!important}
  .pg-sec #jobs .mc.mk-std .mc-win.mc-morph{left:14px!important;right:14px!important;top:14px!important;bottom:56px!important;width:auto!important;height:auto!important;translate:none!important}
  .pg-sec #jobs .mc.mk-std .panes{width:100%!important;height:100%!important;inset:0!important}
  .pg-sec #jobs .mc.mk-std .pane{left:30px!important;right:30px!important;top:30px!important;bottom:72px!important;width:auto!important;height:auto!important;zoom:1!important}
  /* website draft: the picture runs as a strip above the text */
  .pg-sec #jobs .mc-box.mk-boxpic{grid-template-columns:1fr;row-gap:8px}
  .pg-sec #jobs .mc-box.mk-boxpic .mk-pic{grid-column:1;grid-row:1;min-height:0;height:110px}
  .pg-sec #jobs .mc-title{font-size:22px}
  .pg-sec #jobs .mc-r3{flex-wrap:wrap;row-gap:6px}
  /* content calendar: one row per day */
  .pg-sec #jobs .cal{grid-template-columns:minmax(0,1fr);gap:6px}
  .pg-sec #jobs .cal-d{flex-direction:row;align-items:center;gap:10px}
  .pg-sec #jobs .cal-n{flex:none;width:34px}
  .pg-sec #jobs .cal-i{flex:1;height:auto!important;min-height:38px;padding:6px 10px!important;border-radius:9px;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;font-size:13.5px}
  .pg-sec #jobs .cal-i .mk-sub{margin:0;font-size:11px}
  .pg-sec #jobs .cal-i .mk-th{order:0;width:44px;height:24px;margin:0 0 0 auto}
  /* search */
  .pg-sec #jobs .srch{gap:8px;padding:0 12px;font-size:14px}
  .pg-sec #jobs .res-t{flex-wrap:wrap;row-gap:8px}
  /* Talk shop: the conversation window flows inside the frame and grows with it */
  .pg-sec #talk.mk-std{aspect-ratio:auto!important;height:auto!important;min-height:420px;padding:54px 14px 14px;display:flex;align-items:flex-end}
  .pg-sec #talk.mk-std .mk-stage{position:relative!important;width:100%!important;height:auto!important}
  .pg-sec #talk.mk-std .mc-win.tk-win{position:relative!important;inset:auto!important;translate:none!important;width:100%!important;height:auto!important;max-height:none!important}
}
@media (max-width:360px){
  .pg-sec #jobs .mc.mk-std{height:580px!important}
  .pg-sec #jobs .mc-box.mk-boxpic .mk-pic{height:90px}
}
/* Good at · website draft: the button is solid ink, never grey */
.pg-sec .mc-box .mc-btn{background:#111226!important;color:#fff!important}
