/* Image-first swipe review and bulk schedule planner. */
.br-layout{background:#fff;border:1px solid #d9e7ef;border-radius:19px;padding:19px;color:#173e5b}
.br-layout *{box-sizing:border-box}
.br-review-heading{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:19px}
.br-review-heading h2{font-size:clamp(20px,3vw,27px);font-weight:800;margin:7px 0 6px;color:#153d60}
.br-review-heading p{font-size:13px;line-height:1.5;color:#668092;margin:0;max-width:610px}
.br-count{min-width:83px;padding:12px 8px;background:#ecf7fe;border:1px solid #c8e3f5;border-radius:13px;display:flex;flex-direction:column;text-align:center}
.br-count strong{font-size:19px;color:#136caa}.br-count small{font-size:10px;color:#557d99}
.br-actionbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px;background:#f5f9fc;border:1px solid #dceaf4;border-radius:12px;margin-bottom:14px}
.br-select-all{font-size:12px;font-weight:700;color:#24587b;display:flex;align-items:center;gap:8px;margin-right:auto}
.br-select-all input,.br-check-wrap input{accent-color:#137cc0;width:19px;height:19px}
.br-list{display:grid;gap:9px}
.br-list-item{display:flex;align-items:stretch;border:1px solid #dae7f0;border-radius:13px;background:#fff;overflow:hidden;min-width:0}
.br-check-wrap{width:48px;flex:none;display:grid;place-items:center;cursor:pointer;border-right:1px solid #ecf1f6}
.br-list-open{font:inherit;width:100%;background:transparent;border:0;display:grid;grid-template-columns:90px minmax(0,1fr) 20px;gap:12px;align-items:center;text-align:left;padding:8px;cursor:pointer;color:inherit;min-width:0}
.br-list-open:focus-visible,.br-post-controls button:focus-visible{outline:3px solid #7ec4ee;outline-offset:-4px}
.br-list-open:hover{background:#f7fbfe}
.br-thumb{background:#eaf3f8;display:flex;width:90px;height:84px;overflow:hidden;border-radius:8px;align-items:center;justify-content:center}
.br-thumb img,.br-thumb video{width:100%;height:100%;object-fit:cover}
.br-list-copy{min-width:0;display:grid;justify-items:start;gap:5px}
.br-list-copy strong{font-size:13px;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#173e5b}
.br-list-copy>span:not(.br-status){font-size:11px;line-height:1.3;color:#617d8f;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.br-chevron{font-size:24px;color:#7c9bb1;text-align:center}
.br-status{font-size:10px;font-weight:750;border-radius:50px;padding:5px 9px;display:inline-flex;background:#edf1f4;color:#566f81}
.br-status.approved{background:#e4f8ed;color:#1c7651}
.br-status.planned{background:#e5f0fa;color:#215f93}
.br-after-review{margin-top:17px;padding:15px;background:#edf7fd;border:1px solid #d1e5f2;border-radius:12px;display:flex;gap:13px;align-items:center;justify-content:space-between}
.br-after-review p{margin:0;line-height:1.55;color:#4d6e84;font-size:12px;max-width:620px}
.br-after-review .mk-btn{flex:none}
.br-empty{padding:22px;background:#f6fafd;border:1px dashed #bed4e3;border-radius:12px;color:#5b7689;font-size:13px}
.br-preview-open{overflow:hidden}
.br-preview-overlay{position:fixed;inset:0;z-index:50000;display:flex;align-items:center;justify-content:center;background:rgba(9,22,38,.78);padding:20px 10px}
.br-modal-panel{background:white;border-radius:18px;width:min(620px,100%);max-height:min(96dvh,940px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 70px #0008;color:#1c3f5e;position:relative}
.br-modal-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 17px;border-bottom:1px solid #e4ecf2}
.br-modal-top>div{display:grid;gap:3px}
.br-modal-top strong{font-size:14px;font-weight:800}
.br-modal-kicker{font-weight:850;letter-spacing:.1em;color:#287fad;font-size:10px}
.br-close{width:41px;height:41px;flex:none;border-radius:50%;background:#f0f5f9;border:0;color:#254860;font-size:28px;cursor:pointer}
.br-platform-bar{display:flex;align-items:center;gap:9px;padding:10px 16px}
.br-avatar{width:36px;height:36px;display:grid;place-items:center;background:#185e8f;color:white;border-radius:50%;font-weight:850}
.br-platform-bar>div{display:grid;gap:2px}
.br-platform-bar strong{font-size:12px}
.br-platform-bar small{font-size:10px;color:#7692a3}
.br-dots{margin-left:auto;color:#7297ae}
.br-post-content{display:grid;grid-template-columns:minmax(0,1fr)}
.br-post-media{background:#0d1b2a;display:grid;place-items:center;touch-action:pan-y;max-height:min(48dvh,470px);overflow:hidden}
.br-post-media img,.br-post-media video{display:block;width:100%;height:auto;max-height:min(48dvh,470px);object-fit:contain}
.br-post-text{padding:15px 19px 12px}
.br-meta-row{margin-bottom:7px}
.br-post-text>strong{font-size:15px}
.br-post-text>p{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;max-height:220px;overflow:auto;color:#364d61}
.br-post-cta{border-top:1px solid #edf2f5;padding-top:11px}
.br-post-cta strong{font-size:11px;color:#306d97;text-transform:uppercase;letter-spacing:.04em}
.br-post-cta p{font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0;line-height:1.45}
.br-post-controls{position:sticky;bottom:0;background:white;border-top:1px solid #e0eaf0;display:flex;align-items:stretch;gap:8px;padding:13px 15px calc(13px + env(safe-area-inset-bottom,0px))}
.br-post-controls>.mk-btn{flex:1;min-width:0}
.br-preview-foot{padding:0 16px 14px;display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:10px;color:#6e91a8}
.br-preview-foot button{background:transparent;border:0;text-decoration:underline;color:#206ea6;font-size:11px;font-weight:700;cursor:pointer}
.br-error:not(:empty){padding:10px 16px;color:#9b3a33;background:#fff0f0;border-top:1px solid #f3c4c4}
.br-schedule-setup{padding:16px;border:1px solid #e0ebf3;border-radius:14px;background:#f9fcfe}
.br-schedule-option{display:grid;gap:7px;margin-bottom:15px}
.br-schedule-setup label{font-size:12px;color:#315876;font-weight:770}
.br-schedule-setup select,.br-schedule-setup input:not([type=checkbox]){display:block;width:100%;min-height:44px;border-radius:10px;border:1px solid #c9dfea;padding:10px;font:550 14px/1.4 system-ui,sans-serif;color:#153f5a;background:white}
.br-schedule-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.br-schedule-dates label{display:grid;gap:7px}
.br-weekdays{display:flex;align-items:center;gap:10px;margin:14px 0}
.br-weekdays input{width:19px;height:19px;accent-color:#087ac1}
.br-hint{font-size:11px;color:#627e91;margin:12px 0;line-height:1.5}
.br-full{width:100%;min-height:46px}
.br-preview-summary{background:#eaf7fe;border:1px solid #c6e3f5;border-radius:12px;padding:15px;margin:19px 0 9px}
.br-preview-summary h3{font-size:17px;margin:0 0 6px;color:#1b557b}
.br-preview-summary p{font-size:12px;color:#4b748a;margin:0;line-height:1.5}
.br-preview-date-list{display:grid;gap:7px;margin:10px 0 15px;max-height:410px;overflow:auto}
.br-preview-date-list>div{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #dfecf4;border-radius:10px;padding:10px}
.br-date-number{width:28px;height:28px;flex:none;border-radius:50%;background:#dceef8;display:grid;place-items:center;color:#265d84;font-weight:800;font-size:12px}
.br-preview-date-list>div>span:last-child{display:grid;gap:4px}
.br-preview-date-list strong{font-size:12px;color:#254e68}
.br-preview-date-list small{font-size:11px;color:#6d8ba1}
.br-planned{margin-top:22px}
.br-planned h3{font-size:16px;margin:0 0 12px}
.br-planned h3 span{font-size:12px;color:#6f94ae}
.br-plan-row{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dce8ef;border-radius:10px;margin:6px 0;align-items:center}
.br-plan-row>span:first-child{display:grid;gap:5px;min-width:0}
.br-plan-row strong{font-size:12px;color:#244f6a}
.br-plan-row small{font-size:11px;color:#7590a3}
.br-no-media{color:#a2bbce;font-size:12px;text-align:center}
@media(max-width:600px){
 .br-layout{padding:14px;border-radius:14px}
 .br-review-heading h2{font-size:22px}
 .br-actionbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .br-actionbar .br-select-all{grid-column:span 2}
 .br-actionbar .mk-btn{padding:10px 8px;font-size:11px}
 .br-list-open{grid-template-columns:72px minmax(0,1fr) 15px;gap:8px}
 .br-check-wrap{width:38px}
 .br-thumb{width:72px;height:76px}
 .br-list-copy>span:not(.br-status){font-size:10px}
 .br-after-review{flex-direction:column;align-items:stretch}
 .br-preview-overlay{padding:0;align-items:stretch}
 .br-modal-panel{border-radius:0;width:100%;max-height:100dvh;height:100dvh;display:flex;flex-direction:column;overflow:auto}
 .br-post-content{flex:1;overflow-y:auto;min-height:0}
 .br-post-media,.br-post-media img,.br-post-media video{max-height:45dvh}
 .br-post-text>p{max-height:none}
 .br-post-controls{flex:none;padding:10px 9px calc(10px + env(safe-area-inset-bottom,0px))}
 .br-post-controls .mk-btn{font-size:11px;padding:9px 5px}
 .br-preview-foot{padding:0 10px 7px;font-size:9px}
 .br-schedule-dates{grid-template-columns:repeat(2,minmax(0,1fr))}
 .br-plan-row{flex-wrap:wrap}
}
/* The author stylesheet must not override native hidden fields on iOS. */
.br-schedule-dates [hidden]{display:none!important}

/* Full original design visible, including the bottom of square watch graphics. */
.br-post-media{max-height:none!important;overflow:visible!important;min-height:0;flex-shrink:0}
.br-post-media img,.br-post-media video{max-height:none!important;height:auto!important;object-fit:contain!important;max-width:100%;width:100%}
.br-post-text p.br-social-caption{max-height:none;overflow:visible;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.br-product-notice{font-size:11px!important;line-height:1.45!important;color:#83571b!important;background:#fff8e9;border:1px solid #e9d7af;padding:10px;border-radius:9px;margin:15px 0 0!important}
.br-modal-panel .br-post-content{overflow-y:auto;min-height:0;flex:1 1 auto}
@media(max-width:600px){
 .br-post-content{overflow-y:auto;flex:1 1 auto;min-height:0}
 .br-post-media,.br-post-media img,.br-post-media video{max-height:none!important}
 .br-post-controls{position:sticky;bottom:0;z-index:3}
}

.br-batch-selector{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;border:1px solid #d9e6ed;border-radius:11px;padding:10px 12px;margin:0 0 12px;background:#f3f9fc;font-size:12px;font-weight:750;color:#275a7d}
.br-batch-selector .mk-btn{padding:7px 12px;font-size:11px}


/* 2026-10-23: iPhone review preview layout correction.
   Grid was compressing the image track to the viewport height while a
   max-height:none image painted into the text row. Keep the media and copy
   in ordinary document flow inside ONE scroll container. */
.br-preview-overlay .br-modal-panel {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  max-height:min(96dvh,940px);
}
.br-preview-overlay .br-modal-top,
.br-preview-overlay .br-platform-bar,
.br-preview-overlay .br-post-controls,
.br-preview-overlay .br-preview-foot,
.br-preview-overlay .br-error:not(:empty) {
  flex:0 0 auto;
}
.br-preview-overlay .br-post-content {
  display:block!important;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.br-preview-overlay .br-post-media {
  display:block!important;
  position:relative;
  width:100%;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
  touch-action:pan-y;
}
.br-preview-overlay .br-post-media img,
.br-preview-overlay .br-post-media video {
  display:block!important;
  position:static!important;
  max-height:none!important;
  max-width:100%;
  width:100%;
  height:auto!important;
  object-fit:contain!important;
}
.br-preview-overlay .br-post-text {
  position:relative;
  display:block;
  clear:both;
  background:#fff;
  padding:19px 18px 23px;
}
.br-preview-overlay .br-post-text .br-meta-row {
  margin-bottom:13px;
}
.br-preview-overlay .br-post-text p.br-social-caption{
  position:static;
  display:block;
  margin:0;
  background:#fff;
  color:#354f65;
  line-height:1.6;
  max-height:none!important;
  overflow:visible!important;
}
@media (max-width:600px) {
  .br-preview-overlay .br-modal-panel{
    height:100dvh;
    max-height:100dvh;
  }
  .br-preview-overlay .br-post-media,
  .br-preview-overlay .br-post-media img {
    max-height:none!important;
  }
  .br-preview-overlay .br-post-controls{
    position:relative;
    z-index:3;
    margin-top:0;
    padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .br-preview-overlay .br-post-text {padding:17px 17px 20px;}
}

/* Facebook-inspired review mockup: one-screen, no internal scrolling. */
.br-preview-overlay:has(.br-fb-review) {
  background:#eef2f6;
  padding:0;
}
.br-preview-overlay .br-modal-panel.br-fb-review{
  display:flex!important;flex-direction:column!important;
  width:min(500px,100%)!important;
  max-width:100%!important;
  height:100dvh!important;max-height:100dvh!important;
  padding:0!important;margin:0 auto!important;
  border-radius:0!important;background:#f0f2f5!important;
  overflow:hidden!important;
}
.br-fb-appbar{
  height:56px;min-height:56px;padding:7px 16px;
  display:flex;align-items:center;justify-content:space-between;
  background:#fff;border-bottom:1px solid #e4e7eb;
}
.br-fb-appbar>div{display:grid;gap:2px}
.br-fb-appbar strong{font-size:14px;font-weight:850;color:#1e344a}
.br-fb-appbar .br-modal-kicker{font-size:10px}
.br-fb-appbar .br-close{width:37px;height:37px;min-width:37px;font-size:25px}
.br-fb-frame{
  background:#fff;margin:8px 0 0;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;align-items:stretch;
  overflow:hidden!important;
}
.br-fb-publisher{
  height:54px;min-height:54px;display:flex;align-items:center;gap:9px;
  padding:7px 13px;color:#191919;
}
.br-fb-avatar{
  background:#195d8c;color:#fff;font-weight:850;width:37px;height:37px;
  min-width:37px;border-radius:50%;display:grid;place-items:center;font-size:17px;
}
.br-fb-identity{display:flex;flex-direction:column;gap:2px}
.br-fb-identity strong{font-size:13px;color:#151b22;font-weight:850;line-height:1.15}
.br-fb-identity small{font-size:11px;color:#68727c}
.br-fb-menu{margin-left:auto;color:#65717c;letter-spacing:1px}
.br-fb-caption{
  padding:5px 14px 11px;display:flex;flex-direction:column;gap:7px;
  flex:0 1 auto;min-height:0;overflow:hidden;
  background:#fff;color:#1f2328;
  font-size:clamp(11px,1.36dvh,13.5px);
  line-height:1.38;white-space:pre-line;overflow-wrap:anywhere;
}
.br-fb-caption>span{display:block}
.br-fb-hashtags{color:#2165ae;font-size:clamp(10px,1.25dvh,12px);font-weight:550}
.br-fb-visual{
  flex:1 1 0;min-height:0;width:100%;
  display:flex;align-items:center;justify-content:center;
  background:#0c1727;overflow:hidden!important;touch-action:pan-y;
}
.br-fb-visual img,.br-fb-visual video{
  display:block;position:static!important;
  width:auto!important;height:auto!important;
  max-height:100%!important;max-width:100%!important;
  object-fit:contain!important;flex:0 1 auto;
}
.br-fb-engagement{
  height:39px;min-height:39px;border-top:1px solid #e8ebef;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center;justify-items:center;color:#646e77;background:#fff;
  font-size:11px;font-weight:700;
}
.br-fb-engagement>span{white-space:nowrap}
.br-fb-reaction{font-size:12px;margin-right:3px}
.br-fb-warning{
  background:#fff7e7;border-top:1px solid #e5d4af;color:#875222;
  padding:5px 13px;margin:0;font-size:10px;line-height:1.25;
  flex:0 0 auto;max-height:43px;overflow:hidden;
}
.br-fb-actions{
  padding:10px 13px calc(10px + env(safe-area-inset-bottom,0px));
  min-height:68px;display:flex;gap:10px;align-items:center;
  flex:0 0 auto;background:#fff;border-top:1px solid #e3e7eb;
}
.br-fb-actions button{
  flex:1;min-height:47px;border:0;border-radius:10px;
  font-size:15px;font-weight:800;cursor:pointer;
}
.br-fb-actions .br-fb-approve{background:#1475cc;color:#fff;flex:1.45}
.br-fb-actions .br-fb-approve:disabled{background:#b5c1cd;color:#34475b;cursor:default}
.br-fb-actions .br-fb-skip{background:#edf1f5;color:#233b50}
.br-fb-review .br-error:not(:empty){font-size:11px;padding:6px 12px;flex:0 0 auto}
.br-fb-review .br-error:empty{display:none}
@media(min-width:650px){
 .br-preview-overlay:has(.br-fb-review){background:rgba(12,27,44,.75);padding:18px}
 .br-preview-overlay .br-modal-panel.br-fb-review{
  max-height:min(900px,95dvh)!important;height:min(900px,95dvh)!important;
  border-radius:15px!important;
 }
}
@media(max-height:690px){
 .br-fb-appbar{height:46px;min-height:46px}
 .br-fb-publisher{height:46px;min-height:46px}
 .br-fb-caption{gap:4px;padding:4px 12px 6px;font-size:11px;line-height:1.22}
 .br-fb-hashtags{font-size:10px}
 .br-fb-engagement{height:29px;min-height:29px}
 .br-fb-actions{min-height:57px;padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
 .br-fb-actions button{min-height:42px}
}

.br-fb-brand-avatar{background:#071d35;border:1px solid #123a5a;overflow:hidden;padding:4px}
.br-fb-brand-avatar img{display:block;max-width:100%;width:100%;height:auto;object-fit:contain}

.br-fb-post-link{color:#0866c2;overflow-wrap:anywhere}

/* Intrinsic's approved SVG-like logo asset uses dark navy ink;
   a white social-profile tile keeps it legible on iPhone. */
.br-fb-brand-avatar{background:#fff!important;border:1px solid #d9e2eb!important;padding:2px!important}
.br-fb-brand-avatar img{width:100%!important;max-height:100%;object-fit:contain}


/* Finite, per-batch weekday scheduling (Oct 2026). */
.br-batch-posts{margin:0 0 20px;padding:12px;background:#fff;border:1px solid #d9e9f3;border-radius:12px}
.br-batch-header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;color:#194b67;font-size:13px}
.br-batch-header label{display:flex;gap:7px;align-items:center;font-size:12px}
.br-batch-header input,.br-batch-post-row input{width:18px;height:18px;accent-color:#087ac1;flex:none}
.br-batch-post-list{display:grid;gap:5px;max-height:335px;overflow:auto;padding-right:3px}
.br-batch-post-row{display:flex;align-items:center;gap:11px;padding:7px 9px;background:#f8fbfd;border:1px solid #e4ecf1;border-radius:9px;cursor:pointer}
.br-batch-post-row:has(input:checked){background:#edf7ff;border-color:#b9dcf4}
.br-batch-thumb{display:block;width:42px;height:46px;flex:none;overflow:hidden;border-radius:5px;background:#e3edf3}
.br-batch-thumb img,.br-batch-thumb video{width:100%;height:100%;object-fit:cover}
.br-batch-title{min-width:0;display:grid;gap:2px}
.br-batch-title strong{font-size:12px;line-height:1.25;color:#1e4a64}
.br-batch-title small{font-size:10px;color:#7791a2}
.br-selected-count{font-size:12px;font-weight:800;color:#0969a3;margin:11px 0 0}
.br-day-picker{border:1px solid #d9e5ee;padding:12px;border-radius:12px;background:#fff;margin:0 0 15px;min-width:0}
.br-day-picker legend{padding:0 5px;font-size:12px;font-weight:800;color:#24516f}
.br-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.br-day-chip{cursor:pointer;min-width:0}
.br-day-chip input{position:absolute;opacity:0;pointer-events:none}
.br-day-chip span{display:block;min-height:40px;line-height:38px;border-radius:8px;border:1px solid #c5dce8;text-align:center;background:#f4f9fc;color:#28516c;font-weight:750;font-size:11px}
.br-day-chip input:checked+span{background:#116a9b;color:white;border-color:#116a9b}
.br-day-chip input:focus-visible+span{outline:2px solid #f2aa1e;outline-offset:2px}
.br-saved-batch{display:grid;gap:5px;padding:12px;margin:8px 0;background:#f8fcff;border:1px solid #dcebf4;border-radius:10px}
.br-saved-batch strong{font-size:13px;color:#224f6c}
.br-saved-batch small{font-size:11px;color:#637f91}
.br-saved-batch>span{font-size:11px;font-weight:700;color:#367d5b}
.br-scheduler [hidden]{display:none!important}
@media(max-width:600px){.br-day-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.br-day-chip span{font-size:10px;min-height:37px;line-height:35px}.br-batch-header{align-items:flex-start}.br-schedule-option{margin-top:12px}}
