.grow{flex:1}
/* inside a panel (post-panel.js) the panel brings its own header, menu and notices */
html.embed .top,html.embed .foot,html.embed #ml-inside{display:none!important}
.plain{font-size:13px;color:#555}
.post{width:100%;max-width:780px;margin:0 auto;padding:0 16px 20px;flex:1}
.crumbs{margin:14px 0 0;padding:8px 14px;background:#f3f3f4;border-radius:8px;font-size:13px;color:#666;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.crumbs a{color:#1a4fb4}
.crumbs .chg{margin-left:auto;background:none;border:0;color:#1a4fb4;font:inherit;cursor:pointer;padding:0}
.crumbs select{font:inherit;font-size:13px;border:1px solid #cfcfd4;border-radius:6px;padding:2px 6px}

/* Tabs: plain text with one line under the row, no buttons */
.tabs{display:flex;gap:22px;border-bottom:1px solid #cfcfd4;margin-top:10px;overflow-x:auto}
.tabs span{padding:12px 0 9px;color:#9a9aa0;cursor:default;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;font-size:14px}
.tabs span.go{cursor:pointer}
.tabs span.on{color:#7a2a8c;border-bottom-color:#7a2a8c;font-weight:bold}
.tabs span.done{color:#27500A}

.info{margin:8px 0 0;font-size:12px;color:#888}
.demo{background:#FFF9C4;border:1px solid #E6D96B;color:#5b5200;border-radius:8px;padding:7px 12px;font-size:13px;margin:0 0 14px}
.pane{padding-top:18px}
.pane h1{margin:0 0 2px;font-size:22px}
.sub{color:#666;font-size:13px;margin:0 0 16px}

/* Form */
.sec{border-top:1px solid #e3e3e6;padding-top:14px;margin-top:18px}
.sec>h2{margin:0 0 10px;font-size:14px;color:#7a2a8c}
.f{margin-bottom:12px}
.f label.l{display:block;font-size:13px;color:#555;margin-bottom:3px}
.f label.l b{color:#a32d2d}
.f input[type=text],.f input[type=password],.f input[type=email],.f input[type=tel],.f input[type=number],.f input[type=url],.f select{width:100%;font:inherit;font-size:14px;padding:8px 10px;border:1px solid #cfcfd4;border-radius:8px;background:#fff;color:#222}
.f input.rq,.f .area.rq{background:#fffde7;border-color:#e6d96b}
.f input:focus,.f select:focus{outline:0;border-color:#7a2a8c}
.f small{display:block;font-size:12px;color:#888;margin-top:3px}
.err{color:#a32d2d;font-size:12px;margin-top:3px}
.g2{display:grid;grid-template-columns:2fr 1fr;gap:12px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ck{display:flex;gap:9px;align-items:flex-start;margin:7px 0;font-size:14px;cursor:pointer}
.ck input{margin-top:3px}
.ck small{display:block;color:#777;font-size:12px}

/* Editor: no buttons, formats through shortcuts, / menu and a selection pill */
.edw{position:relative}
.area{min-height:150px;padding:9px 11px;border:1px solid #cfcfd4;border-radius:8px;outline:0;font-size:14.5px;line-height:1.7;background:#fff}
.area:focus{border-color:#7a2a8c}
.area:empty::before{content:attr(data-ph);color:#999}
.area h3{font-size:17px;margin:8px 0 2px}
.area blockquote,.ad-body blockquote{margin:6px 0;padding-left:12px;border-left:3px solid #CECBF6;color:#555}
.area ul,.area ol,.ad-body ul,.ad-body ol{margin:4px 0;padding-left:22px}
.area hr,.ad-body hr{border:0;border-top:1px solid #cfcfd4;margin:10px 0}
.hint{font-size:12px;color:#888;margin-top:4px;display:flex;justify-content:space-between;gap:10px}
.bub{position:absolute;z-index:5;background:#2c2c2a;color:#fff;border-radius:8px;padding:3px 4px;display:none;gap:2px;transform:translate(-50%,-100%);margin-top:-6px}
.bub span{padding:3px 9px;border-radius:5px;cursor:pointer;font-size:13px}
.bub span:hover{background:#444441}
.sl{position:absolute;z-index:5;background:#fff;border:1px solid #cfcfd4;border-radius:10px;padding:4px;min-width:190px;display:none;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.sl div{padding:6px 10px;border-radius:6px;cursor:pointer;font-size:14px}
.sl div.on{background:#EEEDFE;color:#3C3489}
.sl .e{color:#999;cursor:default}

/* Photos */
.imgs{display:flex;gap:10px;flex-wrap:wrap}
.im{width:92px;height:92px;border:1px dashed #bbb;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#999;font-size:24px;position:relative;cursor:pointer;overflow:hidden;background:#fafafa}
.im img{width:100%;height:100%;object-fit:cover}
.im.cv::after{content:"cover";position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:11px;color:#7a2a8c;background:rgba(255,255,255,.85)}
.im .x{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:13px;line-height:20px;text-align:center}
.im input{display:none}

/* Upgrade options */
.opt{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eee;cursor:pointer}
.opt:last-child{border:0}
.opt .p{margin-left:auto;font-weight:bold}
.opt small{display:block;color:#777;font-size:12px}
.opt.hot{background:#FFF9C4;margin:0 -10px;padding:9px 10px;border-radius:8px;border:0}

/* Plain lines and bars */
.line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eee;font-size:14px}
.line span:first-child{color:#666}
.bar{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:14px;border-top:1px solid #e3e3e6}
.bar a,.lk{color:#7a2a8c;font-weight:bold;cursor:pointer;font-size:14px;background:none;border:0;font-family:inherit;padding:0}
.bar a:hover,.lk:hover{text-decoration:underline}
.bar .muted{color:#888;font-weight:normal}
.btn{background:#7a2a8c;color:#fff;border:0;border-radius:8px;padding:9px 22px;font:inherit;font-size:14px;cursor:pointer}
.btn:hover{background:#651f75}

/* Preview */
.pv{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px}
.pv h2{margin:0;font-size:21px}
.pv .m{color:#666;font-size:13px;margin:4px 0 10px}
.pr{display:inline-block;background:#FAEEDA;color:#633806;border-radius:4px;padding:0 8px;font-weight:bold}
.vf{display:inline-block;background:#EAF3DE;color:#27500A;border-radius:4px;padding:0 8px;font-size:12px}
.ad-body{font-size:14.5px;line-height:1.7;margin:10px 0}
.pv .gal{display:grid;gap:8px}
.pv .gal img{width:100%;border-radius:8px;display:block}
.pv .ph{height:130px;border-radius:8px;background:#D3D1C7;display:flex;align-items:center;justify-content:center;font-size:34px}
.pay{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 12px}
.pay label{border:1px solid #cfcfd4;border-radius:8px;padding:8px 14px;cursor:pointer;display:flex;gap:6px;align-items:center;font-size:14px}
.note{font-size:12px;color:#888;margin-top:8px}
.btn.wait{background:#e9e9ec;color:#666}
#paydet{margin-top:6px}
.ok{width:52px;height:52px;border-radius:50%;background:#EAF3DE;color:#27500A;display:flex;align-items:center;justify-content:center;font-size:26px;margin:4px 0 10px}

@media(max-width:620px){.g2,.g3{grid-template-columns:1fr}.pv{grid-template-columns:1fr}.tabs{gap:16px}}

.errbar{background:#FCEBEB;border:1px solid #F09595;color:#791F1F;border-radius:8px;padding:7px 12px;font-size:13px;margin:0 0 14px}

.pmap{height:260px;border-radius:10px;overflow:hidden;background:#eef1f5;border:1px solid #cfcfd4;margin-bottom:4px}
.pnote{margin:0;color:#777;font-size:13px}
.leaflet-container{font:inherit}

/* ---------- multi-step form: open layout, one accent colour per section ---------- */
.post{--ac:#7a2a8c}
.tabs span.on{color:var(--ac);border-bottom-color:var(--ac)}
.tabs span.done{color:var(--ac)}
.prog{height:2px;background:#e3e3e6;margin-top:-1px}
.prog i{display:block;height:2px;width:0;background:var(--ac);transition:width .25s}
.sec>h2,.bar a,.lk{color:var(--ac)}
.btn{background:var(--ac)}
.btn:hover{background:var(--ac);filter:brightness(.92)}
.sec.first{border-top:0;padding-top:0;margin-top:0}
.f input[type=text],.f input[type=password],.f input[type=email],.f input[type=tel],.f input[type=number],.f input[type=date],.f input[type=url],.f select,.f textarea{border:0;border-bottom:1px solid #cfcfd4;border-radius:0;background:transparent;padding:7px 0}
.f textarea{width:100%;font:inherit;font-size:14px;resize:none;color:#222}
.f input.rq{background:transparent;border-bottom-color:var(--ac)}
.f input:focus,.f select:focus,.f textarea:focus{border-bottom-color:var(--ac);box-shadow:0 1px 0 var(--ac)}
.area{border:0;border-bottom:1px solid #cfcfd4;border-radius:0;padding:9px 0}
.area.rq,.area:focus{border-color:var(--ac)}
.fg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 28px}
.fg .full{grid-column:1/-1}
.g2b{display:grid;grid-template-columns:1fr 1fr;gap:6px 28px}
.f label.l{font-size:12px}
.ch{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0}
.ch button{font:inherit;font-size:13px;padding:4px 13px;border:1px solid #cfcfd4;border-radius:999px;background:transparent;color:#333;cursor:pointer}
.ch button:hover{border-color:var(--ac)}
.ch button.s{background:var(--ac);border-color:var(--ac);color:#fff}
.rg{display:flex;align-items:center;gap:14px}
.rg input{flex:1;accent-color:var(--ac)}
.rg b{font-size:13px;font-weight:bold;min-width:96px;text-align:right}
.inf{font-size:13px;color:#666;padding:4px 0}
.imgs .im{border-color:var(--ac)}
.im.cv::after{color:var(--ac)}
.bar .mid{flex:1;text-align:center}
.bar .mid .lk{color:#888;font-weight:normal}
.bl{filter:blur(10px)}
@media(max-width:620px){.fg,.g2b{grid-template-columns:1fr}}
.f .area.rq,.area.rq{background:transparent}

/* ---------- smart helpers ---------- */
.meter{margin:0 0 16px}
.meter .mt{display:flex;justify-content:space-between;font-size:12px;color:#666}
.meter .mt b{color:var(--ac)}
.meter .mb{height:4px;background:#e3e3e6;border-radius:4px;margin:4px 0;overflow:hidden}
.meter .mb i{display:block;height:4px;background:var(--ac);transition:width .25s}
.meter .mh{font-size:12px;color:#888}
.qk{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 6px;font-size:12px;color:#888}
.qk button{font:inherit;font-size:12px;padding:2px 11px;border:1px solid #cfcfd4;border-radius:999px;background:transparent;color:#444;cursor:pointer}
.qk button:hover{border-color:var(--ac);color:var(--ac)}
.qk.done{margin:6px 0 4px}
.addo{margin-top:6px}
.hrs{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin-top:8px}
.hrs label{font-size:12px;color:#666;display:flex;align-items:center;gap:6px}
.hrs input[type=time]{font:inherit;font-size:14px;border:0;border-bottom:1px solid #cfcfd4;background:transparent;padding:4px 2px;width:auto}
.hrs input[type=time]:focus{outline:0;border-bottom-color:var(--ac)}
.drop{display:flex;align-items:center;gap:12px;border:1px dashed #bbb;border-radius:10px;padding:12px 14px;margin:0 0 12px;font-size:13px;color:#777}
.drop.over{border-color:var(--ac);background:#fafafa}
.addph{background:var(--ac);color:#fff;border-radius:999px;padding:6px 16px;cursor:pointer;font-size:13px}
.addph input{display:none}
.im .mk{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);color:#fff;font-size:11px;text-align:center;padding:2px 0;cursor:pointer;opacity:0;transition:opacity .15s}
.im:hover .mk{opacity:1}
.bar .sv{font-size:12px;color:#8a8a90;margin-left:8px}
.pq{margin-top:-6px}
@media(hover:none){.im .mk{opacity:1}}

.lsr{display:flex;gap:10px;align-items:flex-end}
.lsr input{flex:1}
.btn.sm{padding:6px 14px;font-size:13px;white-space:nowrap}
.btn:disabled{opacity:.6;cursor:wait}
#locres button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* preview: photos in a grid, first photo is the larger cover */
.pv{grid-template-columns:1fr}
.pv .gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));grid-auto-flow:dense;gap:8px;margin-top:4px}
.pv .gal img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px}
.pv .gal img:first-child:not(:only-child){grid-column:span 2;grid-row:span 2}
.pv .gal .ph{grid-column:1/-1;height:130px}
.pv .gal{grid-template-columns:repeat(4,minmax(0,1fr))}
.pv .gal img{height:auto}
.pv .gal img:first-child:not(:only-child){height:100%}
@media(max-width:620px){.pv .gal{grid-template-columns:repeat(3,minmax(0,1fr))}}

.crumbs select{font:inherit;font-size:13px;color:#222;border:1px solid #cfcfd4;border-radius:6px;padding:2px 8px;background:#fff;cursor:pointer}
.crumbs select:focus{outline:0;box-shadow:0 0 0 2px #eee}

/* place summary line above the map */
.plc{margin:10px 0 8px;padding:6px 10px;background:#f3f3f4;border-radius:8px;font-size:13px;color:#555}
.plc b{color:#222}
.plc .okp{color:#27500A;background:#EAF3DE;border-radius:4px;padding:0 6px;margin-left:6px;font-size:12px}
.plc .nop{color:#777;margin-left:6px;font-size:12px}
.btn.alt{background:#fff;color:#333;border:1px solid #cfcfd4}
.lsr{flex-wrap:wrap}

/* several places: more cities, more countries, and what they cost */
.mp-mode{margin:0 0 10px}
.mp-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mp-row input,.mp-row select{font:inherit;font-size:14px;min-height:38px;padding:6px 10px;border:1px solid #cfcfd4;border-radius:8px;background:#fff;color:#222;max-width:100%}
.mp-row input{flex:1;min-width:180px}
.mp-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px;max-height:150px;overflow:auto}
.mp-chips:empty{display:none}
.mp-chip{display:inline-flex;align-items:center;gap:4px;font-size:13px;padding:3px 4px 3px 12px;border:1px solid var(--ac);border-radius:999px;color:#222}
.mp-chip button{font:inherit;font-size:16px;line-height:1;min-width:24px;min-height:24px;border:0;border-radius:999px;background:transparent;color:#555;cursor:pointer}
.mp-sum{background:#f7f7f8;border-radius:10px;padding:4px 12px;margin:10px 0 4px}
.mp-others{border-top:1px solid #e3e3e6;margin-top:14px;padding-top:10px}
.mp-others h3{margin:0 0 8px;font-size:13px;color:var(--ac)}
.mp-others>small,.mp-fold>small{display:block;margin-top:6px;color:#777;font-size:12px}
.mp-item{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border:1px solid #e3e3e6;border-radius:10px;padding:8px 12px;margin-top:8px}
.mp-name{flex:1;min-width:150px}
.mp-name b{display:block;font-weight:600}
.mp-name small{display:block;color:#666;font-size:12px}
.mp-item input.mp-price{font:inherit;font-size:14px;width:190px;max-width:100%;min-height:36px;padding:4px 10px;border:1px solid #cfcfd4;border-radius:8px;background:#fff;color:#222}
.mp-del{font:inherit;font-size:20px;line-height:1;min-width:36px;min-height:36px;border:0;border-radius:999px;background:transparent;color:#555;cursor:pointer}
.mp-item .err{flex-basis:100%}
.mp-fold{margin-top:6px}
.mp-fold>summary{cursor:pointer;padding:8px 0;color:var(--ac);font-size:13px}
.mp-fold[data-countries]>.mp-item:first-of-type{margin-top:2px}
@media(max-width:767px){.mp-item input.mp-price{width:100%;order:3;min-height:44px;font-size:16px}}
.mp-auto{display:block;color:#666;font-size:12px}
@media(max-width:767px){.mp-row input,.mp-row select{min-height:44px;font-size:16px}.mp-row input{flex-basis:100%}}

/* a narrow phone, signed in: the logo already goes home, so the header fits */
@media(max-width:480px){.top .top-in a.plain[href="../index.html"]{display:none}}
/* phones: logo and sign out on the first line, the links share the second line so none is cut off */
@media(max-width:767px){
  .top .top-in::after{content:"";order:3;flex-basis:100%;height:0}
  .top .top-in{row-gap:4px}
  .top .top-in a.au-out{padding:8px 0;font-size:13px}
  .top .top-in a.plain{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;padding:6px 2px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}
  .f input[type=text],.f input[type=password],.f input[type=email],.f input[type=tel],.f input[type=number],.f input[type=url],.f select{min-height:44px;font-size:16px}
}
.tabs{overflow-y:hidden;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}

/* the Account step: a visitor's username and password */
.acct{max-width:420px;margin-bottom:12px}
#uavail{font-size:12px;margin-top:3px}
#uavail.yes{color:#27500A}
#uavail.no{color:#a32d2d}

/* inside a panel the form starts beside the menu, with the same space on its left as the panel's other pages.
   The widths below are the frame's: the screen without the menu. The site's own post page stays centred. */
html.embed .post{box-sizing:border-box;max-width:1024px;margin:0;padding:12px 32px 20px}
@media(min-width:1184px){html.embed .post{max-width:1056px;padding:18px 48px 20px}}
@media(max-width:699.98px){html.embed .post{padding:0 14px 20px}}
