/* Shared marketplace and tenant workspace design. */
.td-archive [data-tdtab="browse"],
.td-archive [data-tdtab="workshop"],
.td-archive [data-tdtab="offers"]{display:none !important;}
.mo-archive-banner{background:#0f172a;color:#fff;border-radius:12px;padding:12px 14px;font-size:13px;font-weight:650;margin-bottom:12px;}
:root{--forest:#202523;--forest-2:#343c38;--sage:#087f65;--sage-l:#30a389;--bg:#f7f8fa;--surface:#fff;--border:#e4e7ea;--ink:#202523;--ink-2:#515b57;--ink-3:#68736e;--ink-4:#a2aaa6;--red:#c83f4e;--radius:8px;--sh-xs:0 2px 8px #20252305;--content:1240px;--blue:#2261c5;--header-h:76px}
body{background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}
*,*::before,*::after{letter-spacing:0}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:disabled{cursor:wait;opacity:.55}
:focus-visible{outline:3px solid #2261c575;outline-offset:3px}
.ui-icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0;vertical-align:middle}
.brand-period{color:var(--sage)}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid var(--border);border-radius:8px;background:white;color:var(--ink);flex-shrink:0}
.icon-button:hover{background:#f1f4f2}
.text-button{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--ink-2);font-size:13px;font-weight:600;min-height:40px;padding:8px}
.eyebrow{font-size:11px;font-weight:650;color:var(--ink-3);line-height:1.4}
.skip-link{position:fixed;left:16px;top:-80px;padding:12px 18px;background:var(--ink);color:#fff;z-index:3000}
.skip-link:focus{top:12px}
.app-load-status{padding:16px;text-align:center;background:#fff3e9;color:#754b21}
.app-load-status[hidden]{display:none}
.app-load-status button{border:0;background:transparent;text-decoration:underline;margin-left:10px;color:inherit}
.app-loading:not(.load-failed) .header-login,.app-loading:not(.load-failed) .chip-row,.app-loading:not(.load-failed) .search-wrap{pointer-events:none;opacity:.65}
.header{background:#ffffffed;color:var(--ink);border-bottom:1px solid var(--border);padding:17px 32px;box-shadow:none;backdrop-filter:blur(16px)}
.header-inner{max-width:var(--content);gap:24px}
.header-logo{display:none}
.header-title{font-size:27px;font-weight:730;line-height:1.2;overflow:visible}
.header-sub{font-size:11px;color:var(--ink-3);font-weight:450;margin-top:3px}
.header-login{background:var(--ink);border:1px solid var(--ink);color:#fff;min-height:42px;font-size:13px;font-weight:600;padding:10px 17px;gap:8px;border-radius:8px}
.header-login:hover,.header-login.active{background:#353d39;border-color:#353d39}
.lang-switch{border-left:1px solid var(--border);padding-left:20px;gap:3px}
.lang-switch button{min-width:34px;min-height:34px;border:0;background:transparent;color:var(--ink-3);font-size:11px;padding:7px;border-radius:6px}
.lang-switch button.active{background:#ecefeb;color:var(--ink)}
.market-heading{max-width:calc(var(--content) + 64px);margin:auto;padding:38px 32px 28px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.market-heading h1{font-size:36px;line-height:1.2;font-weight:650;margin:10px 0;max-width:820px;text-wrap:balance}
.market-heading p{font-size:15px;line-height:1.6;color:var(--ink-3)}
.market-location{display:flex;align-items:center;gap:8px;color:var(--ink-3);font-size:12px;text-decoration:none;flex-shrink:0;padding-bottom:6px}
.market-location .ui-icon{width:15px;height:15px}
.trust-strip{max-width:calc(var(--content) + 64px);padding:0 32px 20px;margin:0 auto;gap:8px 24px}
.trust-strip[hidden]{display:none}
.trust-item{border:0;background:transparent;padding:0;border-radius:0;font-size:12px;color:var(--ink-2);font-weight:450;max-width:100%}
.trust-item{display:flex;align-items:flex-start;gap:7px}
.trust-item b{font-weight:500}
.controls{background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid var(--border);box-shadow:0 3px 12px #20252303}
.controls-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,360px);max-width:calc(var(--content) + 64px);padding:0 32px;gap:24px;min-height:75px}
.chip-row{display:flex;width:auto;flex:1;min-width:0;gap:24px;border:0;border-radius:0;padding:0;background:transparent;align-self:stretch}
.chip-row .chip{position:relative;gap:9px;padding:18px 0;font-size:13px;white-space:nowrap;word-break:normal;border-radius:0;color:var(--ink-3);min-height:64px;box-shadow:none;background:none}
.chip-row .chip.active{background:transparent;color:var(--ink);box-shadow:none}
.chip-row .chip.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--sage);border-radius:3px 3px 0 0}
.chip-row .chip.active .ui-icon{color:var(--sage)}
.tab-label-compact{display:none}
.controls-inner>.search-wrap{width:100%;min-width:0;max-width:none;margin:0}
.controls-inner>.search-wrap input{min-width:0}
.search-wrap{flex:0 1 360px;margin:0;min-width:200px}
.search-wrap input{height:42px;padding:10px 14px 10px 40px;border:1px solid var(--border);border-radius:8px;background:#f6f7f8;font-size:13px;color:var(--ink)}
.search-wrap input:focus{background:#fff;border-color:#8eaaa0;box-shadow:0 0 0 3px #087f6510}
.search-icon{left:13px;width:17px;height:17px}
.feed-wrap{max-width:calc(var(--content) + 64px);padding:28px 32px 52px;min-height:360px}
.feed-toolbar{margin:0 0 22px;gap:12px}
.feed-count{font-size:13px;color:var(--ink-3);font-weight:500}
.feed-filter-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.availability-toggle{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-2);cursor:pointer}
.availability-toggle input{accent-color:var(--sage);width:15px;height:15px}
.saved-filter{display:flex;align-items:center;gap:6px;min-height:38px;background:transparent;border:0;color:var(--ink-2);font-size:12px;padding:4px}
.saved-filter[aria-pressed=true]{color:var(--sage)}
.saved-filter[aria-pressed=true] .ui-icon{fill:#e2f1e9}
.saved-filter .ui-icon{width:16px;height:16px}
.sort-select-wrap select{min-height:38px;border:1px solid var(--border);border-radius:6px;font-size:12px;font-weight:500;background-color:#fff}
.feed{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;grid-auto-rows:1fr}
#feed{grid-template-columns:repeat(auto-fit,minmax(300px,380px));gap:24px;justify-content:center}
.card{border:1px solid var(--border);border-radius:8px;box-shadow:0 2px 6px #20252303;transition:box-shadow .2s ease,transform .2s ease;min-width:0;background:white}
.card:hover{box-shadow:0 8px 28px #2025230d;transform:translateY(-2px)}
.card-photos,#itemsGrid .card-photos,#wsGrid .card-photos,.mo-item-grid .card-photos{height:auto;aspect-ratio:4/5;background:#0b1c22;overflow:hidden}
#feed .card-photos{aspect-ratio:4/5}
.card-scroll{width:100%;position:absolute;inset:0}
.card-scroll img{object-fit:cover;width:100%;height:100%}
#itemsGrid .card-scroll img,#wsGrid .card-scroll img,.mo-item-grid .card-scroll img{object-fit:cover;background:#0b1c22}
.card-body{padding:22px;gap:0;min-width:0}
.card-title{font-size:18px;font-weight:650;line-height:1.4;white-space:normal;overflow-wrap:anywhere;min-height:2.8em}
.card-meta{font-size:12px;line-height:1.65;margin-top:5px;color:var(--ink-3)}
.card-foot{align-items:center;margin-top:15px;gap:12px}
.card-price{font-size:22px;font-weight:650;color:var(--ink);line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.card-price-sub{font-size:12px;font-weight:450;color:var(--ink-3)}
.card-desc{font-size:13px;line-height:1.7;color:var(--ink-3);margin-top:14px;margin-bottom:18px;min-height:3.4em;-webkit-line-clamp:2}
.card-extras{display:none}
.card-count{background:#ffffffed;color:var(--ink-2);border-radius:5px;bottom:14px;right:14px;padding:5px 9px;font-size:11px}
.like-btn{top:14px;right:14px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #ffffff80;background:#ffffffed;color:var(--ink-2);box-shadow:0 2px 8px #20252315}
.like-btn.liked{color:var(--red);background:white}
.like-btn .ui-icon{width:18px;height:18px}
.like-btn.liked .ui-icon{fill:currentColor}
.card-share{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:6px;padding:0;background:transparent;color:var(--ink-3);flex-shrink:0}
.card-share .ui-icon{width:17px;height:17px}
.card .calc-control{margin-top:auto;padding-top:16px;border-top:1px solid #edf0ed}
.calc-toggle-btn{border-radius:6px;min-height:38px;font-size:13px;box-shadow:none}
.calc-toggle-btn.selected{background:var(--sage);border-color:var(--sage);color:white}
.office-card-actions{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:10px;margin-top:auto;padding-top:16px;border-top:1px solid var(--border)}
.office-card-actions .calc-control{border:0;margin:0;padding:0;display:flex}
/* Both buttons already share the exact same background, color, radius,
   padding and min-height (see the shared .calc-toggle-btn/.details-button
   rule further down) -- an even 1:1 split closed the width gap, but "View
   office" is roughly 2-3x longer than "Select" in every language this site
   ships (hy/en/ru), so at an exact half-width share its label had just
   enough room to wrap onto a 2nd line -- which made the button taller than
   its neighbor, trading a width mismatch for a height one. Two things fix
   that together: give the longer label a bit more of the row (not a full
   content-fit share like before, just enough headroom to stay on one
   line), and force single-line text so it can never grow the button's
   height again -- if a label is ever too long for its share anyway (a
   longer translation, a narrow phone), it truncates with an ellipsis
   instead of wrapping, which keeps both buttons the same height no matter
   what the text says. */
.office-card-actions .details-button,
.office-card-actions .calc-toggle-btn{
  flex:1 1 auto;
  width:100%;
  min-width:0;
  height:44px;
  min-height:44px;
  box-sizing:border-box;
}
.details-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;color:var(--ink);font-weight:600;font-size:13px;min-height:38px;padding:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calc-toggle-btn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.details-button .ui-icon{width:16px;height:16px}
.avail-badge{border-radius:5px;font-weight:500;font-size:11px;margin-top:10px}
.community-intro{background:none;border:0;border-radius:0;box-shadow:none;padding:0 0 24px;align-items:center;gap:18px}
.community-intro strong{font-size:20px;font-weight:600;display:block;color:var(--ink)}
.community-intro span{font-size:13px;color:var(--ink-3);display:block;line-height:1.6;margin-top:5px}
.community-post-btn{background:var(--ink);border:0;color:#fff;border-radius:7px;min-height:42px;padding:10px 18px;font-size:13px;flex-shrink:0;box-shadow:none}
.community-card .card-price{color:var(--ink)}
.picker-cats{display:flex;overflow:auto;flex-wrap:nowrap;gap:8px;padding-bottom:14px}
.items-subtabs{display:flex;gap:8px;padding:16px 0 4px}
.picker-cats .chip{background:transparent;border:1px solid var(--border);min-height:34px;padding:7px 14px;font-size:12px;font-weight:500;flex-shrink:0;box-shadow:none}
.picker-cats .chip.active{background:#e5f2ec;border-color:#c3dfd2;color:#09664e}
#itemsCount,#communityCount,#wsCount{margin-bottom:18px}
.empty-state{padding:64px 24px;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.empty-state h3{font-size:20px;color:var(--ink);font-weight:600}
.empty-state p{font-size:14px;line-height:1.65;max-width:420px}
.empty-state .es-icon{width:64px;height:64px;display:grid;place-items:center;background:#eaf0ec;border-radius:50%;margin:0 auto 16px;color:var(--sage);font-size:28px}
.empty-state .es-icon .ui-icon{width:26px;height:26px}
.soldout-banner{
  width:min(720px,100%);
  margin:8px auto 0;
  padding:48px 28px 40px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--border,#e5e7eb);
  box-shadow: 0 16px 40px -24px rgba(15,23,42,.18);
  color:var(--ink,#202523);
}
.soldout-stamp{
  display:inline-block;
  margin:0 auto 18px;
  padding:10px 22px;
  border:3px solid #dc2626;
  border-radius:8px;
  background:#dc2626;
  color:#fff;
  font-size:clamp(28px,5vw,46px);
  font-weight:900;
  letter-spacing:.18em;
  line-height:1;
  transform:rotate(-8deg);
}
.soldout-banner h3{color:var(--ink,#202523) !important;font-size:22px;margin:8px 0 8px}
.soldout-banner p{color:var(--ink-3,#66706c) !important;margin:0 auto}
.skeleton-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding:0}
.skeleton-card{height:420px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(#e8edeb 0 67%,white 67% 100%);animation:loading-pulse 1.7s ease-in-out infinite}
@keyframes loading-pulse{50%{opacity:.5}}
.header-cart{top:auto;bottom:24px;right:96px;border-radius:8px;background:var(--ink);border-color:var(--ink);color:#fff;font-size:13px;padding:13px 18px;box-shadow:0 8px 24px #20252320;z-index:105}
.contact-fab{width:48px;height:48px;bottom:24px;right:28px;background:var(--ink);box-shadow:0 5px 20px #20252320}
.contact-fab .ui-icon{width:21px;height:21px}
.contact-panel{border:1px solid var(--border);border-radius:8px;box-shadow:0 14px 50px #20252320}
.mp-footer{background:white;color:var(--ink);border-top:1px solid var(--border);padding:32px;text-align:left}
.footer-brand{font-size:27px;font-weight:700;margin-bottom:9px}
.mp-footer-title{color:var(--ink-3);font-size:12px;font-weight:500;margin:6px 0 0;text-transform:none;text-align:left}
.footer-inner{max-width:var(--content);margin:auto;display:grid;grid-template-columns:1fr 2fr;gap:32px;align-items:start}
.footer-heading .footer-brand{font-size:24px;line-height:1.2;margin:0}
.mp-footer-grid{display:grid;gap:20px;max-width:none;width:100%;margin:0;justify-content:stretch;min-width:0}
.footer-direct{display:flex;flex-wrap:wrap;gap:20px 40px;min-width:0}
.footer-contact{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:44px;color:var(--ink);text-decoration:none;min-width:0}
.footer-contact-label{font-size:11px;color:var(--ink-3)}
.footer-contact-value{font-size:17px;font-weight:550;overflow-wrap:anywhere}
.footer-messengers{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center}
.footer-messenger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;text-decoration:none;color:var(--ink-2);font-size:12px;font-weight:550;min-width:0}
.footer-messenger span{overflow-wrap:anywhere}
.footer-messenger .mp-footer-icon,.footer-messenger .mp-footer-icon svg{width:22px;height:22px;flex-basis:22px}
.footer-contact:hover .footer-contact-value,.footer-messenger:hover{color:var(--sage);text-decoration:underline;text-underline-offset:4px}
body.contacts-visible:not(.td-active) .contact-fab{visibility:hidden;pointer-events:none}
.mp-footer-link{background:white;color:var(--ink-2);border-color:#dce4de;border-radius:7px;font-size:13px;padding:9px 16px;box-shadow:none}
.staff-link{display:inline-block;margin-top:24px;font-size:11px;color:var(--ink-3);text-decoration:none}
.modal-bg{backdrop-filter:none;-webkit-backdrop-filter:none;background:#1c2525cc;z-index:600}
.modal{border-radius:8px;box-shadow:0 24px 100px #11182035;border:1px solid #ffffff65;max-width:820px}
.modal-body{padding:24px}
.modal-title{font-size:23px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.modal-meta{font-size:13px;line-height:1.6;color:var(--ink-3)}
.modal-bottom-close{background:#f1f3f2;color:var(--ink-2);border:1px solid var(--border);border-radius:6px;min-height:42px;box-shadow:none}
.slideshow{background:#0b1c22;min-height:220px;position:relative}
.slideshow-fg{cursor:zoom-in}
.photo-zoom-bg{
  z-index:900 !important;
  background:rgba(4,10,14,.96) !important;
  padding:0 !important;
  align-items:center !important;
  justify-content:center !important;
}
.photo-zoom-bg img{
  max-width:100vw;
  max-height:100vh;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
}
.photo-zoom-close{
  position:fixed;top:max(10px,env(safe-area-inset-top));right:12px;
  width:46px;height:46px;border:0;border-radius:50%;
  background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:46px;
  z-index:422;cursor:pointer;
}
.photo-zoom-nav{
  position:fixed;top:50%;transform:translateY(-50%);
  width:46px;height:46px;border:0;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:32px;line-height:46px;
  z-index:422;cursor:pointer;
}
.photo-zoom-prev{left:8px}
.photo-zoom-next{right:8px}
.photo-zoom-count{
  position:fixed;left:0;right:0;bottom:max(16px,env(safe-area-inset-bottom));
  text-align:center;color:#e2e8f0;font-size:13px;font-weight:700;letter-spacing:.06em;
  pointer-events:none;
}
@media (max-width:720px){
  .photo-zoom-nav{width:40px;height:40px;font-size:28px;line-height:40px}
}
.mo-wrap{max-width:500px;margin:56px auto 96px;padding:0 20px}
.mo-box{padding:38px;border-radius:8px;border:1px solid var(--border);box-shadow:0 12px 50px #20252306;text-align:left;background:white}
.mo-box h3{font-size:27px;font-weight:630;margin:12px 0}
.mo-hint{color:var(--ink-3);font-size:14px;line-height:1.7;margin-bottom:24px}
.gate-icon{width:48px;height:48px;display:grid;place-items:center;background:#e8f2ed;color:var(--sage);border-radius:8px;margin-bottom:24px}
.gate-icon .ui-icon{width:25px;height:25px}
.mo-input{border:1px solid var(--border);border-radius:7px;background:#fafbfc;min-height:46px;font-size:15px;padding:12px 14px;color:var(--ink);width:100%}
#moCodeInput{text-transform:uppercase;font-family:ui-monospace,Consolas,monospace;font-size:21px;text-align:center;height:56px}
.mo-btn{border-radius:7px;background:var(--ink);min-height:46px;box-shadow:none;margin-top:12px;font-size:14px;font-weight:550}
.mo-msg{font-size:13px;line-height:1.6}
body[data-view=myoffice]>.market-heading,body[data-view=myoffice]>.trust-strip,body[data-view=myoffice]>.controls{display:none}
body[data-view=myoffice]>.feed-wrap,body[data-view=myoffice]>.mp-footer{display:none!important}
body.td-active>.market-heading{display:none}
.td-shell{padding-top:68px;background:var(--bg)}
.td-topbar{position:absolute;inset:0 0 auto;height:68px;display:flex;align-items:center;gap:28px;padding:0 28px;border-bottom:1px solid var(--border);background:#fff;z-index:3}
.td-wordmark{font-size:25px;font-weight:700;line-height:1;text-decoration:none;color:var(--ink);width:196px;flex-shrink:0}
.td-topbar-label{color:var(--ink-3);font-size:12px;padding-left:24px;border-left:1px solid var(--border)}
.td-topbar-actions{margin-left:auto;display:flex;gap:12px;align-items:center}
#tdLanguage{background:transparent;border:0;font-size:12px;color:var(--ink-3);min-height:40px;cursor:pointer}
.td-sidebar{width:232px;padding:26px 16px 18px;background:#f0f3f1;color:var(--ink);border-right:1px solid var(--border);overflow:auto}
.td-brand{display:none}
.td-office{padding:0 14px 24px;color:var(--ink-3);gap:5px}
.td-office b{font-size:26px;color:var(--ink);font-weight:600;line-height:1.2}
.td-office>span:first-child{font-size:11px}
#moOfficeName{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.td-nav{gap:5px}
.td-nav-item{border-radius:7px;color:#606a64;font-size:13px;gap:12px;font-weight:500;min-height:45px;padding:11px 13px}
.td-nav-item.active{background:white;color:var(--ink);box-shadow:0 1px 4px #20252307;font-weight:650}
.td-nav-item.active .ui-icon{color:var(--sage)}
.td-nav-item:hover{background:#e7ede8}
.td-nav-item .ui-icon{width:19px;height:19px}
.td-nav-item>span{min-width:0}
.td-badge{background:#e0efe7;color:var(--sage);border-radius:5px;min-width:20px;text-align:center;padding:2px 5px;font-size:10px}
.td-badge[hidden]{display:none}
.td-back,.td-signout{border-color:#dbe2dd;background:transparent;color:var(--ink-3);font-size:12px;font-weight:500;min-height:38px;border-radius:6px}
.td-signout{border:0}
.td-main{padding:36px 40px 110px;scrollbar-gutter:stable;position:relative}
.td-page-header{max-width:1160px;margin:0 auto 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.td-page-header h1{font-size:30px;font-weight:620;line-height:1.3;margin-top:7px}
.td-panel{max-width:1160px}
.td-panel>.td-panel-title{display:none}
.td-panel-lead{font-size:13px;color:var(--ink-3);margin-bottom:22px}
.mo-office-hdr{display:block;margin-bottom:28px}
.mo-office-name{font-size:17px;font-weight:450;line-height:1.6;color:var(--ink-2);max-width:650px}
.overview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:white;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.overview-stat{padding:24px;border-right:1px solid var(--border);min-width:0}
.overview-stat:last-child{border-right:0}
.overview-stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--ink-3);margin-bottom:14px}
.overview-stat-top .ui-icon{width:18px;height:18px;color:#7b8a80}
.overview-stat-value{font-size:28px;line-height:1.3;font-weight:620;color:var(--ink);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin-bottom:12px}
.overview-stat-note{font-size:12px;color:var(--ink-3);min-height:23px;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.overview-stats .mo-req-status{font-size:11px;border-radius:5px;padding:3px 8px;white-space:normal}
.overview-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:34px 0 16px}
.overview-section-head h2{font-size:18px;font-weight:600}
.overview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.overview-action{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--border);border-radius:8px;background:white;padding:20px;color:var(--ink);min-width:0;min-height:88px}
.overview-action:hover{border-color:#a5c1b1;box-shadow:0 3px 12px #20252305}
.overview-action>.ui-icon:first-child{background:#eaf3ee;width:42px;height:42px;padding:10px;border-radius:7px;color:var(--sage)}
.overview-action:nth-child(2)>.ui-icon:first-child{background:#edf2fa;color:#426fc0}
.overview-action:nth-child(3)>.ui-icon:first-child{background:#faf2e8;color:#956425}
.overview-action span{font-size:13px;font-weight:550;line-height:1.45;flex:1}
.overview-action>.ui-icon:last-child{width:16px;height:16px;color:var(--ink-3)}
.overview-lower{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;margin-top:2px}
.overview-activity{border-top:1px solid var(--border)}
.overview-activity .mo-req-row{border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;padding:17px 0;font-size:13px;box-shadow:none}
.overview-empty{display:flex;align-items:center;gap:14px;color:var(--ink-3);font-size:13px;padding:24px 0}
.overview-empty .ui-icon{color:var(--sage)}
.portal-access-details{border-top:1px solid var(--border);padding:18px 0;font-size:13px;color:var(--ink-2)}
.portal-access-details summary{cursor:pointer;display:flex;align-items:center;gap:10px;min-height:32px;font-weight:550}
.portal-access-details .mo-wifi-qr-wrap{margin-top:14px;text-align:left}
.portal-search{max-width:500px;margin-bottom:20px}
.mo-item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mo-item-grid .card-body{padding:16px}
.mo-item-grid .card-title{font-size:15px}
.mo-item-grid .card-price{font-size:18px}
.mo-offer-box{border:0;padding:0;background:transparent;border-radius:0;box-shadow:none}
.mo-offer-head{padding:0 0 24px;border-bottom:1px solid var(--border);gap:20px}
.mo-offer-head strong{font-size:18px;font-weight:600}
.mo-offer-head span{color:var(--ink-3);font-size:13px;line-height:1.7}
.mo-offer-head button{background:var(--ink);border:0;color:white;border-radius:6px;min-height:40px;padding:9px 18px}
.mo-offer-form{max-width:680px;margin:24px 0;padding:24px;background:white;border:1px solid var(--border);border-radius:8px}
.mo-utility-card,.mo-wifi-card{border-radius:8px;border:1px solid var(--border);box-shadow:none;background:white;max-width:740px;padding:24px}
.mo-wifi-qr{width:112px;height:112px}
.mo-wifi-row{gap:16px}
.mo-wifi-value{overflow-wrap:anywhere}
.mo-utility-row{font-size:14px}
.mo-utility-row.total{font-size:20px}
.mo-req-row{border-radius:7px;box-shadow:none;gap:12px}
.mo-req-status{white-space:normal}
.mo-empty{color:var(--ink-3);padding:32px 16px;background:transparent;border:1px dashed var(--border);border-radius:8px;font-size:14px;grid-column:1/-1}
.td-nav-backdrop,.td-menu-toggle{display:none}
body.td-active .contact-panel,body.td-active .contact-panel-bg{display:block!important;z-index:610}
body.td-active .contact-panel:not(.show){display:none!important}
#tdCartBtn{right:28px;top:auto;bottom:24px;border-radius:8px}
.toast{z-index:1100;border-radius:7px;font-size:13px;background:#26362fee;color:#fff}
@media(min-width:1600px){.feed:not(#feed){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1120px){.controls-inner{flex-wrap:wrap;gap:0;padding-bottom:12px}.chip-row{width:100%;flex-basis:100%;justify-content:space-between;gap:18px}.chip-row .chip{min-height:57px;padding:16px 0}.search-wrap{flex:1;max-width:none;margin-top:10px}.td-main{padding:28px 24px 100px}.mo-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-actions{grid-template-columns:1fr}.overview-action{padding:14px 18px;min-height:70px}.overview-stat{padding:20px 16px}.overview-stat-value{font-size:24px}.overview-lower{grid-template-columns:1fr;gap:0}.td-sidebar{width:210px}.td-wordmark{width:174px}}
@media(max-width:820px){.header{padding:14px 24px}.market-heading{padding:28px 24px 24px}.market-heading h1{font-size:30px}.market-location{display:none}.trust-strip{padding:0 24px 20px}.controls-inner{padding-left:24px;padding-right:24px}.feed-wrap{padding:24px}.feed,#feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card-body{padding:17px}.card-title{font-size:16px}.card-price{font-size:20px}.td-shell{flex-direction:row;padding-top:64px}.td-topbar{height:64px;padding:0 20px;gap:14px}.td-wordmark{width:auto;font-size:24px}.td-topbar-label{display:none}.td-topbar-actions{gap:6px}.td-menu-toggle{display:inline-flex}.td-sidebar{position:absolute;left:0;top:64px;bottom:0;width:248px;display:none;flex-direction:column;align-items:stretch;padding:24px 16px;z-index:2;gap:4px;overflow:auto;box-shadow:12px 0 35px #20252315}.td-office,.td-back,.td-signout{display:flex}.td-nav{flex-direction:column;gap:6px;flex:1}.td-nav-item{flex-direction:row;gap:12px;padding:13px;font-size:14px;white-space:normal}.td-shell.nav-open .td-sidebar{display:flex}.td-shell.nav-open .td-nav-backdrop{display:block;position:absolute;inset:64px 0 0;background:#20252340;border:0;z-index:1}.td-main{width:100%;order:0;padding:26px 24px 100px}.td-page-header h1{font-size:28px}.td-main .search-wrap{margin-top:0}.mo-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-action{flex-wrap:wrap;gap:10px;padding:16px}.overview-action>.ui-icon:last-child{display:none}.overview-action span{flex-basis:100%}.overview-lower{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:580px){:root{--header-h:72px}.header{padding:14px 18px}.header-inner{gap:12px}.header-title{font-size:25px}.header-sub{font-size:10px;max-width:140px}.header-login{width:40px;height:40px;padding:0;justify-content:center}.header-login span{display:none}.lang-switch{padding-left:8px;gap:1px}.lang-switch button{min-width:29px;padding:4px;font-size:10px}.market-heading{padding:26px 18px 22px;gap:12px}.market-heading h1{font-size:29px;line-height:1.2;margin:10px 0}.market-heading p{font-size:13px}.eyebrow{font-size:10px}.trust-strip{padding:0 18px 20px;gap:8px}.trust-item{font-size:11px}.trust-item:nth-child(n+2){display:none}.controls-inner{padding:0 18px 12px}.chip-row{gap:10px}.chip-row .chip{font-size:11px;gap:5px;min-height:54px;padding:14px 0}.chip-row .chip .ui-icon{width:16px;height:16px}.search-wrap{min-width:0}.search-wrap input{font-size:16px;height:42px}.feed-wrap{padding:22px 18px 36px}.feed,#feed{grid-template-columns:minmax(0,1fr);gap:22px}.feed-toolbar{gap:14px;margin-bottom:20px}.feed-filter-actions{gap:14px;justify-content:space-between;width:100%}.availability-toggle,.saved-filter,.sort-select-wrap select{font-size:11px}.sort-select-wrap select{max-width:150px;padding-left:8px}.card-body{padding:20px}.card-title{font-size:18px}.card-price{font-size:23px}.card-meta{font-size:12px}.card-photos,#itemsGrid .card-photos{aspect-ratio:4/3;height:auto}#feed .card-photos{aspect-ratio:4/3}.skeleton-feed{grid-template-columns:1fr;gap:22px}.skeleton-card{height:400px}.skeleton-card:nth-child(n+2){display:none}.community-intro{flex-direction:column;align-items:flex-start;gap:16px;padding-bottom:20px}.community-intro strong{font-size:21px}.community-post-btn{width:100%;text-align:center}.header-cart{bottom:18px;right:78px;padding:12px;font-size:12px}.header-cart #headerCartSummary,.header-cart #tdCartSummary{display:inline}.contact-fab{bottom:18px;right:18px;width:46px;height:46px}.mp-footer{padding:30px 18px}.mp-footer-grid{gap:8px}.mp-footer-link{padding:9px 12px;font-size:12px}.modal-bg{padding:12px;align-items:center}.modal{max-height:calc(100dvh - 24px);border-radius:8px;width:100%}.modal-body{padding:20px}.modal-title{font-size:22px}.mo-wrap{margin:28px auto 48px;padding:0 18px}.mo-box{padding:27px 24px}.mo-box h3{font-size:25px}.mo-hint{font-size:13px}.td-main{padding:24px 18px 100px}.td-page-header{margin-bottom:20px;gap:8px}.td-page-header h1{font-size:26px}.td-page-header .text-button{font-size:12px;padding:4px}.td-page-header .text-button .ui-icon{width:17px;height:17px}.mo-office-name{font-size:15px}.mo-office-hdr{margin-bottom:22px}.overview-stats{grid-template-columns:1fr}.overview-stat{padding:20px;display:grid;grid-template-columns:1fr auto;gap:5px 16px;border-right:0;border-bottom:1px solid var(--border)}.overview-stat:last-child{border-bottom:0}.overview-stat-top{margin:0;grid-column:1}.overview-stat-top .ui-icon{display:none}.overview-stat-value{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;margin:0}.overview-stat-note{grid-column:1;grid-row:2}.overview-actions{gap:8px}.overview-action{padding:14px 10px;min-height:112px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.overview-action>.ui-icon:first-child{width:34px;height:34px;padding:8px}.overview-action span{font-size:11px;flex:0;overflow-wrap:anywhere}.overview-section-head{margin-top:26px;margin-bottom:14px}.overview-section-head h2{font-size:17px}.overview-lower{grid-template-columns:1fr;gap:0}.mo-item-grid{grid-template-columns:1fr}.mo-item-grid .card-photos{height:auto;aspect-ratio:4/3}.mo-offer-head{flex-wrap:wrap;gap:14px}.mo-offer-head button{width:100%}.mo-offer-form{padding:18px}.td-report-actions .cart-action-btn{font-size:12px;min-height:42px}.mo-wifi-card,.mo-utility-card{padding:20px}.mo-wifi-row{flex-wrap:wrap}.mo-req-row{flex-wrap:wrap}.td-topbar{padding:0 18px}.td-topbar-actions .icon-button{width:36px;height:36px}.td-topbar-actions .ui-icon{width:18px;height:18px}#tdCartBtn{right:18px;bottom:18px;font-size:12px}}
@media(max-width:360px){.header-inner{gap:8px}.header-title{font-size:23px}.lang-switch{border:0;padding:0}.chip-row .chip{gap:4px;font-size:10px}.chip-row .chip .ui-icon{width:14px;height:14px}.overview-stat-value{font-size:21px}.market-heading h1{font-size:26px}}
@media(max-width:1120px){
  .controls-inner{grid-template-columns:minmax(0,1fr);gap:10px}
  .controls-inner>.chip-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:8px}
  .chip-row .chip{min-width:0;justify-content:center;white-space:normal;overflow-wrap:anywhere}
  .controls-inner>.search-wrap{grid-column:1}
}
:root{--content:1040px}
.market-heading p{max-width:760px}
.market-location{display:none}
.trust-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.trust-item:nth-child(n){display:flex;font-size:12px;line-height:1.6}
.trust-item>span{min-width:0;overflow-wrap:anywhere}
.gate-back{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;margin-top:24px;padding:10px 14px;border:1px solid var(--border);border-radius:7px;background:#f5f7f6;color:var(--ink);font-size:13px;font-weight:550;text-decoration:none;text-align:center}
.gate-back:hover{background:#eaf2ee;border-color:#abc6b9}
.gate-back span{min-width:0;overflow-wrap:anywhere}
@media(min-width:821px){
  #feed{grid-template-columns:repeat(auto-fit,minmax(260px,320px))}
  #feed .card-photos{aspect-ratio:4/5}
  #browseWrap:has(#feed>.card):not(:has(#feed>.card:nth-child(3))){max-width:728px}
}
@media(max-width:580px){
  .controls-inner{padding:0 18px 12px;gap:8px}
  .controls-inner>.chip-row{gap:4px}
  .chip-row .chip{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px 2px;min-height:66px;font-size:11px;font-weight:600;line-height:1.3}
  .chip-row .chip .ui-icon{width:20px;height:20px}
  .chip-row .chip span{max-width:100%;min-width:0}
  .chip-row .tab-label-full{display:none}
  .chip-row .tab-label-compact{display:block}
  .market-heading>div{min-width:0}
  .market-heading h1{overflow-wrap:anywhere}
  .trust-strip{grid-template-columns:minmax(0,1fr);gap:10px}
  .trust-item:nth-child(n){font-size:12px}
  .mp-footer{padding:26px 22px calc(24px + env(safe-area-inset-bottom))}
  .footer-inner{grid-template-columns:minmax(0,1fr);gap:20px}
  .footer-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
  .footer-heading .mp-footer-title{margin:0;text-align:right}
  .mp-footer-grid{gap:16px}
  .footer-direct{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .footer-contact{gap:2px}
  .footer-contact-value{font-size:17px}
  .footer-messengers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:12px;border-top:1px solid var(--border)}
  .footer-messenger{font-size:11px;gap:5px}
}
@media(max-width:360px){.chip-row .chip{font-size:10px}.footer-messenger{flex-direction:column;gap:4px}}

/* ═══ OUR DIVISIONS — creative 4-card entry point: Office / Items / Car
   Rental / Workshop. Car Rental is a separate project (lowcost.am) so its
   card is a plain external link; the other three switch the tab below and
   scroll it into view (see jumpToDivision in mkt.js). ═══ */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Teal glass cards — offices, items, workshop, community */
#feed .card,
#itemsGrid .card,
#wsGrid .card,
#communityGrid .card,
.mo-item-grid .card,
.community-card {
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, 0.16), transparent 46%),
    linear-gradient(155deg, #163d4d 0%, #102433 52%, #0b1c22 100%) !important;
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.10),
    0 16px 36px -16px rgba(2, 18, 20, 0.6),
    inset 0 1px 0 rgba(204, 251, 241, 0.12) !important;
  color: #e8eef6 !important;
  overflow: hidden;
}
#feed .card:hover,
#itemsGrid .card:hover,
#wsGrid .card:hover,
#communityGrid .card:hover,
.mo-item-grid .card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.45) !important;
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.22),
    0 24px 48px -14px rgba(2, 18, 20, 0.7),
    0 0 40px -10px rgba(45, 212, 191, 0.35) !important;
}
#feed .card-title,
#itemsGrid .card-title,
#wsGrid .card-title,
#communityGrid .card-title,
.mo-item-grid .card-title,
.community-card .card-title {
  color: #f8fafc !important;
}
#feed .card-meta,
#feed .card-desc,
#feed .card-price-sub,
#itemsGrid .card-meta,
#itemsGrid .card-desc,
#wsGrid .card-meta,
#wsGrid .card-desc,
#communityGrid .card-meta,
.mo-item-grid .card-meta {
  color: #94a3b8 !important;
}
#feed .card-price,
#itemsGrid .card-price,
#wsGrid .card-price,
#communityGrid .card-price,
.mo-item-grid .card-price,
.community-card .card-price {
  color: #ffffff !important;
}
#feed .card-photos,
#itemsGrid .card-photos,
#wsGrid .card-photos,
.mo-item-grid .card-photos {
  background: #0b1c22 !important;
}
#itemsGrid .card-scroll img,
#wsGrid .card-scroll img,
.mo-item-grid .card-scroll img {
  object-fit: cover !important;
  background: #0b1c22 !important;
}
.card .calc-control,
.office-card-actions {
  border-top-color: rgba(148, 163, 184, 0.16) !important;
}
.calc-toggle-btn,
.details-button,
.community-post-btn {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  border: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  font-weight: 700 !important;
  box-shadow:
    0 8px 16px -8px rgba(37, 99, 235, 0.9),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;
}
.calc-toggle-btn.selected {
  background: linear-gradient(180deg, #60a5fa 0%, #1e40af 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.like-btn {
  background: rgba(8, 18, 28, 0.55) !important;
  border-color: rgba(94, 234, 212, 0.25) !important;
  color: #ecfeff !important;
}
.avail-badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

#feed,
#itemsGrid,
#wsGrid,
#communityGrid,
.mo-item-grid {
  align-items: stretch;
}
#feed .card,
#itemsGrid .card,
#wsGrid .card,
#communityGrid .card,
.mo-item-grid .card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
#feed .card-photos,
#itemsGrid .card-photos,
#wsGrid .card-photos,
#communityGrid .card-photos,
.mo-item-grid .card-photos {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  background: #0b1c22 !important;
}
#feed .card-body,
#itemsGrid .card-body,
#wsGrid .card-body,
#communityGrid .card-body,
.mo-item-grid .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 12px 16px 14px !important;
  gap: 6px !important;
}
#feed .card-title,
#itemsGrid .card-title,
#wsGrid .card-title,
.mo-item-grid .card-title {
  min-height: 0 !important;
}
#feed .card-desc,
#itemsGrid .card-desc,
#wsGrid .card-desc {
  min-height: 0 !important;
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}
#feed .card-desc,
#itemsGrid .card-desc,
#wsGrid .card-desc,
#communityGrid .card-desc,
.mo-item-grid .card-desc,
#feed .card-extras,
#itemsGrid .card-extras,
#wsGrid .card-extras,
#itemsGrid .tag-chip-row,
#wsGrid .tag-chip-row,
#itemsGrid .stock-badge,
#wsGrid .stock-badge {
  display: none !important;
}
#feed .card .calc-control,
#itemsGrid .card .calc-control,
#wsGrid .card .calc-control,
#feed .office-card-actions,
#itemsGrid .office-card-actions,
#wsGrid .office-card-actions {
  margin-top: auto !important;
  padding-top: 10px !important;
}
#feed .office-card-actions,
#itemsGrid .office-card-actions,
#wsGrid .office-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  gap: 10px !important;
}
#feed .office-card-actions .calc-control,
#itemsGrid .office-card-actions .calc-control,
#wsGrid .office-card-actions .calc-control {
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: flex !important;
  width: 100% !important;
}
#feed .office-card-actions .details-button,
#feed .office-card-actions .calc-toggle-btn,
#itemsGrid .office-card-actions .details-button,
#itemsGrid .office-card-actions .calc-toggle-btn {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
}
#feed .card:has(.office-card-actions) .office-card-actions,
#itemsGrid .card:has(.office-card-actions) .office-card-actions,
#wsGrid .card:has(.office-card-actions) .office-card-actions {
  margin-top: auto !important;
}
/* Community/tenant-offer cards have no button row, but a post with a
   description is taller than one without -- so .community-contact (when a
   post has one) ended up at a different height across the row instead of
   hugging the bottom the way the office/item/workshop action rows above
   already do. #communityGrid .card is already a flex column (see the
   flex-direction rule further up), so pinning just this trailing element
   is enough; a post with no contact line simply has nothing to pin. */
#communityGrid .community-card .community-contact {
  margin-top: auto !important;
  padding-top: 8px !important;
}
#feed .card-title,
#itemsGrid .card-title,
#wsGrid .card-title,
#communityGrid .card-title,
.mo-item-grid .card-title,
.community-card .card-title,
#feed .card-meta,
#feed .card-desc,
#feed .card-price-sub,
#itemsGrid .card-meta,
#itemsGrid .card-desc,
#wsGrid .card-meta,
#wsGrid .card-desc,
#communityGrid .card-meta,
.mo-item-grid .card-meta {
  color: #ffffff !important;
  min-height: 0 !important;
}
