.login-body{min-height:100vh;display:grid;place-items:center;background:var(--bg)}
.office-top-subnav a{
  flex:0 0 auto;border:0;background:transparent;padding:8px 12px;border-radius:999px;
  color:#526075;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap
}
.office-top-subnav a:hover{background:#f0f3f8}
.office-top-subnav a.is-active{background:#211d35;color:#fff}
.office-ext-chip{position:relative;margin-left:auto;flex:0 0 auto}
.office-ext-chip__status,.office-ext-chip__btn{
  border:1px solid var(--line);background:#f7f5f1;color:#5c5668;
  border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap
}
.office-ext-chip__btn{cursor:pointer}
.office-ext-chip__btn.is-ok{background:#eef8f1;border-color:#b7e0c4;color:#1f7a43}
.office-ext-chip__btn.is-warn{background:#fff8e6;border-color:#ead38a;color:#9a6b00}
.office-ext-chip__panel{
  position:absolute;top:calc(100% + 8px);right:0;width:280px;z-index:40;
  background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 28px rgba(33,29,53,.12);
  padding:12px;font-size:12px;line-height:1.55;color:#5c5668
}
.office-ext-chip__panel strong{display:block;margin-bottom:6px;color:#211d35}
.office-ext-chip__panel p{margin:0 0 10px}
.office-ext-chip__panel ol{margin:10px 0 0;padding-left:18px}
.fm-content{max-width:1500px}
.fm-review-writing{
  max-width:none;
  white-space:pre-wrap;
  word-break:break-word;
  line-height:1.5;
  color:#111;
  font-size:13px;
  font-weight:600;
}
.fm-review-err{
  display:block;
  margin-top:6px;
  color:var(--bad);
  font-size:11px;
  font-weight:700;
  line-height:1.4;
  word-break:break-word;
}
.fm-reviews-empty{
  padding:28px 16px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  text-align:center;
}
#fmOffice[data-page="reviews"]:has([data-fm-page="reviews-logs"]){
  height:100vh;
  overflow:hidden;
}
#fmOffice[data-page="reviews"]:has([data-fm-page="reviews-logs"]) .office-main{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  height:100%;
  overflow:hidden;
}
#fmOffice[data-page="reviews"]:has([data-fm-page="reviews-logs"]) .office-top{
  flex:0 0 68px;
  height:68px;
  position:relative;
  top:auto;
  align-self:stretch;
  overflow:hidden;
}
#fmOffice[data-page="reviews"]:has([data-fm-page="reviews-logs"]) .office-top-subnav{
  flex:1 1 auto;
  min-width:0;
}
#fmOffice[data-page="reviews"]:has([data-fm-page="reviews-logs"]) .content.fm-content{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding-bottom:0;
  overflow:hidden;
}
.fm-page[data-fm-page="reviews-logs"]{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  height:100%;
  margin:0;
}
.fm-reviews-toolbar{
  flex:0 0 auto;
  margin-bottom:10px;
}
.fm-reviews-toolbar__side{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:8px;
  margin-left:auto;
  white-space:nowrap;
}
.fm-reviews-toolbar .fm-count{
  font-size:12px;
}
.fm-reviews-perpage select{
  height:36px;
  min-height:36px;
  padding:0 28px 0 10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  background-size:12px;
  appearance:none;
  -webkit-appearance:none;
  color:var(--ink);
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.fm-reviews-toolbar .btn.small{
  height:36px;
  min-height:36px;
  padding:0 10px;
  font-size:12px;
  line-height:1;
}
.fm-page[data-fm-page="reviews-logs"] > .fm-status{
  flex:0 0 auto;
  margin-bottom:10px;
}
.fm-reviews-card-wrap{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0;
  box-shadow:none;
}
.plans-card-list--reviews{
  width:100%;
  min-width:960px;
  background:#fff;
}
.plans-card-list--reviews [data-fm-reviews-body]{
  display:block;
}
.plans-card-list--reviews .product-row{
  display:grid;
  grid-template-columns:140px minmax(240px,1.2fr) minmax(280px,1.8fr) 100px;
  min-height:88px;
  padding:14px 12px;
  border-bottom:1px solid #dfe3e8;
  align-items:start;
  column-gap:18px;
}
.plans-card-list--reviews .product-row.plans-card-head{
  min-height:0;
  padding:8px 12px;
  background:#eef2f7;
  align-items:center;
  position:sticky;
  top:0;
  z-index:3;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.fm-reviews-card-wrap.is-loading [data-fm-reviews-body]{
  opacity:.55;
  pointer-events:none;
  transition:opacity .12s ease;
}
.plans-card-list--reviews .product-row.plans-card-head .plans-cell{
  color:#4a5568;
  font-size:12px;
  font-weight:800;
}
.plans-card-list--reviews .plans-cell{
  min-width:0;
  overflow:hidden;
}
.plans-card-list--reviews .status-cell{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:0;
}
.plans-card-list--reviews .status-cell .badge{
  font-weight:700;
}
.plans-card-list--reviews .product-name{
  margin:0 0 6px;
  padding-right:20px;
  max-width:100%;
  color:#111;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.plans-card-list--reviews .product-ids{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-bottom:6px;
  color:#9aa5b3;
  font-size:12px;
  line-height:1.4;
}
.plans-card-list--reviews .product-badges{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
}
.plans-card-list--reviews .badge-small{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 8px;
  border-radius:4px;
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.plans-card-list--reviews .badge-small.badge--neutral{
  border:1px solid #dbe2ea;
  background:#f8fafc;
  color:#475569;
}
.plans-card-list--reviews .badge-small.badge--rating{
  margin-top:4px;
  border:1px solid #fcd34d;
  background:#fffbeb;
  color:#b45309;
}
.plans-card-list--reviews .fm-review-when{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  line-height:1.25;
}
.plans-card-list--reviews .fm-review-time{
  margin:0;
  padding:0;
  color:#111;
  font-size:14px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
}
.plans-card-list--reviews .fm-review-clock{
  margin:0;
  padding:0;
  color:#334155;
  font-size:12px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
}
.fm-reviews-pager{
  flex:0 0 auto;
  position:sticky;
  bottom:0;
  z-index:6;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:12px 0 14px;
  background:linear-gradient(180deg, rgba(243,245,248,0) 0%, var(--bg, #f3f5f8) 28%, var(--bg, #f3f5f8) 100%);
  border-top:1px solid var(--line);
}
.fm-reviews-pager .fm-pager-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 8px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:#334155;
  font-size:13px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
}
.fm-reviews-pager .fm-pager-btn:hover:not(:disabled):not(.is-active){
  background:#f1f5f9;
  border-color:#cbd5e1;
}
.fm-reviews-pager .fm-pager-btn.is-active{
  background:#211d35;
  border-color:#211d35;
  color:#fff;
  cursor:default;
}
.fm-reviews-pager .fm-pager-btn:disabled{
  opacity:.35;
  cursor:default;
}
.fm-reviews-pager .fm-pager-btn--icon{
  padding:0;
}
.fm-reviews-pager .fm-pager-btn--icon svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#fmOffice[data-page="delivery"] .content.fm-content{
  max-width:none;
  width:100%;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}
#fmOffice[data-page="delivery"]{
  height:100vh;
  overflow:hidden;
}
#fmOffice[data-page="delivery"] .office-main{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  height:100%;
  overflow:hidden;
}
#fmOffice[data-page="delivery"] .office-top{
  flex:0 0 68px;
  height:68px;
  position:relative;
  top:auto;
}
#fmOffice[data-page="delivery"] .wrapper,
#fmOffice[data-page="delivery"] #content,
#fmOffice[data-page="delivery"] .ui.container{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  height:100%;
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
}
#fmOffice[data-page="delivery"] #content{
  padding:16px 20px 0!important;
  box-sizing:border-box;
}
#fmOffice[data-page="delivery"] .fm-delivery-page{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  height:100%;
}
#fmOffice[data-page="delivery"] .fm-delivery-toolbar{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:8px;
}
#fmOffice[data-page="delivery"] .fm-delivery-list-block{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
}
.fm-delivery-filters{
  margin:0!important;
}
.fm-delivery-filters__row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:8px 10px;
}
.fm-delivery-filter--tracking{
  margin-left:auto!important;
  align-items:flex-start;
  flex:0 1 auto;
  min-width:0;
  gap:8px;
}
.fm-delivery-filter--tracking .fm-delivery-filter__label{
  text-align:left;
  white-space:nowrap;
}
.fm-delivery-filter--tracking .tracking-job-banner{
  width:auto;
  flex-wrap:nowrap;
  align-items:flex-start;
  justify-content:flex-start;
}
.fm-delivery-filter{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0!important;
  min-width:0;
}
.fm-delivery-filter__label{
  font-size:11px;
  font-weight:700;
  color:#64748b;
  line-height:1;
}
.fm-delivery-filter .ui.dropdown,
.fm-delivery-filter select{
  min-width:9em!important;
  height:34px!important;
  min-height:34px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  box-sizing:border-box!important;
}
.fm-delivery-filter .ui.dropdown{
  display:inline-flex!important;
  align-items:center!important;
  padding-left:10px!important;
  padding-right:28px!important;
}
.fm-delivery-filter .ui.dropdown > .text{
  line-height:1!important;
  margin:0!important;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fm-delivery-filter .ui.dropdown > .dropdown.icon{
  top:50%!important;
  right:8px!important;
  margin:0!important;
  height:auto!important;
  line-height:1!important;
  transform:translateY(-50%);
  padding:0!important;
}
.fm-delivery-filter--narrow .ui.dropdown,
.fm-delivery-filter--narrow select{
  min-width:5.5em!important;
}
.fm-delivery-filter select.ui.dropdown,
.fm-delivery-search select{
  -webkit-appearance:none;
  appearance:none;
  padding:0 28px 0 10px!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.8 6 5.4 10.6.8 12 2.2 6 8.2 0 2.2z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
  background-size:10px 7px;
  line-height:34px;
  font-size:12px;
  color:#334155;
}
.fm-delivery-period{
  display:inline-flex;
  flex-wrap:wrap;
  gap:4px;
}
.fm-delivery-chip{
  height:34px;
  padding:0 10px;
  border:1px solid var(--line,#d7dbe3);
  border-radius:8px;
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.fm-delivery-chip.is-active{
  background:#211d35;
  border-color:#211d35;
  color:#fff;
}
.fm-delivery-filter--search{
  flex:0 1 auto;
}
.fm-delivery-search{
  display:flex;
  align-items:stretch;
  gap:6px;
  height:34px;
}
.fm-delivery-search select,
.fm-delivery-search input{
  height:34px;
  border:1px solid var(--line,#d7dbe3);
  border-radius:8px;
  background:#fff;
  box-sizing:border-box;
}
.fm-delivery-search select{
  width:108px;
  flex:0 0 108px;
  font-size:12px;
}
.fm-delivery-search input{
  width:180px;
  flex:0 0 180px;
  padding:0 10px;
  font-size:13px;
}
.fm-delivery-search__btn{
  height:34px;
  flex:0 0 auto;
  padding:0 12px;
  border:1px solid #211d35;
  border-radius:8px;
  background:#211d35;
  color:#fff;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.fm-delivery-subbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 12px;
}
.fm-delivery-states{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin:0!important;
  flex:1 1 auto;
  min-width:0;
}
.fm-delivery-state{
  display:inline-flex;
  align-items:center;
  height:30px;
  padding:0 10px;
  border:1px solid var(--line,#d7dbe3);
  border-radius:8px;
  background:#fff;
  color:#475569;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.fm-delivery-state:hover{
  background:#f8fafc;
  color:#0f172a;
}
.fm-delivery-state.is-active{
  background:#211d35;
  border-color:#211d35;
  color:#fff;
}
.fm-delivery-state.is-disabled{
  opacity:.4;
  pointer-events:none;
}
.fm-delivery-subbar > .fm-delivery-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:6px 10px;
  min-height:30px;
  padding:0;
  flex:0 1 auto;
  margin-left:auto;
}
.fm-delivery-meta__info{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 6px;
  font-size:12px;
  color:#64748b;
}
.fm-delivery-meta__info strong{
  color:#0f172a;
  font-weight:800;
}
.fm-delivery-meta__count{
  margin-left:4px;
  padding:2px 8px;
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3;
  font-weight:800;
}
.fm-delivery-meta__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.fm-delivery-meta__shops{
  display:inline-flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:11px;
  color:#64748b;
}
.fm-delivery-meta__status{
  font-size:12px;
  color:#666;
}
.fm-delivery-card-wrap{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0;
  box-shadow:none;
}
.plans-card-list--delivery{
  width:100%;
  min-width:1180px;
  background:#fff;
}
.plans-card-list--delivery .product-row{
  display:grid;
  grid-template-columns:44px minmax(180px,1fr) minmax(200px,1.1fr) minmax(110px,.55fr) minmax(120px,.6fr) minmax(220px,1.4fr) 88px;
  min-height:92px;
  padding:14px 12px;
  border-bottom:1px solid #dfe3e8;
  align-items:start;
  column-gap:16px;
}
.plans-card-list--delivery .product-row.plans-card-head{
  min-height:0;
  padding:8px 12px;
  background:#eef2f7;
  align-items:center;
  position:sticky;
  top:0;
  z-index:3;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.plans-card-list--delivery .product-row.plans-card-head .plans-cell{
  color:#4a5568;
  font-size:12px;
  font-weight:800;
}
.plans-card-list--delivery .plans-cell{
  min-width:0;
  overflow:hidden;
}
.plans-card-list--delivery .plans-check-cell{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:2px;
}
.plans-card-list--delivery .plans-check-cell input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
  cursor:pointer;
}
.plans-card-list--delivery .product-name,
.plans-card-list--delivery .fm-delivery-order-id{
  margin:0 0 6px;
  color:#111;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  word-break:break-all;
}
.plans-card-list--delivery .fm-delivery-order-id a{
  color:#111;
  text-decoration:underline;
  text-underline-offset:2px;
}
.plans-card-list--delivery .fm-delivery-product{
  margin:0;
  color:#111;
  font-size:13px;
  line-height:1.45;
  font-weight:500;
  white-space:normal;
  word-break:break-word;
}
.plans-card-list--delivery .product-ids,
.plans-card-list--delivery .fm-delivery-meta{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  color:#64748b;
  font-size:13px;
  font-weight:600;
  line-height:1.4;
}
.plans-card-list--delivery .fm-delivery-line{
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:0;
}
.plans-card-list--delivery .fm-delivery-k{
  color:#66758a;
  font-size:12px;
  font-weight:600;
  line-height:1.3;
}
.plans-card-list--delivery .fm-delivery-v{
  color:#111;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
  word-break:break-all;
}
.plans-card-list--delivery .fm-delivery-v a{
  color:#2457c5;
  font-weight:700;
}
.plans-card-list--delivery .fm-delivery-buyer{
  margin:0 0 4px;
  color:#111;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
}
.plans-card-list--delivery .badge-small{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:4px;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.plans-card-list--delivery .badge-small.badge--neutral{
  border:1px solid #dbe2ea;
  background:#f8fafc;
  color:#475569;
}
.plans-card-list--delivery .badge-small.badge--success{
  border:1px solid #b7e0c4;
  background:#eef8f1;
  color:#1f7a43;
}
.plans-card-list--delivery .badge-small.badge--warn{
  border:1px solid #ead38a;
  background:#fff8e6;
  color:#9a6b00;
}
.plans-card-list--delivery .badge-small.badge--danger{
  border:1px solid #efbdb7;
  background:#fff0ed;
  color:#9d2d25;
}
.plans-card-list--delivery .plans-action-cell{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}
.plans-card-list--delivery .fm-delivery-track-form{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.plans-card-list--delivery .fm-delivery-track-form input,
.plans-card-list--delivery .fm-delivery-track-form select{
  width:100%;
  height:34px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:13px;
  box-sizing:border-box;
}
.plans-card-list--delivery .fm-delivery-track-actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.fm-delivery-footer{
  flex:0 0 auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin:0;
  padding:8px 0 10px;
  background:linear-gradient(180deg, rgba(243,245,248,0) 0%, var(--bg, #f3f5f8) 28%, var(--bg, #f3f5f8) 100%);
  border-top:1px solid var(--line);
  position:sticky;
  bottom:0;
  z-index:6;
}
.fm-delivery-footer__side{
  min-width:0;
}
.fm-delivery-list-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  padding:0;
  min-width:0;
}
.fm-delivery-pager{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  position:static;
}
.fm-delivery-pager .fm-pager-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 8px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:#334155;
  font-size:13px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
}
.fm-delivery-pager .fm-pager-btn:hover:not(.is-disabled):not(.is-active){
  background:#f1f5f9;
  border-color:#cbd5e1;
}
.fm-delivery-pager .fm-pager-btn.is-active{
  background:#211d35;
  border-color:#211d35;
  color:#fff;
  cursor:default;
}
.fm-delivery-pager .fm-pager-btn.is-disabled{
  opacity:.35;
  pointer-events:none;
  cursor:default;
}
.fm-delivery-pager .fm-pager-btn--icon{
  padding:0;
}
.fm-delivery-pager .fm-pager-btn--icon svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.plans-card-list--delivery.non-member-hidden .product-row.non-member-order{
  display:none;
}
.fm-page{min-height:calc(100vh - 120px)}
.fm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.fm-toolbar-side{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fm-search{display:grid;grid-template-columns:140px 1fr 140px 140px auto;gap:8px;flex:1;min-width:640px}
.fm-search input,.fm-search select{
  border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:#fff;height:42px;box-sizing:border-box
}
.fm-search select{
  padding-right:32px;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2359667b' d='M1.4.8 6 5.4 10.6.8 12 2.2 6 8.2 0 2.2z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:10px 7px;
  -webkit-appearance:none;
  appearance:none
}
.fm-count{font-size:13px;font-weight:800;color:var(--muted)}
.fm-status{padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--line);color:var(--muted);font-weight:700;margin-bottom:14px}
.fm-status.is-error{background:var(--badbg);color:var(--bad);border-color:#efbdb7}
.fm-status.is-ok{background:var(--goodbg);color:var(--good);border-color:#b7e0c4}
.fm-order{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);margin:0 0 14px;overflow:hidden}
.fm-order-head{display:grid;grid-template-columns:1.2fr .7fr 1fr .9fr .7fr 1.3fr .7fr;gap:8px;padding:12px 16px;background:#fafbfc;border-bottom:1px solid var(--line)}
.fm-order-head b{display:block;font-size:14px}
.fm-order-head span{display:block;font-size:11px;color:var(--muted);font-weight:800}
.fm-order table{margin:0;width:100%;table-layout:fixed;border-collapse:collapse}
.fm-order th,.fm-order td{text-align:left;border-bottom:1px solid var(--line);padding:10px;font-size:12px;vertical-align:top;word-break:break-all}
.fm-order th:nth-child(2),.fm-order td:nth-child(2){width:76px;word-break:normal}
.fm-order th:nth-child(5),.fm-order td:nth-child(5){text-align:center}
.fm-order td img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:#f3f5f8}
.fm-order-noimg{
  display:flex;align-items:center;justify-content:center;width:56px;height:56px;
  border-radius:8px;background:#fff0ed;color:#a72a21;
  font-size:10px;font-weight:800;line-height:1.25;text-align:center;
  white-space:normal;word-break:keep-all
}
.fm-order-empty-items td{padding:18px 16px;color:#a72a21;font-size:13px;font-weight:800;background:#fff0ed}
.fm-table{width:100%;border-collapse:collapse}
.fm-table th,.fm-table td{text-align:left;border-bottom:1px solid var(--line);padding:10px;font-size:12px;vertical-align:top}
.fm-table th{font-size:11px;color:var(--muted);background:#fafbfc}
.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.pagination button,.pagination strong{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 10px;font-weight:800}
.pagination strong{background:#211d35;color:#fff;border-color:#211d35}
.fm-page[data-fm-page="orders"]{padding-bottom:84px}
.fm-orders-pager{
  position:fixed;left:245px;right:0;bottom:0;z-index:25;
  justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;
  margin:0;padding:10px 88px 10px 16px;
  background:rgba(255,255,255,.94);border-top:1px solid var(--line);
  box-shadow:0 -8px 20px rgba(23,32,51,.06)
}
.fm-orders-pager:empty{display:none}
#fmOffice.is-side-collapsed .fm-orders-pager{left:52px}
.fm-top-btn{
  position:fixed;right:18px;bottom:16px;z-index:30;
  width:46px;height:46px;border:1px solid var(--line);border-radius:999px;
  background:#211d35;color:#fff;font-size:12px;font-weight:800;
  box-shadow:var(--shadow)
}
.fm-top-btn:hover{background:#383050}
.fm-top-btn[hidden]{display:none!important}
#fmOffice[data-page="orders"] ~ .fm-top-btn{bottom:16px}
.fm-embed-page{margin:0}
.fm-embed{display:none!important}
.office .wrapper,.office #content,.office #promotion_content{margin-left:0!important;width:auto!important;max-width:none!important}
.office .navbar,.office nav.sidebar{display:none!important}
.fm-embed-wrap{margin-top:16px;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.fm-embed-wrap .fm-embed{min-height:70vh}
.fm-memo{display:grid;gap:6px;min-width:140px}
.fm-memo-input{width:100%;min-height:36px;border:1px solid var(--line);border-radius:10px;padding:7px 8px;resize:vertical;font:inherit}
.fm-members-card{overflow:auto}
.fm-members-table{table-layout:fixed}
.fm-members-table th:nth-child(1),.fm-members-table td:nth-child(1){width:92px}
.fm-members-table th:nth-child(2),.fm-members-table td:nth-child(2){width:180px}
.fm-members-table th:nth-child(3),.fm-members-table td:nth-child(3){width:340px}
.fm-members-table th:nth-child(4),.fm-members-table td:nth-child(4){width:340px}
.fm-members-table th:nth-child(5),.fm-members-table td:nth-child(5){width:110px}
.fm-members-table th:nth-child(6),.fm-members-table td:nth-child(6){width:140px}
.fm-member-memo-row td{background:#fafbfc;border-bottom:2px solid #dfe5ed;padding:10px 12px 14px}
.fm-memo-wide{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:start}
.fm-memo-wide-label{padding-top:8px;font-size:12px;font-weight:800;color:#59667b}
.fm-memo-wide .fm-memo-input{min-height:72px}
.fm-memo-wide.is-saved .fm-memo-input{border-color:#b7e0c4;background:#eef8f1}
.fm-memo-actions{display:flex;flex-direction:column;gap:6px;min-width:72px}
.fm-memo-msg{font-size:12px;font-weight:800;color:#176c48;line-height:1.4}
.fm-memo-msg.is-error{color:var(--bad)}
.fm-memo-dialog{
  width:min(520px,92vw);background:#fff;border-radius:16px;padding:0;
  box-shadow:0 24px 60px rgba(15,23,42,.28)
}
.fm-memo-confirm-q{margin:0 0 10px;font-size:15px;font-weight:800;color:#172033}
.fm-memo-confirm-preview{
  margin:0 0 14px;padding:12px 14px;max-height:220px;overflow:auto;
  background:#f6f8fb;border:1px solid var(--line);border-radius:10px;
  font:inherit;font-size:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word
}
.fm-members-table thead{display:none}
.fm-member-head-row th{
  background:#eef1f6;color:#526075;font-size:12px;font-weight:800;padding:8px 10px;
  border-bottom:1px solid #dfe5ed;border-top:10px solid #f3f5f8;text-align:left
}
.fm-member-head-row.is-odd th{background:#e8edf4}
.fm-member-data-row.is-odd td,
.fm-member-memo-row.is-odd td,
.fm-member-article-row.is-odd td{background:#fff}
.fm-member-head-row.is-even th{background:#d7e3f2}
.fm-member-data-row.is-even td,
.fm-member-memo-row.is-even td,
.fm-member-article-row.is-even td{background:#eef4fb}
.fm-member-data-row.is-even .fm-member-order{background:#fff;border-color:#d7e3f2}
.fm-member-head-row:first-child th{border-top:0}
.fm-member-company{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px;color:var(--blue);font-size:13px;font-weight:800;word-break:break-all}
.fm-member-shop-badge{
  display:inline-flex;align-items:center;flex:0 0 auto;
  padding:2px 6px;border-radius:999px;background:var(--bluebg);color:var(--blue);
  font-size:11px;font-weight:800;line-height:1.2
}
.fm-member-grade.is-beauty{color:var(--blue)}
.fm-member-fixed{
  display:inline-flex;align-items:center;margin-top:3px;
  padding:2px 6px;border-radius:999px;background:var(--bluebg);color:var(--blue);
  font-size:11px;font-weight:800;line-height:1.2
}
.btn.blue{background:var(--bluebg);color:var(--blue);border-color:#c5d4f5}
.fm-member-sub{display:block;margin-top:3px;color:#59667b;font-size:11px;font-weight:700}
.fm-member-addr{display:block;margin-top:4px;color:#59667b;font-size:13px;word-break:break-all}
.fm-member-orders{display:flex;flex-direction:column;gap:6px}
.fm-member-data-row td:nth-child(3){font-size:13px;line-height:1.5}
.fm-member-order{background:#f6f8fb;border:1px solid #e8edf3;border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.5;color:#334155}
.fm-member-order b{display:block;margin-bottom:2px;font-size:13px;color:#172033}
.fm-member-actions{display:flex;flex-wrap:wrap;gap:6px}
.fm-member-empty{color:#94a3b8;font-size:12px;font-weight:700}
.fm-member-article-row td{background:#fff;border-bottom:2px solid #dfe5ed;padding:0 12px 14px 28px}
.fm-member-article{border:0;border-radius:10px;padding:12px;margin-top:8px;background:#fff}
.fm-member-article-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.fm-member-article-arrow{flex:0 0 20px;width:20px;height:20px;color:#211d35;display:inline-flex}
.fm-member-article-arrow svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.fm-member-article-meta b{font-size:14px}
.fm-member-article-meta span{font-size:12px;color:#59667b;font-weight:700}
.fm-member-article-main{display:flex;align-items:flex-start;gap:16px}
.fm-member-article-img{display:block;flex:0 0 auto;max-height:250px;max-width:280px;width:auto;height:auto;margin:0;border-radius:8px;object-fit:contain}
.fm-member-article-body{flex:1 1 auto;min-width:0;font-size:14px;line-height:1.55;color:#172033;word-break:break-word}
.fm-member-actions{display:flex;flex-wrap:wrap;gap:6px}
.fm-member-empty{color:#94a3b8;font-size:11px;font-weight:700}
.fm-promo{display:grid;gap:10px}
.fm-promo-item{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.office.is-side-collapsed{grid-template-columns:52px 1fr}
@media (max-width: 1100px){
  .fm-search{grid-template-columns:1fr 1fr;min-width:0}
  .fm-order-head{grid-template-columns:1fr 1fr}
}
