.skip-link { position: absolute; top: -100px; left: var(--space-3); z-index: 100; padding: var(--space-2); background: var(--green); color: var(--black); }
.skip-link:focus { top: var(--space-2); }
.site-header { background: var(--navy); color: var(--white); }
.site-header__inner, main, .site-footer { width: 100%; margin: auto; }
.site-header nav { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.site-header__inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.wordmark { display: flex; align-items: baseline; gap: var(--space-2); color: var(--white); font-weight: 850; white-space: nowrap; }
.wordmark__name { font-size: 1.3rem; letter-spacing: -0.04em; }
.wordmark__name span { color: var(--white); }
.wordmark__version { font-size: 0.76rem; border: 1px solid var(--green); border-radius: 2rem; padding: 0.2rem 0.55rem; }
.site-header__note { font-size: 0.85rem; font-weight: 700; }
main { padding: 0 var(--space-4) var(--space-6); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); align-items: center; gap: var(--space-5); min-height: min(480px, 65dvh); padding: clamp(3rem, 7vw, 6rem) 0 var(--space-6); }
.hero__copy { max-width: 900px; }
.hero__brand { display: grid; place-items: center; min-width: 0; }
.hero__brand img { display: block; width: min(100%, 240px); height: auto; max-height: 280px; object-fit: contain; }
.eyebrow { margin: 0 0 var(--space-2); font-size: 0.79rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: 1.06; letter-spacing: -0.055em; }
h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.04em; }
.hero__intro { max-width: 58ch; margin: var(--space-4) 0 0; font-size: 1.08rem; line-height: 1.65; }
.hero--portal { grid-template-columns: 1fr; justify-items: center; gap: var(--space-4); min-height: auto; padding-bottom: var(--space-5); text-align: center; }
.hero--portal .hero__brand img { width: min(52vw, 260px); max-height: 245px; }
.hero__copy--portal { max-width: 760px; }
.hero__promise { margin: 0; color: var(--navy); font-size: clamp(1.85rem, 4.6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.04em; }
.hero__promise span { display: block; }
.hero__copy--portal .hero__intro { margin: var(--space-3) auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); }
.byline { margin: var(--space-4) 0 0; font-size: 0.9rem; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.hero__panel { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-5); border: 3px solid var(--green); border-radius: var(--radius); background: var(--green); color: var(--black); }
.hero__panel-small, .hero__panel span:last-child { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.hero__panel strong { font-size: clamp(4.5rem, 9vw, 8rem); letter-spacing: -0.08em; line-height: 1; }
.section { padding: var(--space-5) 0 var(--space-6); border-top: 3px solid var(--green); }
.section--compact { padding-bottom: var(--space-5); }
.section__heading { max-width: 72ch; margin-bottom: var(--space-4); }
.section__heading p:last-child { line-height: 1.6; }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.area-card { min-height: 280px; display: flex; flex-direction: column; }
.area-card .card__actions { margin-top: auto; }
.portal-choice-section { padding-top: var(--space-3); }
.portal-choices { max-width: 920px; margin: 0 auto; }
.portal-choice { width: 100%; border: 1px solid color-mix(in srgb, var(--navy) 18%, transparent); text-align: left; cursor: pointer; color: var(--navy); gap: var(--space-2); justify-content: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.portal-choice:hover, .portal-choice:focus-visible { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 12px 28px rgba(16,42,67,.12); }
.portal-choice strong { font-size: clamp(1.45rem,3vw,2rem); }
.portal-choice__icon { font-size: 2rem; color: var(--green-dark, #18794e); }
.entry-page { display: grid; gap: var(--space-3); min-width: 0; }
.entry-page__heading p { margin: 0; color: var(--green-dark, #18794e); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.entry-page__heading h3 { margin: .2rem 0 0; color: var(--navy); }
.entry-page__links, .entry-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.entry-tabs .button { flex: 1 1 150px; }
.entry-tabs .is-active { background: var(--green); color: var(--navy); border-color: var(--green); }
.entry-page [data-entry-panel] { display: grid; gap: var(--space-3); padding: var(--space-3); border: 1px solid color-mix(in srgb, var(--navy) 18%, transparent); border-radius: var(--radius); background: var(--white); }
.entry-page [data-entry-panel][hidden] { display: none; }
.entry-page__unavailable { margin: 0; padding: .7rem .8rem; border-radius: .45rem; background: #f2f5f7; color: #425466; font-size: .92rem; }
.branch-code-result { display: grid; gap: var(--space-2); padding: var(--space-3); border: 2px solid var(--green); border-radius: var(--radius); background: color-mix(in srgb, var(--green) 14%, white); }
.branch-code-result[hidden] { display: none; }
.branch-code-result code, .branch-invite-card > code { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; padding: .55rem .7rem; border-radius: .35rem; background: var(--navy); color: var(--white); font-size: 1rem; letter-spacing: .04em; }
.branch-created-label { font-weight: 800; color: var(--green-dark, #18794e); }
.reserved-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.reserved-card { min-height: 145px; }
.reserved-card h3 { margin-top: 0; }
.reserved-card p { margin-bottom: 0; }
.resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); padding: 0; list-style: none; }
.resource-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding: var(--space-3); border: var(--border); border-radius: 0.55rem; font-weight: 700; }
.resource-list span { font-size: 0.85rem; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding: var(--space-4); border-top: 3px solid var(--green); font-size: 0.85rem; font-weight: 700; }
.footer-link { padding: 0; border: 0; background: transparent; color: var(--navy); font: inherit; text-decoration: underline; cursor: pointer; }
.account-form { display: grid; gap: var(--space-3); }
.account-form label { display: grid; gap: 0.3rem; font-weight: 700; min-width: 0; }
.account-form input, .account-form select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 0.45rem; border: 2px solid var(--navy); border-radius: 0.4rem; background: var(--white); color: var(--black); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.checks label { display: flex; align-items: center; gap: 0.4rem; font-weight: 500; }
.checks input { width: auto; min-height: auto; }
.location-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.player-map-actions { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: var(--space-2); align-items: center; }
.player-map-actions > * { min-width: 0; }
.player-map-actions output { text-align: center; overflow-wrap: anywhere; font-weight: 700; }
.address-results { display: grid; gap: var(--space-2); max-height: 180px; overflow-y: auto; }
.address-results[hidden], [data-open-recovery][hidden] { display: none; }
.address-results .button { text-align: left; white-space: normal; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@container (max-width: 620px) {
  .player-map-actions { grid-template-columns: minmax(0, 1fr); }
  .player-map-actions output { grid-row: 2; text-align: left; }
  .form-grid, .checks { grid-template-columns: minmax(0, 1fr); }
}


.branch-modal{position:fixed;inset:0;z-index:3000;background:rgba(6,29,49,.68);display:grid;place-items:center;padding:1rem}
.branch-modal__box{width:min(760px,96vw);max-height:94vh;overflow:auto;background:#fff;border:1px solid #b9ddc5;border-radius:14px;box-shadow:0 24px 70px rgba(6,29,49,.34);padding:1.1rem;color:#102a43}
.branch-modal__box,.branch-modal__box *{box-sizing:border-box}
.branch-modal--workspace .branch-modal__box{width:min(1240px,98vw);height:min(820px,96vh);display:flex;flex-direction:column;overflow:hidden;padding:0}
.branch-modal__head,.branch-section-heading,.branch-manager-actions,.branch-form-actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}
.branch-modal__head{position:sticky;top:0;background:#fff;z-index:500;padding:.85rem 1rem;border-bottom:1px solid #dce9e1}
.branch-modal__head h2{font-size:1.35rem;letter-spacing:-.02em}.branch-kicker{margin:0 0 .12rem;color:#23834d;font-size:.7rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.branch-close{border-color:#cad9d0;background:#fff}.branch-workspace-status{display:block;min-height:34px;padding:.48rem 1rem;background:#f3faf5;border-bottom:1px solid #dce9e1;color:#486255;font-size:.78rem}
.branch-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:0;flex:1}.branch-directory{display:flex;min-height:0;flex-direction:column;background:#f3faf5;border-right:1px solid #cfe1d5}
.branch-directory__heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.9rem;border-bottom:1px solid #dce9e1}.branch-directory__heading div{display:grid;gap:.12rem}.branch-directory__heading small{color:#667b70}.branch-create{padding:.52rem .65rem;font-size:.78rem}
.branch-directory__list{padding:.65rem;overflow:auto}.branch-directory__empty{padding:1rem;color:#667b70;text-align:center}
.branch-list-card{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:.55rem;margin:0 0 .45rem;padding:.72rem;border:1px solid transparent;border-radius:9px;background:transparent;color:#102a43;text-align:left;cursor:pointer}.branch-list-card:hover{background:#fff;border-color:#cfe1d5}.branch-list-card.is-selected{background:#fff;border-color:#62b681;box-shadow:0 4px 16px rgba(16,42,67,.07)}
.branch-list-card__pin{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#dff4e6;color:#12683a;font-size:1.15rem}.branch-list-card__copy{display:grid;min-width:0;gap:.08rem}.branch-list-card__copy strong,.branch-list-card__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-list-card__copy small{color:#6a7c72;font-size:.7rem}
.branch-state{display:inline-flex;align-items:center;width:max-content;padding:.22rem .44rem;border-radius:99px;background:#edf2ef;color:#43574c;font-size:.68rem;font-weight:800}.branch-state--active{background:#dff4e6;color:#12683a}.branch-state--pending,.branch-state--invited{background:#fff4d6;color:#795b00}.branch-state--suspended{background:#ffe8cc;color:#8a4800}.branch-state--revoked,.branch-state--ended{background:#f8dcdc;color:#8d2525}
.branch-detail{min-width:0;overflow:auto;background:#fff}.branch-detail__shell{min-height:100%}.branch-detail__heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem}.branch-detail__heading h3{margin:.1rem 0;font-size:1.45rem}.branch-detail__heading p:last-child{margin:.15rem 0;color:#687c71}.branch-detail__meta{display:flex;align-items:center;gap:.5rem;color:#617369;font-size:.8rem}
.delegated-company-banner{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;background:#fff4c2;border-bottom:1px solid #d9bd4b;color:#332a00}.communications-conversation-unread{display:block;margin-top:.2rem;font-size:.72rem;font-weight:700;color:#9c2f16}
.branch-tabs{display:flex;gap:0;padding:0 1.2rem;border-bottom:1px solid #dce9e1;overflow:auto}.branch-tab{flex:0 0 auto;padding:.68rem .85rem;border:0;border-bottom:3px solid transparent;background:transparent;color:#617369;font-weight:800;cursor:pointer}.branch-tab.is-active{border-bottom-color:#2aa35d;color:#102a43;background:#f6fbf7}.branch-tab-panel{padding:1.1rem 1.2rem}
.branch-form [hidden]{display:none!important}.branch-section-copy{grid-column:1/-1}.branch-section-copy h4,.branch-section-heading h4{margin:0 0 .25rem;font-size:1.08rem}.branch-section-copy p,.branch-section-heading p{margin:0 0 .6rem;color:#60736a;line-height:1.45}.branch-form{display:grid;gap:.75rem}.branch-form--single{grid-template-columns:1fr}.branch-form--data{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-form label{display:grid;gap:.28rem;min-width:0;font-size:.78rem;font-weight:800}.branch-form input,.branch-form select{width:100%;min-height:42px;padding:.55rem .62rem;border:1px solid #9fb7a8;border-radius:7px;background:#fff;color:#102a43}.branch-form input:read-only{background:#f2f6f3;color:#5e6e65}.branch-field--wide,.branch-form-actions,.branch-form .form-result,.branch-assignment,.branch-permission-groups{grid-column:1/-1}.branch-form-actions{justify-content:flex-end;padding-top:.25rem}.branch-help{padding:.7rem;border-left:3px solid #2aa35d;background:#f3faf5;color:#486255;line-height:1.45}
.branch-map{height:360px;border:1px solid #9fc5ac;border-radius:10px;background:#e8f0eb}.branch-pin-status{margin:.5rem 0;color:#597066;font-size:.8rem}.branch-empty{display:grid;justify-items:center;gap:.5rem;padding:2.5rem 1rem;color:#60736a;text-align:center}.branch-empty h3,.branch-empty p{margin:0}.branch-empty__icon{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;background:#dff4e6;color:#12683a;font-size:1.5rem}
.branch-manager-card{display:grid;grid-template-columns:minmax(210px,1fr) auto;align-items:center;gap:.65rem;margin-top:.7rem;padding:.85rem;border:1px solid #d5e5da;border-radius:10px;background:#fbfdfb}.branch-manager-card__identity{display:flex;align-items:center;gap:.65rem}.branch-manager-card__identity div{display:grid;gap:.12rem}.branch-manager-card__identity span{color:#64776d;font-size:.76rem}.branch-manager-avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:9px;background:#102a43;color:#fff!important;font-weight:900}.branch-manager-card p{grid-column:1/-1;margin:0;color:#667b70;font-size:.78rem}.branch-manager-actions{grid-column:1/-1;justify-content:flex-start}.button--warning{border-color:#e4ad52}.button--danger{border-color:#c65c5c;color:#8d2525}
.branch-invite-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.8fr);gap:1rem;padding-top:.8rem}.branch-invite-list{min-width:0}.branch-invite-list h3{margin-top:0}.branch-invite-card{display:grid;gap:.45rem;margin:.6rem 0;padding:.75rem;border:1px solid #d5e5da;border-radius:10px;background:#fbfdfb}.branch-invite-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}.branch-invite-card p{margin:0;color:#586e63;font-size:.8rem}.branch-state--send_failed{background:#f8dcdc;color:#8d2525}.branch-state--used{background:#dff4e6;color:#12683a}.branch-state--expired,.branch-state--cancelled{background:#edf0ef;color:#526159}
.branch-assignment{display:flex;flex-wrap:wrap;gap:.45rem .9rem;padding:.7rem;border:1px solid #cfe1d5;border-radius:8px}.branch-assignment label{display:flex;align-items:center;gap:.2rem}.branch-assignment input{width:auto;min-height:auto}.branch-permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.branch-permission-group{min-width:0;margin:0;padding:.7rem;border:1px solid #d5e5da;border-radius:8px}.branch-permission-group legend{padding:0 .25rem;color:#184d32;font-weight:900}.branch-permission{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:.5rem;padding:.42rem 0;border-top:1px solid #edf3ef}.branch-permission label{display:flex;align-items:center;gap:.2rem;font-weight:600}.branch-permission input{width:auto;min-height:auto}.branch-unavailable{margin:.2rem 0;color:#8b6812;font-size:.75rem}
.branch-permission-card{margin-top:.75rem;padding:.8rem;border:1px solid #d5e5da;border-radius:9px}.branch-permission-card h5{margin:0 0 .5rem}.branch-permission-table>div{display:grid;grid-template-columns:minmax(210px,1fr) 90px 90px;gap:.5rem;padding:.42rem;border-top:1px solid #edf3ef;font-size:.76rem}.branch-permission-table>div span:not(:first-child){font-weight:800;color:#286044}
.branch-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;padding:0;list-style:none}.branch-steps li{padding:.55rem;border-radius:7px;background:#edf2ef;color:#64776d;font-size:.78rem;font-weight:800;text-align:center}.branch-steps li.is-active{background:#102a43;color:#fff}.branch-steps li.is-done{background:#dff4e6;color:#12683a}.branch-confirm dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.branch-confirm dl div{padding:.65rem;border-radius:7px;background:#f3faf5}.branch-confirm dt{color:#617369;font-size:.7rem;font-weight:800;text-transform:uppercase}.branch-confirm dd{margin:.18rem 0 0;font-weight:800}.form-result code,.branch-code-result code{display:inline-block;margin:.35rem;padding:.45rem .6rem;border-radius:5px;background:#102a43;color:#fff;font-size:1rem}.form-result>*{margin-right:.4rem}
@media(max-width:760px){.branch-modal{padding:0}.branch-modal__box,.branch-modal--workspace .branch-modal__box{width:100%;height:100%;max-height:none;border:0;border-radius:0;overflow-x:hidden}.branch-modal__head{padding:.7rem;flex-wrap:nowrap}.branch-modal__head h2{font-size:1.15rem}.branch-close{flex:0 0 auto}.branch-workspace,.branch-invite-workspace{width:100%;grid-template-columns:minmax(0,1fr)}.branch-directory{max-width:100vw;max-height:37vh;border-right:0;border-bottom:1px solid #cfe1d5}.branch-directory__heading{flex-wrap:wrap}.branch-create{margin-left:auto}.branch-directory__list{display:flex;max-width:100vw;gap:.45rem;overflow-x:auto}.branch-list-card{flex:0 0 245px;margin:0}.branch-detail{width:100%;max-width:100vw}.branch-detail__heading{align-items:flex-start}.branch-detail__meta{align-items:flex-end;flex-direction:column}.branch-tabs{max-width:100vw;padding:0 .7rem}.branch-tab-panel{max-width:100vw;padding:.85rem;overflow:hidden}.branch-form--data,.branch-permission-groups{grid-template-columns:minmax(0,1fr)}.branch-form input,.branch-form select{max-width:100%}.branch-field--wide{grid-column:auto}.branch-map{height:260px}.branch-permission{grid-template-columns:1fr auto auto}.branch-manager-card{grid-template-columns:1fr}.branch-manager-card>.branch-state{grid-row:2}.branch-confirm dl{grid-template-columns:1fr}}
.map { height: 280px; max-width: 100%; border: 2px solid var(--green); border-radius: 0.5rem; }
.form-result { display: block; min-height: 1.5rem; font-weight: 700; overflow-wrap: anywhere; }
.account-home { display: grid; align-content: start; gap: var(--space-3); color: var(--black); }
.account-home h3, .account-home p { margin: 0; }
html.player-active, html.player-active body { overflow: hidden; }
html.player-active .site-header, html.player-active main, html.player-active .site-footer { display: none; }
html.company-active .site-header, html.company-active body > main, html.company-active .site-footer { display: none; }
html.company-active body { background: var(--white); }
.company-stage { position: fixed; inset: 0; z-index: 40; overflow: hidden; background: var(--white); color: var(--black); }
.company-stage[hidden] { display: none !important; }
.company-sidebar { position: absolute; inset: 0 auto 0 0; z-index: 2; display: flex; flex-direction: column; width: 230px; background: var(--white); border-right: 1px solid #d6e6dc; box-shadow: 2px 0 12px #102a430e; }
.company-sidebar__brand { display: flex; align-items: center; gap: 0.65rem; min-height: 82px; padding: 0.9rem; background: var(--navy); color: var(--white); }
.company-sidebar__brand img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: 0.45rem; background: var(--white); padding: 0.2rem; }
.company-sidebar__brand div { min-width: 0; }
.company-sidebar__brand small { display: block; font-size: 0.7rem; opacity: 0.82; }
.company-sidebar__brand strong { display: block; max-height: 2.6em; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; font-size: 0.86rem; }
.company-stage__nav { display: grid; align-content: start; gap: 0.55rem; overflow-y: auto; padding: 0.85rem 0.65rem; }
.company-nav__group { display: grid; gap: 0.12rem; }
.company-nav__group + .company-nav__group { padding-top: 0.55rem; border-top: 1px solid #e2ebe6; }
.company-nav__group p { margin: 0.15rem 0.5rem 0.3rem; color: #516779; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.company-nav__item { display: flex; align-items: center; gap: 0.65rem; width: 100%; min-height: 40px; padding: 0.4rem 0.7rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--navy); font: inherit; font-size: 0.83rem; font-weight: 650; text-align: left; cursor: pointer; }
.company-nav__item:hover, .company-nav__item:focus-visible { background: #eaf6ec; }
.company-nav__item[aria-current="page"] { background: #d6f2d3; color: var(--navy); font-weight: 800; }
.company-nav__icon { flex: none; display: grid; place-items: center; width: 1.2rem; color: var(--navy); font-size: 1rem; line-height: 1; }
.company-nav__logout { margin-top: auto; border-top: 1px solid #e2ebe6; border-radius: 0; padding: 0.8rem 1.35rem; }
.company-workspace { height: 100dvh; margin-left: 230px; overflow-y: auto; overflow-x: hidden; }
.company-stage__header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; min-height: 82px; padding: 0.8rem 1.25rem; background: var(--white); border-bottom: 1px solid #d6e6dc; }
.company-stage__heading { flex: 1; min-width: min(100%, 13rem); }
.company-stage__heading small { color: #516779; font-size: 0.72rem; }
.company-stage__heading h1 { max-width: none; margin: 0; color: var(--navy); font-size: 1.5rem; letter-spacing: -0.03em; }
.company-stage__heading span { display: inline-block; margin-top: 0.2rem; padding: 0.15rem 0.45rem; border-radius: 2rem; background: #eaf6ec; color: var(--navy); font-size: 0.7rem; font-weight: 700; }
.company-stage__header label { display: grid; gap: 0.2rem; font-size: 0.76rem; font-weight: 700; }
.company-stage__header select, .company-report select, .company-report input { min-height: 34px; border: 1px solid var(--navy); border-radius: 0.3rem; background: var(--white); color: var(--black); padding: 0.2rem; }
.company-menu-toggle { display: none; align-items: center; gap: 0.4rem; min-height: 38px; padding: 0.35rem 0.6rem; border: 1px solid #d6e6dc; border-radius: 0.4rem; background: var(--white); color: var(--navy); font: inherit; font-weight: 700; }
.company-nav-backdrop { display: none; }
.company-stage__body { display: grid; gap: 0.8rem; width: min(1500px, 100%); margin: 0 auto; padding: 1.1rem 1.25rem 2rem; }
.company-stage__body > .form-result { min-height: 0; color: #a32626; }
.company-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.55rem; }
.company-metrics article, .company-panel { min-width: 0; padding: 0.75rem; border: 1px solid #d5e9d8; border-radius: 0.6rem; background: var(--white); box-shadow: 0 1px 5px #102a430b; }
.company-metrics article { display: grid; align-content: start; gap: 0.2rem; min-height: 88px; background: #f4fbf5; }
.company-metrics span { color: var(--navy); font-size: 0.74rem; font-weight: 700; }
.company-metrics strong { font-size: 1.22rem; line-height: 1.1; }
.company-metrics small { font-size: 0.7rem; }
.company-panel h2 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.1rem; }
.company-panel__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.company-panel__heading p { margin: 0 0 0.5rem; font-size: 0.75rem; }
.company-map { height: clamp(390px, 60vh, 760px); border: 1px solid #d5e9d8; border-radius: 0.4rem; }
.company-stage__lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.company-stage__lower ul { min-height: 3rem; max-height: 14rem; overflow: auto; padding-left: 1.2rem; font-size: 0.82rem; }
.company-qr p { margin: 0 0 0.5rem; }
.company-report { display: grid; gap: 0.7rem; color: var(--black); }
.company-report h3 { margin: 0; }
.company-report__filters { display: flex; flex-wrap: wrap; align-items: end; gap: 0.5rem; }
.company-report__filters label { display: grid; gap: 0.2rem; font-size: 0.8rem; }
.company-report__scroll { max-height: 48vh; overflow: auto; }
.company-report table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.company-report th, .company-report td { padding: 0.45rem; border: 1px solid var(--green); text-align: left; white-space: nowrap; }
.company-report th { background: var(--navy); color: var(--white); }
.company-stage__heading { display: flex; align-items: center; gap: 0.7rem; min-width: min(100%, 15rem); }
.company-stage__heading img { width: 42px; height: 42px; padding: 0.2rem; border: 1px solid #d5e9d8; border-radius: 0.45rem; object-fit: contain; }
.company-stage__heading h1 { max-width: 20ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.2rem; }
.company-stage__filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 0.5rem; }
.company-stage__filters label { display: grid; gap: 0.2rem; color: var(--navy); font-size: 0.7rem; font-weight: 700; }
.company-stage__filters select, .company-stage__filters input { width: min(10rem, 100%); min-height: 35px; padding: 0.2rem 0.35rem; border: 1px solid #b9d4c3; border-radius: 0.4rem; background: var(--white); color: var(--black); font: inherit; }
.company-stage__filters button { min-height: 35px; padding: 0.25rem 0.7rem; font-size: 0.78rem; }
.company-panel--map { padding: 0.85rem; }
.company-map { height: clamp(450px, 65vh, 800px); }
.company-map__footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.7fr); gap: 0.75rem; padding-top: 0.65rem; }
.company-map__legend { display: flex; flex-wrap: wrap; align-content: start; gap: 0.35rem; }
.company-map__legend label { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.5rem; border: 1px solid #d5e9d8; border-radius: 0.35rem; font-size: 0.72rem; cursor: pointer; }
.company-map__legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--branch-color); }
.company-map__summary { padding: 0.45rem 0.65rem; border-radius: 0.4rem; background: #f4fbf5; font-size: 0.75rem; }
.company-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.company-panel--wide { grid-column: 1 / -1; }
.company-chart { display: grid; gap: 0.35rem; min-height: 2rem; max-height: 270px; overflow: auto; }
.company-chart__row { display: grid; grid-template-columns: minmax(5rem, 10rem) minmax(0, 1fr) 3rem; gap: 0.45rem; align-items: center; width: 100%; padding: 0.22rem; border: 0; border-radius: 0.3rem; background: transparent; color: var(--black); font: inherit; font-size: 0.76rem; text-align: left; cursor: pointer; }
.company-chart__row:hover, .company-chart__row:focus-visible { background: #eff8f0; }
.company-chart__row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-chart__track { display: block; height: 0.8rem; border-radius: 1rem; background: #e8f0ec; overflow: hidden; }
.company-chart__track i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: var(--chart-color, var(--navy)); }
.company-chart__row strong { text-align: right; }
.company-chart__detail { display: block; min-height: 1.2rem; margin-top: 0.4rem; color: var(--navy); font-size: 0.75rem; font-weight: 700; }
.company-chart__note { margin: 0 0 0.5rem; font-size: 0.7rem; }
.company-visibility dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; margin: 0; }
.company-visibility dl > div { padding: 0.5rem; border-radius: 0.4rem; background: #f4fbf5; }
.company-visibility dt { color: var(--navy); font-size: 0.76rem; font-weight: 800; }
.company-visibility dd { margin: 0.25rem 0 0; font-size: 0.73rem; }
@media (max-width: 1200px) { .company-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .company-sidebar { position: fixed; width: min(230px, calc(100vw - 56px)); transform: translateX(-105%); visibility: hidden; transition: transform 0.2s ease, visibility 0.2s; z-index: 4; }
  .company-stage--menu-open .company-sidebar { transform: translateX(0); visibility: visible; }
  .company-stage--menu-open .company-nav-backdrop { display: block; position: fixed; inset: 0; z-index: 3; width: 100%; border: 0; background: #102a4377; }
  .company-workspace { margin-left: 0; }
  .company-menu-toggle { display: inline-flex; }
  .company-stage__heading { min-width: min(100%, 10rem); }
  .company-stage__heading h1 { font-size: 1.25rem; }
  .company-stage__header { gap: 0.55rem; padding: 0.7rem; }
  .company-stage__body { padding: 0.7rem; }
  .company-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-stage__lower { grid-template-columns: 1fr; }
  .company-map { height: 46vh; min-height: 300px; }
  .company-stage__heading { flex-basis: calc(100% - 7rem); min-width: 0; }
  .company-stage__filters { justify-content: start; width: 100%; }
  .company-stage__filters label { flex: 1 1 7rem; min-width: 0; }
  .company-stage__filters select, .company-stage__filters input { width: 100%; }
  .company-stage__filters button { align-self: end; }
  .company-map__footer, .company-charts { grid-template-columns: 1fr; }
  .company-panel--wide { grid-column: auto; }
  .company-visibility dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.company-overview-grid--approved { grid-template-columns: minmax(460px,.82fr) minmax(560px,1.18fr); min-height: 0; align-items: stretch; }
.company-overview-grid--approved .company-overview-grid__left { grid-template-rows: auto minmax(250px,1fr) auto; }
.company-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.company-summary article { border: 1px solid #c9e5d0; border-radius: 10px; background: #f2faf3; padding: .72rem .85rem; display: grid; gap: .18rem; }
.company-summary span { color: #31536d; font-size: .78rem; font-weight: 700; }
.company-summary strong { color: #102f4b; font-size: 1.8rem; line-height: 1; }
.company-summary small { color: #49667b; font-size: .68rem; }
.company-store-summary { display: grid; gap: .35rem; }
.company-store-summary > div { display: grid; grid-template-columns: 10px minmax(100px,1fr) auto; align-items: center; gap: .48rem; border-top: 1px solid #e0ece3; padding: .38rem .1rem; font-size: .75rem; }
.company-store-summary i { width: 9px; height: 9px; border-radius: 50%; }
.company-store-summary span { color: #31536d; text-align: right; }
.company-forecast { margin: .55rem 0 0; padding-top: .5rem; border-top: 1px solid #e0ece3; color: #52697b; font-size: .72rem; }
.backoffice-diagnostic { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #b9d9bf; }
.backoffice-diagnostic pre { max-height: 19rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #f4faf5; border: 1px solid #cce3d0; border-radius: .5rem; padding: .75rem; font: .78rem/1.45 ui-monospace, monospace; }
.backoffice-administration { display: grid; gap: .75rem; }
.backoffice-toolbar { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; }
.backoffice-map { height: 260px; border: 1px solid #b9d9bf; border-radius: .6rem; overflow: hidden; background: #f4faf5; }
.backoffice-administration textarea { width: 100%; resize: vertical; }
.backoffice-administration h5 { margin: .8rem 0 .25rem; color: var(--navy); }
.backoffice-administration table { min-width: 620px; }
.backoffice-administration th,.backoffice-administration td { padding:.48rem .58rem; text-align:left; white-space:nowrap; border-bottom:1px solid #d5e9d8; }
.company-overview-grid--approved .company-map { height: 540px; }
@media (max-width: 1040px) { .company-overview-grid--approved { grid-template-columns: 1fr; } .company-overview-grid--approved .company-map { height: 420px; } }
@media (max-width: 560px) { .company-summary { grid-template-columns: 1fr; } .company-overview-grid--approved .company-map { height: 330px; } .company-store-summary > div { grid-template-columns: 10px 1fr; } .company-store-summary span { grid-column: 2; text-align: left; } }
@media (max-width: 420px) { .company-visibility dl { grid-template-columns: 1fr; } .company-metrics { gap: 0.4rem; } }
/* Composição compacta 0024. */
.company-menu-toggle { display: inline-flex; }
.company-stage__header { min-height: 62px; padding: 0.45rem 0.8rem; flex-wrap: nowrap; }
.company-stage__heading img { width: 36px; height: 36px; }
.company-stage__heading small { display: none; }
.company-stage__heading h1 { font-size: 1rem; }
.company-stage__filters { flex-wrap: nowrap; gap: 0.35rem; }
.company-stage__filters label { font-size: 0.64rem; }
.company-stage__filters select, .company-stage__filters input { width: 7.8rem; min-height: 31px; font-size: 0.72rem; }
.company-stage__filters button { min-height: 31px; }
.company-stage__body { gap: 0.55rem; max-width: none; padding: 0.55rem 0.7rem 1.2rem; }
.company-overview-grid { display: grid; grid-template-columns: minmax(480px, 0.9fr) minmax(500px, 1.25fr); gap: 0.55rem; min-height: 470px; }
.company-overview-grid__left { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0.55rem; min-width: 0; }
.company-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; }
.company-metrics article { min-height: 57px; padding: 0.45rem 0.5rem; }
.company-metrics span { font-size: 0.67rem; }
.company-metrics strong { font-size: 1rem; }
.company-metrics small { display: none; }
.company-top-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; min-height: 0; }
.company-panel { padding: 0.6rem; }
.company-panel h2 { margin-bottom: 0.3rem; font-size: 0.94rem; }
.company-panel h3 { margin: 0.45rem 0 0.25rem; color: var(--navy); font-size: 0.78rem; }
.company-panel--map { min-height: 0; padding: 0.6rem; }
.company-panel--map .company-panel__heading p { margin: 0; font-size: 0.66rem; }
.company-map { height: 365px; min-height: 0; }
.company-map__footer { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; padding-top: 0.35rem; }
.company-map__summary { padding: 0.3rem 0.45rem; }
.company-chart--svg { min-height: 235px; max-height: none; overflow: hidden; }
.company-chart--timeline { min-height: 145px; max-height: none; overflow: hidden; }
.company-chart svg { display: block; width: 100%; height: 100%; min-height: inherit; }
.company-chart text { fill: #516779; font: 12px var(--font); }
.company-chart .chart-axis { stroke: #9fb4a8; stroke-width: 1; }
.company-chart .chart-grid { stroke: #deebe3; stroke-width: 1; }
.company-chart .chart-bar { cursor: pointer; }
.company-chart .chart-line { fill: none; stroke: var(--navy); stroke-width: 2.5; }
.company-chart .chart-point { fill: var(--green); stroke: var(--navy); stroke-width: 1.5; cursor: pointer; }
.company-chart__detail { min-height: 1rem; margin-top: 0.2rem; font-size: 0.67rem; }
.company-timeline { min-height: 190px; }
.company-timeline .company-panel__heading { align-items: start; }
.company-timeline .company-panel__heading p { margin: 0; }
.company-bottom-grid { display: grid; grid-template-columns: minmax(220px, 0.65fr) minmax(480px, 1.5fr) minmax(250px, 0.8fr); gap: 0.55rem; }
.company-activity-list { max-height: 190px; margin: 0; padding-left: 1rem; overflow: auto; font-size: 0.7rem; }
.company-table-scroll { max-height: 170px; overflow: auto; }
.company-capture-summary table { width: 100%; border-collapse: collapse; font-size: 0.68rem; }
.company-capture-summary th, .company-capture-summary td { padding: 0.32rem; border-bottom: 1px solid #d5e9d8; text-align: left; white-space: nowrap; }
.company-capture-summary th { color: var(--navy); }
.company-table-pager { display: flex; align-items: center; justify-content: end; gap: 0.4rem; margin-top: 0.35rem; font-size: 0.7rem; }
.company-table-pager .button, .company-capture-summary .button { min-height: 30px; padding: 0.25rem 0.5rem; font-size: 0.68rem; }
.company-facts .company-chart { max-height: 95px; }
.company-facts .company-chart__row { grid-template-columns: minmax(4rem, 7rem) minmax(0, 1fr) 2.4rem; font-size: 0.66rem; }
.company-visibility { padding: 0.5rem 0.6rem; }
.company-visibility dl { gap: 0.35rem; }
.company-visibility dl > div { padding: 0.35rem; }
.company-qr { display: flex; align-items: center; gap: 0.5rem; }
.company-qr h2, .company-qr p { margin: 0; }
.company-qr .button { min-height: 30px; }
.company-stage--nav-collapsed .company-sidebar { width: 64px; }
.company-stage--nav-collapsed .company-workspace { margin-left: 64px; }
.company-stage--nav-collapsed .company-sidebar__brand { justify-content: center; padding: 0.6rem; }
.company-stage--nav-collapsed .company-sidebar__brand div,
.company-stage--nav-collapsed .company-nav__group p,
.company-stage--nav-collapsed .company-nav__item span:last-child { display: none; }
.company-stage--nav-collapsed .company-stage__nav { padding: 0.7rem 0.45rem; }
.company-stage--nav-collapsed .company-nav__item { justify-content: center; padding: 0.4rem; }
.company-stage--nav-collapsed .company-nav__logout { padding: 0.7rem; }
@media (max-width: 1100px) {
  .company-overview-grid { grid-template-columns: minmax(410px, 0.9fr) minmax(430px, 1.1fr); }
  .company-stage__filters label:nth-child(4), .company-stage__filters label:nth-child(5) { display: none; }
}
@media (max-width: 760px) {
  .company-stage__header { flex-wrap: wrap; }
  .company-stage__filters { flex-wrap: wrap; }
  .company-stage__filters label:nth-child(4), .company-stage__filters label:nth-child(5) { display: grid; }
  .company-overview-grid { grid-template-columns: 1fr; min-height: 0; }
  .company-overview-grid__left { grid-template-rows: auto auto; }
  .company-top-charts, .company-bottom-grid { grid-template-columns: 1fr; }
  .company-chart--svg { min-height: 220px; }
  .company-map { height: 360px; }
  .company-timeline { min-height: 220px; }
  .company-chart--timeline { min-height: 165px; }
  .company-stage--nav-collapsed .company-sidebar { width: min(230px, calc(100vw - 56px)); }
  .company-stage--nav-collapsed .company-workspace { margin-left: 0; }
  .company-stage--nav-collapsed .company-sidebar__brand div,
  .company-stage--nav-collapsed .company-nav__group p,
  .company-stage--nav-collapsed .company-nav__item span:last-child { display: initial; }
}
/* Ajuste visual 0032: coluna analítica compacta junto ao mapa. */
.company-stage__heading, .company-stage__filters { min-width: 0; }
.company-overview-grid--approved { grid-template-columns: minmax(360px, .82fr) minmax(440px, 1.18fr); align-items: start; }
.company-overview-grid--approved .company-overview-grid__left { grid-template-rows: auto auto auto; gap: .45rem; }
.company-summary { grid-template-columns: 1fr; gap: .32rem; }
.company-summary article { min-height: 0; padding: .52rem .65rem; border-radius: 7px; }
.company-summary strong { font-size: 1.45rem; }
.company-summary__viewers { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: .6rem; background: #fff; }
.company-summary__viewers strong { font-size: 1rem; }
.company-summary__viewers small { grid-column: 1 / -1; line-height: 1.25; }
.company-timeline { min-height: 0; }
.company-chart--timeline { min-height: 150px; height: 150px; }
.company-chart .chart-empty { fill: #31536d; font-size: 13px; font-weight: 700; }
.company-overview-grid--approved .company-map { height: 440px; }
.company-store-summary { gap: .2rem; }
.company-store-summary > div { padding: .28rem .1rem; }
.company-forecast { margin-top: .35rem; padding-top: .35rem; }
@media (max-width: 1180px) and (min-width: 761px) {
  .company-stage__header { flex-wrap: wrap; }
  .company-stage__heading { flex: 1 1 18rem; }
  .company-stage__filters { flex: 1 1 100%; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .company-overview-grid--approved { grid-template-columns: 1fr; }
  .company-overview-grid--approved .company-map { height: 380px; }
}
@media (max-width: 760px) {
  .company-summary__viewers { grid-template-columns: minmax(0,1fr) auto; }
  .company-chart--timeline { min-height: 175px; height: 175px; }
  .company-overview-grid--approved .company-map { height: 330px; }
}
/* Dashboard 0037: composição reconstruída a partir do modelo funcional histórico. */
.company-dashboard-reference{gap:.65rem;background:#f4f8f5}
.company-reference-metrics{display:grid;grid-template-columns:repeat(8,minmax(90px,1fr));gap:.45rem}
.company-reference-metrics article{display:grid;align-content:center;min-height:72px;padding:.55rem .65rem;border:1px solid #cfe2d4;border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(16,42,67,.05)}
.company-reference-metrics span{color:#476277;font-size:.68rem;font-weight:750}.company-reference-metrics strong{margin-top:.1rem;color:#102a43;font-size:1.15rem}.company-reference-metrics small{overflow:hidden;color:#687c71;font-size:.58rem;text-overflow:ellipsis;white-space:nowrap}
.company-reference-main{display:grid;grid-template-columns:minmax(390px,.82fr) minmax(520px,1.18fr);gap:.65rem;align-items:stretch}
.company-reference-results{display:grid;grid-template-rows:auto minmax(185px,1fr) auto;gap:.65rem;min-width:0}
.company-reference-summary{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.company-reference-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.15rem .5rem;padding:.52rem .6rem;border:1px solid #d7e8db;border-radius:7px;background:#f5fbf6}.company-reference-summary span{color:#31536d;font-size:.72rem;font-weight:750}.company-reference-summary strong{color:#102f4b;font-size:1.4rem}.company-reference-summary small{grid-column:1/-1;color:#607569;font-size:.62rem}.company-reference-summary>p{grid-column:1/-1;margin:0;color:#526a5e;font-size:.68rem}
.company-reference-main .company-timeline{min-height:190px}.company-reference-main .company-chart--timeline{height:160px;min-height:160px}.company-reference-main .company-panel--map{display:flex;min-width:0;flex-direction:column}.company-reference-main .company-map{height:500px;flex:1;min-height:390px}
.company-reference-stores{min-height:120px}.company-reference-bottom{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(500px,1.5fr) minmax(260px,.8fr);gap:.65rem}.company-reference-bottom .company-panel{min-height:195px}
.company-reference-measurement dl{display:grid;gap:.35rem;margin:.45rem 0}.company-reference-measurement dl>div{padding:.38rem .45rem;border-radius:6px;background:#f3faf5}.company-reference-measurement dt{color:#31536d;font-size:.65rem;font-weight:800;text-transform:uppercase}.company-reference-measurement dd{margin:.12rem 0 0;color:#4e6559;font-size:.7rem;line-height:1.3}.company-reference-measurement .button{width:100%;min-height:32px;padding:.35rem;font-size:.66rem}
@media(max-width:1180px){.company-reference-metrics{grid-template-columns:repeat(4,minmax(100px,1fr))}.company-reference-main{grid-template-columns:minmax(350px,.9fr) minmax(430px,1.1fr)}.company-reference-bottom{grid-template-columns:1fr 1.5fr}.company-reference-measurement{grid-column:1/-1}}
@media(max-width:900px){.company-reference-main{grid-template-columns:1fr}.company-reference-main .company-map{height:410px}.company-reference-bottom{grid-template-columns:1fr}}
@media(max-width:560px){.company-dashboard-reference{padding:.45rem}.company-reference-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.company-reference-metrics article{min-height:62px}.company-reference-summary{grid-template-columns:1fr}.company-reference-main .company-map{height:330px;min-height:330px}.company-reference-bottom .company-panel{min-height:0}.company-table-scroll{max-width:100%;overflow:auto}.company-stage__header{align-items:flex-start}.company-stage__filters{width:100%}}

/* Correção 0038: scroll acessível nas páginas e janelas empresariais. */
html.company-active,html.company-active body,html.branch-modal-open,html.branch-modal-open body{width:100%;height:100%;overflow:hidden}
.company-sidebar__brand,.company-nav__logout{flex:0 0 auto}
.company-stage__nav{flex:1 1 auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}
.company-workspace{max-width:calc(100vw - 230px);overscroll-behavior:contain;scrollbar-gutter:stable}
.company-stage--nav-collapsed .company-workspace{max-width:calc(100vw - 64px)}
.company-stage__body,.company-panel,.company-reference-main,.company-reference-bottom{min-width:0}
.company-table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.company-table-scroll table{min-width:max-content}
.branch-modal{height:100dvh;max-width:100vw;overflow:hidden;overscroll-behavior:contain}
.branch-modal__box{max-width:100%;max-height:calc(100dvh - 2rem);overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.branch-modal--workspace .branch-modal__box{height:min(820px,calc(100dvh - 2rem));max-height:calc(100dvh - 2rem)}
.branch-modal__head{flex:0 0 auto}
.branch-workspace-status{flex:0 0 auto}
.branch-workspace{overflow:hidden}

/* Correção 0039: cartões, filtros e gráfico sem sobreposição. */
.company-reference-summary{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:stretch}
.company-reference-summary__card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto;align-content:start!important;align-items:start!important;gap:.28rem!important;min-width:0;min-height:106px;padding:.65rem .72rem!important}
.company-reference-summary__card>span,.company-reference-summary__card>strong,.company-reference-summary__card>small{grid-column:1!important;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.company-reference-summary__card>strong{font-size:1.45rem;line-height:1.08}
.company-reference-summary__card>strong.is-status{font-size:.86rem;line-height:1.3;font-weight:750;color:#526a5e}
.company-reference-metrics strong.is-status{font-size:.78rem;line-height:1.25;font-weight:750;color:#526a5e;overflow-wrap:anywhere}
.company-reference-summary__card>small{font-size:.66rem;line-height:1.35}
.company-stage__filters{min-width:0;max-width:100%}.company-stage__filters label{min-width:0}.company-stage__filters select,.company-stage__filters input{max-width:100%}
.company-reference-metrics article{min-width:0;height:auto}.company-reference-metrics span,.company-reference-metrics small{overflow-wrap:anywhere}.company-reference-metrics small{white-space:normal;text-overflow:clip;line-height:1.25}
.company-panel__heading{min-width:0;flex-wrap:wrap}.company-panel__heading>div,.company-panel__heading p,.company-map__legend,.company-map__summary{min-width:0;overflow-wrap:anywhere}
.company-chart--timeline{width:100%;height:auto!important;min-height:172px!important;overflow:hidden}.company-chart--timeline svg{display:block;width:100%;height:auto;min-height:172px;max-height:220px}.company-chart--timeline:has(svg){display:flex;align-items:center}
.company-chart--timeline:not(:has(svg)){display:grid;place-items:center;padding:1rem;color:#526a5e;font-size:.82rem;text-align:center}
@media(max-width:680px){.company-workspace,.company-stage--nav-collapsed .company-workspace{width:100%;max-width:100vw;margin-left:0;overflow-x:hidden}.company-reference-summary{grid-template-columns:1fr}.company-reference-summary__card{min-height:0}.company-stage__filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.company-stage__filters .button{width:100%}}
@media(max-width:420px){.company-reference-metrics{grid-template-columns:1fr}.company-stage__filters{grid-template-columns:1fr}.company-reference-metrics article{min-height:58px}}

/* 0040: gestão canónica de lotes. */
.company-dashboard-reference[hidden],.company-lots[hidden]{display:none!important}.company-lots{display:grid;gap:.75rem;min-width:0}.company-lots__toolbar{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:.75rem;border:1px solid #cfe2d4;border-radius:10px;background:#fff}.company-lots__toolbar h2,.company-lots__toolbar p{margin:0}.company-lots__toolbar p{color:#607569;font-size:.78rem}.company-lots__toolbar form{display:flex;align-items:end;gap:.55rem;flex-wrap:wrap}.company-lots__toolbar label{display:grid;gap:.2rem;color:#31536d;font-size:.7rem;font-weight:800}.company-lots__toolbar select{min-height:35px;max-width:13rem;border:1px solid #9fc5ac;border-radius:6px;background:#fff;padding:.3rem}.company-lots__layout{display:grid;grid-template-columns:minmax(560px,1.35fr) minmax(340px,.8fr);gap:.75rem;align-items:start;min-width:0}.company-lots__list{padding:0;overflow:hidden}.company-lots__list table{min-width:780px}.company-lots__list th,.company-lots__list td{padding:.48rem .55rem;white-space:nowrap}.company-lot-row{cursor:pointer}.company-lot-row:hover,.company-lot-row:focus{background:#eaf7ed;outline:2px solid #2aa35d;outline-offset:-2px}.company-lot-detail{display:grid;gap:.7rem;position:sticky;top:0}.company-lot-detail__heading{display:flex;justify-content:space-between;gap:.6rem;align-items:start}.company-lot-detail h3,.company-lot-detail p{margin:0}.company-lot-detail__heading p{color:#607569;font-size:.76rem}.lot-state{display:inline-flex;padding:.25rem .5rem;border-radius:99px;background:#edf2ef;color:#43574c;font-size:.68rem;font-weight:850}.lot-state--active{background:#dff4e6;color:#12683a}.lot-state--pending{background:#fff4d6;color:#795b00}.lot-state--expired,.lot-state--ended{background:#f8dcdc;color:#8d2525}.lot-state--empty,.lot-state--suspended{background:#ffe8cc;color:#8a4800}.company-lot-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin:0}.company-lot-facts>div,.company-lot-activation dl>div{padding:.5rem;border-radius:7px;background:#f3faf5}.company-lot-facts dt,.company-lot-activation dt{color:#31536d;font-size:.65rem;font-weight:800;text-transform:uppercase}.company-lot-facts dd,.company-lot-activation dd{margin:.15rem 0 0;font-weight:800}.company-lot-note,.company-lot-unavailable{padding:.55rem;border-left:3px solid #2aa35d;background:#f3faf5;color:#486255;font-size:.75rem;line-height:1.4}.company-lot-map{height:300px;border:1px solid #9fc5ac;border-radius:8px;background:#e8f0eb}.company-lot-activation{display:grid;gap:.6rem;padding:.7rem;border:1px solid #b9ddc5;border-radius:9px;background:#fbfdfb}.company-lot-activation h4{margin:0}.company-lot-activation>p{color:#526a5e;font-size:.75rem}.company-lot-activation dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin:0}.company-lot-activation label{display:flex;gap:.45rem;align-items:start;font-size:.76rem;font-weight:750}.company-lot-empty{display:grid;place-items:center;min-height:260px;text-align:center;color:#607569}
@media(max-width:1100px){.company-lots__layout{grid-template-columns:1fr}.company-lot-detail{position:static}.company-lots__list{order:1}.company-lot-detail{order:2}}
@media(max-width:680px){.company-lots__toolbar{align-items:stretch;flex-direction:column}.company-lots__toolbar form{display:grid;grid-template-columns:1fr}.company-lots__toolbar select{width:100%;max-width:none}.company-lot-facts,.company-lot-activation dl{grid-template-columns:1fr}.company-lot-map{height:260px}}
.branch-directory,.branch-detail{height:100%;max-height:100%;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}
.branch-detail__shell{display:flex;min-height:100%;flex-direction:column}
.branch-detail__heading,.branch-tabs{flex:0 0 auto}
.branch-tab-panel{flex:1 0 auto;min-width:0;padding-bottom:max(1.4rem,env(safe-area-inset-bottom))}
.branch-form,.branch-location-panel,.branch-team,.branch-permission-summary,.branch-wizard{min-width:0}
.branch-form-actions{position:relative;z-index:2;padding-bottom:max(.35rem,env(safe-area-inset-bottom))}
.branch-map{height:clamp(190px,42dvh,360px);max-width:100%;touch-action:pan-y}
.branch-map.leaflet-container,.branch-map .leaflet-map-pane{touch-action:pan-y!important}
.branch-permission-card{max-width:100%;overflow:hidden}
.branch-permission-table{max-width:100%;overflow-x:auto;overscroll-behavior:contain}
.branch-permission-table>div{min-width:390px}
@media(max-height:620px){.branch-modal{padding:.35rem}.branch-modal__box,.branch-modal--workspace .branch-modal__box{height:calc(100dvh - .7rem);max-height:calc(100dvh - .7rem)}.branch-modal__head{padding:.45rem .7rem}.branch-workspace-status{padding:.35rem .7rem}.branch-detail__heading{padding:.65rem .85rem}.branch-tab-panel{padding:.7rem .85rem 1rem}.branch-map{height:clamp(170px,36dvh,230px)}}
@media(max-width:760px){.company-workspace{max-width:100vw}.branch-modal{height:100dvh;max-height:100dvh}.branch-modal__box,.branch-modal--workspace .branch-modal__box{height:100dvh;max-height:100dvh}.branch-workspace{grid-template-rows:auto minmax(0,1fr);overflow:hidden}.branch-directory{max-height:min(30dvh,220px);min-height:0}.branch-detail{min-height:0;overflow-y:auto;overflow-x:hidden}.branch-detail__shell{min-height:0}.branch-tab-panel{overflow:visible;padding-bottom:max(1.25rem,env(safe-area-inset-bottom))}.branch-map{height:clamp(180px,34dvh,260px)}.branch-form-actions{justify-content:stretch}.branch-form-actions .button,.branch-form-actions button{flex:1 1 10rem}.branch-permission{min-width:390px}.branch-permission-group{max-width:100%;overflow-x:auto}}
@media(max-width:760px){.branch-workspace{width:100%;grid-template-columns:minmax(0,1fr)}.branch-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.branch-tab{min-width:0;white-space:normal;text-align:center}.branch-list-card{flex-basis:min(100%,330px)}}
.player-stage { position: fixed; inset: 0; width: 100%; height: 100dvh; z-index: 40; overflow: hidden; background: var(--white); color: var(--black); }
.player-stage[hidden] { display: none !important; }
.game-map { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--green); }
.player-stage__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: max(2px, env(safe-area-inset-top)) max(4px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)); pointer-events: none; z-index: 1001; }
.capture-flag-marker { pointer-events: auto !important; touch-action: none; user-select: none; }
.player-stage__top { pointer-events: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem; width: 100%; align-items: center; padding: 0.2rem 0.3rem; border: 1px solid var(--green); border-radius: 0.35rem; background: color-mix(in srgb, var(--white) 94%, transparent); box-shadow: 0 1px 5px #102a4359; }
.player-stage__bottom { pointer-events: none; width: 0; height: 0; }
.player-stage__top strong { color: var(--navy); overflow-wrap: anywhere; }
.player-identity { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.player-identity__photo, .profile-photo__frame { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 2px solid var(--navy); border-radius: 50%; background: var(--green); color: var(--navy); font-size: 0.55rem; font-weight: 700; text-align: center; overflow: hidden; }
.player-identity__photo img, .profile-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.player-identity__photo img.identity-logo, .profile-photo__frame img.identity-logo, .avatar-marker img.identity-logo { object-fit: contain; padding: 3px; }
.profile-photo { display: flex; align-items: flex-start; gap: var(--space-3); flex-wrap: wrap; }
.profile-photo__frame { width: 72px; height: 72px; }
.profile-photo > div { flex: 1; min-width: min(100%, 220px); }
.profile-photo p { font-size: 0.8rem; }
.player-menu { min-width: 0; }
.player-menu > summary { display: none; }
.player-stage__navigation { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0.2rem; }
@media (min-width: 761px) { .player-menu:not([open]) > .player-stage__navigation { display: flex; } }
.player-stage__navigation .button { flex: none; min-height: 28px; padding: 0.2rem 0.42rem; font-size: 0.72rem; line-height: 1.1; }
.player-economy-bar { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); align-items: center; gap: 0.35rem; min-width: 0; font-size: 0.7rem; }
.player-economy-bar .player-identity { min-width: 0; }
.player-economy-bar .player-identity__photo { width: 26px; height: 26px; border-width: 1px; }
.player-economy-bar [data-account-title] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-economy-bar__items { display: grid; grid-template-columns: repeat(4, minmax(3.8rem, auto)) minmax(6.4rem, 1fr); align-items: center; gap: 0.2rem 0.4rem; }
.player-economy-bar__item { display: flex; align-items: baseline; gap: 0.2rem; min-width: 0; }
.player-economy-bar__item > span { color: var(--navy); white-space: nowrap; }
.player-economy-bar__item > strong { font-size: 0.78rem; line-height: 1; }
.player-economy-bar__skill { grid-template-columns: auto 1fr auto; align-items: center; }
.player-economy-bar__skill progress { width: 100%; min-width: 2.5rem; height: 0.45rem; accent-color: var(--navy); }
.player-economy-bar__skill small { white-space: nowrap; font-size: 0.62rem; }
.player-economy-bar__status { grid-column: 1 / -1; font-size: 0.76rem; }
.player-economy-bar__status--error { color: #a32626; font-weight: 700; }
.player-economy-bar__retry { grid-column: 1 / -1; justify-self: start; }
.player-economy-bar [hidden] { display: none; }
.player-stage__bottom [hidden] { display: none; }
.player-stage__bottom p { margin: 0; font-size: 0.82rem; }
.player-stage__bottom .form-result { min-height: 0; }
.capture-action { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 0.45rem 0.7rem; margin: 0.35rem 0; padding: 0.45rem; border: 1px solid #b9ddc5; border-radius: 0.55rem; background: #f7fbf8; }
.capture-action .button { min-width: 0; white-space: normal; }
.capture-action output { color: #425466; font-size: 0.78rem; font-weight: 700; overflow-wrap: anywhere; }
.capture-action .button:disabled { border-color: #b8c4bd; background: #edf2ef; color: #53635a; opacity: 1; cursor: not-allowed; }
.capture-result { position: absolute; inset: 0; z-index: 5000; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgba(6, 29, 49, 0.72); pointer-events: auto; overscroll-behavior: contain; }
.capture-result__card { box-sizing: border-box; width: min(430px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; display: grid; justify-items: center; gap: 0.75rem; padding: clamp(1.15rem, 4vw, 2rem); border: 2px solid var(--green); border-radius: 1rem; background: var(--white); color: var(--black); box-shadow: 0 24px 70px rgba(6, 29, 49, 0.42); text-align: center; }
.capture-result__mark { width: 64px; height: 64px; object-fit: contain; }
.capture-result__kicker { margin: 0; color: #23834d; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.capture-result__card h2 { margin: -0.35rem 0 0; color: var(--navy); font-size: clamp(1.55rem, 5vw, 2rem); }
.capture-result__content { width: 100%; }
.capture-result__identification { display: grid; gap: .6rem; margin: .8rem 0 0; width: 100%; text-align: left; }
.capture-result__identification:empty { display: none; }
.capture-result__identification > div { min-width: 0; padding: .65rem; border: 1px solid #b9ddc5; border-radius: .5rem; background: #f7fbf8; }
.capture-result__identification dt { font-weight: 750; color: var(--navy); }
.capture-result__identification dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.capture-result__empty { margin: 0; padding: 1rem; border-radius: 0.65rem; background: #e8f6ec; color: var(--navy); font-size: 1rem; font-weight: 750; }
.capture-result__rewards { display: grid; gap: 0.65rem; margin: 0; }
.capture-result__reward { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 0.8rem 0.9rem; border: 1px solid #b9ddc5; border-radius: 0.65rem; background: #f7fbf8; text-align: left; }
.capture-result__reward dt { color: var(--navy); font-weight: 750; }
.capture-result__reward dd { display: grid; justify-items: end; gap: 0.1rem; margin: 0; }
.capture-result__reward strong { color: #176b46; font-size: 1.25rem; }
.capture-result__reward small { max-width: 100%; color: #425466; font-size: 0.72rem; overflow-wrap: anywhere; }
.capture-result__close { min-width: 9rem; }
.capture-result__identity-status { margin: .8rem 0; color: var(--navy); overflow-wrap: anywhere; font-size: .85rem; }
.capture-result__identity-retry { max-width: 100%; white-space: normal; }
.capture-result__identity-retry[hidden] { display: none; }
@media (max-width: 480px) {
  .capture-result { padding: max(0.65rem, env(safe-area-inset-top)) max(0.65rem, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-left)); }
  .capture-result__card { width: 100%; max-height: calc(100dvh - 1.3rem); padding: 1rem; }
  .capture-result__reward { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .capture-result__reward dd { min-width: 0; justify-items: start; }
}
.map-tools { pointer-events: auto; position: fixed; left: max(8px, env(safe-area-inset-left)); top: 50%; z-index: 1100; margin: 0; }
.map-tools summary { box-sizing: border-box; display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid var(--green); border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: 0 2px 8px #102a4380; cursor: pointer; font-size: 0; list-style: none; }
.map-tools summary::-webkit-details-marker { display: none; }
.map-tools summary::before { content: "⚙"; font-size: 1.35rem; line-height: 1; }
.map-tools[open] { top: auto; bottom: max(8px, env(safe-area-inset-bottom)); box-sizing: border-box; width: min(560px, calc(100vw - 16px)); max-height: min(68dvh, 570px); overflow: auto; padding: .7rem; border: 2px solid var(--green); border-radius: .65rem; background: var(--white); box-shadow: 0 8px 24px #102a4366; overscroll-behavior: contain; }
.map-tools[open] summary { width: auto; height: auto; display: block; border: 0; border-radius: 0; background: transparent; color: var(--navy); box-shadow: none; font-size: 1rem; font-weight: 800; cursor: default; }
.map-tools[open] summary::before { content: none; }
.map-tools[open] .game-map-controls, .map-tools[open] .diagnostic-legend { margin-top: 0.45rem; }
.map-information-panel { display: grid; gap: 0.3rem; margin-top: 0.45rem; }
.map-information-panel .form-result { min-height: 0; }
.map-tools__close { margin-top: .65rem; }
.game-map-controls { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.game-map-controls [hidden] { display: none; }
.teleport-choice { display: grid; gap: var(--space-2); }
.teleport-choice label { display: grid; gap: 0.35rem; }
.teleport-choice input { width: 100%; }
.teleport-choice { min-width: 0; }
.teleport-choice > [data-teleport-search] { justify-self: start; }
.teleport-choice input { min-height: 38px; border: 2px solid var(--navy); border-radius: 0.4rem; padding: 0.4rem; }
.teleport-map { height: clamp(180px, 31dvh, 300px); min-width: 0; border: 2px solid var(--green); border-radius: 0.5rem; }
.teleport-choice output { overflow-wrap: anywhere; }
.avatar-marker { box-sizing: border-box; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--navy); border-radius: 50%; background: var(--green); color: var(--black); font-size: .65rem; font-weight: 800; box-shadow: 0 2px 8px #102a4380; overflow: hidden; }
.avatar-marker img { width: 100%; height: 100%; object-fit: cover; }
.account-home h4 { margin: 0 0 var(--space-2); }
.account-navigation { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: var(--space-2); }
.account-navigation .button { width: 100%; text-align: center; white-space: normal; }
.profile-details { display: grid; grid-template-columns: minmax(9rem, 0.9fr) minmax(0, 1.5fr); gap: 0; margin: 0; border: 2px solid var(--green); border-radius: 0.5rem; overflow: hidden; }
.profile-details dt, .profile-details dd { margin: 0; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--green); overflow-wrap: anywhere; }
.profile-details dt { background: var(--green); font-weight: 700; }
.profile-details dd { background: var(--white); }
.profile-details dt:nth-last-child(2), .profile-details dd:last-child { border-bottom: 0; }
.profile-details--summary { max-width: 100%; }
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__brand { justify-content: start; }
  .hero__brand img { width: min(44vw, 180px); }
  .player-stage__top { grid-template-columns: auto minmax(0, 1fr); gap: 0.22rem; padding: 0.15rem 0.2rem; }
  .player-menu { position: relative; align-self: start; }
  .player-menu > summary { display: block; min-height: 27px; padding: 0.25rem 0.4rem; border: 1px solid var(--navy); border-radius: 0.3rem; background: var(--navy); color: var(--white); cursor: pointer; font-size: 0.7rem; font-weight: 800; list-style: none; white-space: nowrap; }
  .player-menu > summary::-webkit-details-marker { display: none; }
  .player-stage__navigation { display: none; }
  .player-menu[open] .player-stage__navigation { position: absolute; top: calc(100% + 0.2rem); left: 0; display: grid; width: min(12rem, calc(100vw - 0.8rem)); padding: 0.35rem; border: 1px solid var(--green); border-radius: 0.4rem; background: var(--white); box-shadow: 0 6px 18px #102a4359; }
  .player-menu[open] .player-stage__navigation .button { width: 100%; min-height: 32px; text-align: left; }
  .player-economy-bar { grid-template-columns: minmax(4.7rem, 0.58fr) minmax(0, 2.42fr); gap: 0.18rem; font-size: 0.62rem; }
  .player-economy-bar .player-identity { gap: 0.22rem; }
  .player-economy-bar .player-identity__photo { width: 22px; height: 22px; }
  .player-economy-bar__items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.12rem 0.28rem; }
  .player-economy-bar__item { gap: 0.12rem; }
  .player-economy-bar__item > strong { font-size: 0.68rem; }
  .player-economy-bar__skill { grid-column: 2 / -1; grid-template-columns: auto minmax(2rem, 1fr) auto; }
  .player-economy-bar__status, .player-economy-bar__retry { grid-column: 1 / -1; }
  .capture-action { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: 1fr; padding-top: var(--space-5); }
  .hero__panel { min-height: 210px; }
  .area-grid, .reserved-grid, .resource-list { grid-template-columns: 1fr; }
  .area-card { min-height: 240px; }
  .portal-choice { min-height: 150px; }
  .entry-tabs, .entry-page__links { display: grid; grid-template-columns: 1fr; }
  .site-header__inner { flex-wrap: wrap; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  .player-map-actions { grid-template-columns: 1fr; }
  .player-map-actions output { grid-row: 2; text-align: left; }
  .profile-details { grid-template-columns: minmax(0, 1fr); }
  .profile-details dt { border-bottom: 0; }
  .profile-details dd { border-bottom: 1px solid var(--green); }
}
@media (max-width: 390px) {
  .player-economy-bar { grid-template-columns: minmax(4.1rem, 0.52fr) minmax(0, 2.48fr); }
  .player-economy-bar__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-economy-bar__skill { grid-column: 1 / -1; }
  .player-economy-bar__item > span, .player-economy-bar__item > strong { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 320px) {
  .player-stage__overlay { padding-left: 2px; padding-right: 2px; }
  .player-stage__top { gap: 0.14rem; padding-left: 0.14rem; padding-right: 0.14rem; }
  .player-menu > summary { padding-left: 0.3rem; padding-right: 0.3rem; font-size: 0.66rem; }
  .player-economy-bar { grid-template-columns: minmax(3.7rem, 0.48fr) minmax(0, 2.52fr); font-size: 0.58rem; }
  .player-economy-bar .player-identity__photo { width: 20px; height: 20px; }
  .player-economy-bar__item > strong { font-size: 0.64rem; }
  .player-economy-bar__skill small { font-size: 0.55rem; }
}
@media (max-width: 400px) {
  .site-header__inner, main, .site-footer { padding-left: var(--space-3); padding-right: var(--space-3); }
  .site-header__note { display: none; }
  .hero__actions .button { width: 100%; }
}

/* 0047 — linguagem comum de ações em todas as áreas do portal. */
.form-actions,.branch-manager-actions,.branch-form-actions,.company-table-pager,.game-map-controls{align-items:center;gap:var(--button-gap)}
.branch-create,.company-stage__filters button{min-height:var(--button-height);padding:.55rem 1rem;font-size:.9rem}
.company-table-pager .button,.company-capture-summary .button,.company-reference-measurement .button,.company-qr .button{min-height:var(--button-height-compact);padding:.35rem .7rem;font-size:.78rem}
[data-confirm-pin],[data-profile-confirm-pin],[data-map-confirm]{border-color:var(--navy);background:var(--navy);color:var(--white)}
@media(max-width:600px){.form-actions,.branch-manager-actions,.branch-form-actions{align-items:stretch}.form-actions .button,.branch-manager-actions .button,.branch-form-actions .button{flex:1 1 100%;width:100%;min-height:48px;white-space:normal}.branch-modal__head .branch-close{flex:0 0 auto;width:auto;min-height:44px}.company-stage__filters .button{min-height:48px}.button--icon{width:48px;min-width:48px;height:48px}}

.purchase-shell{display:grid;gap:1rem;min-width:min(74vw,980px)}.purchase-head{display:flex;justify-content:space-between;align-items:start;gap:1rem}.purchase-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.8rem}.purchase-card{border:1px solid #b8d9c9;border-radius:12px;padding:1rem;background:#fff;display:grid;gap:.45rem}.purchase-card h4,.purchase-card p{margin:0}.purchase-card details{border-top:1px solid #dce9e3;padding-top:.5rem}.payment-methods{padding:.75rem;background:#f1faf5;border-radius:10px}.purchase-shell table{width:100%;border-collapse:collapse}.purchase-shell th,.purchase-shell td{padding:.55rem;border-bottom:1px solid #dce9e3;text-align:left}.purchase-shell input,.purchase-shell select{min-height:40px}@media(max-width:700px){.purchase-shell{min-width:0}.purchase-head{display:grid}.purchase-catalog{grid-template-columns:1fr}.purchase-shell table{min-width:650px}}

/* 0071: estados compactos de Os meus lotes. */
.company-stage__filters[hidden],.company-lots__list[hidden]{display:none!important}
.company-lots__layout--empty{grid-template-columns:minmax(0,1fr)}
.company-lots__layout--empty .company-lot-detail{position:static;padding:0;box-shadow:none}

/* Páginas comerciais integradas na área principal. */
.company-commerce[hidden]{display:none!important}
.company-commerce{display:grid;gap:.85rem;min-width:0;align-content:start}
.company-commerce [data-commerce-content]{display:grid;gap:.8rem;min-width:0}
.commerce-heading,.commerce-state,.commerce-summary,.commerce-totals,.commerce-card,.commerce-cart-row,.commerce-document{background:#fff;border:1px solid #cfe2d4;border-radius:10px;padding:.85rem}
.commerce-heading h2,.commerce-heading p,.commerce-card h3,.commerce-card p,.commerce-state p,.commerce-summary p{margin:0}
.commerce-heading h2{font-size:1.25rem;color:#102a43}.commerce-heading p{color:#52695c;margin-top:.25rem}
.commerce-top,.commerce-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.commerce-top{justify-content:flex-end}.commerce-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:.8rem;min-width:0}
.commerce-card{display:grid;gap:.5rem;align-content:start}.commerce-card strong{font-size:1.15rem;color:#176b46}.commerce-card details{padding:.45rem 0;border-top:1px solid #dce9e3}.commerce-card summary{cursor:pointer;color:#102a43;font-weight:700}.commerce-card label{display:grid;gap:.2rem;font-size:.8rem;font-weight:700}.commerce-card select{width:100%}
.commerce-cart,.commerce-documents{display:grid;gap:.5rem;min-width:0}.commerce-cart-row{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(120px,.9fr) 76px minmax(130px,1fr) minmax(100px,.7fr) auto;align-items:center;gap:.65rem}.commerce-cart-row small{display:block;color:#607569}.commerce-cart-row input,.commerce-cart-row select{width:100%;min-width:0}.commerce-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem 1rem;align-items:end;max-width:42rem;margin:.75rem 0 .75rem auto}.commerce-totals p{margin:0;overflow-wrap:anywhere}.commerce-totals__heading,.commerce-totals__empty{grid-column:1/-1}.commerce-totals__heading{font-weight:700}.commerce-totals__empty{color:#8b5d00}.commerce-totals strong{color:#176b46;font-size:1.15rem;overflow-wrap:anywhere}.commerce-summary{display:grid;gap:.5rem}.commerce-summary small{color:#8b5d00;font-weight:800}.commerce-document{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:.55rem;align-items:center}.commerce-document>*{min-width:0;overflow-wrap:anywhere}
.commerce-actions .button,.commerce-card>.button{min-height:44px}.commerce-state{min-height:0;display:grid;gap:.5rem}.commerce-state:has(.button){justify-items:start}
.company-lot-empty{min-height:0;padding:1rem}.company-lot-detail{position:static}
.company-lots__list table{min-width:570px}.company-lots__layout{grid-template-columns:minmax(460px,1fr) minmax(340px,.9fr)}
@media(max-width:1100px){.company-lots__layout{grid-template-columns:1fr}}
@media(max-width:950px){.commerce-cart-row{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-document{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.commerce-catalog{grid-template-columns:1fr}.commerce-top{justify-content:stretch}.commerce-top .button{width:100%}.commerce-cart-row,.commerce-document{grid-template-columns:1fr}.commerce-totals{grid-template-columns:1fr;max-width:none;margin-inline:0}.commerce-actions{display:grid;grid-template-columns:1fr}.commerce-actions .button{width:100%}}
.company-lot-empty{min-height:0;place-items:start;justify-content:start;gap:.5rem;padding:1rem 1.2rem;text-align:left}
.company-lot-empty h3,.company-lot-empty p{margin:0}
.company-lot-empty .form-actions{margin-top:.35rem}
.commerce-filter{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.commerce-filter select{flex:1 1 170px;min-width:0;min-height:44px}.commerce-filter .button{min-height:44px}
@media(max-width:600px){.commerce-filter{display:grid;grid-template-columns:1fr}.commerce-filter select,.commerce-filter .button{width:100%}}

/* 0076 — Comprar lotes e carrinho no padrão visual da área empresarial. */
.company-commerce:has(.commerce-purchase-catalog) .commerce-heading{padding:1rem 1.15rem;border-color:#8fc7a5;box-shadow:0 10px 28px rgba(16,42,67,.06)}
.company-commerce:has(.commerce-purchase-catalog) .commerce-heading h2{font-size:1.65rem}
.company-commerce:has(.commerce-purchase-catalog) .commerce-top{display:flex;justify-content:flex-end;margin:0;padding:0;position:static}.company-commerce:has(.commerce-purchase-catalog) .commerce-top .button{min-height:42px}
.commerce-purchase-section{display:grid;gap:.65rem;padding:1rem;border:1px solid #b9ddc5;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(16,42,67,.05)}.commerce-purchase-section>span,.commerce-cart-overview>span{color:#176b46;font-size:.7rem;font-weight:850;letter-spacing:.1em}.commerce-purchase-section h3,.commerce-purchase-section p{margin:0}.commerce-purchase-section>p{color:#52695c;font-size:.8rem}
.commerce-purchase-catalog .commerce-table-scroll,.commerce-purchase-cart .commerce-table-scroll{box-shadow:none}.commerce-purchase-catalog .commerce-lot-table th,.commerce-purchase-cart .commerce-lot-table th{background:#eef7f1;color:#31536d}.commerce-purchase-catalog .commerce-lot-table tbody tr,.commerce-purchase-cart .commerce-lot-table tbody tr{transition:background .15s ease}.commerce-purchase-catalog .commerce-lot-table tbody tr:hover,.commerce-purchase-cart .commerce-lot-table tbody tr:hover{background:#f1faf5}
.commerce-catalog-table td:nth-child(6) strong{display:block;color:#176b46;font-size:1rem}.commerce-catalog-table td:nth-child(6) small{display:block;margin-top:.2rem;color:#607569;font-size:.7rem}.commerce-catalog-table .commerce-catalog-add{border:2px solid #176b46!important;color:#176b46!important;min-height:42px!important}.commerce-catalog-table .commerce-catalog-add:hover,.commerce-catalog-table .commerce-catalog-add:focus-visible{background:#176b46!important;color:#fff!important}
.commerce-purchase-cart .commerce-totals{width:min(100%,46rem);padding:1rem;border:1px solid #b9ddc5;border-radius:9px;background:#f7fbf8}.commerce-purchase-cart>.commerce-actions{justify-content:flex-end}.commerce-purchase-cart>.commerce-actions .button--navy{min-width:14rem}.commerce-cart-overview{border-color:#b9ddc5;box-shadow:0 8px 22px rgba(16,42,67,.05)}.commerce-payment-card{min-height:190px}.commerce-payment-card--selected{border-color:#176b46}.commerce-payment-card--test{background:#fffaf0}
@media(max-width:760px){.company-commerce:has(.commerce-purchase-catalog) .commerce-top{margin-top:0;padding-right:0;justify-content:stretch}.company-commerce:has(.commerce-purchase-catalog) .commerce-top .button{width:100%}.commerce-purchase-section{padding:.75rem}.commerce-purchase-cart>.commerce-actions{justify-content:stretch}.commerce-purchase-cart>.commerce-actions .button{width:100%}}
@media(max-width:600px){
  .commerce-purchase-catalog .commerce-table-scroll,.commerce-purchase-cart .commerce-table-scroll{overflow:visible;border:0;border-radius:0;background:transparent}
  .commerce-purchase-catalog .commerce-lot-table,.commerce-purchase-cart .commerce-lot-table{display:block;width:100%;min-width:0}
  .commerce-purchase-catalog .commerce-lot-table thead,.commerce-purchase-cart .commerce-lot-table thead{display:none}
  .commerce-purchase-catalog .commerce-lot-table tbody,.commerce-purchase-cart .commerce-lot-table tbody{display:grid;gap:.75rem;width:100%}
  .commerce-purchase-catalog .commerce-lot-table tr,.commerce-purchase-cart .commerce-lot-table tr{display:grid;width:100%;min-width:0;padding:.75rem;border:1px solid #cfe2d4;border-radius:9px;background:#fff;box-sizing:border-box}
  .commerce-purchase-catalog .commerce-lot-table td,.commerce-purchase-cart .commerce-lot-table td{display:grid;grid-template-columns:minmax(7.4rem,42%) minmax(0,1fr);align-items:center;gap:.5rem;width:100%;min-width:0;padding:.55rem 0;border-bottom:1px solid #e2ebe6;box-sizing:border-box;text-align:left}
  .commerce-purchase-catalog .commerce-lot-table td::before,.commerce-purchase-cart .commerce-lot-table td::before{content:attr(data-label);color:#52695c;font-size:.7rem;font-weight:850;text-transform:uppercase}
  .commerce-purchase-catalog .commerce-lot-table td:first-child,.commerce-purchase-cart .commerce-lot-table td:nth-child(2){grid-template-columns:1fr;padding-top:0}
  .commerce-purchase-catalog .commerce-lot-table td:first-child::before,.commerce-purchase-cart .commerce-lot-table td:nth-child(2)::before{margin-bottom:.1rem}
  .commerce-purchase-catalog .commerce-lot-table td:last-child,.commerce-purchase-cart .commerce-lot-table td:last-child{grid-template-columns:1fr;padding-bottom:0;border-bottom:0}
  .commerce-purchase-catalog .commerce-lot-table td:last-child::before,.commerce-purchase-cart .commerce-lot-table td:last-child::before{margin-bottom:.15rem}
  .commerce-purchase-cart .commerce-lot-table td:first-child{grid-template-columns:minmax(7.4rem,42%) minmax(0,1fr);padding-top:0;text-align:left}
  .commerce-purchase-cart .commerce-lot-table td:first-child input{justify-self:start}
  .commerce-purchase-cart .commerce-lot-table td:nth-child(2) select,.commerce-purchase-cart .commerce-lot-table td:nth-child(4) input{width:100%;max-width:100%}
  .commerce-cart-actions{display:grid;grid-template-columns:1fr;gap:.5rem;width:100%}.commerce-cart-actions .button{width:100%!important}
}

/* Deve ficar depois do tema empresarial comum: esta composição só existe enquanto Os meus lotes está ativo. */
.company-stage.company-stage--lots-reference{display:block!important;grid-template-columns:none!important}
.company-stage.company-stage--lots-reference>.company-sidebar,.company-stage.company-stage--lots-reference .company-stage__header{display:none!important}
.company-stage.company-stage--lots-reference .company-workspace{box-sizing:border-box;width:100vw!important;max-width:100vw!important;margin-left:0!important;overflow-x:hidden!important}
.company-stage.company-stage--lots-reference .company-lots{width:100%!important;max-width:none!important;margin:0!important}

/* 0076 — Faturação agrupada visualmente por entidade. */
.company-commerce:has(.commerce-billing-groups) .commerce-heading{padding:1rem 1.15rem;border-color:#8fc7a5;box-shadow:0 10px 28px rgba(16,42,67,.06)}.company-commerce:has(.commerce-billing-groups) .commerce-heading h2{font-size:1.65rem}.commerce-record-filter{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;padding:.75rem 1rem;border:1px solid #b9ddc5;border-radius:10px;background:#fff;color:#31536d;font-size:.78rem;font-weight:800}.commerce-record-filter select{min-width:14rem;min-height:42px}
.commerce-billing-groups{display:grid;gap:.85rem}.commerce-billing-group{display:grid;gap:.65rem;padding:1rem;border:1px solid #b9ddc5;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(16,42,67,.05)}.commerce-billing-group--parent{border-color:#79bb94}.commerce-billing-group__heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.2rem 1rem;padding-bottom:.65rem;border-bottom:1px solid #dce9e3}.commerce-billing-group__heading>span{grid-column:1/-1;color:#176b46;font-size:.68rem;font-weight:850;letter-spacing:.1em}.commerce-billing-group__heading h3,.commerce-billing-group__heading p{margin:0}.commerce-billing-group__heading h3{color:#102a43}.commerce-billing-group__heading p{color:#607569;font-size:.75rem}.commerce-billing-empty{margin:0;padding:.8rem;border-radius:8px;background:#f7fbf8;color:#607569}.commerce-billing-group .commerce-document{grid-template-columns:.7fr 1fr 1.15fr 1.5fr 1fr auto;align-items:center;border-color:#dce9e3;box-shadow:none}.commerce-billing-group .commerce-document>strong:last-of-type{color:#176b46}.commerce-billing-group .commerce-actions{justify-content:flex-end;flex-wrap:nowrap}.commerce-billing-group .commerce-actions .button{min-height:38px;padding:.4rem .65rem;white-space:nowrap}
@media(max-width:980px){.commerce-billing-group .commerce-document{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-billing-group .commerce-document .commerce-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:600px){.commerce-record-filter{display:grid;justify-content:stretch}.commerce-record-filter select{width:100%;min-width:0}.commerce-billing-group{padding:.75rem}.commerce-billing-group__heading{grid-template-columns:1fr}.commerce-billing-group .commerce-document{grid-template-columns:1fr}.commerce-billing-group .commerce-document .commerce-actions{grid-column:auto;display:grid;grid-template-columns:1fr}.commerce-billing-group .commerce-actions .button{width:100%}}

/* 0076 — PEC no padrão visual das páginas empresariais concluídas. */
[data-commerce-content]:has(.commerce-pec-builder)>.commerce-heading{order:1;padding:1rem 1.15rem;border-color:#8fc7a5;box-shadow:0 10px 28px rgba(16,42,67,.06)}[data-commerce-content]:has(.commerce-pec-builder)>.commerce-heading h2{font-size:1.65rem}[data-commerce-content]:has(.commerce-pec-builder)>.commerce-pec-exit{order:2;margin:0;justify-content:flex-end}[data-commerce-content]:has(.commerce-pec-builder)>.commerce-pec-builder{order:3}[data-commerce-content]:has(.commerce-pec-builder)>.commerce-pec-campaign-strip{order:4}[data-commerce-content]:has(.commerce-pec-builder)>.commerce-pec-detail{order:5}
.commerce-section-kicker{display:block;color:#176b46;font-size:.68rem;font-weight:850;letter-spacing:.1em}.commerce-pec-builder{max-height:none;overflow:visible;padding:1rem;border-color:#79bb94;box-shadow:0 8px 22px rgba(16,42,67,.05)}.commerce-pec-builder>h3{font-size:1.25rem}.commerce-pec-builder>p{margin:.25rem 0 .8rem}.commerce-pec-form{display:grid;grid-template-columns:minmax(0,1fr);gap:.7rem}.commerce-pec-step{margin:0;padding:1rem;border:1px solid #cfe2d4;border-radius:10px;background:#fbfdfb}.commerce-pec-step legend{margin:0 0 .85rem;padding:0 .25rem 0 0;font-size:1rem}.commerce-pec-step__number{box-shadow:0 0 0 4px #e7f5eb}.commerce-pec-step label{max-width:none}.commerce-pec-step input,.commerce-pec-step select,.commerce-pec-step textarea{min-height:44px;background:#fff}.commerce-pec-progress{justify-self:start;margin:0;padding:.4rem .7rem;border:1px solid #8fc7a5;border-radius:999px;background:#eef8f1;color:#176b46}.commerce-pec-navigation{justify-content:flex-end;margin:0;padding-top:.75rem;border-top:1px solid #dce9e3}.commerce-pec-navigation .button{min-width:8rem}.commerce-pec-navigation .button--navy{min-width:13rem}.commerce-pec-lot-status{border-radius:0 8px 8px 0}.commerce-pec-lot-inventory{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.commerce-pec-lot-row{padding:.75rem;border-radius:9px;background:#fff}.commerce-pec-validity,.commerce-pec-activation,.commerce-pec-forecast>div{background:#f3faf5}.commerce-pec-forecast strong{color:#176b46}.commerce-campaign-location{padding:.8rem;border:1px solid #cfe2d4;border-radius:10px;background:#f7fbf8}.commerce-campaign-map{height:clamp(260px,42vw,430px)}
.commerce-pec-campaign-strip{min-height:130px;padding:3.4rem 1rem 1rem;border:1px solid #b9ddc5;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(16,42,67,.05)}.commerce-pec-campaign-strip>h3{top:1rem;left:1rem;color:#102a43}.commerce-pec-campaign-strip>.commerce-pec-lot-row{padding:.8rem;border-color:#cfe2d4}.commerce-pec-detail{padding:1rem;border:1px solid #b9ddc5;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(16,42,67,.05)}.commerce-pec-detail .commerce-table-scroll{box-shadow:none}.commerce-pec-detail .commerce-lot-table th{background:#eef7f1;color:#31536d}
@media(max-width:640px){.commerce-pec-builder{padding:.75rem;max-height:none}.commerce-pec-step{padding:.75rem}.commerce-pec-navigation{display:grid;grid-template-columns:1fr}.commerce-pec-navigation .button{width:100%;min-width:0}.commerce-pec-lot-inventory{grid-template-columns:1fr}.commerce-pec-campaign-strip{padding-inline:.75rem}.commerce-pec-detail{padding:.75rem}}
.commerce-pec-campaign-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-top:.45rem}.commerce-pec-campaign-actions small{color:#31536d;font-weight:750}.commerce-pec-campaign-actions .button{white-space:nowrap}
@media(max-width:600px){.commerce-pec-navigation,.commerce-pec-campaign-actions{display:grid!important;grid-template-columns:1fr!important;gap:.5rem}.commerce-pec-navigation .button,.commerce-pec-campaign-actions .button{width:100%!important;min-width:0;white-space:normal}}

/* 0076 — apresentação aprovada de Os meus lotes; sem alterações de regras ou dados. */
.company-lots__toolbar{align-items:center;padding:1rem 1.15rem;border-color:#8fc7a5;box-shadow:0 10px 28px rgba(16,42,67,.06)}
.company-lots__toolbar>div{min-width:13rem}.company-lots__toolbar h2{font-size:1.65rem;color:#102a43}.company-lots__toolbar form{flex:1;justify-content:flex-end}.company-lots__toolbar select{min-width:12rem;min-height:42px}.company-lots__toolbar .button{min-height:42px}
.company-lots__layout{grid-template-columns:minmax(280px,.68fr) minmax(560px,1.52fr);align-items:stretch}.company-lots__list{padding:0;align-self:start}.company-lots__list-heading{display:flex;align-items:center;gap:.75rem;padding:.9rem 1rem;border-bottom:1px solid #cfe2d4}.company-lots__list-heading>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid #2aa35d;border-radius:10px;color:#176b46;font-size:1.4rem}.company-lots__list-heading h3,.company-lots__list-heading p{margin:0}.company-lots__list-heading p{color:#607569;font-size:.76rem}
.company-lot-list{display:grid}.company-lot-row{box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:.7rem;width:100%;min-height:68px;padding:.7rem .85rem;border:0;border-bottom:1px solid #dce9e3;background:#fff;color:#102a43;text-align:left;cursor:pointer}.company-lot-row:hover,.company-lot-row:focus-visible,.company-lot-row[aria-current=true]{position:relative;z-index:1;background:#effaf4;outline:2px solid #20a866;outline-offset:-2px}.company-lot-row__icon,.company-lot-detail__icon{display:grid;place-items:center;color:#176b46;font-size:1.35rem}.company-lot-row__copy{display:grid;gap:.12rem;min-width:0}.company-lot-row__copy strong,.company-lot-row__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-lot-row__copy small{color:#52695c}.company-lot-row__activate{min-height:34px;padding:.35rem .65rem;white-space:nowrap}.company-lot-row__activate:disabled{cursor:not-allowed;opacity:.55}.company-lot-row__message{grid-column:2/-1;color:#dcecf7;font-size:.72rem;font-weight:700}.company-lot-row__arrow{font-size:1.6rem}.lot-state{gap:.4rem;align-items:center}.lot-state__dot{width:.55rem;height:.55rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px #fff}
.company-lot-detail{gap:.8rem;padding:.9rem}.company-lot-detail__heading{align-items:center;padding-bottom:.7rem;border-bottom:1px solid #dce9e3}.company-lot-detail__identity{display:flex;align-items:center;gap:.7rem}.company-lot-detail__icon{width:50px;height:50px;border:1px solid #2aa35d;border-radius:10px}.company-lot-detail__grid{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(330px,1.18fr);gap:.75rem}.company-lot-resources,.company-lot-area{display:grid;align-content:start;gap:.7rem;padding:.75rem;border:1px solid #b9ddc5;border-radius:10px;background:#fbfdfb}.company-lot-resources h4,.company-lot-area h4{margin:0;color:#102a43}.company-lot-resources__body{display:grid;border:1px solid #cfe2d4;border-radius:9px;overflow:hidden}.company-lot-resource{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;padding:.8rem;border-bottom:1px solid #dce9e3}.company-lot-resource:last-child{border-bottom:0}.company-lot-resource__icon{color:#176b46;font-size:1.35rem}.company-lot-resource>span:last-child{display:grid;gap:.15rem}.company-lot-resource>span:last-child>span{color:#52695c;font-size:.78rem}.company-lot-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.company-lot-action{display:grid;gap:.15rem;min-height:68px;padding:.65rem;border:2px solid #176b46;border-radius:9px;background:#fff;color:#102a43;text-align:left;cursor:pointer}.company-lot-action:hover,.company-lot-action:focus-visible{background:#eaf7ed}.company-lot-action strong{color:#176b46}.company-lot-action span{font-size:.72rem}
.company-lot-map{height:310px}.company-lot-area__controls{display:grid;grid-template-columns:auto minmax(120px,1fr) auto auto;align-items:center;gap:.55rem}.company-lot-area__controls label{font-size:.76rem;font-weight:800}.company-lot-area__controls input{width:100%;accent-color:#176b46}.company-lot-radius{min-width:4.4rem;color:#176b46;font-weight:800}.company-lot-area__button{white-space:nowrap}.company-lot-area__note{margin:0;padding:.7rem;border:1px solid #b9ddc5;border-radius:8px;background:#eef8f1;color:#31536d;font-size:.76rem}.company-lot-activation{margin-top:.1rem}.company-lot-unavailable{margin:0}
.company-lot-audit{padding:.65rem;border:1px solid #cfe2d4;border-radius:8px;background:#f7fbf8}.company-lot-audit summary{cursor:pointer;color:#31536d;font-weight:800}.company-lot-audit p{margin:.5rem 0 0;color:#52695c;font-size:.73rem;line-height:1.45}
@media(max-width:1180px){.company-lots__layout{grid-template-columns:minmax(260px,.7fr) minmax(460px,1.3fr)}.company-lot-detail__grid{grid-template-columns:1fr}.company-lot-map{height:280px}}
@media(max-width:850px){.company-lots__toolbar{align-items:stretch;flex-direction:column}.company-lots__toolbar form{justify-content:flex-start}.company-lots__layout{grid-template-columns:1fr}.company-lot-detail{order:2}.company-lots__list{order:1}.company-lot-detail__grid{grid-template-columns:1fr}}
@media(max-width:600px){.company-lots__toolbar form{display:grid;grid-template-columns:1fr}.company-lots__toolbar select{width:100%;max-width:none}.company-lot-row{grid-template-columns:auto minmax(0,1fr) auto}.company-lot-row .lot-state{grid-column:2}.company-lot-row__activate{grid-column:2;justify-self:start;white-space:normal}.company-lot-row__message{grid-column:2/-1}.company-lot-row__arrow{grid-column:3;grid-row:1/4}.company-lot-actions{grid-template-columns:1fr}.company-lot-area__controls{grid-template-columns:1fr auto}.company-lot-area__controls label{grid-column:1/-1}.company-lot-area__controls input{grid-column:1}.company-lot-area__button{grid-column:1/-1}.company-lot-map{height:240px}}
/* Candidate: the archive's compact catalogue table, recreated for this portal. */
.commerce-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #cfe2d4;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(16,42,51,.06)}
.commerce-lot-table{width:100%;min-width:870px;border-collapse:collapse}
.commerce-catalog-table{table-layout:fixed;min-width:980px}
.commerce-catalog-table th:nth-child(1){width:22%}.commerce-catalog-table th:nth-child(2){width:12%}.commerce-catalog-table th:nth-child(3){width:11%}.commerce-catalog-table th:nth-child(4){width:9%}.commerce-catalog-table th:nth-child(5){width:10%}.commerce-catalog-table th:nth-child(6){width:14%}.commerce-catalog-table th:nth-child(7){width:22%}
.commerce-lot-table th,.commerce-lot-table td{padding:.7rem .75rem;text-align:left;border-bottom:1px solid #e2ebe6;vertical-align:middle;overflow-wrap:anywhere}
.commerce-lot-table th{background:#eef5ef;color:#355047;font-size:.76rem;line-height:1.25;text-transform:uppercase;position:sticky;top:0;z-index:1}
.commerce-lot-table th small{display:block;font-size:.66rem;font-weight:600;text-transform:none;letter-spacing:0;margin-top:.18rem;color:#526b5b}
.commerce-lot-table td{font-size:.86rem;color:#18332d}
.commerce-lot-table tbody tr:hover{background:#f8fbfd}
.commerce-lot-table td strong{color:#102a43}
.commerce-catalog-table td:first-child small{display:block;margin-top:.2rem;color:#52695c;font-size:.75rem}
.commerce-cart-table{min-width:1160px}
.commerce-cart-table th:first-child,.commerce-cart-table td:first-child{text-align:center;width:70px}
.commerce-cart-table td:nth-child(2){min-width:210px}
.commerce-cart-table td:nth-child(2) small,.commerce-cart-table td:nth-child(9) small,.commerce-cart-table td:nth-child(10) small{display:block;margin-top:.2rem;color:#52695c;font-size:.75rem}
.commerce-cart-table td:nth-child(2) select{display:block;width:100%;min-height:40px;margin-top:.4rem}
.commerce-cart-table td:nth-child(4) input{width:74px;min-height:40px}
.commerce-cart-table td:first-child input{width:20px;height:20px;margin:0;accent-color:#176b46}
.commerce-cart-table td:last-child .button{min-height:40px}
.commerce-cart-actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.commerce-cart-actions .button{width:auto!important;flex:1 1 78px;padding:.4rem .55rem}
.commerce-cart-row:has(input[type="checkbox"]){grid-template-columns:32px minmax(150px,1.4fr) minmax(120px,.9fr) 76px minmax(130px,1fr) minmax(100px,.7fr) auto}
.commerce-cart-row input[type="checkbox"]{width:20px;height:20px;margin:0;justify-self:center;accent-color:#176b46}
@media(max-width:950px){.commerce-cart-row:has(input[type="checkbox"]){grid-template-columns:32px repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.commerce-cart-row:has(input[type="checkbox"]){grid-template-columns:32px minmax(0,1fr)}.commerce-cart-row:has(input[type="checkbox"])>*:not(:first-child):not(:nth-child(2)){grid-column:2}}
.commerce-lot-table details{margin-top:.35rem;font-size:.8rem;color:#365c4a}
.commerce-lot-table summary{cursor:pointer;font-weight:700}
.commerce-lot-table td:last-child .button{display:block;width:100%;min-height:40px;padding:.4rem .55rem;white-space:normal}
.commerce-payment-table{min-width:1330px;table-layout:fixed}
.commerce-payment-table th:nth-child(1){width:20%}
.commerce-payment-table th:nth-child(2){width:10%}
.commerce-payment-table th:nth-child(3){width:10%}
.commerce-payment-table th:nth-child(4){width:12%}
.commerce-payment-table th:nth-child(5){width:18%}
.commerce-payment-table th:nth-child(6){width:13%}
.commerce-payment-table th:nth-child(7){width:9%}
.commerce-payment-table th:nth-child(8){width:8%}
.commerce-payment-table td{overflow-wrap:normal;word-break:normal;vertical-align:top;line-height:1.4}
.commerce-payment-table td:first-child button,.commerce-payment-table td:nth-child(6) button{margin-top:.4rem}
.commerce-payment-history{min-width:0}
.commerce-active-lots-by-payment{display:grid;gap:.75rem}.commerce-active-payment{display:grid;gap:.55rem;padding:.75rem;border:1px solid #cfe2d4;border-radius:10px;background:#fff}.commerce-active-payment__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.commerce-active-payment__heading h4,.commerce-active-payment p{margin:0}.commerce-active-payment__heading span{padding:.25rem .5rem;border-radius:999px;background:#edf7f0;color:#176b46;font-size:.7rem;font-weight:800}.commerce-active-payment__empty{padding:.65rem;border-left:3px solid #c49100;background:#fff9e8;color:#685000}
.commerce-receipt{display:grid;gap:.8rem;min-width:0;color:#102a43}
.commerce-receipt h3,.commerce-receipt p{margin:0}
.commerce-receipt h3{color:#176b46}
.commerce-receipt__fiscal,.commerce-receipt__totals{display:grid;gap:.35rem;margin:0}
.commerce-receipt__fiscal>div,.commerce-receipt__totals>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #dce8df;padding:.3rem 0}
.commerce-receipt dt{font-weight:700}.commerce-receipt dd{margin:0;text-align:right;overflow-wrap:anywhere}
.commerce-receipt__lines{width:100%;border-collapse:collapse}
.commerce-receipt__lines th,.commerce-receipt__lines td{text-align:left;padding:.45rem;border-bottom:1px solid #dce8df}
.commerce-receipt__feedback{color:#9b3127}
@media(max-width:640px){.commerce-receipt__lines{display:block;overflow-x:auto;white-space:nowrap}.commerce-receipt__fiscal>div,.commerce-receipt__totals>div{align-items:start}}
.commerce-catalog-table td:last-child .commerce-catalog-add{background:#fff;color:#102a43;border:1px solid #bdd3c5;border-radius:8px;font-size:.76rem;font-weight:800;white-space:nowrap;min-height:38px}
.commerce-catalog-table td:last-child .commerce-catalog-add:hover,.commerce-catalog-table td:last-child .commerce-catalog-add:focus-visible{background:#edf8ef;border-color:#176b46}
.commerce-campaign-panel,.commerce-campaign-select{background:#fff;border:1px solid #cfe2d4;border-radius:10px;padding:1rem;min-width:0}
.commerce-campaign-select{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.commerce-campaign-panel h3{margin:0;color:#102a43}
.commerce-campaign-panel p{color:#52695c}
.commerce-campaign-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;align-items:start}
.commerce-campaign-form label{display:grid;gap:.25rem;color:#102a43;font-weight:700;font-size:.85rem}
.commerce-campaign-form input,.commerce-campaign-form select,.commerce-campaign-form textarea{width:100%;min-width:0;padding:.55rem;border:1px solid #b8d2c2;border-radius:6px;font:inherit}
.commerce-campaign-location,.commerce-campaign-form label:has(textarea){grid-column:1/-1}
.commerce-campaign-map{height:300px;max-width:100%;margin-top:.55rem;border-radius:8px;overflow:hidden}
.commerce-area-radius{display:grid;gap:.45rem;margin:.75rem 0;padding:.75rem;border:1px solid #cfe2d4;border-radius:8px;background:#f8fcf9}.commerce-area-radius__controls{display:grid;grid-template-columns:auto minmax(8rem,1fr) auto minmax(6rem,auto);gap:.55rem;align-items:center}.commerce-area-radius__controls .button{min-width:44px;min-height:44px;padding:.45rem;font-size:1.2rem}.commerce-area-radius__controls input[type=range]{width:100%;min-height:44px}.commerce-area-radius__value{font-weight:800;text-align:right;color:#102a43;white-space:nowrap}
.commerce-cell-options{display:none!important}
.commerce-campaign-warning{border-left:4px solid #bc8125;padding:.65rem;background:#fff8e8}
.commerce-campaign-form .button{justify-self:start}
.commerce-pec-form{display:block}.commerce-pec-step{min-width:0;border:0;padding:0;margin:1rem 0}.commerce-pec-step legend{display:flex;align-items:center;gap:.55rem;font-weight:800;color:#102a43;margin-bottom:.75rem}.commerce-pec-step__number{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#176b46;color:#fff}.commerce-pec-step label{max-width:720px}.commerce-pec-step small{display:block;margin-top:.55rem;color:#52695c;line-height:1.45}.commerce-pec-progress{font-weight:700}.commerce-pec-navigation{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:1rem}.commerce-pec-navigation .button{justify-self:auto}.commerce-pec-builder{overflow:auto;max-height:min(72vh,760px)}
@media(max-width:640px){.commerce-campaign-form{grid-template-columns:1fr}.commerce-campaign-map{height:240px}.commerce-pec-builder{max-height:72vh;padding:.8rem}.commerce-pec-navigation .button{flex:1 1 8rem}.commerce-area-radius__controls{grid-template-columns:auto minmax(6rem,1fr) auto}.commerce-area-radius__value{grid-column:1/-1;text-align:center}}
.commerce-pec-navigation .button[hidden]{display:none!important}
.commerce-pec-lot-status{display:block;margin:.65rem 0;padding:.6rem;border-left:3px solid #176b46;background:#f3faf5;color:#31536d}.commerce-pec-lot-inventory{display:grid;gap:.45rem;margin-top:.7rem}.commerce-pec-lot-row{display:grid;gap:.15rem;padding:.55rem;border:1px solid #d7e6dc;border-radius:7px;background:#fff}.commerce-pec-lot-row span,.commerce-pec-lot-row small{font-size:.75rem;color:#52695c}
.commerce-pec-validity{display:grid;gap:.25rem;margin:.65rem 0;padding:.7rem;border:1px solid #cfe2d4;border-radius:7px;background:#f8fcf9}.commerce-pec-validity p,.commerce-pec-validity small{margin:0}.commerce-pec-validity small{color:#52695c}
.commerce-pec-forecast{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:.8rem 0}.commerce-pec-forecast>div{padding:.65rem;border:1px solid #cfe2d4;border-radius:7px;background:#f8fcf9}.commerce-pec-forecast dt{font-size:.72rem;color:#52695c}.commerce-pec-forecast dd{margin:.25rem 0 0}.commerce-pec-forecast strong{font-size:1.15rem;color:#102a43}.commerce-pec-prediction-status{display:block;padding:.6rem;border-left:3px solid #bc8125;background:#fff8e8;color:#5f4b1d}
@media(max-width:640px){.commerce-pec-forecast{grid-template-columns:1fr}}
.commerce-cart-overview{display:grid;gap:.5rem;background:#fff;border:1px solid #cfe2d4;border-radius:10px;padding:1rem}
.commerce-cart-overview>span{font-size:.72rem;font-weight:800;letter-spacing:.08em;color:#176b46}
.commerce-cart-overview h3,.commerce-cart-overview p{margin:0}
.commerce-cart-overview>.button{justify-self:start}
.commerce-cart-overview p span{color:#63766c}
.commerce-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:.75rem;min-width:0}
.commerce-payment-card{display:grid;align-content:start;gap:.55rem;min-width:0;padding:.85rem;border:1px solid #cfe2d4;border-radius:8px;background:#fff}
.commerce-payment-card--test{border-color:#d59a2a;background:#fff9eb}
.commerce-payment-card--selected{border:2px solid #176b46;box-shadow:0 0 0 2px #d9eddf}
.commerce-payment-card h4,.commerce-payment-card p,.commerce-payment-card dl{margin:0}
.commerce-payment-card h4 label{display:flex;align-items:center;gap:.45rem;cursor:pointer}.commerce-payment-card h4 input{width:1.15rem;height:1.15rem;flex:none;accent-color:#176b46}.commerce-payment-card h4 input:disabled{cursor:not-allowed}
.commerce-payment-card h4{color:#102a43}.commerce-payment-card p,.commerce-payment-card dd{overflow-wrap:anywhere}
.commerce-payment-state{color:#8b5d00}.commerce-payment-card--test .commerce-payment-state{color:#176b46}
.commerce-payment-card dl{display:grid;gap:.35rem}.commerce-payment-card dl>div{display:grid;gap:.1rem}.commerce-payment-card dt{font-weight:700}.commerce-payment-card dd{margin:0;color:#5b6c62}
.commerce-payment-reason{border-top:1px solid #dbe8de;padding-top:.45rem;font-size:.9rem}
.commerce-page-section{display:grid;gap:.75rem;background:#fff;border:1px solid #cfe2d4;border-radius:10px;padding:1rem;min-width:0}
.commerce-page-section h3,.commerce-page-section p{margin:0}
.commerce-page-section h3{color:#102a43}
.commerce-purchase-indicators{display:grid;gap:.7rem;min-width:0}
.commerce-purchase-indicator-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;min-width:0}
.commerce-purchase-indicator-group h4{grid-column:1/-1;margin:0;color:#102a43}
.commerce-purchase-indicator{display:grid;align-content:center;gap:.3rem;min-width:0;padding:.8rem;border:1px solid #cfe2d4;border-radius:8px;background:#f7fbf8}
.commerce-purchase-indicator span{color:#415a4b}.commerce-purchase-indicator strong{font-size:1.35rem;color:#102a43;overflow-wrap:anywhere}
.commerce-purchase-indicators small{color:#566b5f}
@media(max-width:640px){.commerce-purchase-indicator-group{grid-template-columns:1fr}.commerce-purchase-indicator-group h4{grid-column:1}}
.commerce-billing-card{display:grid;gap:.7rem;padding:1rem;border:1px solid #cfe2d4;border-radius:10px;background:#f8fbf9;min-width:0}
.commerce-billing-card h4{margin:0;color:#102a43;font-size:1.1rem}
.commerce-billing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;min-width:0}
.commerce-billing-field{display:grid;align-content:center;gap:.3rem;padding:.75rem;background:#fff;border:1px solid #dbe8de;border-radius:8px;min-width:0}
.commerce-billing-field span{color:#486456}.commerce-billing-field strong{color:#102a43;overflow-wrap:anywhere}
.commerce-billing-card p,.commerce-billing-card small{margin:0;color:#486456}
@media(max-width:900px){.commerce-billing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.commerce-billing-grid{grid-template-columns:1fr}}
.commerce-dialog{position:fixed;inset:0;z-index:10000;background:rgba(10,29,42,.66);display:grid;place-items:center;padding:1rem}
.commerce-dialog__panel{display:grid;gap:.85rem;background:#fff;border-radius:12px;padding:1rem;max-width:min(680px,100%);max-height:calc(100dvh - 2rem);overflow-y:auto;box-shadow:0 15px 40px rgba(0,0,0,.25)}
.commerce-dialog__heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.commerce-dialog__heading h2{margin:0;color:#102a43;font-size:1.3rem}
.commerce-dialog__heading .button{flex:none}
@media(max-width:600px){.commerce-dialog{padding:0}.commerce-dialog__panel{width:100%;max-width:100%;max-height:100dvh;border-radius:0;padding:1rem}.commerce-dialog__heading{align-items:flex-start}}
.commerce-pec-campaign-strip{position:relative;display:flex;gap:12px;overflow-x:auto;padding:52px 2px 14px;scroll-snap-type:x proximity}.commerce-pec-campaign-strip>h3{position:absolute;top:4px;left:2px;margin:0}.commerce-pec-campaign-strip>.commerce-pec-lot-row{flex:0 0 min(420px,88vw);scroll-snap-align:start}.commerce-pec-exit{justify-content:flex-end;margin-bottom:12px}
.commerce-pec-detail{display:grid;gap:.8rem}.commerce-pec-detail h3{margin:0}.commerce-pec-detail-table{min-width:1560px}.commerce-pec-detail-table td:nth-child(10){font-weight:700}.commerce-pec-detail .commerce-actions{justify-content:flex-end;align-items:center}.commerce-field-note{margin:0;color:#52695c;font-size:.82rem}
.commerce-pec-visual{display:block;width:64px;height:64px;object-fit:cover;border-radius:.65rem;border:1px solid #c9d8ce;background:#f5faf7}.commerce-pec-detail-table td:nth-child(3) small{display:block;margin-top:.25rem;color:#52695c}
@media(max-width:600px){.commerce-pec-detail .commerce-actions{grid-template-columns:1fr;text-align:center}.commerce-pec-detail .commerce-actions .button{width:100%}}
.pec-piece-card td{display:grid;grid-template-columns:72px minmax(0,1fr);gap:.8rem;align-items:center;width:100%;box-sizing:border-box;padding:.8rem;background:#f5faf7}.pec-piece-card td:not(:has(>img)){grid-template-columns:minmax(0,1fr)}.pec-piece-card td:not(:has(>img))>div{grid-column:1}.pec-piece-card img{width:72px;height:72px;object-fit:cover;border-radius:.7rem;border:1px solid #c9d8ce}.pec-piece-card div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.2rem .8rem;min-width:0}.pec-piece-card div span,.pec-piece-card div small{grid-column:1/-1}.pec-piece-card b{color:#176b46;font-size:1.05rem}.pec-piece-card small{color:#52695c}@media(max-width:600px){.pec-piece-card td{grid-template-columns:56px minmax(0,1fr)}.pec-piece-card td:not(:has(>img)){grid-template-columns:minmax(0,1fr)}.pec-piece-card img{width:56px;height:56px}.pec-piece-card div{grid-template-columns:1fr}.pec-piece-card b{grid-row:2}.pec-piece-card div span,.pec-piece-card div small{grid-column:1}}
.pec-piece-actions{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.pec-piece-actions .button{padding:.45rem .65rem}.pec-piece-reservation{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .5rem;border:1px solid #d5b86a;border-radius:.5rem;background:#fff8e8}
.pec-piece-card .pec-card-shell{grid-template-columns:minmax(180px,36%) minmax(0,1fr);align-items:stretch;padding:12px;border:1px solid #cbd6dc;border-radius:18px;background:linear-gradient(145deg,#fff 0%,#fbfcfc 100%);box-shadow:0 10px 28px #17364a12}.pec-piece-card .pec-card-shell>img{width:100%;height:100%;min-height:300px;object-fit:cover;border-radius:14px;border:1px solid #cbd6dc}.pec-piece-card .pec-card-content{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}.pec-card-badge{align-self:flex-start!important;grid-column:auto!important;padding:5px 10px;border-radius:999px;background:#e2f4eb;color:#08744c;font-size:.78rem;font-weight:800}.pec-card-merchant{grid-column:auto!important;color:#243e51;font-weight:750}.pec-card-prize{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.05;color:#071f3b}.pec-card-count{font-size:clamp(2rem,5vw,3.4rem)!important;line-height:1;color:#087b56!important}.pec-card-progress{display:grid!important;grid-template-columns:repeat(20,minmax(3px,1fr));gap:3px;grid-column:auto!important}.pec-card-progress i{height:11px;border-radius:3px;background:#dfe5e8}.pec-card-progress i.is-filled{background:linear-gradient(90deg,#079160,#08744c)}.pec-card-availability{grid-column:auto!important;color:#546676}.pec-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:8px 0;border-top:1px solid #dce3e7}.pec-card-meta div{display:block!important;padding:9px 10px;border-bottom:1px solid #e2e7ea}.pec-card-meta dt{color:#687988;font-size:.78rem}.pec-card-meta dd{margin:2px 0 0;color:#102b3e;font-weight:750;overflow-wrap:anywhere}.pec-card-history{grid-column:auto!important}.pec-card-content>.pec-piece-actions{grid-column:auto!important;margin-top:auto}.pec-card-content>.pec-piece-actions>.button{min-height:42px}.pec-card-content>.pec-piece-actions>.button:last-of-type{background:#087b56;color:#fff}.pec-card-content>span:not(.pec-card-badge):not(.pec-card-merchant):not(.pec-card-progress):not(.pec-card-availability):not(.pec-piece-actions){color:#60717f}
.company-report__scroll:has(.pec-piece-card,.pec-prize-right){overflow:visible}.company-report__scroll:has(.pec-piece-card,.pec-prize-right)>table{display:block;width:100%;min-width:0}.company-report__scroll:has(.pec-piece-card,.pec-prize-right)>table>thead{display:none}.company-report__scroll:has(.pec-piece-card,.pec-prize-right)>table>tbody{display:grid;width:100%;gap:14px}.company-report__scroll:has(.pec-piece-card,.pec-prize-right) .pec-piece-card{display:block;width:100%}.company-report__scroll:has(.pec-piece-card,.pec-prize-right) .pec-card-shell{width:100%;max-width:none}
.pec-card-brand{display:grid!important;place-items:center;min-height:300px;padding:18px;border:1px solid #d6dfe4;border-radius:14px;background:linear-gradient(145deg,#f8fafb,#eef3f5);overflow:hidden}.pec-card-brand img{width:100%!important;height:100%!important;max-height:300px!important;min-height:0!important;object-fit:contain!important;border:0!important;border-radius:0!important}.pec-card-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.7rem,4vw,3rem);line-height:1.08;text-align:center;color:#0b2941;overflow-wrap:anywhere}.pec-card-collection{display:flex!important;align-items:center;gap:10px}.pec-card-collection .pec-card-badge{order:2}.pec-card-collection .pec-card-merchant{order:3}.pec-card-identity{order:1;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px;margin:0;max-width:210px}.pec-card-identity img{width:44px!important;height:44px!important;min-height:0!important;object-fit:cover!important;border-radius:10px!important}.pec-card-identity figcaption{font-size:.72rem;color:#536775;line-height:1.15}.pec-card-description{grid-column:auto!important;color:#60717f}.pec-card-primary-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}.pec-card-primary-actions .button{width:100%;min-height:46px;margin:0;border-color:#087b56;color:#087b56;background:#fff;font-weight:800}.pec-card-primary-actions .pec-card-select{background:#087b56;color:#fff}.pec-piece-actions[hidden],.pec-card-history[hidden],.pec-card-content>small[hidden]{display:none!important}
@media(max-width:600px){.pec-piece-card .pec-card-shell{grid-template-columns:1fr;padding:8px}.pec-card-brand{min-height:150px}.pec-card-brand img{max-height:150px!important}.pec-piece-card .pec-card-content{padding:10px 8px}.pec-card-collection{align-items:flex-start;flex-wrap:wrap}.pec-card-identity{max-width:100%}.pec-card-meta{grid-template-columns:1fr}.pec-card-prize{font-size:1.55rem}.pec-card-count{font-size:2.25rem!important}.pec-card-progress{gap:2px}.pec-card-progress i{height:9px}.pec-card-primary-actions{grid-template-columns:1fr}}
.pec-piece-card td:has(>.pec-card-shell){display:block!important;width:100%;padding:.8rem;background:#f5faf7}.pec-piece-card td:has(>.pec-card-shell)>.pec-card-shell{width:100%;box-sizing:border-box}
@container(max-width:430px){.pec-piece-card td:has(>.pec-card-shell){display:block!important;padding:.45rem}.pec-piece-card td:has(>.pec-card-shell)>.pec-card-shell{grid-template-columns:1fr!important}.pec-card-primary-actions{grid-template-columns:1fr}}
.floating-window[aria-label="Armazém do jogador"] .floating-window__content{min-width:0;overflow:auto}
.floating-window[aria-label="Armazém do jogador"] .account-home{box-sizing:border-box;max-width:100%;min-width:0}
.floating-window[aria-label="Armazém do jogador"] [data-close-window="playerInventory"]{display:inline-flex;position:sticky;bottom:0;margin-top:.75rem}
@media(max-width:390px){.floating-window[aria-label="Armazém do jogador"] .floating-window__content{padding:.65rem}.floating-window[aria-label="Armazém do jogador"] .company-report__scroll{max-width:100%;overflow-x:auto}}
.pec-prize-right{display:block;width:100%}.pec-prize-right td{display:block!important;width:100%;padding:.8rem;background:#f5faf7;box-sizing:border-box}.pec-right-card{display:grid;grid-template-columns:minmax(180px,36%) minmax(0,1fr);gap:14px;width:100%;padding:12px;border:1px solid #cbd6dc;border-radius:18px;background:linear-gradient(145deg,#fff,#fbfcfc);box-shadow:0 10px 28px #17364a12;box-sizing:border-box}.pec-right-card__brand{display:grid;place-items:center;min-height:280px;padding:18px;border:1px solid #d6dfe4;border-radius:14px;background:linear-gradient(145deg,#f8fafb,#eef3f5);overflow:hidden}.pec-right-card__brand img{display:block;width:100%;height:100%;max-height:280px;object-fit:contain}.pec-right-card__brand strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.7rem,4vw,3rem);line-height:1.08;text-align:center;color:#0b2941}.pec-right-card__content{display:flex;flex-direction:column;gap:10px;min-width:0;padding:10px 12px}.pec-right-card__heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pec-right-card__identity{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px;margin:0;max-width:220px}.pec-right-card__identity img{width:44px;height:44px;object-fit:cover;border-radius:10px;border:1px solid #c9d8ce}.pec-right-card__identity figcaption{font-size:.72rem;color:#536775;line-height:1.15}.pec-right-card__merchant{font-weight:750;color:#243e51}.pec-right-card__status{align-self:flex-start;padding:5px 10px;border-radius:999px;background:#edf1f3;color:#52616c;font-size:.78rem;font-weight:850}.pec-right-card__status.is-available{background:#dff4e8;color:#08744c}.pec-right-card h4{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.08;color:#071f3b}.pec-right-card__complete{color:#087b56;font-size:clamp(1.45rem,3vw,2rem)}.pec-right-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:4px 0 0;border-top:1px solid #dce3e7}.pec-right-card__meta div{padding:10px;border-bottom:1px solid #e2e7ea}.pec-right-card__meta dt{color:#687988;font-size:.78rem}.pec-right-card__meta dd{margin:3px 0 0;color:#102b3e;font-weight:750;overflow-wrap:anywhere}.pec-right-card__meta .is-deadline dd{font-size:1.15rem;color:#08744c}.pec-right-card__qr{width:100%;min-height:48px;margin-top:auto;font-weight:850}.pec-trophy-card{border-color:#d7bd75;background:linear-gradient(145deg,#fffef9,#fbf5e7);box-shadow:0 12px 30px #7054171c}.pec-trophy-card .pec-right-card__brand{border-color:#e2cf98;background:linear-gradient(145deg,#fffdf6,#f5ebce)}.pec-right-card__status.is-trophy{background:#fff0bf;color:#745410}.pec-trophy-card .pec-right-card__complete{color:#9a7014}.pec-trophy-card .pec-right-card__meta .is-deadline dd{color:#745410}
@media(max-width:600px){.pec-right-card{grid-template-columns:1fr;padding:8px}.pec-right-card__brand{min-height:150px}.pec-right-card__brand img{max-height:150px}.pec-right-card__content{padding:10px 8px}.pec-right-card__meta{grid-template-columns:1fr}.pec-right-card__heading{align-items:flex-start}.pec-right-card__identity{max-width:100%}}
.bingo-right-card{border-color:#c5d6e4;background:linear-gradient(145deg,#fff,#f5f9fc)}.bingo-right-card .pec-right-card__brand{border-color:#cad9e5;background:linear-gradient(145deg,#f9fcff,#eaf2f8)}.bingo-right-card__conditions{padding:10px 12px;border-left:4px solid #087b56;border-radius:8px;background:#eef8f3;color:#17364a}.bingo-right-card__conditions strong{display:block;margin-bottom:4px}.bingo-right-card__conditions p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.company-rating{display:inline-flex;align-items:center;max-width:100%;padding:.3rem .55rem;border:1px solid #e2c15c;border-radius:999px;background:#fff8db;color:#6f5100;font-size:.76rem;font-weight:850;line-height:1.2;overflow-wrap:anywhere}
.pec-donation-create{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.35rem;padding:.35rem .5rem;border:1px solid #b7d3c2;border-radius:.5rem;background:#fff}.pec-donation-create input{min-width:12rem}.pec-donation td{display:grid;grid-template-columns:64px minmax(0,1fr);gap:.35rem .7rem;width:100%;box-sizing:border-box;padding:.75rem;background:#f8fcf9}.pec-donation td:not(:has(>img)){grid-template-columns:minmax(0,1fr)}.pec-donation td>img{grid-row:1/6;width:64px;height:64px;object-fit:cover;border-radius:.65rem}.pec-donation td>span,.pec-donation td>strong,.pec-donation td>b{grid-column:2}.pec-donation td:not(:has(>img))>span,.pec-donation td:not(:has(>img))>strong,.pec-donation td:not(:has(>img))>b{grid-column:1}.pec-donation td>span{display:block}.pec-donation b{color:#176b46}.pec-donation .button{margin-left:.35rem;padding:.4rem .65rem}@media(max-width:600px){.pec-donation-create,.pec-donation-create input{width:100%}.pec-donation-create .button{width:100%}.pec-donation td{grid-template-columns:48px minmax(0,1fr)}.pec-donation td:not(:has(>img)){grid-template-columns:minmax(0,1fr)}.pec-donation td>img{width:48px;height:48px}}
.floating-window{container-type:inline-size}
.company-communications{display:grid;gap:16px;padding:20px;min-width:0}.communications-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px;border:1px solid #cfe2d4;border-radius:12px;background:#fff}.communications-heading h2,.communications-heading p{margin:.2rem 0}.communications-layout{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:14px}.communications-conversations,.communications-messages{display:grid;align-content:start;gap:8px}.communications-conversations button{padding:11px;border:1px solid #cfe2d4;border-radius:8px;background:#fff;text-align:left}.communications-conversations button[aria-current=page]{border-color:#16833d;background:#eaf6ec;font-weight:800}.communications-thread{display:grid;gap:14px}.communication-message{padding:14px;border:1px solid #d9e5df;border-radius:10px;background:#fff}.communication-message.is-unread{border-left:4px solid #16833d}.communication-message time{float:right;color:#61746a;font-size:.82rem}.communication-message p{white-space:pre-wrap;overflow-wrap:anywhere}.communications-thread form{display:grid;gap:10px;padding:14px;border:1px solid #cfe2d4;border-radius:10px;background:#fff}.communications-thread label{display:grid;gap:5px;font-weight:700}.communications-thread textarea,.communications-thread select,.communications-thread input{box-sizing:border-box;width:100%}.communications-badge{margin-left:auto;padding:2px 7px;border-radius:99px;background:#c92b35;color:#fff;font-size:.72rem}
@media(max-width:600px){.company-communications{padding:10px}.communications-heading{align-items:stretch;flex-direction:column}.communications-layout{grid-template-columns:1fr}.communications-conversations{grid-auto-flow:column;grid-auto-columns:minmax(140px,1fr);overflow-x:auto}.communication-message time{float:none;display:block}.communications-thread form .button{width:100%}}
@media(max-width:390px){.company-communications{padding:6px;gap:10px}.communications-heading,.communication-message,.communications-thread form{padding:12px}}
@media(max-width:320px){.company-communications{padding:4px}.communications-heading h2{font-size:1.35rem}}
@container(max-width:430px){
  .pec-right-card{grid-template-columns:1fr;padding:8px}
  .pec-right-card__brand{min-height:150px}
  .pec-right-card__brand img{max-height:150px}
  .pec-right-card__content{padding:10px 8px}
  .pec-right-card__meta{grid-template-columns:1fr}
  .pec-right-card__heading{align-items:flex-start}
  .pec-right-card__identity{max-width:100%}
  table:has(.pec-piece-card,.pec-donation,.pec-prize-right){display:block;width:100%;min-width:0;overflow:visible}
  table:has(.pec-piece-card,.pec-donation,.pec-prize-right)>thead{display:none}
  table:has(.pec-piece-card,.pec-donation,.pec-prize-right)>tbody{display:grid;width:100%;gap:.65rem}
  table:has(.pec-piece-card,.pec-donation,.pec-prize-right) tr{display:block;width:100%;min-width:0}
  table:has(.pec-piece-card,.pec-donation,.pec-prize-right) td{width:100%;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
  .pec-piece-card td,.pec-donation td{grid-template-columns:48px minmax(0,1fr);gap:.45rem .6rem;padding:.65rem}
  .pec-piece-card td:not(:has(>img)),.pec-donation td:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
  .pec-piece-card td:not(:has(>img))>div,.pec-donation td:not(:has(>img))>span,.pec-donation td:not(:has(>img))>strong,.pec-donation td:not(:has(>img))>b{grid-column:1}
  .pec-piece-card img,.pec-donation td>img{width:48px;height:48px}
  .pec-piece-card div{grid-template-columns:1fr;min-width:0}
  .pec-piece-card b{grid-row:auto}
  .pec-piece-card div span,.pec-piece-card div small{grid-column:1}
  .pec-piece-actions{display:grid;grid-template-columns:1fr;width:100%;min-width:0}
  .pec-piece-actions>.button,.pec-piece-actions>.pec-piece-reservation{width:100%;margin:0;box-sizing:border-box;justify-content:center}
  .pec-donation-create{display:grid;grid-template-columns:1fr;width:100%;min-width:0;box-sizing:border-box}
  .pec-donation-create input,.pec-donation-create .button{width:100%;min-width:0;margin:0;box-sizing:border-box}
  .pec-donation td>span{display:grid;grid-template-columns:1fr;gap:.4rem;min-width:0}
  .pec-donation .button{width:100%;min-height:44px;margin:0}
}
.pec-qr{display:grid;justify-items:center;gap:.75rem;margin-top:.75rem}.pec-qr img{width:min(320px,100%);height:auto;background:#fff;padding:.5rem;border-radius:.75rem}.pec-camera{display:block;width:100%;max-height:360px;min-height:220px;background:#111;border-radius:.75rem;object-fit:cover}.pec-stars{display:flex;gap:.35rem;margin:1rem 0}.pec-stars button{font-size:2.25rem;line-height:1;color:#f3a800;background:transparent;border:0;padding:.2rem}.pec-stars button:focus-visible{outline:3px solid currentColor}@media(max-width:600px){.pec-camera{min-height:180px}.pec-stars button{font-size:1.9rem}.pec-qr img{width:min(280px,100%)}}
.pec-negotiation{grid-column:1/-1;display:grid;gap:.7rem;margin-top:.45rem}.pec-negotiation-boxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.pec-negotiation-box{min-width:0;padding:.65rem;border:1px solid #cbdcd1;border-radius:.65rem;background:#fff}.pec-negotiation-box--own{border-color:#78af8d;background:#f2faf5}.pec-negotiation-box h4,.pec-negotiation-box p,.pec-negotiation-chat h4,.pec-negotiation-chat p{margin:0}.pec-negotiation-box p{margin-top:.35rem;overflow-wrap:anywhere}.pec-negotiation-chat{display:grid;gap:.4rem;padding:.65rem;border:1px solid #d9e4dc;border-radius:.65rem;background:#fff}.pec-negotiation-chat p{display:grid!important;grid-template-columns:1fr!important;gap:.15rem;padding:.4rem;border-radius:.4rem;background:#f6f8f7}.pec-negotiation-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem}.pec-negotiation-chat-form input{min-width:0;width:100%;box-sizing:border-box}.pec-negotiation-chat-form .button{margin:0}@container(max-width:430px){.pec-negotiation-boxes,.pec-negotiation-chat-form{grid-template-columns:1fr}.pec-negotiation-chat-form .button{width:100%;min-height:44px}}
.pec-negotiation-locked{display:block;margin:.55rem 0;padding:.55rem .7rem;border:1px solid #a26b00;border-radius:.55rem;background:#fff6d8;color:#5e3d00}
.pec-incomplete-trophy-card .pec-card-progress{margin:.15rem 0 .35rem}.pec-incomplete-trophy-card .pec-right-card__complete{font-size:clamp(2rem,5vw,3.25rem)}
.pec-deadline-alert{display:grid;gap:.2rem;padding:.65rem .75rem;border:1px solid #d69318;border-radius:.65rem;background:#fff8df;color:#604000}.pec-deadline-alert strong,.pec-deadline-alert span{display:block}.pec-deadline-alert.is-warning{animation:pec-deadline-pulse 2.4s ease-in-out infinite}.pec-deadline-alert.is-blocked{border-color:#b13c32;background:#fff0ee;color:#7b211b}@keyframes pec-deadline-pulse{0%,100%{box-shadow:0 0 0 0 #d6931800}50%{box-shadow:0 0 0 4px #d6931838}}@media(prefers-reduced-motion:reduce){.pec-deadline-alert.is-warning{animation:none}}
.company-commerce [data-commerce-content]:has(.commerce-bingo-workspace){display:grid;gap:1rem}.company-commerce [data-commerce-content]:has(.commerce-bingo-workspace)>h2{margin-bottom:0;color:#102a43}.commerce-section-kicker{font-size:.7rem;font-weight:850;letter-spacing:.1em;color:#176b46}.commerce-bingo-area-select{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem;padding:1rem;border:1px solid #cfe2d4;border-radius:10px;background:#fff}.commerce-bingo-area-select strong{color:#102a43}.commerce-bingo-area-select select{width:100%;max-width:48rem}.commerce-bingo-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}.commerce-bingo-area,.commerce-bingo-campaign-form{display:grid;gap:1rem;margin:0;padding:1rem;border:1px solid #cfe2d4;border-radius:10px;background:#fff;min-width:0}.commerce-bingo-area h3,.commerce-bingo-campaign-form h3{margin:0;color:#102a43}.commerce-bingo-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0}.commerce-bingo-facts div{padding:.7rem;border:1px solid #dbe5df;border-radius:.65rem;background:#f8fbf9}.commerce-bingo-facts dt{font-size:.78rem;color:#61746a}.commerce-bingo-facts dd{margin:.2rem 0 0;font-weight:750;overflow-wrap:anywhere}.commerce-bingo-radius{padding:.8rem;border:1px solid #dbe5df;border-radius:.65rem;background:#f8fbf9}.commerce-bingo-radius .commerce-area-radius__controls{grid-template-columns:auto minmax(10rem,1fr) auto minmax(6rem,auto)}.commerce-bingo-radius small{color:#486456}.commerce-bingo-campaign-form>p{margin:0;color:#52695c}.commerce-bingo-campaign-form label{display:grid;gap:.35rem;color:#314e3f;font-weight:700}.commerce-bingo-campaign-form input,.commerce-bingo-campaign-form select,.commerce-bingo-campaign-form textarea{width:100%;min-width:0;box-sizing:border-box}.commerce-bingo-prize-groups{display:grid;gap:.7rem}.commerce-bingo-prize-groups>fieldset{display:grid;gap:.55rem;margin:0;padding:.8rem;border:1px solid #dbe5df;border-radius:.65rem;background:#f8fbf9}.commerce-bingo-events{display:grid;gap:.75rem;margin-top:0;padding:1rem;border:1px solid #cfe2d4;border-radius:10px;background:#fff}.commerce-bingo-events h3{margin:0;color:#102a43}.commerce-bingo-campaigns{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-bingo-campaigns>.commerce-section-kicker,.commerce-bingo-campaigns>h3,.commerce-bingo-campaigns>p{grid-column:1/-1}.commerce-bingo-card{display:grid;align-content:start;gap:.75rem;min-width:0;padding:.9rem;border:1px solid #dbe5df;border-radius:9px;background:#f8fbf9}.commerce-bingo-card__heading{display:flex;justify-content:space-between;align-items:flex-start;gap:.65rem}.commerce-bingo-card__heading strong{color:#102a43;font-size:1.05rem}.commerce-bingo-card__heading span{padding:.25rem .5rem;border-radius:999px;background:#dff4e8;color:#08744c;font-size:.75rem;font-weight:800;text-align:right}.commerce-bingo-card__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0}.commerce-bingo-card__facts>div{min-width:0;padding:.55rem;border:1px solid #e0e9e3;border-radius:7px;background:#fff}.commerce-bingo-card__facts dt{color:#61746a;font-size:.72rem}.commerce-bingo-card__facts dd{margin:.2rem 0 0;color:#102a43;font-weight:750;overflow-wrap:anywhere}.commerce-bingo-card__prizes{display:grid;gap:.5rem}.commerce-bingo-prize{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.2rem .75rem;padding:.65rem;border-left:3px solid #176b46;border-radius:6px;background:#fff}.commerce-bingo-prize strong,.commerce-bingo-prize small{grid-column:1/-1}.commerce-bingo-prize span,.commerce-bingo-prize small{color:#52695c}.commerce-bingo-existing .commerce-document{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;align-items:center;padding:.7rem;border:1px solid #dbe5df;border-radius:8px;background:#f8fbf9}.commerce-bingo-existing .commerce-document strong{color:#102a43}
@media(max-width:900px){.commerce-bingo-workspace{grid-template-columns:1fr}.commerce-bingo-campaigns{grid-template-columns:1fr}.commerce-bingo-campaigns>.commerce-section-kicker,.commerce-bingo-campaigns>h3,.commerce-bingo-campaigns>p{grid-column:1}.commerce-bingo-existing .commerce-document{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.commerce-bingo-facts,.commerce-bingo-card__facts{grid-template-columns:1fr}.commerce-bingo-radius .commerce-area-radius__controls{grid-template-columns:auto minmax(0,1fr) auto}.commerce-bingo-radius .commerce-area-radius__value{grid-column:1/-1;text-align:center}.commerce-bingo-area>.button,.commerce-bingo-campaign-form>.button,.commerce-bingo-card>.button{width:100%}.commerce-bingo-card__heading{display:grid}.commerce-bingo-card__heading span{justify-self:start}.commerce-bingo-prize{grid-template-columns:1fr}.commerce-bingo-prize strong,.commerce-bingo-prize small{grid-column:1}.commerce-bingo-existing .commerce-document{grid-template-columns:1fr}}
@media(max-width:400px){.company-commerce,.company-lots,.company-lot-detail,.commerce-purchase-section,.commerce-billing-group,.commerce-pec-builder,.commerce-bingo-events,.commerce-bingo-area,.commerce-bingo-campaign-form{min-width:0}.company-lots__toolbar,.company-lot-detail,.commerce-purchase-section,.commerce-billing-group,.commerce-pec-builder,.commerce-bingo-events,.commerce-bingo-area,.commerce-bingo-campaign-form{padding:.65rem}.company-lots p,.company-lot-detail p,.commerce-billing-group p,.commerce-bingo-events p,.commerce-bingo-area p,.commerce-bingo-campaign-form p{overflow-wrap:anywhere}.commerce-table-scroll{width:100%;max-width:100%;overflow-x:auto}.commerce-top .button{width:100%;white-space:normal}.commerce-record-filter{padding:.65rem}.commerce-billing-group__heading{align-items:start}.commerce-pec-form label{grid-template-columns:1fr!important;align-items:start}.commerce-pec-form select,.commerce-pec-form input,.commerce-pec-form textarea{width:100%;max-width:100%;min-width:0}.commerce-pec-navigation,.commerce-pec-campaign-actions{grid-template-columns:1fr}.commerce-pec-navigation .button,.commerce-pec-campaign-actions .button{width:100%}.commerce-bingo-area-select select{max-width:100%;min-width:0}.commerce-bingo-workspace{gap:.65rem}.commerce-bingo-prize-groups>fieldset{padding:.6rem}}

/* Os meus lotes - composição exclusiva da referência aprovada. */
.company-stage--lots-reference{display:block;background:#020f20;color:#f4f8ff}
.company-stage--lots-reference>.company-sidebar,.company-stage--lots-reference .company-stage__header{display:none!important}
.company-stage--lots-reference .company-workspace{width:100%;height:100%;margin:0;background:#020f20;overflow:auto}
.company-stage--lots-reference .company-lots{box-sizing:border-box;display:grid;gap:10px;width:100%;max-width:none;padding:10px 14px 14px;background:#020f20}
.company-lots-reference-nav{box-sizing:border-box;display:grid;grid-template-columns:minmax(240px,1fr) auto minmax(80px,1fr);align-items:center;min-height:78px;padding:10px 28px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)}
.company-lots-reference-brand{display:grid;grid-template-columns:56px auto;grid-template-rows:auto auto;align-items:center;justify-self:start}.company-lots-reference-brand>span{grid-row:1/3;display:grid;place-items:center;width:50px;height:50px;border:3px solid #18eef5;border-radius:16px;color:#18eef5;font-size:1.65rem;box-shadow:0 0 12px #09dbe8}.company-lots-reference-brand strong{font-size:1.55rem;line-height:1;color:#f6fbff}.company-lots-reference-brand em{color:#13e7ee;font-style:normal}.company-lots-reference-brand small{justify-self:center;color:#13e7ee;font-weight:750}
.company-lots-reference-nav nav{display:flex;align-self:stretch;gap:26px}.company-lots-reference-nav nav button,.company-lots-reference-profile{border:0;background:transparent;color:#f4f8ff;font:inherit;cursor:pointer}.company-lots-reference-nav nav button{display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:3px solid transparent;font-size:1rem}.company-lots-reference-nav nav button[aria-current=page]{border-color:#13e7ee;color:#13e7ee;box-shadow:0 8px 10px -10px #13e7ee}.company-lots-reference-profile{justify-self:end;display:grid;place-items:center;width:46px;height:46px;border:1px solid #0787b1;border-radius:50%;color:#60f5f8;font-size:1.35rem}
.company-stage--lots-reference .company-lots__toolbar{display:grid;grid-template-columns:minmax(330px,1fr) minmax(660px,1.65fr);align-items:center;gap:24px;padding:18px 28px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);box-shadow:none}
.company-lots__title{display:flex;align-items:center;gap:18px}.company-lots__title>span{display:grid;place-items:center;width:62px;height:62px;border:1px solid #13e7ee;border-radius:10px;color:#13e7ee;font-size:2rem}.company-stage--lots-reference .company-lots__toolbar h2{font-size:2rem!important;line-height:1.05;color:#f6fbff!important}.company-stage--lots-reference .company-lots__toolbar p{margin-top:3px;color:#e2eff7!important;font-size:.94rem}
.company-stage--lots-reference .company-lots__toolbar form{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(180px,1fr) auto;align-items:end;justify-content:stretch;gap:10px}.company-stage--lots-reference .company-lots__toolbar label{color:#edf8ff;font-size:.82rem}.company-stage--lots-reference .company-lots__toolbar select{width:100%;max-width:none;min-height:42px;border-color:#0aaad0;background:#04243a;color:#f4f8ff}.company-stage--lots-reference .company-lots__toolbar .button{min-height:42px;border:1px solid #13e7ee;background:#04243a;color:#13e7ee;font-weight:850}
.company-stage--lots-reference .company-lots>.form-result{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.company-stage--lots-reference .company-lots__layout{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(680px,1.65fr);gap:10px;min-height:0;align-items:stretch}
.company-stage--lots-reference .company-lots__list,.company-stage--lots-reference .company-lot-detail{border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);box-shadow:none}
.company-stage--lots-reference .company-lots__list-heading{padding:10px 18px}.company-stage--lots-reference .company-lots__list-heading>span{width:54px;height:54px;font-size:1.75rem}.company-stage--lots-reference .company-lots__list-heading h3{font-size:1.18rem}.company-stage--lots-reference .company-lot-row{min-height:70px;padding:9px 18px;background:transparent}.company-stage--lots-reference .company-lot-row[aria-current=true]{background:#074064;outline-color:#13e7ee}.company-stage--lots-reference .company-lot-detail{padding:10px 16px}.company-stage--lots-reference .company-lot-detail__heading{padding-bottom:8px}.company-stage--lots-reference .company-lot-detail__identity h3{font-size:1.6rem}.company-stage--lots-reference .company-lot-detail__grid{grid-template-columns:minmax(320px,.92fr) minmax(420px,1.08fr);gap:10px}.company-stage--lots-reference .company-lot-resources,.company-stage--lots-reference .company-lot-area{padding:12px;border-color:#087fa6;background:#031b2f!important}.company-stage--lots-reference .company-lot-map{height:278px}.company-stage--lots-reference .company-lot-area__controls{grid-template-columns:minmax(150px,auto) minmax(120px,1fr) auto auto}.company-stage--lots-reference .company-lot-audit,.company-stage--lots-reference .company-lot-resources>.button,.company-stage--lots-reference .company-lot-activation,.company-stage--lots-reference .company-lot-unavailable{display:none!important}
@media(max-width:1100px){.company-lots-reference-nav{grid-template-columns:1fr auto}.company-lots-reference-nav nav{grid-column:1/-1;grid-row:2;justify-content:center}.company-lots-reference-profile{grid-column:2;grid-row:1}.company-stage--lots-reference .company-lots__toolbar{grid-template-columns:1fr}.company-stage--lots-reference .company-lots__layout{grid-template-columns:minmax(280px,.7fr) minmax(460px,1.3fr)}.company-stage--lots-reference .company-lot-detail__grid{grid-template-columns:1fr}}
@media(max-width:760px){.company-stage--lots-reference .company-lots{padding:6px}.company-lots-reference-nav{padding:10px 12px}.company-lots-reference-brand strong{font-size:1.1rem}.company-lots-reference-nav nav{gap:4px;overflow-x:auto;justify-content:flex-start}.company-lots-reference-nav nav button{padding:8px;font-size:.82rem}.company-stage--lots-reference .company-lots__toolbar{padding:12px}.company-stage--lots-reference .company-lots__toolbar form{grid-template-columns:1fr}.company-stage--lots-reference .company-lots__layout{grid-template-columns:1fr}.company-stage--lots-reference .company-lot-detail{order:2}.company-stage--lots-reference .company-lots__list{order:1}.company-stage--lots-reference .company-lot-area__controls{grid-template-columns:1fr auto}}
.company-stage--lots-reference .company-lot-map{filter:none;background:#031526}
.company-stage--lots-reference .company-lot-map .leaflet-tile-pane{filter:none}

/* Comprar lotes - composição exclusiva da referência aprovada. */
.company-stage.company-stage--purchase-reference{display:block!important;grid-template-columns:none!important;background:#020f20;color:#f4f8ff}
.company-stage--purchase-reference>.company-sidebar,.company-stage--purchase-reference .company-stage__header{display:none!important}
.company-stage--purchase-reference .company-workspace{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100%;margin-left:0!important;background:#020f20;overflow:auto}
.company-stage--purchase-reference .company-commerce{box-sizing:border-box;width:100%;max-width:none;padding:10px 14px 18px;background:#020f20}
.company-stage--purchase-reference .company-commerce [data-commerce-content]{display:grid;gap:10px}
.company-purchase-reference-nav{grid-row:auto}
.company-purchase-reference-nav .company-lots-reference-brand strong{letter-spacing:.01em}
.company-stage--purchase-reference .commerce-heading{display:flex;align-items:center;gap:18px;padding:18px 28px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;box-shadow:none!important}
.company-stage--purchase-reference .commerce-heading__icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border:1px solid #13e7ee;border-radius:10px;color:#13e7ee;font-size:1.75rem}
.company-stage--purchase-reference .commerce-heading h2{font-size:2rem!important;line-height:1.05;color:#f6fbff!important}
.company-stage--purchase-reference .commerce-heading p{margin-top:3px;color:#e2eff7!important;font-size:.94rem}
.company-stage--purchase-reference .commerce-top{justify-content:flex-end;padding:0 10px}
.company-stage--purchase-reference .commerce-top .button{min-width:270px;min-height:48px;border:1px solid #13e7ee;background:#04243a;color:#13e7ee;font-size:.95rem;font-weight:850}
.company-stage--purchase-reference .commerce-purchase-section,.company-stage--purchase-reference .commerce-cart-overview,.company-stage--purchase-reference .commerce-page-section{padding:14px 16px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;box-shadow:none!important}
.company-stage--purchase-reference .commerce-purchase-section>span,.company-stage--purchase-reference .commerce-cart-overview>span{color:#13e7ee!important}
.company-stage--purchase-reference .commerce-purchase-section h3,.company-stage--purchase-reference .commerce-cart-overview h3,.company-stage--purchase-reference .commerce-page-section h3{color:#f6fbff!important}
.company-stage--purchase-reference .commerce-table-scroll{border-color:#087fa6;border-radius:8px;box-shadow:none}
.company-stage--purchase-reference .commerce-lot-table{min-width:0;table-layout:fixed}
.company-stage--purchase-reference .commerce-catalog-table th:nth-child(1){width:23%}.company-stage--purchase-reference .commerce-catalog-table th:nth-child(2){width:12%}.company-stage--purchase-reference .commerce-catalog-table th:nth-child(3){width:12%}.company-stage--purchase-reference .commerce-catalog-table th:nth-child(4){width:10%}.company-stage--purchase-reference .commerce-catalog-table th:nth-child(5){width:10%}.company-stage--purchase-reference .commerce-catalog-table th:nth-child(6){width:15%}.company-stage--purchase-reference .commerce-catalog-table th:nth-child(7){width:18%}
.company-stage--purchase-reference .commerce-lot-table th,.company-stage--purchase-reference .commerce-lot-table td{padding:11px 12px;border-color:#075c7e}
.company-stage--purchase-reference .commerce-catalog-table td:last-child .commerce-catalog-add{width:100%;min-height:42px;white-space:normal}
.company-stage--purchase-reference .commerce-cart-table{min-width:1260px}
.company-stage--purchase-reference .commerce-totals{border-color:#087fa6!important;background:#041b30!important}
.company-stage--purchase-reference .commerce-payment-grid{grid-template-columns:repeat(4,minmax(190px,1fr))}
.company-stage--purchase-reference .commerce-payment-card{box-shadow:none!important}
@media(max-width:1100px){.company-stage--purchase-reference .company-lots-reference-nav{grid-template-columns:1fr auto}.company-stage--purchase-reference .company-lots-reference-nav nav{grid-column:1/-1;grid-row:2;justify-content:center}.company-stage--purchase-reference .company-lots-reference-profile{grid-column:2;grid-row:1}.company-stage--purchase-reference .commerce-payment-grid{grid-template-columns:repeat(2,minmax(190px,1fr))}.company-stage--purchase-reference .commerce-lot-table{min-width:980px}}
@media(max-width:760px){.company-stage--purchase-reference .company-commerce{padding:6px}.company-stage--purchase-reference .commerce-heading{padding:12px}.company-stage--purchase-reference .commerce-heading__icon{width:50px;height:50px;flex-basis:50px}.company-stage--purchase-reference .commerce-heading h2{font-size:1.35rem!important}.company-stage--purchase-reference .commerce-top{padding:0}.company-stage--purchase-reference .commerce-top .button{width:100%;min-width:0}.company-stage--purchase-reference .commerce-payment-grid{grid-template-columns:1fr}}

/* Faturas e recibos - composição exclusiva da referência aprovada. */
.company-stage.company-stage--billing-reference{display:block!important;grid-template-columns:none!important;background:#020f20;color:#f4f8ff}
.company-stage--billing-reference>.company-sidebar,.company-stage--billing-reference .company-stage__header{display:none!important}
.company-stage--billing-reference .company-workspace{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100%;margin-left:0!important;background:#020f20;overflow:auto}
.company-stage--billing-reference .company-commerce{box-sizing:border-box;width:100%;max-width:none;padding:10px 14px 18px;background:#020f20}
.company-stage--billing-reference .company-commerce [data-commerce-content]{display:grid;gap:10px}
.company-stage--billing-reference .commerce-heading{display:flex;align-items:center;gap:18px;padding:18px 28px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;box-shadow:none!important}
.company-stage--billing-reference .commerce-heading__icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border:1px solid #13e7ee;border-radius:10px;color:#13e7ee;font-size:2rem}
.company-stage--billing-reference .commerce-heading h2{font-size:2rem!important;line-height:1.05;color:#f6fbff!important}.company-stage--billing-reference .commerce-heading p{margin-top:3px;color:#e2eff7!important;font-size:.94rem}
.company-stage--billing-reference .commerce-record-filter{justify-content:flex-start;min-height:52px;padding:10px 18px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);color:#edf8ff}
.company-stage--billing-reference .commerce-record-filter select{min-width:320px}
.company-stage--billing-reference .commerce-billing-groups{gap:10px}
.company-stage--billing-reference .commerce-billing-group{gap:0;padding:0;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;overflow:hidden;box-shadow:none!important}
.company-stage--billing-reference .commerce-billing-group__heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px 14px;padding:10px 16px;border-color:#087fa6}
.company-stage--billing-reference .commerce-billing-group__heading>span{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border:1px solid #13e7ee;border-radius:9px;color:transparent!important;font-size:0}.company-stage--billing-reference .commerce-billing-group__heading>span::before{content:'▧';color:#13e7ee;font-size:1.6rem}
.company-stage--billing-reference .commerce-billing-group__heading h3{grid-column:2;grid-row:1;color:#f6fbff!important}.company-stage--billing-reference .commerce-billing-group__heading p{grid-column:3;grid-row:1/3;align-self:center;padding:6px 12px;border:1px solid #13e7ee;border-radius:999px;color:#13e7ee!important;font-weight:800}
.company-stage--billing-reference .commerce-billing-table{min-width:960px;table-layout:fixed}.company-stage--billing-reference .commerce-billing-table th:nth-child(1){width:12%}.company-stage--billing-reference .commerce-billing-table th:nth-child(2){width:10%}.company-stage--billing-reference .commerce-billing-table th:nth-child(3){width:16%}.company-stage--billing-reference .commerce-billing-table th:nth-child(4){width:23%}.company-stage--billing-reference .commerce-billing-table th:nth-child(5){width:11%}.company-stage--billing-reference .commerce-billing-table th:nth-child(6){width:10%}.company-stage--billing-reference .commerce-billing-table th:nth-child(7){width:18%}
.company-stage--billing-reference .commerce-billing-table th,.company-stage--billing-reference .commerce-billing-table td{padding:10px 12px;border-color:#075c7e}.company-stage--billing-reference .commerce-billing-table .commerce-actions{display:flex;justify-content:flex-start;flex-wrap:wrap}.company-stage--billing-reference .commerce-billing-empty{margin:12px 16px;padding:14px;border:1px solid #087fa6}
@media(max-width:1100px){.company-stage--billing-reference .company-lots-reference-nav{grid-template-columns:1fr auto}.company-stage--billing-reference .company-lots-reference-nav nav{grid-column:1/-1;grid-row:2;justify-content:center}.company-stage--billing-reference .company-lots-reference-profile{grid-column:2;grid-row:1}}
@media(max-width:760px){.company-stage--billing-reference .company-commerce{padding:6px}.company-stage--billing-reference .commerce-heading{padding:12px}.company-stage--billing-reference .commerce-heading__icon{width:50px;height:50px;flex-basis:50px}.company-stage--billing-reference .commerce-heading h2{font-size:1.35rem!important}.company-stage--billing-reference .commerce-record-filter{display:grid}.company-stage--billing-reference .commerce-record-filter select{width:100%;min-width:0}.company-stage--billing-reference .commerce-billing-group__heading{grid-template-columns:auto minmax(0,1fr)}.company-stage--billing-reference .commerce-billing-group__heading p{grid-column:1/-1;grid-row:3;justify-self:start}.company-stage--billing-reference .commerce-billing-table{min-width:840px}}

/* PEC - percurso visual aprovado, sem edição territorial nesta página. */
.company-stage.company-stage--pec-reference{display:block!important;grid-template-columns:none!important;background:#020f20;color:#f4f8ff}
.company-stage--pec-reference>.company-sidebar,.company-stage--pec-reference .company-stage__header{display:none!important}
.company-stage--pec-reference .company-workspace{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100%;margin-left:0!important;background:#020f20;overflow:auto}
.company-stage--pec-reference .company-commerce{box-sizing:border-box;width:100%;max-width:none;padding:10px 14px 18px;background:#020f20}
.company-stage--pec-reference .company-commerce [data-commerce-content]{display:grid;gap:10px}
.company-stage--pec-reference .commerce-heading{display:flex;align-items:center;gap:18px;padding:18px 28px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;box-shadow:none!important}
.company-stage--pec-reference .commerce-heading__icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border:1px solid #13e7ee;border-radius:10px;color:#13e7ee;font-size:2rem}
.company-stage--pec-reference .commerce-heading h2{font-size:2rem!important;line-height:1.05;color:#f6fbff!important}.company-stage--pec-reference .commerce-heading p{margin-top:3px;color:#e2eff7!important;font-size:.94rem}
.company-stage--pec-reference .commerce-heading>div{min-width:0;flex:1}.company-stage--pec-reference .commerce-heading__action{flex:0 0 auto;max-width:100%;white-space:nowrap;border-color:#13e7ee;color:#13e7ee}
.company-stage--pec-reference .commerce-heading--compact{min-height:0;padding:6px 10px;border:0;border-radius:0;background:transparent!important}.company-stage--pec-reference .commerce-heading--compact h2{margin:0;margin-right:auto}.company-stage--pec-reference .commerce-heading--compact .commerce-heading__action{min-height:36px;padding:.45rem .8rem}
.company-stage--pec-reference .commerce-pec-linear__photo{display:grid;gap:10px;max-width:760px;padding-top:4px}.company-stage--pec-reference .commerce-pec-linear__photo label{display:grid;gap:6px}.company-stage--pec-reference .commerce-pec-linear__photo input[type="file"]{box-sizing:border-box;width:100%;min-width:0}.company-stage--pec-reference .commerce-pec-linear__photo .commerce-inline-check{display:flex;align-items:flex-start;gap:8px;color:#f4f8ff}.company-stage--pec-reference .commerce-pec-linear__photo .commerce-inline-check input{flex:0 0 auto;width:auto;min-height:0;margin-top:.2rem}.company-stage--pec-reference .commerce-pec-linear__photo small{color:#d9ebf5}
.company-stage--pec-reference .commerce-pec-exit{justify-content:flex-end;padding:0 10px}.company-stage--pec-reference .commerce-pec-exit .button{min-width:220px;border-color:#13e7ee;color:#13e7ee}
.company-stage--pec-reference .commerce-pec-campaign-strip,.company-stage--pec-reference .commerce-pec-detail,.company-stage--pec-reference .commerce-pec-builder{padding:14px 16px;border:1px solid #087fa6;border-radius:10px;box-shadow:none!important}
.company-stage--pec-reference .commerce-pec-builder{order:4}.company-stage--pec-reference .commerce-pec-campaign-strip{order:2}.company-stage--pec-reference .commerce-pec-detail{order:3}
.company-stage--pec-reference .commerce-pec-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.company-stage--pec-reference .commerce-pec-step{min-height:310px;padding:18px;border-radius:9px}
.company-stage--pec-reference .commerce-pec-step legend{font-size:1.05rem}.company-stage--pec-reference .commerce-pec-step label{display:grid;gap:6px;max-width:760px}.company-stage--pec-reference .commerce-pec-step input,.company-stage--pec-reference .commerce-pec-step select,.company-stage--pec-reference .commerce-pec-step textarea{width:100%;box-sizing:border-box;min-height:42px}
.company-stage--pec-reference .commerce-pec-lot-inventory{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}.company-stage--pec-reference .commerce-pec-lot-row{border:1px solid #087fa6;border-radius:8px;padding:10px}
.company-stage--pec-reference .commerce-pec-progress{margin:0;padding:9px 12px;border:1px solid #13e7ee;border-radius:8px}.company-stage--pec-reference .commerce-pec-navigation{justify-content:flex-end;margin:0}.company-stage--pec-reference .commerce-pec-navigation .button{min-width:150px}
.company-stage--pec-reference .commerce-campaign-location>.commerce-cell-options,.company-stage--pec-reference .commerce-campaign-location>.commerce-area-radius,.company-stage--pec-reference .commerce-campaign-location>small,.company-stage--pec-reference .commerce-campaign-location>.button{display:none!important}
.company-stage--pec-reference .commerce-campaign-location>strong:first-child{font-size:0}.company-stage--pec-reference .commerce-campaign-location>strong:first-child::after{content:'Mapa da área do lote';font-size:1rem}.company-stage--pec-reference .commerce-campaign-location>p{display:none!important}
.company-stage--pec-reference .commerce-campaign-map{pointer-events:none;height:360px}.company-stage--pec-reference .commerce-pec-campaign-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px;padding-top:8px;border-top:1px solid #087fa6}
.company-stage--pec-reference .commerce-pec-formula{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;max-width:620px;margin-top:10px;padding:10px 12px;border:1px solid #087fa6;border-radius:8px;background:#03182b}.company-stage--pec-reference .commerce-pec-formula strong{grid-row:1/3;color:#13e7ee}.company-stage--pec-reference .commerce-pec-formula span{color:#f4f8ff}.company-stage--pec-reference .commerce-pec-clock{min-width:64px;font-variant-numeric:tabular-nums;font-weight:800;color:#ffd45a}.company-stage--pec-reference .commerce-pec-detail-table{min-width:900px}
@media(max-width:760px){.company-stage--pec-reference .company-commerce{padding:6px}.company-stage--pec-reference .commerce-heading{padding:12px;align-items:stretch;flex-wrap:wrap}.company-stage--pec-reference .commerce-heading h2{font-size:1.35rem!important}.company-stage--pec-reference .commerce-heading__action{width:100%;min-width:0;white-space:normal}.company-stage--pec-reference .commerce-pec-exit{padding:0}.company-stage--pec-reference .commerce-pec-exit .button{width:100%;min-width:0}.company-stage--pec-reference .commerce-pec-builder,.company-stage--pec-reference .commerce-pec-campaign-strip,.company-stage--pec-reference .commerce-pec-detail{padding:10px}.company-stage--pec-reference .commerce-pec-step{min-height:0;padding:12px}.company-stage--pec-reference .commerce-pec-navigation{display:grid;grid-template-columns:1fr 1fr}.company-stage--pec-reference .commerce-pec-navigation .button{width:100%;min-width:0}.company-stage--pec-reference .commerce-pec-navigation .button:last-child{grid-column:1/-1}.company-stage--pec-reference .commerce-campaign-map{height:280px}}

/* Bingos - lote, área, campanhas e nova preparação na sequência aprovada. */
.company-stage.company-stage--bingo-reference{display:block!important;grid-template-columns:none!important;background:#020f20;color:#f4f8ff}
.company-stage--bingo-reference>.company-sidebar,.company-stage--bingo-reference .company-stage__header{display:none!important}
.company-stage--bingo-reference .company-workspace{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100%;margin-left:0!important;background:#020f20;overflow:auto}
.company-stage--bingo-reference .company-commerce{box-sizing:border-box;width:100%;max-width:none;padding:10px 14px 18px;background:#020f20}
.company-stage--bingo-reference .company-commerce [data-commerce-content]{display:grid;gap:10px}
.company-stage--bingo-reference .commerce-heading{display:flex;align-items:center;gap:18px;padding:18px 28px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;box-shadow:none!important}
.company-stage--bingo-reference .commerce-heading>.button{margin-left:auto;flex:0 0 auto}
.company-stage--bingo-reference .commerce-heading__icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border:1px solid #13e7ee;border-radius:10px;color:#13e7ee;font-size:2rem}
.company-stage--bingo-reference .commerce-heading h2{font-size:2rem!important;line-height:1.05;color:#f6fbff!important}.company-stage--bingo-reference .commerce-heading p{margin-top:3px;color:#e2eff7!important;font-size:.94rem}
.company-stage--bingo-reference .commerce-bingo-area-select,.company-stage--bingo-reference .commerce-bingo-area,.company-stage--bingo-reference .commerce-bingo-campaigns,.company-stage--bingo-reference .commerce-bingo-campaign-form,.company-stage--bingo-reference .commerce-bingo-existing{padding:14px 16px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b)!important;box-shadow:none!important}
.company-stage--bingo-reference .commerce-bingo-area-select{display:grid;grid-template-columns:auto minmax(240px,1fr);align-items:center;gap:6px 16px}.company-stage--bingo-reference .commerce-bingo-area-select>span{grid-column:1/-1}.company-stage--bingo-reference .commerce-bingo-area-select select{min-height:42px;width:100%}
.company-stage--bingo-reference .commerce-bingo-area{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(460px,1.25fr);gap:12px}.company-stage--bingo-reference .commerce-bingo-area>span,.company-stage--bingo-reference .commerce-bingo-area>h3,.company-stage--bingo-reference .commerce-bingo-area>.commerce-pec-area-status,.company-stage--bingo-reference .commerce-bingo-area>.commerce-field-note,.company-stage--bingo-reference .commerce-bingo-area>.commerce-campaign-warning,.company-stage--bingo-reference .commerce-bingo-area>.button{grid-column:1/-1}
.company-stage--bingo-reference .commerce-bingo-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.company-stage--bingo-reference .commerce-campaign-location{min-width:0}.company-stage--bingo-reference .commerce-campaign-map{height:350px}
.company-stage--bingo-reference .commerce-bingo-campaigns{display:grid;gap:10px}.company-stage--bingo-reference .commerce-bingo-card{display:grid;gap:10px;padding:12px;border:1px solid #087fa6;border-radius:9px;background:#041b30}.company-stage--bingo-reference .commerce-bingo-card__facts{grid-template-columns:repeat(3,minmax(0,1fr))}.company-stage--bingo-reference .commerce-bingo-card__prizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.company-stage--bingo-reference .commerce-bingo-campaign-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid #087fa6}
.company-stage--bingo-reference .commerce-bingo-campaign-form{display:grid;gap:12px}.company-stage--bingo-reference .commerce-campaign-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-stage--bingo-reference .commerce-campaign-grid label{display:grid;gap:5px}.company-stage--bingo-reference .commerce-campaign-grid input,.company-stage--bingo-reference .commerce-campaign-grid textarea{box-sizing:border-box;width:100%;min-height:42px}.company-stage--bingo-reference .commerce-bingo-prize-groups{display:grid;gap:10px}.company-stage--bingo-reference .commerce-bingo-prize-groups fieldset{border:1px solid #087fa6;border-radius:9px}.company-stage--bingo-reference .commerce-bingo-existing{display:grid;gap:8px}
.company-stage--bingo-reference .commerce-bingo-selected-lot{display:block;padding:10px 12px;border:1px solid #087fa6;border-radius:8px;color:#f4f8ff;background:#041b30}
@media(max-width:900px){.company-stage--bingo-reference .commerce-bingo-area{grid-template-columns:1fr}.company-stage--bingo-reference .commerce-bingo-area>*{grid-column:1}.company-stage--bingo-reference .commerce-bingo-card__facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.company-stage--bingo-reference .company-commerce{padding:6px}.company-stage--bingo-reference .commerce-heading{padding:12px;flex-wrap:wrap}.company-stage--bingo-reference .commerce-heading>.button{width:100%;margin-left:0}.company-stage--bingo-reference .commerce-heading__icon{width:50px;height:50px;flex-basis:50px}.company-stage--bingo-reference .commerce-heading h2{font-size:1.35rem!important}.company-stage--bingo-reference .commerce-bingo-area-select{grid-template-columns:1fr}.company-stage--bingo-reference .commerce-bingo-area,.company-stage--bingo-reference .commerce-bingo-campaigns,.company-stage--bingo-reference .commerce-bingo-campaign-form,.company-stage--bingo-reference .commerce-bingo-existing{padding:10px}.company-stage--bingo-reference .commerce-bingo-facts,.company-stage--bingo-reference .commerce-bingo-card__facts,.company-stage--bingo-reference .commerce-campaign-grid{grid-template-columns:1fr}.company-stage--bingo-reference .commerce-bingo-campaign-actions{align-items:stretch;flex-direction:column}.company-stage--bingo-reference .commerce-bingo-campaign-actions .button{width:100%}}
.company-report__scroll>.pec-card-table{display:block;width:100%;min-width:0;overflow:visible}.pec-card-table>thead{display:none}.pec-card-table>tbody{display:grid;width:100%;gap:14px}.pec-card-table>tbody>tr{display:block;width:100%;min-width:0}.pec-card-table>tbody>tr>td{display:block;width:100%;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.normal-card-cell{padding:.8rem!important;background:#f4f8fb!important}.normal-card-shell{display:grid;gap:14px;padding:18px;border:1px solid #b8cbd9;border-radius:16px;background:linear-gradient(145deg,#fff,#edf4f8);box-shadow:0 8px 24px #17384d16;color:#102b3e}.normal-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;align-items:start}.normal-card-heading h4{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.35rem,3vw,2rem);color:#071f3b;overflow-wrap:anywhere}.normal-card-badge{justify-self:start;padding:5px 10px;border-radius:999px;background:#dcecf6;color:#124e70;font-size:.76rem;font-weight:850;letter-spacing:.04em}.normal-card-merchant{color:#36576b;font-weight:750}.normal-card-heading .company-rating{grid-column:2;grid-row:1/4;max-width:15rem;text-align:right}.normal-card-quantity{font-size:1.1rem;color:#124e70}.normal-card-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid #cbd9e2;border-radius:12px;overflow:hidden;background:#fff}.normal-card-rewards div{padding:12px;border-right:1px solid #dce5eb}.normal-card-rewards div:last-child{border-right:0}.normal-card-rewards dt{font-size:.78rem;color:#637b8a}.normal-card-rewards dd{margin:3px 0 0;font-size:1.35rem;font-weight:850;color:#0d4b6f}.normal-card-gap{padding:.55rem .7rem;border-left:4px solid #b37612;background:#fff7dc;color:#62450d}.normal-card-records{border-top:1px solid #cfdae1;padding-top:10px}.normal-card-records summary{cursor:pointer;font-weight:800;color:#124e70}.normal-card-records ol{display:grid;gap:8px;margin:10px 0 0;padding-left:1.4rem}.normal-card-records li{display:grid;grid-template-columns:minmax(9rem,.75fr) minmax(12rem,1.25fr) minmax(12rem,1fr);gap:8px;align-items:start;padding:8px 10px;border:1px solid #d9e2e8;border-radius:8px;background:#fff}.normal-card-records code{overflow-wrap:anywhere}.normal-card-records span{color:#455f6f}
@media(max-width:600px){.normal-card-cell{padding:.45rem!important}.normal-card-shell{padding:12px}.normal-card-heading{grid-template-columns:1fr}.normal-card-heading .company-rating{grid-column:1;grid-row:auto;max-width:none;text-align:left}.normal-card-rewards{grid-template-columns:1fr}.normal-card-rewards div{border-right:0;border-bottom:1px solid #dce5eb}.normal-card-rewards div:last-child{border-bottom:0}.normal-card-records li{grid-template-columns:1fr}.normal-card-records li>*{min-width:0}}

/* Apresentação empresarial fiel às referências azul-marinho/ciano.
   Esta camada é exclusivamente visual: mantém DOM, controlos, APIs e regras. */
.company-stage{
  --enterprise-bg:#020f1d;--enterprise-panel:#031a2d;--enterprise-panel-2:#06243a;
  --enterprise-line:#078ab5;--enterprise-cyan:#13e8f4;--enterprise-text:#f4f8ff;
  --enterprise-muted:#b8ccdc;--enterprise-ok:#19e0a7;--enterprise-warn:#ffd54a;
  background:radial-gradient(circle at 70% 0,#07314b 0,#020f1d 38%,#010a14 100%);color:var(--enterprise-text)
}
.company-sidebar{background:linear-gradient(180deg,#031b2e,#020e1a);border-color:var(--enterprise-line);box-shadow:3px 0 22px #0009}
.company-sidebar__brand{background:linear-gradient(145deg,#021326,#063350);border-bottom:1px solid var(--enterprise-line)}
.company-sidebar__brand img,.company-stage__heading img{background:#04192a;border-color:#0abbd2;filter:drop-shadow(0 0 7px #12e8f488)}
.company-stage__nav{gap:.32rem}.company-nav__group p{color:#67dbe6;letter-spacing:.12em}
.company-nav__item{color:#eaf7ff;border:1px solid transparent;border-radius:8px}
.company-nav__item:hover,.company-nav__item:focus-visible{background:#06314b;border-color:#087fa6}
.company-nav__item[aria-current=page]{background:linear-gradient(90deg,#08334d,#05243a);color:var(--enterprise-cyan);border-color:#0bbbd0;box-shadow:inset 3px 0 var(--enterprise-cyan),0 0 16px #10d8ed22}
.company-nav__icon{color:var(--enterprise-cyan)}.company-nav__logout{border-top-color:#087fa6;color:#dbeeff}
.company-workspace{background:transparent}.company-stage__header{background:#03182a;border-color:var(--enterprise-line);box-shadow:0 4px 18px #0008}
.company-stage__heading small,.company-stage__heading h1{color:var(--enterprise-text)}.company-stage__heading span{background:#043849;color:var(--enterprise-ok);border:1px solid #10b99b}
.company-menu-toggle,.company-stage .button{border-color:#0aa8c7;background:#04182a;color:#eefdff}
.company-stage .button:hover,.company-stage .button:focus-visible{background:#0a3953;color:#fff;border-color:var(--enterprise-cyan)}
.company-stage .button--navy{background:#063754;color:var(--enterprise-cyan);border-color:var(--enterprise-cyan)}
.company-stage input,.company-stage select,.company-stage textarea{background:#04182a!important;color:#f4f8ff!important;border-color:#087fa6!important;color-scheme:dark}
.company-stage option{background:#03182a;color:#fff}
.company-stage__body{width:min(1760px,100%)}.company-stage__body>.form-result{color:#ff9a9a}

/* Títulos e contentores comuns das seis páginas. */
.company-lots__toolbar,.company-lots__list,.company-lot-detail,.commerce-heading,.commerce-state,.commerce-summary,.commerce-totals,
.commerce-card,.commerce-cart-row,.commerce-document,.commerce-purchase-section,.commerce-cart-overview,.commerce-page-section,
.commerce-payment-card,.commerce-billing-group,.commerce-pec-builder,.commerce-pec-campaign-strip,.commerce-pec-detail,
.commerce-bingo-area-select,.commerce-bingo-area,.commerce-bingo-campaign-form,.commerce-bingo-events,.commerce-bingo-card,
.branch-modal__box,.branch-detail,.branch-directory{
  background:linear-gradient(145deg,#031a2d,#041525)!important;border-color:var(--enterprise-line)!important;
  color:var(--enterprise-text)!important;box-shadow:0 10px 28px #0007!important
}
.company-lots__toolbar h2,.commerce-heading h2,.commerce-purchase-section h3,.commerce-billing-group h3,
.commerce-pec-builder h3,.commerce-pec-detail h3,.commerce-pec-campaign-strip h3,.commerce-bingo-area h3,
.commerce-bingo-campaign-form h3,.commerce-bingo-events h3,.commerce-bingo-card__heading strong,.branch-detail h3,.branch-detail h4{color:var(--enterprise-text)!important}
.company-lots__toolbar p,.commerce-heading p,.commerce-purchase-section>p,.commerce-billing-group__heading p,
.commerce-bingo-campaign-form>p,.commerce-bingo-area p,.commerce-bingo-events p,.company-lot-detail small{color:var(--enterprise-muted)!important}
.commerce-section-kicker,.commerce-purchase-section>span,.commerce-cart-overview>span,.commerce-billing-group__heading>span{color:var(--enterprise-cyan)!important}

/* Os meus lotes. */
.company-lots__toolbar{border-radius:10px}.company-lots__list-heading{border-color:#087fa6}.company-lots__list-heading>span{border-color:var(--enterprise-cyan);color:var(--enterprise-cyan)}
.company-lot-row{background:#03182a;color:#f4f8ff;border-color:#075c7e}.company-lot-row:hover,.company-lot-row:focus-visible,.company-lot-row[aria-current=true]{background:#074064;outline-color:var(--enterprise-cyan)}
.company-lot-row__icon,.company-lot-detail__icon{color:var(--enterprise-cyan)}.company-lot-row__copy small{color:#76dfea}.company-lot-row__state{color:#dcecf7}
.company-lot-detail__header,.company-lot-resource,.company-lot-area,.company-lot-area__notice{border-color:#087fa6!important;background:#041b30!important;color:#f4f8ff!important}
.company-lot-resource strong,.company-lot-area strong{color:#f4f8ff}.company-lot-area__map{border:1px solid #0abbd2;filter:saturate(.7) hue-rotate(145deg) brightness(.63) contrast(1.25)}
.company-lot-status--active{color:var(--enterprise-ok)}.company-lot-status--pending{color:var(--enterprise-warn)}
.company-lots>.form-result{color:#8ceef5}.company-lots__list-heading h3,.company-lot-empty h3,.company-lot-detail h3,
.company-lot-resources h4,.company-lot-area h4{color:#f4f8ff!important}.company-lots__list-heading p,.company-lot-empty p,
.company-lot-detail__heading p,.company-lot-resource>span:last-child>span{color:var(--enterprise-muted)!important}
.company-lot-resources,.company-lot-area,.company-lot-resources__body,.company-lot-activation,.company-lot-facts>div,.company-lot-activation dl>div{
  background:#041b30!important;border-color:#087fa6!important;color:#f4f8ff!important
}
.company-lot-action{background:#04243a;color:#f4f8ff;border-color:var(--enterprise-cyan)}.company-lot-action strong{color:var(--enterprise-cyan)}.company-lot-action span{color:var(--enterprise-muted)}
.company-lot-audit{color:#d9eff7}.company-lot-map{border-color:#0abbd2;filter:none}
.company-lot-area__note,.company-lot-note,.company-lot-unavailable{background:#06243a;color:#dffaff;border-color:var(--enterprise-cyan)}

/* Catálogo, carrinho e faturação. */
.commerce-table-scroll{border-color:#087fa6;background:#03182a}.company-stage .commerce-lot-table th{background:#06243a!important;color:#8ceef5!important;border-color:#087fa6}
.company-stage .commerce-lot-table td{background:#03182a;color:#f4f8ff;border-color:#075c7e}.company-stage .commerce-lot-table tbody tr:hover td{background:#07304a}
.commerce-catalog-table td:nth-child(6) strong,.commerce-totals strong,.commerce-document>strong:last-of-type{color:var(--enterprise-cyan)!important}
.commerce-catalog-table td:nth-child(6) small,.commerce-cart-row small,.commerce-document small{color:var(--enterprise-muted)!important}
.commerce-catalog-table td:last-child .commerce-catalog-add{background:#04243a;color:var(--enterprise-cyan);border-color:var(--enterprise-cyan)}
.commerce-purchase-cart .commerce-totals,.commerce-purchase-indicator,.commerce-active-payment,.commerce-billing-card,.commerce-billing-field{background:#041b30!important;border-color:#087fa6!important;color:#f4f8ff}
.commerce-payment-card--test{background:#2c2409!important;border-color:#d9a900!important}.commerce-payment-state{color:var(--enterprise-warn)}
.commerce-record-filter{background:#031a2d;border-color:#078ab5;color:#d8eff8}.commerce-billing-group__heading{border-color:#087fa6}.commerce-billing-empty{background:#041b30;color:var(--enterprise-muted)}

/* PEC e Bingo. */
.commerce-pec-step,.commerce-pec-lot-row,.commerce-pec-validity,.commerce-pec-forecast>div,.commerce-campaign-location,
.commerce-bingo-facts div,.commerce-bingo-radius,.commerce-bingo-prize-groups>fieldset,.commerce-bingo-card__facts>div,.commerce-bingo-prize,.commerce-bingo-existing .commerce-document{
  background:#041b30!important;border-color:#087fa6!important;color:#f4f8ff!important
}
.commerce-pec-step legend,.commerce-pec-forecast strong,.commerce-area-radius__value,.commerce-bingo-facts dd,
.commerce-bingo-card__facts dd,.commerce-bingo-existing .commerce-document strong{color:#f4f8ff!important}
.commerce-pec-step__number{background:#063f5e;color:var(--enterprise-cyan);box-shadow:0 0 0 4px #0bbbd022}
.commerce-pec-progress,.commerce-pec-lot-status,.commerce-pec-prediction-status,.commerce-campaign-warning{background:#06243a;color:#dffaff;border-color:var(--enterprise-cyan)}
.commerce-campaign-map{border:1px solid #0abbd2;filter:none}
.commerce-bingo-card__heading span{background:#043849;color:var(--enterprise-ok)}.commerce-bingo-prize{border-left-color:var(--enterprise-cyan)!important}

/* Filiais: mantém o ecrã e todos os controlos, apenas harmoniza o enquadramento. */
.branch-modal{background:#000b}.branch-modal__head{background:#03182a;border-color:#087fa6;color:#fff}.branch-directory button,.branch-tab-list button{background:#041b30;color:#eaf7ff;border-color:#087fa6}.branch-directory button[aria-current=true],.branch-tab-list button[aria-selected=true]{background:#074064;color:var(--enterprise-cyan);border-color:var(--enterprise-cyan)}
.branch-help,.branch-section-copy p,.branch-detail p{color:var(--enterprise-muted)}
.branch-modal,.branch-modal__box{color:#f4f8ff}.branch-modal__status{background:#041b30!important;color:#bfe2ef!important;border-color:#087fa6!important}
.branch-modal label,.branch-modal legend,.branch-modal h3,.branch-modal h4,.branch-modal strong{color:#f4f8ff!important}
.branch-modal input,.branch-modal select,.branch-modal textarea{background:#04182a!important;color:#f4f8ff!important;border-color:#087fa6!important;color-scheme:dark}
.branch-modal input[readonly]{background:#06243a!important;color:#b8ccdc!important}.branch-modal small{color:#9fc5d5!important}
.branch-permission__choice{display:inline-flex!important;align-items:center;justify-content:center;gap:.35rem;margin:0;color:#dff8ff!important;font-size:.76rem;font-weight:750}.branch-permission__choice input{width:1rem;height:1rem;margin:0;accent-color:#13e8f4}.branch-list-card__action{display:grid;justify-items:end;gap:.3rem}.branch-list-card__action small{color:#7edce5!important;font-weight:750}
.branch-directory button,.branch-tab-list button{background:#041b30!important;color:#eaf7ff!important}.branch-directory button span,.branch-directory button small{color:inherit!important}
.branch-form,.branch-tab-panel{background:#031a2d;color:#f4f8ff}.branch-modal__head .branch-close{background:#04243a!important;color:#f4f8ff!important;border-color:#13e8f4!important}
.commerce-pec-builder{max-height:none!important;overflow:visible!important}.commerce-pec-builder p,.commerce-pec-builder small,.commerce-pec-lot-row span,.commerce-pec-lot-row small{color:var(--enterprise-muted)!important}
.commerce-pec-selected-lot{display:grid;gap:.25rem;margin:.75rem 0;padding:.75rem 1rem;border:1px solid #087fa6;border-radius:9px;background:#06243a;color:#f4f8ff}.commerce-pec-selected-lot strong{color:var(--enterprise-cyan)}.commerce-pec-selected-lot p{margin:0;color:#dffaff!important}
.company-stage--pec-reference .commerce-pec-activation{background:#f4f8fb!important;color:#000!important}.company-stage--pec-reference .commerce-pec-activation strong,.company-stage--pec-reference .commerce-pec-activation p{color:#000!important}
.company-stage--pec-reference .commerce-pec-step[data-pec-step="2"] label>span,.company-stage--pec-reference .commerce-pec-step[data-pec-step="2"] small,.company-stage--pec-reference .commerce-pec-step[data-pec-step="2"] .commerce-inline-check{color:#fff!important}
.commerce-pec-prepared-status{display:grid;gap:.6rem;margin-top:1rem;padding:1rem;border:1px solid var(--enterprise-cyan);border-radius:9px;background:#06243a;color:#fff}.commerce-pec-prepared-status:empty{display:none}.commerce-pec-prepared-status h4,.commerce-pec-prepared-status p,.commerce-pec-prepared-status strong{margin:0;color:#fff}

/* PEC segundo a disposição aprovada e a regra funcional AZ. */
.company-stage--pec-reference .commerce-pec-permissions,.company-stage--pec-reference .commerce-pec-portal,.company-stage--pec-reference .commerce-pec-formalized{border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);color:#f4f8ff;padding:16px}
.commerce-pec-permissions{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;align-items:center}.commerce-pec-permissions::before{content:'i';grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--enterprise-cyan);border-radius:50%;color:var(--enterprise-cyan);font-weight:900}.commerce-pec-permissions span{color:var(--enterprise-muted)}
.commerce-pec-portal{display:grid;gap:18px}.commerce-pec-portal__heading h3,.commerce-pec-portal__heading p,.commerce-pec-formalized h3,.commerce-pec-formalized p{margin:.15rem 0}.commerce-pec-portal__progress{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:10px 12px;width:max-content;max-width:100%;border:1px solid #087fa6;border-radius:9px;background:#06243a}.commerce-pec-portal__progress li{display:flex;align-items:center;gap:8px;color:var(--enterprise-muted);font-weight:800}.commerce-pec-portal__progress li:not(:last-child)::after{content:'';width:46px;height:1px;background:#087fa6;margin-left:16px}.commerce-pec-portal__progress span{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--enterprise-cyan);border-radius:50%;color:var(--enterprise-cyan)}
.commerce-pec-portal__form{display:grid;gap:20px}.commerce-pec-portal__block{display:grid;gap:10px;padding-top:16px;border-top:1px solid #087fa6}.commerce-pec-portal__block h4,.commerce-pec-portal__block p{margin:0}.commerce-pec-portal__lot-row{display:grid;grid-template-columns:minmax(280px,2fr) minmax(220px,1fr);gap:12px}.commerce-pec-portal__lot-row select,.commerce-pec-portal__prize-fields input,.commerce-pec-portal__lower input{box-sizing:border-box;width:100%;min-height:44px}.commerce-pec-portal__selected{display:grid;gap:3px;padding:10px 14px;border:1px solid #087fa6;border-radius:8px;background:#041b30}.commerce-pec-portal__selected small,.commerce-pec-portal__facts dt,.commerce-pec-portal__review dt{color:var(--enterprise-muted);font-size:.72rem}.commerce-pec-portal__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.commerce-pec-portal__facts>div,.commerce-pec-portal__review>div{display:grid;gap:5px;padding:12px;border:1px solid #087fa6;border-radius:8px;background:#041b30}.commerce-pec-portal__facts small{color:var(--enterprise-muted)}.commerce-pec-portal__status{display:block;padding:8px 10px;border-left:3px solid var(--enterprise-cyan);background:#06243a;color:#dffaff}
.commerce-pec-portal__prize-fields{display:grid;grid-template-columns:minmax(260px,2fr) minmax(180px,.7fr) auto;gap:12px;align-items:end}.commerce-pec-portal__prize-fields label,.commerce-pec-portal__lower label{display:grid;gap:6px}.commerce-pec-portal__prize-fields label>span,.commerce-pec-portal__lower label>span{font-size:.75rem;font-weight:850;color:var(--enterprise-muted)}.commerce-pec-portal__formula{padding:10px 14px;background:#06243a;color:var(--enterprise-muted)!important}.commerce-pec-portal__formula strong{margin-right:20px;color:var(--enterprise-cyan)}.commerce-pec-portal__lower{display:grid;grid-template-columns:minmax(180px,.45fr) minmax(220px,.65fr) minmax(420px,2fr);gap:12px;align-items:end}.commerce-pec-portal__review{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.commerce-pec-portal__review>div{border-radius:0}.commerce-pec-portal__review>div:first-child{border-radius:8px 0 0 8px}.commerce-pec-portal__review>div:last-child{border-radius:0 8px 8px 0}.commerce-pec-portal__form>.commerce-pec-portal__block>.commerce-actions{justify-content:space-between}.commerce-pec-formalized{display:grid;gap:10px}.commerce-pec-formalized .commerce-table-scroll{max-width:100%;overflow-x:auto}.commerce-pec-formalized table{min-width:1480px}.commerce-pec-formalized td:last-child .commerce-actions{display:flex;flex-wrap:nowrap}
@media(max-width:760px){.company-stage--pec-reference,.company-stage--pec-reference .company-workspace,.company-stage--pec-reference .company-commerce{overflow-x:hidden!important}.commerce-pec-permissions{grid-template-columns:auto minmax(0,1fr)}.commerce-pec-permissions strong,.commerce-pec-permissions span{overflow-wrap:anywhere}.commerce-pec-portal__progress{width:100%;box-sizing:border-box;justify-content:space-between;gap:3px;overflow:hidden}.commerce-pec-portal__progress li{min-width:0;gap:5px;font-size:.82rem;white-space:nowrap}.commerce-pec-portal__progress li:not(:last-child)::after{width:8px;margin-left:2px}.commerce-pec-portal__lot-row,.commerce-pec-portal__facts,.commerce-pec-portal__prize-fields,.commerce-pec-portal__lower,.commerce-pec-portal__review{grid-template-columns:minmax(0,1fr)}.commerce-pec-portal__review>div,.commerce-pec-portal__review>div:first-child,.commerce-pec-portal__review>div:last-child{border-radius:8px}.commerce-pec-portal__prize-fields .button,.commerce-pec-portal__form>.commerce-pec-portal__block>.commerce-actions .button{width:100%}.commerce-pec-portal__form>.commerce-pec-portal__block>.commerce-actions{display:grid;grid-template-columns:1fr}.commerce-pec-portal,.commerce-pec-formalized{box-sizing:border-box;max-width:100%;padding:10px!important}}

/* PEC contínuo: uma única página, sem cartões ou janelas repetidas. */
.commerce-pec-continuous .commerce-pec-portal__form{gap:0}.commerce-pec-continuous .commerce-pec-portal__block{padding:18px 0}.commerce-pec-continuous .commerce-pec-portal__block:first-child{border-top:0}.commerce-pec-continuous select,.commerce-pec-continuous input,.commerce-pec-continuous textarea{box-sizing:border-box;width:100%}.commerce-pec-continuous label{display:grid;gap:6px}.commerce-pec-continuous label>span{font-size:.75rem;font-weight:850;color:var(--enterprise-muted)}.commerce-pec-portal__identity-fields{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1fr) minmax(240px,1fr);gap:12px}.commerce-pec-photo{margin-top:4px}.commerce-pec-continuous .commerce-inline-check{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;color:#f4f8ff}.commerce-pec-continuous .commerce-inline-check input{width:auto}.commerce-pec-validated-line{font-weight:800}.commerce-pec-portal__facts--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-pec-portal__confirmation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.commerce-pec-continuous__map{display:grid;gap:10px;min-height:280px}.commerce-pec-continuous__map .commerce-campaign-map{min-height:320px}.commerce-pec-continuous textarea{resize:vertical}.commerce-pec-formalized .commerce-table-scroll{overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:760px){.commerce-pec-portal__identity-fields,.commerce-pec-portal__confirmation-fields,.commerce-pec-portal__facts--compact{grid-template-columns:minmax(0,1fr)}.commerce-pec-continuous .commerce-inline-check{width:100%;align-items:flex-start}.commerce-pec-continuous__map .commerce-campaign-map{min-height:260px}}

@media(max-width:760px){
  .company-stage__header{background:#03182a}.company-stage__body{padding:.7rem}.company-nav-backdrop{background:#000b!important}
  .commerce-heading h2,.company-lots__toolbar h2{font-size:1.35rem!important}.commerce-heading,.company-lots__toolbar{padding:.8rem!important}
}
@media(max-width:600px){
  .commerce-purchase-catalog .commerce-lot-table tr,.commerce-purchase-cart .commerce-lot-table tr{background:#03182a;border-color:#087fa6}
  .commerce-purchase-catalog .commerce-lot-table td,.commerce-purchase-cart .commerce-lot-table td{background:transparent;color:#f4f8ff;border-color:#075c7e}
  .commerce-purchase-catalog .commerce-lot-table td::before,.commerce-purchase-cart .commerce-lot-table td::before{color:#77dce8}
}

/* PEC linear: percurso real numa só coluna, sem cartões laterais ou tabelas largas. */
.company-stage--pec-reference .commerce-pec-linear,.company-stage--pec-reference .commerce-pec-linear-list{box-sizing:border-box;width:100%;max-width:920px;margin:0 auto;padding:18px 20px;border:1px solid #087fa6;border-radius:10px;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);color:#f4f8ff}
.commerce-pec-linear>h3,.commerce-pec-linear-list>h3{margin:0;color:#f4f8ff}.commerce-pec-linear>p{margin:.3rem 0 0;color:var(--enterprise-muted);overflow-wrap:anywhere}
.commerce-pec-linear__form{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:14px}.commerce-pec-linear__line{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:18px 0;border-top:1px solid #087fa6;min-width:0}.commerce-pec-linear__line h4{margin:0;color:#f4f8ff}
.commerce-pec-linear__line label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-width:720px}.commerce-pec-linear__line label>span,.commerce-pec-linear__line dt{font-size:.76rem;font-weight:850;color:var(--enterprise-muted)}
.commerce-pec-linear__line select,.commerce-pec-linear__line input,.commerce-pec-linear__line textarea{box-sizing:border-box;width:100%;max-width:720px;min-width:0;min-height:44px}.commerce-pec-linear__line textarea{resize:vertical}
.commerce-pec-linear__facts,.commerce-pec-linear__summary,.commerce-pec-linear-list__item dl{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:0;max-width:720px}.commerce-pec-linear__facts>div,.commerce-pec-linear__summary>div,.commerce-pec-linear-list__item dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:9px 11px;border:1px solid #087fa6;border-radius:7px;background:#041b30;min-width:0}.commerce-pec-linear__facts strong,.commerce-pec-linear__summary strong{color:#f4f8ff;text-align:right}.commerce-pec-linear__formula,.commerce-pec-linear__note{margin:0;max-width:720px;color:#dffaff}.commerce-pec-linear__formula{padding:9px 11px;border-left:3px solid var(--enterprise-cyan);background:#06243a}.commerce-pec-linear__status{display:block;max-width:720px;color:#dffaff;overflow-wrap:anywhere}
.commerce-pec-linear__line .commerce-actions{display:flex;flex-wrap:wrap;gap:9px;max-width:720px}.commerce-pec-linear__line .button{min-height:44px}.commerce-pec-linear-list{display:grid;gap:12px}.commerce-pec-linear-list__items{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.commerce-pec-linear-list__item{padding:12px;border:1px solid #087fa6;border-radius:8px;background:#041b30;min-width:0}.commerce-pec-linear-list__item dl{max-width:none}.commerce-pec-linear-list__item dt{color:var(--enterprise-muted)}.commerce-pec-linear-list__item dd{margin:0;color:#f4f8ff;text-align:right;overflow-wrap:anywhere}.commerce-pec-linear-list__item .commerce-actions{justify-content:flex-end;align-items:center;margin-top:10px}.commerce-pec-clock{font-variant-numeric:tabular-nums}
@media(max-width:420px){.company-stage--pec-reference .commerce-pec-linear,.company-stage--pec-reference .commerce-pec-linear-list{padding:12px 10px;border-radius:8px}.commerce-pec-linear__line{padding:14px 0}.commerce-pec-linear__facts>div,.commerce-pec-linear__summary>div,.commerce-pec-linear-list__item dl>div{align-items:flex-start;flex-direction:column;gap:3px}.commerce-pec-linear__facts strong,.commerce-pec-linear__summary strong,.commerce-pec-linear-list__item dd{text-align:left}.commerce-pec-linear__line .commerce-actions,.commerce-pec-linear-list__item .commerce-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.commerce-pec-linear__line .button,.commerce-pec-linear-list__item .button{box-sizing:border-box;width:100%;min-width:0;white-space:normal}.commerce-pec-linear>p{font-size:.82rem}}

/* 0095: uma única navegação empresarial, horizontal no computador e recolhível no telemóvel. */
.company-stage{display:block!important;overflow:hidden}
.company-stage>.company-sidebar{position:sticky!important;inset:0!important;z-index:20;display:flex!important;flex-direction:row!important;align-items:stretch;width:100%!important;min-height:0;height:auto;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);border:0;border-bottom:1px solid #087fa6;transform:none!important;visibility:visible!important}
.company-stage>.company-sidebar .company-sidebar__brand{flex:0 0 auto;min-height:62px;padding:.55rem .8rem;border:0;border-right:1px solid #087fa6}
.company-stage>.company-sidebar .company-stage__nav{display:flex;flex:1 1 auto;align-items:stretch;gap:.55rem;min-width:0;padding:.35rem .55rem;overflow-x:auto;overflow-y:hidden}
.company-stage>.company-sidebar .company-nav__group{display:flex;align-items:center;gap:.25rem;min-width:max-content;padding:0 .35rem;border:0;border-right:1px solid #075c7e}
.company-stage>.company-sidebar .company-nav__group>p{margin:0 .25rem 0 0;font-size:.63rem;writing-mode:vertical-rl;transform:rotate(180deg)}
.company-stage>.company-sidebar .company-nav__item{display:flex;align-items:center;gap:.3rem;min-height:40px;padding:.4rem .55rem;white-space:nowrap}
.company-stage>.company-sidebar .company-nav__item[aria-current=page]{border-color:#13e7ee;color:#13e7ee;background:#063754}
.company-stage>.company-sidebar .company-nav__logout{align-self:center;flex:0 0 auto;margin:.4rem .55rem}
.company-stage>.company-workspace,.company-stage--nav-collapsed .company-workspace,.company-stage--lots-reference .company-workspace,.company-stage--purchase-reference .company-workspace,.company-stage--billing-reference .company-workspace,.company-stage--pec-reference .company-workspace,.company-stage--bingo-reference .company-workspace{box-sizing:border-box!important;width:100%!important;max-width:100vw!important;height:calc(100dvh - 63px)!important;margin-left:0!important}
.company-stage--lots-reference>.company-sidebar,.company-stage--purchase-reference>.company-sidebar,.company-stage--billing-reference>.company-sidebar,.company-stage--pec-reference>.company-sidebar,.company-stage--bingo-reference>.company-sidebar{display:flex!important}
.company-lots-reference-nav{display:none!important}
.company-stage>.company-nav-backdrop{display:none!important}
@media(max-width:760px){
 .company-stage>.company-sidebar{position:fixed!important;right:auto!important;bottom:0!important;display:flex!important;flex-direction:column!important;width:min(290px,calc(100vw - 44px))!important;height:100dvh;transform:translateX(-105%)!important;visibility:hidden!important;transition:transform .2s ease,visibility .2s}
 .company-stage.company-stage--menu-open>.company-sidebar{transform:translateX(0)!important;visibility:visible!important}
 .company-stage>.company-sidebar .company-stage__nav{display:grid;align-content:start;width:100%;padding:.7rem;overflow-y:auto;overflow-x:hidden}
 .company-stage>.company-sidebar .company-nav__group{display:grid;min-width:0;padding:.35rem 0;border-right:0;border-bottom:1px solid #075c7e}
 .company-stage>.company-sidebar .company-nav__group>p{margin:.2rem .4rem;font-size:.68rem;writing-mode:initial;transform:none}
 .company-stage>.company-sidebar .company-nav__item{width:100%;white-space:normal}
 .company-stage>.company-workspace,.company-stage--nav-collapsed .company-workspace,.company-stage--lots-reference .company-workspace,.company-stage--purchase-reference .company-workspace,.company-stage--billing-reference .company-workspace,.company-stage--pec-reference .company-workspace,.company-stage--bingo-reference .company-workspace{height:100dvh!important}
 .company-stage .company-stage__header{display:flex!important}
 .company-stage .company-menu-toggle{display:inline-flex!important}
}
.commerce-field-error{display:block;min-height:1.15em;margin-top:.28rem;color:#ffb4b4;font-size:.82rem;font-weight:600}
.is-invalid{border-color:#ff6464!important;box-shadow:0 0 0 2px rgba(255,100,100,.18)!important}
.commerce-bingo-schedule-preview{display:block;margin:.5rem 0 1rem;padding:.7rem .85rem;border:1px solid rgba(0,229,255,.35);border-radius:.65rem;color:var(--company-text,#f5fbff);background:rgba(0,229,255,.07)}

/* 0099: menu empresarial único, aberto pelo botão em todas as larguras. */
.company-stage>.company-sidebar{position:fixed!important;inset:0 0 auto 0!important;z-index:60!important;display:flex!important;flex-direction:column!important;width:100%!important;max-height:min(100dvh,48rem);overflow:hidden;background:linear-gradient(115deg,#03182b,#04273c 70%,#03182b);border:0;border-bottom:1px solid #087fa6;transform:translateY(-105%)!important;visibility:hidden!important;transition:transform .2s ease,visibility .2s!important}
.company-stage.company-stage--menu-open>.company-sidebar{transform:translateY(0)!important;visibility:visible!important}
.company-stage>.company-sidebar .company-sidebar__brand{display:flex;align-items:center;gap:.7rem;min-height:62px;padding:.55rem .8rem;border:0;border-bottom:1px solid #087fa6}
.company-menu-close{display:inline-grid;place-items:center;min-width:2.5rem;min-height:2.5rem;margin-left:auto;border:1px solid var(--enterprise-cyan);border-radius:999px;background:#041b30;color:#fff;font-size:1.55rem;line-height:1;cursor:pointer}
.company-stage>.company-sidebar .company-stage__nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:.75rem!important;width:100%;min-width:0;padding:.8rem;overflow:auto!important}
.company-stage>.company-sidebar .company-nav__group{display:grid!important;align-content:start;gap:.3rem;min-width:0;padding:.45rem;border:1px solid #075c7e;border-radius:.6rem}
.company-stage>.company-sidebar .company-nav__group>p{margin:.15rem .35rem;font-size:.7rem;writing-mode:initial!important;transform:none!important}
.company-stage>.company-sidebar .company-nav__item{box-sizing:border-box;width:100%;min-height:42px;white-space:normal}
.company-stage>.company-sidebar .company-nav__logout{align-self:auto;width:calc(100% - 1.6rem);margin:0 .8rem .8rem}
.company-stage>.company-nav-backdrop{display:none!important;position:fixed!important;inset:0!important;z-index:50!important;background:#000b!important}
.company-stage.company-stage--menu-open>.company-nav-backdrop{display:block!important}
.company-stage .company-menu-toggle{display:inline-flex!important}
.company-stage>.company-workspace,.company-stage--nav-collapsed .company-workspace{height:100dvh!important}
@media(max-width:760px){
 .company-stage>.company-sidebar{inset:0 auto 0 0!important;width:min(390px,calc(100vw - 34px))!important;max-height:none;height:100dvh;transform:translateX(-105%)!important}
 .company-stage.company-stage--menu-open>.company-sidebar{transform:translateX(0)!important}
 .company-stage>.company-sidebar .company-stage__nav{grid-template-columns:minmax(0,1fr);padding:.65rem!important}
 .company-stage>.company-sidebar .company-nav__group{border-right:1px solid #075c7e;border-bottom:1px solid #075c7e}
}

/* 0100: recuperação do Dashboard aprovado no 0090 - sidebar e workspace independentes. */
.company-stage{display:block!important;overflow:hidden!important;background:var(--white)!important;color:var(--black)!important}
.company-stage>.company-sidebar,.company-stage--lots-reference>.company-sidebar,.company-stage--purchase-reference>.company-sidebar,.company-stage--billing-reference>.company-sidebar,.company-stage--pec-reference>.company-sidebar,.company-stage--bingo-reference>.company-sidebar{position:absolute!important;inset:0 auto 0 0!important;z-index:4!important;display:flex!important;flex-direction:column!important;width:230px!important;height:100dvh!important;max-height:none!important;overflow:hidden!important;background:var(--white)!important;border:0!important;border-right:1px solid #d6e6dc!important;box-shadow:2px 0 12px #102a430e!important;transform:none!important;visibility:visible!important}
.company-stage>.company-sidebar .company-sidebar__brand{display:flex!important;flex:0 0 auto;align-items:center;gap:.65rem;min-height:82px;padding:.9rem;background:var(--navy);color:var(--white);border:0!important}
.company-stage>.company-sidebar .company-stage__nav{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start;flex:1 1 auto;gap:.55rem!important;width:auto!important;min-height:0;padding:.85rem .65rem!important;overflow-x:hidden!important;overflow-y:auto!important}
.company-stage>.company-sidebar .company-nav__group{display:grid!important;align-content:start;gap:.3rem;min-width:0;padding:.35rem 0!important;border:0!important;border-bottom:1px solid #d6e6dc!important;border-radius:0!important}
.company-stage>.company-sidebar .company-nav__group>p{margin:.2rem .4rem!important;font-size:.68rem!important;writing-mode:initial!important;transform:none!important}
.company-stage>.company-sidebar .company-nav__item{display:flex;width:100%;min-height:40px;padding:.45rem .55rem;white-space:normal}
.company-stage>.company-sidebar .company-nav__logout{align-self:auto;width:auto;margin:auto .65rem .65rem!important}
.company-menu-close{display:none!important}
.company-stage>.company-workspace,.company-stage--lots-reference>.company-workspace,.company-stage--purchase-reference>.company-workspace,.company-stage--billing-reference>.company-workspace,.company-stage--pec-reference>.company-workspace,.company-stage--bingo-reference>.company-workspace{box-sizing:border-box!important;width:auto!important;max-width:calc(100vw - 230px)!important;height:100dvh!important;margin-left:230px!important;overflow-x:hidden!important;overflow-y:auto!important;background:var(--white)}
.company-stage .company-stage__header{display:flex!important;position:sticky;top:0;z-index:3;background:var(--white)}
.company-stage .company-menu-toggle{display:inline-flex!important}
.company-stage>.company-nav-backdrop{display:none!important}
.company-stage--nav-collapsed>.company-sidebar{width:64px!important}
.company-stage--nav-collapsed>.company-workspace{max-width:calc(100vw - 64px)!important;margin-left:64px!important}
.company-stage--nav-collapsed>.company-sidebar .company-sidebar__brand{justify-content:center;padding:.6rem!important}
.company-stage--nav-collapsed>.company-sidebar .company-sidebar__brand div,.company-stage--nav-collapsed>.company-sidebar .company-nav__group p,.company-stage--nav-collapsed>.company-sidebar .company-nav__item span:last-child{display:none!important}
.company-stage--nav-collapsed>.company-sidebar .company-nav__item{justify-content:center;padding:.4rem}
@media(max-width:760px){
 .company-stage>.company-sidebar,.company-stage--lots-reference>.company-sidebar,.company-stage--purchase-reference>.company-sidebar,.company-stage--billing-reference>.company-sidebar,.company-stage--pec-reference>.company-sidebar,.company-stage--bingo-reference>.company-sidebar{position:fixed!important;right:auto!important;bottom:0!important;width:min(230px,calc(100vw - 56px))!important;height:100dvh!important;transform:translateX(-105%)!important;visibility:hidden!important;transition:transform .2s ease,visibility .2s!important}
 .company-stage.company-stage--menu-open>.company-sidebar{transform:translateX(0)!important;visibility:visible!important}
 .company-stage>.company-workspace,.company-stage--nav-collapsed>.company-workspace,.company-stage--lots-reference>.company-workspace,.company-stage--purchase-reference>.company-workspace,.company-stage--billing-reference>.company-workspace,.company-stage--pec-reference>.company-workspace,.company-stage--bingo-reference>.company-workspace{width:100%!important;max-width:100vw!important;margin-left:0!important}
 .company-stage.company-stage--menu-open>.company-nav-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:3!important;background:#102a4377!important}
 .company-stage--nav-collapsed>.company-sidebar .company-sidebar__brand div,.company-stage--nav-collapsed>.company-sidebar .company-nav__group p,.company-stage--nav-collapsed>.company-sidebar .company-nav__item span:last-child{display:initial!important}
}

/* 0101: menu empresarial legível e retorno comum ao Dashboard. */
.company-stage>.company-sidebar .company-nav__group>p,
.company-stage>.company-sidebar .company-nav__item,
.company-stage>.company-sidebar .company-nav__logout{color:#102a43!important;font-weight:800!important;opacity:1!important;text-shadow:none!important}
.company-stage>.company-sidebar .company-nav__icon{color:#102a43!important}
.company-stage>.company-sidebar .company-nav__item:hover,
.company-stage>.company-sidebar .company-nav__item:focus-visible{background:#eaf6ec!important;color:#102a43!important}
.company-stage>.company-sidebar .company-nav__item[aria-current="page"]{background:#d6f2d3!important;color:#102a43!important;border-color:#16833d!important;box-shadow:inset 3px 0 #16833d!important}
.company-back-dashboard{flex:0 0 auto;white-space:nowrap;font-weight:800}
.company-back-dashboard[hidden]{display:inline-flex!important}
@media(max-width:760px){
 .company-stage__header{gap:.45rem!important}
 .company-back-dashboard{order:2;max-width:100%;min-height:38px;padding:.55rem .7rem;font-size:.78rem}
 .company-stage__heading{order:3}
 .company-stage__filters{order:4}
}
.player-commerce{position:fixed;z-index:1600;top:5rem;left:50%;translate:-50% 0;width:min(920px,calc(100vw - 2rem));max-height:calc(100dvh - 6rem);overflow:auto;resize:both;border:1px solid #517a63;border-radius:.8rem;background:#f8fbf9;color:#102a43;box-shadow:0 18px 52px #07131f77}.player-commerce[hidden]{display:none}.player-commerce>header{display:flex;justify-content:space-between;align-items:center;padding:.65rem .85rem;background:#102a43;color:#fff;cursor:move}.player-commerce>header h2{margin:0}.player-commerce>header button,.player-commerce nav button,.player-commerce footer button{min-height:36px;border:1px solid #527463;border-radius:.45rem;background:#fff;color:#123a27;font-weight:700}.player-commerce nav,.player-commerce footer{display:flex;flex-wrap:wrap;gap:.5rem;padding:.65rem}.player-commerce>p,.player-commerce>section:not(.commerce-offers){padding:0 .75rem}.commerce-offers{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding:.75rem}.commerce-offer{min-height:220px;padding:.7rem;border:2px dashed #9ab8a5;border-radius:.7rem;background:#fff}.commerce-offer.is-mine{border-color:#198754}.commerce-item{display:grid;gap:.2rem;margin:.4rem 0;padding:.55rem;border:1px solid #c6d8cc;border-radius:.5rem;background:#f4faf6}.commerce-item[draggable="true"]{cursor:grab}.commerce-item__inspect{display:grid;gap:.2rem;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.commerce-inventory{margin:.5rem;border:1px solid #8cac97;border-radius:.6rem;max-height:260px;overflow:auto}.commerce-coin-resource label{display:flex;align-items:center;gap:.35rem}.commerce-coin-resource input{width:7rem}.commerce-detail{margin:.5rem;padding:.75rem!important;border:1px solid #8cac97;border-radius:.6rem;background:#fff}.commerce-detail[hidden]{display:none}.commerce-detail [data-commerce-detail-close]{float:right}.commerce-status{display:block;padding:.6rem;color:#873b00}.player-commerce.is-minimized{width:min(360px,calc(100vw - 1rem));height:auto;resize:none}.player-commerce.is-minimized>:not(header){display:none}
@media(max-width:390px){
 .company-stage__header{align-items:flex-start!important;flex-wrap:wrap!important;padding:.55rem!important}
 .company-menu-toggle,.company-back-dashboard{flex:0 0 auto!important}
 .company-stage__heading,.company-stage__filters{flex:1 0 100%!important;min-width:0!important}
}
@media(max-width:390px){.company-back-dashboard{font-size:.74rem}}
@media(max-width:320px){.company-back-dashboard{width:auto;min-width:0;padding:.48rem .55rem;font-size:.7rem}}

/* Bingo 0123: percurso único, linear e sem programação paralela. */
.commerce-bingo-workspace,.commerce-bingo-form-host{grid-template-columns:minmax(0,1fr)}
.commerce-bingo-form-host{margin-top:1rem}
.commerce-bingo-summary,.commerce-bingo-balance{display:block;padding:.7rem;border:1px solid #dbe5df;border-radius:.65rem;background:#f8fbf9;color:#314e3f}
.commerce-bingo-campaign-form>.button-primary{justify-self:end;min-width:12rem}
.commerce-bingo-campaign-form textarea{min-height:5rem}
.commerce-bingo-campaign-form fieldset{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.commerce-bingo-campaign-form fieldset legend,.commerce-bingo-campaign-form fieldset .commerce-bingo-balance,.commerce-bingo-campaign-form fieldset>.button{grid-column:1/-1}
.commerce-bingo-radius-box,.commerce-bingo-map-box{display:grid;gap:.65rem;min-width:0;padding:.85rem;border:1px solid #dbe5df;border-radius:.7rem;background:#f8fbf9;overflow:hidden}.commerce-bingo-radius-box h4,.commerce-bingo-map-box h4{margin:0;color:#102a43}.commerce-bingo-map-box .commerce-campaign-location,.commerce-bingo-map-box .commerce-campaign-map{position:relative;z-index:0;width:100%;max-width:100%;min-width:0}.commerce-bingo-radius-box .commerce-area-radius__controls{position:relative;z-index:1;width:100%;max-width:100%}
.commerce-bingo-radius-box{justify-self:start;width:min(100%,22rem);padding:.55rem .7rem;gap:.35rem}.commerce-bingo-radius-box .commerce-bingo-radius{padding:.35rem}.commerce-bingo-radius-box .commerce-area-radius__controls{grid-template-columns:2.25rem minmax(8rem,1fr) 2.25rem minmax(5.5rem,auto);gap:.35rem}.commerce-bingo-radius-box button{min-height:2.25rem;padding:.3rem .55rem}.commerce-bingo-map-box{width:100%;padding:.75rem}.commerce-bingo-map-box .commerce-campaign-map{height:clamp(360px,52vh,560px);min-height:360px}
@media(max-width:760px){.commerce-bingo-campaign-form fieldset{grid-template-columns:1fr}.commerce-bingo-campaign-form>.button-primary{justify-self:stretch;width:100%}}
@media(max-width:390px){.commerce-bingo-radius-box{width:100%;box-sizing:border-box}.commerce-bingo-radius-box .commerce-area-radius__controls{grid-template-columns:2.25rem minmax(0,1fr) 2.25rem}.commerce-bingo-radius-box .commerce-area-radius__controls output{grid-column:1/-1}.commerce-bingo-map-box .commerce-campaign-map{height:360px}}
@media(max-width:320px){.commerce-bingo-map-box .commerce-campaign-map{height:320px;min-height:320px}}

/* 0154-D: Os meus lotes mantém a navegação empresarial comum acessível.
   Estas regras repetem a especificidade das composições históricas que
   ocultavam o menu/cabeçalho; o comportamento responsivo continua a ser o
   do componente comum definido acima. */
.company-stage.company-stage--lots-reference>.company-sidebar{display:flex!important}
.company-stage.company-stage--lots-reference .company-stage__header{display:flex!important}

/* 0126: composição Bingo em linhas previsíveis e mapa a toda a largura. */
.commerce-bingo-area{grid-template-columns:minmax(0,1fr)!important;align-items:start}
.commerce-bingo-area,.commerce-bingo-campaign-form{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.commerce-bingo-area>*{grid-column:1/-1!important}
.commerce-bingo-area .commerce-bingo-facts{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}
.commerce-bingo-area .commerce-bingo-radius-box{justify-self:stretch;width:100%;min-height:0;padding:.35rem .6rem;gap:.2rem;box-sizing:border-box}
.commerce-bingo-area .commerce-bingo-radius-box .commerce-bingo-radius{width:min(100%,22rem);padding:.2rem;border:0;background:transparent;box-sizing:border-box}
.commerce-bingo-area .commerce-bingo-map-box{justify-self:stretch;width:100%;box-sizing:border-box}
.commerce-bingo-area .commerce-bingo-map-box .commerce-campaign-location{box-sizing:border-box;padding:.35rem}
.commerce-bingo-duration{display:grid;gap:.55rem;padding:.7rem;border:1px solid #dbe5df;border-radius:.65rem;background:#f8fbf9}.commerce-bingo-duration h4,.commerce-bingo-duration p{margin:0}.commerce-bingo-duration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,12rem));gap:.7rem}.commerce-bingo-activation-bar{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap;padding:.65rem;border:1px solid #dbe5df;border-radius:.65rem;background:#f8fbf9}
.commerce-bingo-campaign-form .commerce-campaign-grid label{min-width:0;align-content:start}
.commerce-bingo-campaign-form .commerce-campaign-grid input,.commerce-bingo-campaign-form .commerce-campaign-grid textarea{width:100%;min-width:0;box-sizing:border-box}
.commerce-bingo-campaign-form .commerce-field-error{min-height:1.1em;overflow-wrap:anywhere}
@media(max-width:1100px){.commerce-bingo-area .commerce-bingo-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.commerce-bingo-area .commerce-bingo-facts,.commerce-bingo-campaign-form fieldset{grid-template-columns:1fr}}
@media(max-width:390px){.commerce-bingo-duration-grid{grid-template-columns:1fr}.commerce-bingo-activation-bar{justify-content:stretch}.commerce-bingo-activation-bar>*{min-width:0}.commerce-bingo-activation-bar .button{width:100%}}

/* 0156-B: réplica da referência Lexar/Hologramas. Um único menu à esquerda,
   gaveta à direita e mapa integralmente preservado por baixo da sobreposição. */
.player-stage__overlay{padding:0;justify-content:space-between}
.player-stage__top{grid-template-columns:3.55rem minmax(0,1fr);gap:.55rem;min-height:58px;padding:.35rem .65rem;border:1px solid #b6ccb9;border-radius:0 0 .7rem .7rem;background:#fff;box-shadow:0 2px 9px #102a4338}
.player-menu{position:static;min-width:0;pointer-events:auto}
.player-menu>summary{display:grid;width:48px;height:48px;place-items:center;padding:0;border:0;border-radius:.65rem;background:#0c1c2b;color:#fff;box-shadow:none;cursor:pointer;font-size:0;font-weight:800;list-style:none}
.player-menu>summary::-webkit-details-marker{display:none}
.player-menu>summary::before{content:"☰";font-size:1.7rem;line-height:1}
.player-menu:not([open])>.player-stage__navigation{display:none}
.player-menu[open]>.player-stage__navigation{position:fixed;z-index:1400;top:0;right:0;bottom:0;left:auto;display:grid;grid-template-rows:auto repeat(7,minmax(64px,auto)) auto;align-content:start;width:min(390px,92vw);max-width:100%;padding:1rem 1rem max(1rem,env(safe-area-inset-bottom));overflow-y:auto;border:0;background:linear-gradient(145deg,#112839,#07131f);box-shadow:-12px 0 36px #07131f73}
.player-stage__navigation::before{content:"ZAP-FLAGS";display:block;padding:.15rem .35rem .85rem;color:#fff;font-size:1.12rem;font-weight:850;letter-spacing:.02em}
.player-menu__item{display:grid;grid-template-columns:3rem minmax(0,1fr) 1rem;align-items:center;gap:.7rem;width:100%;min-height:64px;padding:.65rem .8rem;border:0;border-radius:.65rem;background:#172f40;color:#fff;text-align:left;cursor:pointer}
.player-menu__item:hover,.player-menu__item:focus-visible{outline:2px solid #7ee787;background:#1d3a4f}
.player-menu__item:disabled{opacity:.55;cursor:not-allowed}
.player-menu__icon{display:grid;width:2.5rem;height:2.5rem;place-items:center;font-size:1.75rem;line-height:1}
.player-menu__item strong{display:block;color:#fff;font-size:.98rem;line-height:1.15}
.player-menu__item small{display:block;margin-top:.22rem;color:#d5e0e8;font-size:.72rem;line-height:1.2}
.player-menu__arrow{color:#e8f0f5;font-size:1.9rem;font-weight:300}
.player-menu__close{min-height:52px;margin-top:.55rem;border:1px solid #4c7890;border-radius:.65rem;background:transparent;color:#fff;font-size:1rem;font-weight:800;cursor:pointer}
.player-menu__close:hover,.player-menu__close:focus-visible{outline:2px solid #7ee787}
.player-social-dialog{position:fixed;z-index:1500;top:clamp(4.5rem,10vh,7rem);right:1rem;display:grid;width:min(430px,calc(100vw - 2rem));max-height:calc(100dvh - 6rem);overflow:hidden;border:1px solid #73c68b;border-radius:.85rem;background:#f8fbf9;color:#102a43;box-shadow:0 18px 48px #07131f66}
.player-social-dialog[hidden]{display:none}.player-social-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:#102a43;color:#fff}.player-social-dialog h2,.player-social-dialog h3,.player-social-dialog p{margin:0}.player-social-dialog>header button{width:2.25rem;height:2.25rem;border:0;border-radius:50%;background:#25485f;color:#fff;font-size:1.45rem;cursor:pointer}.social-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem;padding:.6rem}.social-tabs button,.social-profile button,.social-compose button,.social-conversation-actions button,.social-request button,.social-more,.social-back{min-height:40px;border:1px solid #176b3a;border-radius:.5rem;background:#fff;color:#123a27;font-weight:750;cursor:pointer}.social-tabs button[aria-current="page"]{background:#1f7a43;color:#fff}.social-search{display:flex;align-items:center;gap:.4rem;margin:0 .6rem .6rem;padding:.45rem .6rem;border:1px solid #b9cec0;border-radius:.55rem;background:#fff}.social-search input{min-width:0;width:100%;border:0;outline:0;font:inherit}.social-list,.social-history{min-height:8rem;max-height:min(54dvh,500px);overflow-y:auto;padding:.35rem .6rem .7rem}.social-player-row,.social-request{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;width:100%;padding:.6rem;border:0;border-bottom:1px solid #d9e5dc;background:transparent;color:inherit;text-align:left}.social-player-row{cursor:pointer}.social-player-row small,.social-request small{display:block;color:#587064}.social-online{color:#22a447;font-size:1rem}.social-unread{display:grid;min-width:1.55rem;height:1.55rem;place-items:center;border-radius:999px;background:#d92d20;color:#fff;font-size:.75rem}.social-request>div{display:flex;gap:.25rem}.social-profile{display:grid;justify-items:center;gap:.55rem;padding:1.25rem}.social-profile>div{display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem}.social-friend{color:#176b3a;font-weight:800}.social-pending{font-weight:700;color:#795500}.social-back{margin:.6rem .6rem 0;padding:.35rem .65rem;justify-self:start}.social-conversation-name{padding:.65rem 1rem}.social-message{max-width:86%;margin:.35rem 0;padding:.55rem .65rem;border-radius:.65rem;background:#e8efeb}.social-message.is-mine{margin-left:auto;background:#d6f1dd}.social-message time{display:block;margin-top:.25rem;color:#60746a;font-size:.7rem}.social-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.45rem;padding:.65rem;border-top:1px solid #cbdcd1}.social-compose label{display:grid;gap:.25rem;font-size:.78rem}.social-compose textarea{width:100%;min-height:64px;resize:vertical;box-sizing:border-box}.social-conversation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;padding:0 .65rem .65rem}.social-status,.social-empty{display:block;padding:.55rem .7rem;color:#5b6d63}.social-more{margin:.25rem .6rem .7rem}
@media(max-width:390px){.player-social-dialog{top:.5rem;right:.5rem;width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.social-compose{grid-template-columns:1fr}.social-compose button{width:100%}.social-request{grid-template-columns:auto minmax(0,1fr)}.social-request>div{grid-column:1/-1}.social-request button{flex:1}}
@media(max-width:320px){.player-social-dialog{top:0;right:0;width:100vw;max-height:100dvh;border-radius:0}.social-tabs{gap:.15rem;padding:.4rem}.social-tabs button{font-size:.78rem}.social-player-row,.social-request{padding:.5rem .35rem}}
.player-economy-bar{display:grid;grid-template-columns:minmax(9rem,auto) minmax(0,1fr);gap:.85rem;font-size:.75rem}
.player-economy-bar .player-identity{gap:.55rem}
.player-economy-bar .player-identity__photo{width:38px;height:38px;border:0}
.player-economy-bar [data-account-title]{font-size:.96rem;color:#0b2138}
.player-economy-bar__items{display:flex;align-items:center;justify-content:flex-start;gap:clamp(.85rem,2.25vw,2rem);min-width:0}
.player-economy-bar__item{position:relative;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:.35rem;min-width:max-content;padding-left:2.25rem}
.player-economy-bar__item::before{position:absolute;left:0;top:50%;translate:0 -50%;font-size:1.65rem;line-height:1}
.player-economy-bar__item:nth-child(1)::before{content:"ϟ";color:#02bd58;font-weight:900}
.player-economy-bar__item:nth-child(2)::before{content:"▤";color:#168ff0}
.player-economy-bar__item:nth-child(3)::before{content:"◎";color:#eca900}
.player-economy-bar__item:nth-child(4)::before{content:"⌾";color:#ee2929}
.player-economy-bar__item:nth-child(5)::before{content:"★";color:#f1b51b}
.player-economy-bar__item>span{grid-column:1/-1;color:#102a43;font-size:.72rem}
.player-economy-bar__item>strong{grid-column:1/-1;font-size:.86rem;color:#102a43}
.player-economy-bar__skill{grid-template-columns:auto 151px auto;grid-template-rows:auto auto;padding-left:2.35rem}
.player-economy-bar__skill>span{grid-column:1/-1}
.player-economy-bar__skill progress{grid-column:1;width:151px;max-width:151px;height:.55rem}
.player-economy-bar__skill small{grid-column:3;font-size:.68rem}
.player-economy-bar__status,.player-economy-bar__retry{grid-column:1/-1}
@media(max-width:900px){
  .player-stage__top{grid-template-columns:3rem minmax(0,1fr);gap:.35rem;min-height:64px;padding:.25rem .4rem}
  .player-menu>summary{width:42px;height:42px}
  .player-economy-bar{grid-template-columns:minmax(6.8rem,.7fr) minmax(0,2.3fr);gap:.35rem}
  .player-economy-bar .player-identity__photo{width:30px;height:30px}
  .player-economy-bar__items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.18rem .45rem}
  .player-economy-bar__item{min-width:0;padding-left:1.45rem}
  .player-economy-bar__item::before{font-size:1.05rem}
  .player-economy-bar__skill{grid-column:2/-1;grid-template-columns:auto minmax(54px,100px) auto}
  .player-economy-bar__skill progress{width:100%;max-width:100px}
}
@media(max-width:390px){
  .player-stage__top{grid-template-columns:2.8rem minmax(0,1fr);min-height:76px;padding:.2rem .28rem}
  .player-menu>summary{width:40px;height:40px}
  .player-menu>summary::before{font-size:1.45rem}
  .player-economy-bar{grid-template-columns:minmax(5.7rem,.62fr) minmax(0,2.38fr);font-size:.6rem}
  .player-economy-bar .player-identity__photo{width:26px;height:26px}
  .player-economy-bar [data-account-title]{font-size:.76rem}
  .player-economy-bar__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:.12rem .25rem}
  .player-economy-bar__item{padding-left:1.15rem}
  .player-economy-bar__item::before{font-size:.9rem}
  .player-economy-bar__item>span{font-size:.56rem}
  .player-economy-bar__item>strong{font-size:.65rem}
  .player-economy-bar__skill{grid-column:1/-1;grid-template-columns:auto auto;grid-template-rows:auto auto;justify-content:start;column-gap:.35rem}
  .player-economy-bar__skill>span{grid-column:1;grid-row:1}
  .player-economy-bar__skill small{grid-column:2;grid-row:1}
  .player-economy-bar__skill small{translate:-1.25rem 0}
  .player-economy-bar__skill progress{grid-column:1/-1;grid-row:2;width:82px;max-width:82px}
  .player-menu[open]>.player-stage__navigation{width:min(340px,94vw);padding:.65rem;grid-template-rows:auto repeat(7,minmax(52px,auto)) auto}
  .player-menu__item{min-height:52px;padding:.45rem .55rem}
}
@media(max-width:320px){
  .player-stage__top{grid-template-columns:2.55rem minmax(0,1fr);min-height:78px;padding:.16rem .2rem}
  .player-menu>summary{width:36px;height:36px}
  .player-economy-bar{grid-template-columns:minmax(5rem,.58fr) minmax(0,2.42fr)}
  .player-economy-bar .player-identity__photo{width:23px;height:23px}
  .player-economy-bar__items{gap:.1rem .18rem}
  .player-economy-bar__item{padding-left:.95rem}
  .player-economy-bar__item::before{font-size:.78rem}
  .player-economy-bar__skill progress{width:68px;max-width:68px}
}
@media(max-width:390px){.player-commerce{top:.5rem;width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);resize:none}.commerce-offers{grid-template-columns:1fr}.commerce-offer{min-height:150px}}
@media(max-width:320px){.player-commerce{top:0;width:100vw;max-height:100dvh;border-radius:0}.commerce-offers{padding:.4rem;gap:.4rem}}

/* 0159: janelas de trabalho independentes — Diálogo, Negociação e Armazém. */
.floating-work-window{box-sizing:border-box;min-width:280px;min-height:54px;resize:both;overflow:auto}
.floating-work-window>header{user-select:none;touch-action:none}
.window-controls{display:flex;gap:.3rem}
.player-social-dialog{right:auto;left:1rem;height:min(680px,calc(100dvh - 6rem));resize:both}
.player-social-dialog:has(.social-history){grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto;min-height:430px;overflow:hidden}
.player-social-dialog .social-history{min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.player-social-dialog .social-compose,.player-social-dialog .social-conversation-actions,.player-social-dialog .social-status{min-width:0;background:#f8fbf9}
.player-social-dialog>.social-drag{cursor:move}
.player-social-dialog.is-minimized{width:min(360px,calc(100vw - 1rem))!important;height:54px!important;min-height:54px;resize:none;overflow:hidden}
.player-social-dialog.is-minimized>:not(header){display:none}
.player-social-dialog.is-minimized header h2{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-commerce{right:auto;left:calc(50vw - 360px);translate:none;height:min(720px,calc(100dvh - 6rem))}
.player-commerce-warehouse{position:fixed;z-index:1650;top:5rem;right:1rem;width:min(430px,calc(100vw - 2rem));height:min(680px,calc(100dvh - 6rem));min-width:280px;max-width:100vw;border:1px solid #517a63;border-radius:.8rem;background:#f8fbf9;color:#102a43;box-shadow:0 18px 52px #07131f77}
.player-commerce-warehouse[hidden]{display:none}.player-commerce-warehouse>header{display:flex;justify-content:space-between;align-items:center;padding:.65rem .85rem;background:#102a43;color:#fff;cursor:move}.player-commerce-warehouse h2{margin:0}.player-commerce-warehouse header button{min-width:36px;min-height:36px;border:1px solid #527463;border-radius:.45rem;background:#fff;color:#123a27;font-weight:700}.commerce-inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));align-content:start;gap:.55rem;padding:.7rem;overflow:auto}.player-commerce-warehouse.is-minimized{width:min(360px,calc(100vw - 1rem))!important;height:54px!important;min-height:54px;resize:none;overflow:hidden}.player-commerce-warehouse.is-minimized>:not(header){display:none}
.social-toast,.commerce-toast{position:fixed;z-index:1900;right:1rem;bottom:1rem;display:flex;align-items:center;gap:.45rem;max-width:min(430px,calc(100vw - 2rem));padding:.65rem .75rem;border:1px solid #73c68b;border-radius:.65rem;background:#102a43;color:#fff;box-shadow:0 10px 30px #07131f66}.social-toast[hidden],.commerce-toast[hidden]{display:none}.social-toast button,.commerce-toast button{min-height:34px;border:1px solid #73c68b;border-radius:.4rem;background:#fff;color:#123a27;font-weight:700}.menu-unread-badge{position:absolute;top:-.25rem;right:-.25rem;display:grid;min-width:1.25rem;height:1.25rem;place-items:center;padding:0 .2rem;border-radius:999px;background:#d92d20;color:#fff;font-size:.68rem}.menu-item-unread{color:#ffb3ad;font-weight:800;white-space:nowrap}
@media(max-width:600px){.floating-work-window{top:.5rem!important;left:.5rem!important;right:auto!important;width:calc(100vw - 1rem)!important;max-width:none;height:calc(100dvh - 1rem);max-height:calc(100dvh - 1rem);resize:none}.floating-work-window.is-minimized{top:auto!important;bottom:.5rem;height:54px!important}.player-social-dialog:has(.social-history){min-height:0}.player-commerce-warehouse{z-index:1700}.player-social-dialog{z-index:1500}.player-commerce{z-index:1600}}

/* Compra e Venda: listas legíveis e contidas na janela. */
.player-commerce{min-width:min(280px,calc(100vw - 1rem));max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}
.player-commerce:has(>.commerce-session-list){display:flex;flex-direction:column;overflow:hidden}
.player-commerce[hidden]{display:none}
.player-commerce>.commerce-session-list{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 .75rem}
.commerce-session-list>section{min-width:0;margin:0 0 1rem}
.commerce-session-row{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:.4rem 0;padding:.65rem .75rem;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.45}
.player-alert-toast{position:fixed;z-index:1800;right:1rem;top:5rem;max-width:calc(100vw - 2rem);padding:.75rem 1rem;border:1px solid #527463;border-radius:.7rem;background:rgba(16,42,67,.72);color:#fff;box-shadow:0 8px 24px #0003;pointer-events:none}.player-alert-drag{cursor:move;touch-action:none;pointer-events:auto}.player-alert-history{position:fixed;z-index:1750;top:5rem;right:1rem;width:min(440px,calc(100vw - 2rem));max-height:calc(100dvh - 6rem);overflow:auto;padding:1rem;border:1px solid #527463;border-radius:.7rem;background:#f8fbf9;color:#102a43;box-shadow:0 8px 24px #0003;box-sizing:border-box}.player-alert-history header{display:flex;justify-content:space-between;gap:1rem;font-weight:700}.player-alert-history article{border-bottom:1px solid #c6d8cc;padding:.7rem 0;overflow-wrap:anywhere}.player-alert-history button{min-height:36px}
.player-commerce:has(>.commerce-session-list)>header,.player-commerce:has(>.commerce-session-list)>.commerce-status{flex:0 0 auto;min-width:0}
.player-commerce:has(>.commerce-session-list)>header h2{min-width:0;overflow-wrap:anywhere}
.player-commerce:has(>.commerce-session-list)>.commerce-status{overflow-wrap:anywhere}
.player-commerce:has(>.commerce-session-list) .window-controls{flex-shrink:0}
.player-commerce.is-minimized>.commerce-session-list{display:none}/* Skill: título e contagem juntos, com a barra imediatamente abaixo. */
.player-economy-bar__skill{grid-template-columns:auto auto;grid-template-rows:auto auto;justify-content:start;align-items:center;column-gap:.5rem;row-gap:.15rem}
.player-economy-bar__skill>span{grid-column:1;grid-row:1}
.player-economy-bar__skill small{grid-column:2;grid-row:1;justify-self:end;translate:none;white-space:nowrap}
.player-economy-bar__skill progress{grid-column:1/-1;grid-row:2;margin:0}

/* Dashboard empresarial: impacto em primeiro plano. */
.company-dashboard-reference .company-reference-main{grid-template-columns:minmax(0,1fr);gap:1.5rem}
.company-dashboard-reference .company-reference-summary{padding:1.5rem;gap:1.5rem}
.company-dashboard-reference .company-reference-summary__card strong{font-size:clamp(2rem,5vw,3.25rem)}
.company-impact-rating{font-size:.8rem;color:#526779;margin:.5rem 0 1rem}
.company-dashboard-reference .company-reference-bottom{grid-template-columns:minmax(0,1fr)}

/* Impacto empresarial: gráficos principais, totais de apoio. */
.company-dashboard-reference .company-reference-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.company-dashboard-reference .company-timeline{min-width:0;padding:1.2rem}
.company-dashboard-reference .company-chart--timeline svg{display:block;width:100%;height:auto;min-height:210px}
.company-dashboard-reference .company-branch-impact,.company-dashboard-reference .company-reference-summary,.company-dashboard-reference .company-reference-stores{grid-column:1/-1}
.company-dashboard-reference .company-reference-summary{padding:.75rem 1rem;gap:.75rem;background:transparent;box-shadow:none}
.company-dashboard-reference .company-reference-summary__card strong{font-size:1.15rem}
.company-dashboard-reference .company-reference-summary__card span,.company-dashboard-reference .company-reference-summary__card small{font-size:.78rem}
.company-dashboard-reference .company-chart__row{grid-template-columns:minmax(100px,1fr) minmax(0,3fr) auto}
@media(max-width:760px){.company-dashboard-reference .company-reference-results{grid-template-columns:minmax(0,1fr)}.company-dashboard-reference .company-timeline{padding:.8rem}.company-dashboard-reference .company-chart--timeline{overflow-x:auto}.company-dashboard-reference .company-chart--timeline svg{min-width:480px}}

.company-dashboard-reference .company-reference-results{grid-template-rows:none}

/* Os meus lotes: cabeçalho separado, empresa e filiais hierárquicas. */
.company-stage.company-stage--lots-reference>.company-workspace{display:flex;flex-direction:column;overflow:hidden!important}
.company-stage.company-stage--lots-reference .company-stage__header{position:relative;top:auto;flex:0 0 auto}
.company-stage.company-stage--lots-reference .company-lots{flex:1 1 auto;min-height:0;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;padding-top:1rem}
.company-stage.company-stage--lots-reference .company-lots[hidden]{display:none}
.company-stage.company-stage--lots-reference .company-lots__layout{min-height:0;align-items:stretch}
.company-stage.company-stage--lots-reference .company-lots__list{display:flex;flex-direction:column;min-height:0;align-self:stretch;overflow:hidden}
.company-stage.company-stage--lots-reference .company-lots__list-heading{flex:0 0 auto}
.company-stage.company-stage--lots-reference .company-lot-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start}
.company-stage.company-stage--lots-reference .company-lot-detail{min-height:0;overflow-y:auto;position:static}
.company-lots__entity-filter{display:grid;gap:.6rem;min-width:0}
.company-lots__entity-filter label{display:grid;gap:.3rem;min-width:0}
.company-lots__entity-filter output{display:block;font-weight:750;overflow-wrap:anywhere}
.company-lots__branch-filter{padding-left:.8rem;border-left:2px solid #b8d9c4}
@media(max-width:760px){.company-stage.company-stage--lots-reference .company-lots{overflow-y:auto;grid-template-rows:auto auto auto}.company-stage.company-stage--lots-reference .company-lots__layout{display:flex;flex-direction:column}.company-stage.company-stage--lots-reference .company-lot-list{max-height:45dvh}.company-stage.company-stage--lots-reference .company-lot-detail{overflow:visible}.company-lots__entity-filter{width:100%}}
.company-stage.company-stage--lots-reference>.company-workspace{width:calc(100% - 230px)!important;max-width:calc(100vw - 230px)!important;margin-left:230px!important}
@media(max-width:760px){.company-stage.company-stage--lots-reference>.company-workspace{width:100%!important;max-width:100vw!important;margin-left:0!important}}

@media(min-width:761px){.company-stage.company-stage--lots-reference.company-stage--nav-collapsed>.company-workspace{width:calc(100% - 56px)!important;max-width:calc(100vw - 56px)!important;margin-left:56px!important}}
.company-stage.company-stage--lots-reference .company-lot-row{grid-template-columns:auto minmax(0,1fr) auto auto}
.company-stage.company-stage--lots-reference .company-lot-row__copy{min-width:0;overflow-wrap:anywhere}
.company-stage.company-stage--lots-reference .company-lot-row__activate{grid-column:2/4;grid-row:2;justify-self:start}
.company-stage.company-stage--lots-reference .company-lot-row__arrow{grid-column:4;grid-row:1}
.company-stage.company-stage--lots-reference .company-lot-row__icon{grid-column:1;grid-row:1}
.company-stage.company-stage--lots-reference .company-lot-row__copy{grid-column:2;grid-row:1}
.company-stage.company-stage--lots-reference .company-lot-row .lot-state{grid-column:3;grid-row:1}
.company-stage.company-stage--lots-reference .company-lot-row__copy strong,.company-stage.company-stage--lots-reference .company-lot-row__copy small{white-space:normal;overflow:visible;text-overflow:clip}
.company-stage.company-stage--lots-reference .company-lot-list{display:flex;flex-direction:column}.company-stage.company-stage--lots-reference .company-lot-row{flex:0 0 auto;height:auto;grid-template-rows:max-content max-content;min-height:max-content}

/* Menu empresarial global: fechado sem coluna vazia; aberto sobre a pagina. */
.company-stage.company-stage.company-stage>.company-workspace{width:100%!important;max-width:100vw!important;margin-left:0!important}
.company-stage.company-stage.company-stage>.company-sidebar{position:fixed!important;width:min(230px,calc(100vw - 34px))!important;transform:translateX(-105%)!important;visibility:hidden!important;pointer-events:none;z-index:6!important}
.company-stage.company-stage.company-stage.company-stage--menu-open>.company-sidebar{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto}
.company-stage.company-stage.company-stage.company-stage--menu-open>.company-nav-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:5!important;background:#102a4377!important}
.company-stage.company-stage.company-stage>.company-sidebar .company-sidebar__brand div,.company-stage.company-stage.company-stage>.company-sidebar .company-nav__group p,.company-stage.company-stage.company-stage>.company-sidebar .company-nav__item span:last-child{display:initial!important}
.company-stage.company-stage.company-stage>.company-sidebar .company-nav__item{justify-content:flex-start}

@media(min-width:761px){.company-stage.company-stage.company-stage.company-stage--menu-open>.company-workspace{width:calc(100% - 230px)!important;max-width:calc(100vw - 230px)!important;margin-left:230px!important}.company-stage.company-stage.company-stage.company-stage--menu-open>.company-nav-backdrop{display:none!important}}

.company-session-context{position:sticky!important;top:0!important;z-index:7;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.6rem 1rem;background:#eef5fa;color:#102f4b;border-bottom:1px solid #cbd9e3;overflow-wrap:anywhere}
.company-session-context strong{min-width:0}.company-session-context .button{margin-left:auto}
.company-sticky-heading{position:sticky;top:0;z-index:3}
.company-sticky-heading .company-session-context,.company-stage .company-sticky-heading .company-stage__header{position:static!important}


/* Keep the lot list useful before the detail in narrow screens. */
@media(max-width:760px){
.company-stage.company-stage--lots-reference .company-lots{padding-top:.4rem;gap:.4rem}
.company-stage.company-stage--lots-reference .company-lots__toolbar{padding:.55rem!important;gap:.5rem;flex-direction:column;align-items:stretch}
.company-stage.company-stage--lots-reference .company-lots__toolbar>div:first-child{display:none}
.company-stage.company-stage--lots-reference .company-lots__toolbar form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.4rem;width:100%}
.company-stage.company-stage--lots-reference .company-lots__entity-filter{grid-column:1/-1;gap:.3rem}
.company-stage.company-stage--lots-reference .company-lots__entity-filter>label:first-child{display:flex;align-items:center;gap:.5rem}
.company-stage.company-stage--lots-reference .company-lots__toolbar select{max-width:100%;width:100%;box-sizing:border-box}
.company-stage.company-stage--lots-reference .company-lots__list{flex:0 0 auto;min-height:250px}
.company-stage.company-stage--lots-reference .company-lot-list{flex:0 0 auto;height:34dvh;min-height:180px;max-height:300px;overflow-y:auto}
.company-stage.company-stage--lots-reference .company-lots__list-heading{padding:.55rem}
.company-stage.company-stage--lots-reference .company-lot-detail{flex:0 0 auto;min-height:120px;position:static}
}

@media(max-width:760px){.company-stage.company-stage--lots-reference .company-lots__toolbar form>*{min-width:0}.company-stage.company-stage--lots-reference .company-lots__toolbar select{min-width:0}}
.commerce-pec-linear-list__items{gap:24px}
.commerce-pec-linear-list__item{padding:20px;border:1px solid #168bb0;border-radius:12px;box-shadow:0 4px 12px #0003}
.commerce-pec-linear-list__item dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-template-areas:"lot state" "branch branch" "prize prize" "quantity flags" "term term" "reference reference"}
.commerce-pec-linear-list__item dl>div{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;padding:10px 12px}
.commerce-pec-linear-list__item dl>div:nth-child(1){grid-area:lot;background:#09344b}
.commerce-pec-linear-list__item dl>div:nth-child(2){grid-area:branch;background:#09344b}
.commerce-pec-linear-list__item dl>div:nth-child(3){grid-area:prize}
.commerce-pec-linear-list__item dl>div:nth-child(4){grid-area:quantity}
.commerce-pec-linear-list__item dl>div:nth-child(5){grid-area:flags}
.commerce-pec-linear-list__item dl>div:nth-child(6){grid-area:term}
.commerce-pec-linear-list__item dl>div:nth-child(7){grid-area:state;background:#09344b}
.commerce-pec-linear-list__item dl>div:nth-child(8){grid-area:reference;margin-top:4px;border-top:2px solid #168bb0;background:#07283d}
.commerce-pec-linear-list__item dt{font-size:.82rem;font-weight:600}
.commerce-pec-linear-list__item dd{text-align:left;max-width:100%;line-height:1.5}
.commerce-pec-linear-list__item dl>div:nth-child(1) dd{font-size:1.1rem;font-weight:700}
.commerce-pec-linear-list__item dl>div:nth-child(2) dd{font-weight:600}
.commerce-pec-linear-list__item dl>div:nth-child(7) dd{padding:3px 10px;border:1px solid #53a7ce;border-radius:20px;font-weight:700;background:#163e55}
.commerce-pec-linear-list__item[data-pec-state="active"] dl>div:nth-child(7) dd{color:#b9ffe0;border-color:#48c497;background:#103e33}
.commerce-pec-linear-list__item[data-pec-state="cancelled"] dl>div:nth-child(7) dd{color:#ffd1ce;border-color:#da8b87;background:#4a292d}
.commerce-pec-linear-list__item dl>div:nth-child(8) dd{font-family:ui-monospace,monospace;font-weight:600;letter-spacing:.025em}
@media(max-width:600px){.commerce-pec-linear-list__items{gap:20px}.commerce-pec-linear-list__item{padding:14px}.commerce-pec-linear-list__item dl{grid-template-columns:minmax(0,1fr);grid-template-areas:"lot" "branch" "state" "prize" "quantity" "flags" "term" "reference"}}
.communications-thread textarea{min-width:0;min-height:8rem;max-width:100%;padding:10px 12px;line-height:1.5;font-size:1rem;font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;overflow-y:auto;resize:vertical;caret-color:currentColor}

/* Player reward/campaign cards only; purchase catalogue remains independent. */
.business-card-info{border-top:1px solid #cad9de;margin-top:1rem;padding-top:1rem;min-width:0;overflow-wrap:anywhere}
.business-card-info header{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin-bottom:.8rem}
.business-card-info header img{width:44px;height:44px;object-fit:contain}
.business-card-info header strong{font-size:1.05rem}.business-card-info header span{color:#526772}
.business-card-info dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.8rem;margin:0}
.business-card-info dt{font-size:.8rem;color:#526772}.business-card-info dd{margin:0;font-weight:600}
.business-card-gps{margin:0 0 .8rem}


.map-flag-identification{max-width:100%;max-height:55vh;overflow-y:auto;overflow-wrap:anywhere}.map-flag-identification h3{margin:0 0 12px}.map-flag-identification dl{margin:0;display:grid;gap:10px}.map-flag-identification dt{font-weight:600}.map-flag-identification dd{margin:3px 0 0}.leaflet-popup-content:has(.map-flag-identification){max-width:calc(100vw - 64px)}
.map-flag-popup{z-index:750;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;transform:none!important;margin:0!important}.map-flag-popup .leaflet-popup-tip-container{display:none}.map-flag-popup .leaflet-popup-content{max-width:calc(100vw - 64px)}

/* Armazém 0184: estados independentes */
.warehouse-load-state{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.4rem 0;overflow-wrap:anywhere}
.warehouse-load-state[data-warehouse-state="error"]{color:#8a241e}
.warehouse-load-state span{min-width:0;flex:1 1 12rem}
/* Local card presentation: no changes to gameplay or QR contracts. */
.card-information{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;border:1px solid #b6c8c1;border-radius:16px;color:#17364a;background:#fff;overflow:hidden}
.card-information::backdrop{background:#102b3e88}.card-information>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#102b3e;color:#fff}.card-information h2{font-size:1.15rem;margin:0;overflow-wrap:anywhere}.card-information__body{padding:18px;max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}.card-information__body p{white-space:pre-wrap}.card-information__body>div{padding:8px 0;border-bottom:1px solid #e3eae7}
.business-card-info{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.business-card-info header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.business-card-info header img{width:52px;height:52px;object-fit:contain}.business-card-info header strong{overflow-wrap:anywhere}.business-card-symbol{width:74px;flex:0 0 74px;margin:0;padding:6px;border:1px solid #d3dfd9;border-radius:10px;text-align:center}.business-card-symbol img{width:58px;height:58px;object-fit:contain}.business-card-symbol figcaption{font-size:.7rem;overflow-wrap:anywhere}.business-card-reference{font-size:.68rem;color:#65756f;overflow-wrap:anywhere}.card-more-information{min-height:44px}.business-card-info dl{margin:0;width:100%}
.pec-card-shell:has(.business-card-info),.pec-right-card:has(.business-card-info){grid-template-columns:1fr!important}.pec-card-shell [hidden],.pec-right-card [hidden]{display:none!important}.pec-card-count{font-size:1.4rem!important;line-height:1.4!important}.pec-card-identity img{max-width:160px;max-height:140px;object-fit:contain}.pec-right-card__content,.pec-card-content{min-width:0}.card-information__body button{min-height:44px}
.card-business-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #dae5de}.card-business-identity header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.card-business-identity header img{width:52px;height:52px;object-fit:contain}.card-business-identity header strong{overflow-wrap:anywhere}.normal-card-heading h4{font-size:.7rem!important;font-weight:400!important;color:#65756f!important}.pec-card-description[hidden]{display:none!important}.pec-card-identity:has(img[alt^="Imagem simbólica"]),.pec-right-card__identity:has(img[alt^="Imagem simbólica"]){display:none!important}@media(max-width:390px){.card-business-identity{padding:8px;gap:6px}.card-business-identity header img{width:40px;height:40px}.business-card-symbol{width:60px;flex-basis:60px}.business-card-symbol img{width:44px;height:44px}}
.business-card-symbol--neutral{background:#f1f3f2;color:#64726a}.business-card-symbol--neutral>span{display:block;font-size:2rem;line-height:1.5}.business-card-symbol--neutral figcaption{font-size:.65rem}
.company-stage--pec-reference .commerce-pec-linear{border:2px solid #43b3d1;border-left:7px solid #43b3d1;background:#072a40;margin-bottom:32px}
.commerce-pec-create-label{display:inline-block;padding:4px 10px;margin-bottom:8px;border-radius:6px;background:#bdeaf5;color:#073045;font-size:.8rem;font-weight:700}
.company-stage--pec-reference .commerce-pec-linear-list{padding:0;border:0;background:none}
.commerce-pec-list-help{color:var(--enterprise-muted);margin:8px 0 16px}
.company-stage--pec-reference .commerce-pec-linear-list__items{gap:12px}
.company-stage--pec-reference .commerce-pec-linear-list__item{padding:16px;background:#102338;border:1px solid #456078;border-radius:12px;min-width:0}
.commerce-pec-compact-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0}
.commerce-pec-compact-heading>div{min-width:0}.commerce-pec-compact-heading h4{margin:0;color:#fff;overflow-wrap:anywhere}.commerce-pec-compact-heading p{margin:6px 0;color:#c6d4df;overflow-wrap:anywhere}
.commerce-pec-state{display:inline-block;flex:0 0 auto;max-width:100%;padding:5px 10px;border-radius:20px;border:1px solid #e4bf6d;background:#493d23;color:#ffdf99;font-size:.85rem;font-weight:700;overflow-wrap:anywhere}
.commerce-pec-linear-list__item[data-pec-state="active"] .commerce-pec-state{background:#103e33;border-color:#48c497;color:#b9ffe0}
.commerce-pec-linear-list__item[data-pec-state="cancelled"] .commerce-pec-state{background:#4a292d;border-color:#da8b87;color:#ffd1ce}
.commerce-pec-linear-list__item:is([data-pec-state="expired"],[data-pec-state="ended"]) .commerce-pec-state{background:#303c49;border-color:#8194a6;color:#e2e9ef}
.commerce-pec-compact-facts{margin:8px 0;color:#e3ecf5;overflow-wrap:anywhere}
.commerce-pec-compact-details{border-top:1px solid #456078;padding-top:8px}.commerce-pec-compact-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-weight:700;color:#c5eaff}.commerce-pec-compact-details summary::before{content:'▸'}.commerce-pec-compact-details[open] summary::before{content:'▾'}
.company-stage--pec-reference .commerce-pec-linear-list__item details dl{grid-template-columns:minmax(0,1fr);grid-template-areas:none;margin-top:8px}
.company-stage--pec-reference .commerce-pec-linear-list__item details dl>div{grid-area:auto;background:transparent;margin:0;padding:8px 0;border-top:1px solid #456078}
.company-stage--pec-reference .commerce-pec-linear-list__item details dd{font:inherit;letter-spacing:normal;background:none;border:0;padding:0;overflow-wrap:anywhere}
@media(max-width:600px){.commerce-pec-compact-heading{flex-direction:column}.commerce-pec-state{flex-shrink:1}.company-stage--pec-reference .commerce-pec-linear-list__item{padding:12px}.company-stage--pec-reference .commerce-pec-linear{margin-bottom:24px}}

/* Recolher a lista preserva os cartões e os seus temporizadores. */
.commerce-pec-linear-list__items[hidden]{display:none!important}
.commerce-pec-linear-list>h3{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.commerce-pec-linear-list>h3 .button{font-size:.9rem;white-space:normal}

.commerce-bingo-summary-details{border-top:1px solid #087fa6;padding-top:.75rem}.commerce-bingo-summary-details summary{cursor:pointer;font-weight:700}.commerce-bingo-summary-details ul{max-height:18rem;overflow:auto;overflow-wrap:anywhere}.commerce-bingo-form-host{border:2px solid #087fa6;border-radius:12px;padding:1rem}.commerce-bingo-campaigns .commerce-bingo-card{min-width:0}.commerce-bingo-card__facts dd{overflow-wrap:anywhere}
@media(max-width:760px){.commerce-bingo-campaigns .commerce-bingo-card__facts{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-bingo-campaigns .commerce-bingo-card__facts>div:first-child,.commerce-bingo-campaigns .commerce-bingo-card__facts>div:nth-child(n+5){grid-column:1/-1}.commerce-bingo-form-host{padding:.65rem}}

.commerce-pec-lot-symbol{display:inline-block;width:68px;margin:6px 0 0;padding:5px;border:1px solid #7697a3;border-radius:8px;text-align:center}.commerce-pec-lot-symbol img{display:block;width:56px;height:56px;object-fit:contain}.commerce-pec-lot-symbol figcaption{font-size:.7rem;overflow-wrap:anywhere}.commerce-pec-lot-symbol>span{font-size:2rem}

.commerce-pec-company{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.commerce-pec-company strong{font-size:1.15rem;flex-basis:100%;overflow-wrap:anywhere}.commerce-pec-company img{width:90px;height:90px;object-fit:contain;padding:6px;border:1px solid #7697a3;border-radius:10px;box-sizing:border-box}.commerce-pec-company small{font-size:.75rem}

.commerce-pec-pictures{display:flex;gap:10px;flex-basis:100%;align-items:stretch;margin-top:6px}.commerce-pec-pictures .commerce-pec-lot-symbol,.commerce-pec-prize-picture{width:78px;margin:0;padding:5px;border:1px solid #7697a3;border-radius:8px;text-align:center;box-sizing:border-box}.commerce-pec-pictures img{display:block;width:66px;height:66px;object-fit:contain;border:0;padding:0;border-radius:0}.commerce-pec-prize-picture figcaption,.commerce-pec-prize-picture small{font-size:.7rem;overflow-wrap:anywhere}.commerce-pec-prize-picture>span{font-size:2rem}.commerce-pec-company>img{width:104px;height:104px}

.commerce-pec-company>img,.commerce-pec-logo-neutral{width:208px;max-width:100%;height:104px;flex-shrink:1;box-sizing:border-box;object-fit:contain}.commerce-pec-logo-neutral{display:flex;align-items:center;justify-content:center;padding:10px;border:1px solid #7697a3;border-radius:10px;text-align:center}.commerce-pec-company{min-width:0;max-width:100%}.commerce-pec-compact-heading>div{min-width:0;max-width:100%}.commerce-pec-pictures{max-width:100%;flex-wrap:nowrap}

/* PEC stage 1: bounded responsive image areas, no image cropping. */
.commerce-pec-company>img,.commerce-pec-logo-neutral{width:min(208px,100%);height:104px;object-fit:contain;flex:0 1 208px}
.commerce-pec-pictures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(208px,100%);gap:10px;box-sizing:border-box}
.commerce-pec-pictures .commerce-pec-lot-symbol,.commerce-pec-pictures .commerce-pec-prize-picture{width:100%;min-width:0;margin:0;box-sizing:border-box}
.commerce-pec-pictures img{width:100%;height:76px;max-width:100%;object-fit:contain;box-sizing:border-box}
.commerce-pec-pictures figcaption,.commerce-pec-pictures small{overflow-wrap:anywhere}
@media(max-width:390px){.commerce-pec-company>img,.commerce-pec-logo-neutral{height:96px}.commerce-pec-pictures img{height:68px}}
@media(max-width:260px){.commerce-pec-pictures{grid-template-columns:minmax(0,1fr)}}
.commerce-pec-company{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.commerce-pec-pictures{max-width:min(208px,100%)}

/* PEC stage 2: compact summary; administrative facts remain in details. */
.commerce-pec-linear-list__items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px;align-items:start}
.commerce-pec-linear-list__item{margin:0;padding:14px;min-width:0}
.commerce-pec-compact-heading{position:relative;display:block;padding-top:28px}
.commerce-pec-compact-heading>.commerce-pec-state{position:absolute;top:0;right:0;max-width:100%;overflow-wrap:anywhere}
.commerce-pec-company{gap:6px}.commerce-pec-company strong{font-size:1.1rem;line-height:1.25}
.commerce-pec-company>img{height:96px}.commerce-pec-pictures{margin-top:0;gap:8px}.commerce-pec-pictures img{height:60px}
.commerce-pec-compact-heading h4{font-size:1rem;margin:10px 0 4px;overflow-wrap:anywhere}
.commerce-pec-branch{margin:0;font-size:.8rem;color:#aac1ce}
.commerce-pec-compact-facts{font-size:.85rem;line-height:1.4;margin:10px 0}
.commerce-pec-compact-details{margin-top:8px}.commerce-pec-compact-details summary{min-height:36px;display:flex;align-items:center}
@media(max-width:390px){.commerce-pec-linear-list__item{padding:12px}.commerce-pec-pictures img{height:58px}}

.pec-visual-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}.pec-visual-group{min-width:0;padding:12px;border:1px solid #7c9da7;border-radius:10px}.pec-visual-group>strong,.pec-visual-group>small{display:block}.pec-visual-group input,.pec-visual-group select{max-width:100%;min-height:44px}.pec-visual-group button{min-height:44px}.pec-visual-group details{margin-top:10px}.pec-group-split-zone{padding:12px;border:2px dashed #7c9da7;grid-column:1/-1}

.pec-group-drag-handle{cursor:grab;touch-action:none;user-select:none}.is-group-dragging{outline:3px solid #f5ce60}.is-drop-valid{outline:2px dashed #32aa77}.is-drop-invalid{outline:2px dashed #a96565}.is-drop-hover{outline:4px solid #32aa77;background:#17483c!important}.pec-group-drag-ghost{position:fixed;z-index:99999;pointer-events:none;padding:10px;background:#173b50;color:white;border:2px solid #f5ce60;border-radius:8px;max-width:210px}
.pec-visual-group{padding:.65rem;display:flex;flex-direction:column;gap:.35rem}
.pec-visual-group h4,.pec-visual-group p{margin:0}
.pec-visual-group>.pec-group-drag-handle{font-size:1.15rem;font-weight:750;align-self:start;padding:.35rem .6rem}
.pec-visual-group>.business-card-info{padding:.35rem;margin:0}
.pec-visual-group>.business-card-info header{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}
.pec-visual-group>.business-card-info header img{width:132px;max-width:45%;height:48px;object-fit:contain}
.pec-visual-group>.business-card-info .business-card-symbol{margin:.2rem 0;width:44px;flex:0 0 44px;padding:2px;display:flex;align-items:center;gap:.35rem}
.pec-visual-group>.business-card-info .business-card-symbol figcaption{display:none}
.pec-visual-group>.business-card-info header{margin-bottom:0}
.pec-visual-group>.business-card-info .business-card-symbol img{width:40px;height:40px;object-fit:contain}
.pec-visual-group>.business-card-info .business-card-reference,.pec-visual-group>.business-card-info dl{display:none}
.pec-visual-group>details{margin:0}.pec-visual-group>details>summary{min-height:36px;cursor:pointer}
.pec-visual-group>details input,.pec-visual-group>details select{width:100%;box-sizing:border-box}
.pec-group-split-zone{display:none}.pec-visual-groups.is-drag-active .pec-group-split-zone{display:block}
.pec-visual-group{gap:.2rem;padding:.5rem;max-width:440px;box-sizing:border-box}
.pec-visual-group>.business-card-info{gap:.4rem;border-top:0;padding:0;align-items:center}
.pec-visual-group>.business-card-info header{gap:.35rem;flex:1 1 150px}
.pec-visual-group>.business-card-info header img{width:108px;height:36px;max-width:42%}
.pec-visual-group>.business-card-info .business-card-symbol{width:34px;flex-basis:34px;border:0}
.pec-visual-group>.business-card-info .business-card-symbol img{width:32px;height:32px}
.pec-visual-group>.business-card-info .card-more-information{display:none}
.pec-visual-group h4{font-size:1rem;line-height:1.25}
.pec-visual-group>small{font-size:.78rem;line-height:1.35}
.pec-visual-group>details>summary{min-height:28px;font-size:.85rem}
.pec-visual-group>.pec-group-drag-handle{min-height:40px;font-size:1.05rem}

.commerce-bingo-calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.commerce-bingo-calendar-grid>label{display:grid;gap:.35rem;min-width:0}.commerce-bingo-calendar-grid input{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.commerce-bingo-period-output{overflow-wrap:anywhere}@media(max-width:480px){.commerce-bingo-calendar-grid{grid-template-columns:minmax(0,1fr)}}
.commerce-bingo-calendar-section h4,.commerce-bingo-calendar-section .commerce-bingo-period-output{color:#163328}.commerce-bingo-calendar-section .commerce-field-error{color:#a51b1b}
/* Compact Bingo preparation: presentation only. */
.company-stage--bingo-reference .commerce-bingo-area-select,.company-stage--bingo-reference .commerce-bingo-area,.company-stage--bingo-reference .commerce-bingo-map-box,.company-stage--bingo-reference .commerce-bingo-campaign-form{padding:.65rem;margin-block:.45rem;min-width:0}
.company-stage--bingo-reference .commerce-bingo-area h3,.company-stage--bingo-reference .commerce-bingo-campaign-form h3{margin:.2rem 0 .45rem}
.commerce-bingo-compact-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;margin:.4rem 0}.commerce-bingo-compact-facts div{min-width:0}.commerce-bingo-compact-facts dt{font-size:.75rem;opacity:.8}.commerce-bingo-compact-facts dd{margin:0;overflow-wrap:anywhere;font-weight:600}
.company-stage--bingo-reference .commerce-bingo-facts{margin:.35rem 0;grid-template-columns:repeat(2,minmax(0,1fr))}.company-stage--bingo-reference .commerce-bingo-radius-box{padding:.35rem}.company-stage--bingo-reference .commerce-bingo-map-box .commerce-campaign-map{height:220px;min-height:0;max-height:220px}
.commerce-bingo-point-details{padding:.35rem;margin:.35rem 0}.commerce-bingo-point-details summary{cursor:pointer}.commerce-bingo-point-details label{display:grid;min-width:0}
.commerce-bingo-quantity-shortcuts{display:flex;gap:.35rem;flex-wrap:wrap;align-items:center;grid-column:1/-1}.commerce-bingo-quantity-shortcuts button{padding:.3rem .55rem}
.company-stage--bingo-reference .commerce-bingo-summary{display:block;white-space:pre-line;background:#eaf5ef;color:#163328;border:1px solid #b5d2c1;border-radius:.5rem;padding:.65rem;line-height:1.5;overflow-wrap:anywhere;margin:.4rem 0}
.company-stage--bingo-reference .commerce-bingo-activation-info{font-size:.75rem;line-height:1.3}.company-stage--bingo-reference .commerce-bingo-campaign-form .commerce-campaign-grid{gap:.4rem;padding:.5rem}.company-stage--bingo-reference .commerce-bingo-calendar-section{padding:.5rem;gap:.35rem}
@media(max-width:480px){.commerce-bingo-compact-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.company-stage--bingo-reference .commerce-bingo-map-box .commerce-campaign-map{height:180px;max-height:180px}.company-stage--bingo-reference .commerce-bingo-activation-bar{padding:.4rem}}
.commerce-bingo-commitment-warning{background:#fff5dc;color:#4e3505;border:2px solid #cc8b24;border-radius:.5rem;padding:.65rem;margin:.4rem 0;line-height:1.35;overflow-wrap:anywhere}.commerce-bingo-commitment-warning strong{display:block}.commerce-bingo-commitment-warning p{margin:.4rem 0}.commerce-bingo-commitment-warning ul{margin:.4rem 0;padding-left:1.2rem}

/* PDF 031: seleção local da fotografia PEC, sem apagar ficheiros guardados. */
.commerce-pec-photo-controls{display:flex;align-items:end;gap:.5rem;flex-wrap:wrap;min-width:0}.commerce-pec-photo-controls label{flex:1 1 12rem;min-width:0}.commerce-pec-photo-controls input{max-width:100%;min-width:0}.commerce-pec-photo-preview{display:block;object-fit:contain;width:100%;max-width:20rem;max-height:12rem;margin:.5rem auto}.commerce-pec-photo-preview[hidden]{display:none}
.commerce-pec-photo-rights[hidden]{display:none!important}

/* Identidade do lote independente da fotografia do prémio em Meus PECs. */
.pec-card-lot-symbol{margin:.4rem;max-width:9rem;min-width:0}.pec-card-lot-symbol img{display:block;width:100%;height:7rem;object-fit:contain}.pec-card-lot-symbol figcaption{font-size:.8rem;overflow-wrap:anywhere}.pec-card-brand strong{display:block;font-size:1.1rem}.pec-card-brand{min-width:0}
@media(max-width:480px){.pec-card-lot-symbol{max-width:6rem}.pec-card-lot-symbol img{height:5rem}}

/* PDF 032 — summary cards only; creation form and game cards unchanged. */
.commerce-pec-linear-list .commerce-pec-linear-list__items{gap:8px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.commerce-pec-linear-list .commerce-pec-linear-list__item{padding:8px}
.commerce-pec-linear-list .commerce-pec-compact-heading{padding-top:0}
.commerce-pec-linear-list .commerce-pec-compact-heading>.commerce-pec-state{top:auto;bottom:4px;font-size:.75rem;line-height:1.2;padding:2px 6px;max-width:130px}
.commerce-pec-linear-list .commerce-pec-company{display:grid;grid-template-columns:96px minmax(0,1fr) 88px;gap:3px 8px;align-items:center}
.commerce-pec-linear-list .commerce-pec-company>strong{grid-column:2;grid-row:1;font-size:1rem;line-height:1.2;overflow-wrap:anywhere;color:#eaf5ff}
.commerce-pec-linear-list .commerce-pec-company>img{grid-column:1;grid-row:1/3;width:96px;height:40px;object-fit:contain}
.commerce-pec-linear-list .commerce-pec-pictures{grid-column:3;grid-row:1/3;width:88px;gap:6px;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.commerce-pec-linear-list .commerce-pec-pictures img{height:32px;width:100%;object-fit:contain}
.commerce-pec-linear-list .commerce-pec-pictures figure{padding:2px}
.commerce-pec-linear-list .commerce-pec-pictures figcaption,.commerce-pec-linear-list .commerce-pec-pictures small{display:none}
.commerce-pec-linear-list .commerce-pec-compact-heading h4{margin:4px 0;min-height:35px;padding-right:135px;font-size:1rem;line-height:1.2}
.commerce-pec-linear-list .commerce-pec-branch{grid-column:2;grid-row:2;margin:0;font-size:.8rem}
.commerce-pec-linear-list .commerce-pec-compact-facts{margin:4px 0;font-size:.8rem;line-height:1.25;overflow-wrap:anywhere}
.commerce-pec-linear-list .commerce-pec-compact-details{margin-top:3px;padding-top:0}
.commerce-pec-linear-list summary,.commerce-pec-linear-list button{min-height:44px}
.commerce-pec-cancelled-history{margin-top:10px;padding:8px;border:1px solid #718a93;border-radius:8px}
@media(max-width:390px){.commerce-pec-linear-list .commerce-pec-company{grid-template-columns:72px minmax(0,1fr) 68px}.commerce-pec-linear-list .commerce-pec-company>img{width:72px;height:36px}.commerce-pec-linear-list .commerce-pec-pictures{width:68px;gap:4px}.commerce-pec-linear-list .commerce-pec-pictures img{height:24px}}

/* PDF033: filiais em lista vertical e diagnóstico sem alterar estados. */
.branch-activation-diagnosis{margin:.5rem 0;padding:.65rem;border:1px solid #7994a4;border-radius:8px;overflow-wrap:anywhere}.branch-activation-diagnosis summary{cursor:pointer;min-height:44px}.branch-activation-diagnosis p{line-height:1.4}.branch-list-card__copy strong,.branch-list-card__copy small{white-space:normal;overflow-wrap:anywhere}.branch-directory__list{min-width:0}
@media(max-width:760px){.branch-directory__list{display:grid;grid-template-columns:minmax(0,1fr);overflow-x:hidden;max-width:100%}.branch-list-card{width:100%;min-width:0;flex:initial;grid-template-columns:24px minmax(0,1fr) auto}.branch-state{max-width:90px;overflow-wrap:anywhere}}

/* Seletor Bingo: referências de instância e disponibilidade legíveis também no telemóvel. */
.commerce-bingo-area-select select{width:100%;min-width:0;max-width:100%}.commerce-bingo-lot-availability{min-width:0;width:100%}.commerce-bingo-lot-availability p{margin:.5rem 0;overflow-wrap:anywhere;font-size:.85rem}.commerce-bingo-compact-facts dd{overflow-wrap:anywhere}
.commerce-bingo-lot-details,.commerce-bingo-area-details{min-width:0;margin:.25rem 0;overflow-wrap:anywhere}
.company-stage--bingo-reference .commerce-bingo-area-select>strong,.company-stage--bingo-reference .commerce-bingo-campaign-form .commerce-campaign-grid label>span{color:#e8f1f5}
.company-stage--bingo-reference .commerce-bingo-radius-box{background:transparent}
.company-stage--bingo-reference .commerce-bingo-radius-box small{color:#d6e5ec}
.commerce-bingo-lot-details summary,.commerce-bingo-area-details summary{cursor:pointer;min-height:2.75rem;display:flex;align-items:center;font-weight:600}
.company-stage--bingo-reference .commerce-bingo-area-details .commerce-bingo-facts{margin:.25rem 0}
.company-stage--bingo-reference .commerce-bingo-map-box .commerce-campaign-map{height:200px;max-height:200px;min-height:0}
@media(max-width:480px){.company-stage--bingo-reference .commerce-bingo-map-box .commerce-campaign-map{height:160px;max-height:160px}.commerce-bingo-area-select select{font-size:.85rem}.commerce-bingo-lot-details .commerce-bingo-compact-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Closed complete PEC inventory row: only identity, prize, deadline and count. */
.pec-visual-group{padding:0;max-width:none;gap:0;min-width:0}
.pec-group-front{display:grid;grid-template-columns:36px minmax(0,1fr) 28px auto auto;align-items:center;gap:8px;padding:10px;cursor:pointer;min-width:0}
.pec-group-front:focus-visible{outline:2px solid #55c7ff;outline-offset:2px}
.pec-group-logo,.pec-group-symbol{display:flex;align-items:center;justify-content:center;height:32px;min-width:0}
.pec-group-logo img,.pec-group-symbol img{width:100%;height:100%;object-fit:contain}
.pec-group-logo.is-neutral,.pec-group-symbol.is-neutral{border:1px dashed #64748b;border-radius:4px;background:#ffffff08}
.pec-group-names{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;line-height:1.25}
.pec-group-names strong{font-size:.9rem}.pec-group-names>span{font-size:.85rem}
.pec-group-deadline{font-size:.72rem;white-space:nowrap}
.pec-group-count.pec-group-drag-handle{font-size:1.45rem;line-height:1;min-height:0;padding:4px;white-space:nowrap;background:none;border:0}
.pec-group-details[hidden]{display:none!important}
.pec-group-details{padding:10px;min-width:0}.pec-group-details fieldset{min-width:0;margin:10px 0}
@media(max-width:600px){.pec-group-front{grid-template-columns:32px minmax(0,1fr) 24px auto;gap:6px;padding:8px}.pec-group-deadline{grid-column:2/4;grid-row:2}.pec-group-count{grid-column:4;grid-row:1/3}.pec-group-logo{grid-row:1/3}.pec-group-names{grid-column:2}.pec-group-symbol{grid-column:3}}

.pec-group-symbol.is-neutral,.pec-group-logo.is-neutral{font-size:.55rem;line-height:1.1;text-align:center;overflow-wrap:anywhere}
.pec-group-symbol{height:36px}

.pec-group-front{grid-template-columns:100px minmax(0,1fr) 36px auto auto}
.pec-group-company{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;text-align:center}
.pec-group-company>.pec-group-logo{width:64px;height:28px}
.pec-group-company>strong{font-size:.72rem;line-height:1.15;overflow-wrap:anywhere}
.pec-group-names>span{font-weight:600}
@media(max-width:600px){.pec-group-front{grid-template-columns:76px minmax(0,1fr) 30px auto}.pec-group-company{grid-column:1;grid-row:1/3}.pec-group-company>.pec-group-logo{width:60px;height:26px}.pec-group-company>strong{font-size:.67rem}.pec-group-names>span{font-size:.78rem}.pec-group-deadline{font-size:.65rem;white-space:normal}.pec-group-count.pec-group-drag-handle{font-size:1.3rem}}

/* Consolidated complete PEC card: compact identity, optional prize photograph, single footer. */
.pec-group-front{grid-template-columns:112px minmax(0,1fr) 38px auto;grid-template-rows:auto auto;gap:6px 10px}
.pec-group-company{grid-column:1;grid-row:1}
.pec-group-names{grid-column:2;grid-row:1;display:flex;flex-direction:row;align-items:center;gap:8px}
.pec-group-names>span{flex:1;min-width:0}
.pec-group-prize-photo{width:38px;height:38px;object-fit:contain;flex:0 0 38px}
.pec-group-symbol{grid-column:3;grid-row:1}
.pec-group-count.pec-group-drag-handle{grid-column:4;grid-row:1}
.pec-group-deadline{grid-column:1/-1;grid-row:2;border-top:1px solid #ffffff18;padding-top:4px;white-space:normal;font-size:.72rem}
.pec-group-details{max-height:60vh;overflow-y:auto;overscroll-behavior:contain;overflow-x:hidden}
.pec-group-details .business-card-info header img{width:100px;height:42px;object-fit:contain}
.pec-group-individual{margin-top:8px}
@media(max-width:600px){.pec-group-front{grid-template-columns:76px minmax(0,1fr) 30px auto;gap:5px}.pec-group-company{grid-row:1}.pec-group-names{flex-wrap:wrap;gap:4px}.pec-group-prize-photo{width:30px;height:30px;flex-basis:30px}.pec-group-deadline{grid-column:1/-1;font-size:.68rem}.pec-group-count.pec-group-drag-handle{grid-row:1}}

.pec-group-details{width:min(660px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:80vh;box-sizing:border-box;background:#082334;color:#eef5f9;border:1px solid #64748b;border-radius:10px;padding:0 12px 12px}.pec-group-details::backdrop{background:#0009}.pec-group-details-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;background:#082334}.pec-group-details-toolbar>strong{min-width:0;overflow-wrap:anywhere}.pec-group-details-toolbar button{flex-shrink:0}

@media(max-width:400px){.pec-group-names>span{flex-basis:100%}.pec-group-prize-photo{width:26px;height:26px;flex-basis:26px}.pec-group-names{align-content:center}}

.pec-group-common-info{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:10px}.pec-group-common-info p{margin:0}.pec-group-common-info>.pec-group-symbol{width:42px;height:42px}.pec-group-common-info>small{font-size:.72rem;opacity:.7}

.inventory-compact-front{display:grid;grid-template-columns:92px minmax(0,1fr) 36px auto;align-items:center;gap:6px 10px;padding:10px;border:1px solid #64748b;border-radius:10px;cursor:pointer;min-width:0;box-sizing:border-box;color:inherit}
.inventory-compact-front:focus-visible{outline:2px solid #55c7ff}.inventory-compact-company{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;min-width:0}.inventory-compact-company strong{font-size:.75rem;line-height:1.2;overflow-wrap:anywhere}
.inventory-compact-logo{width:62px;height:30px}.inventory-compact-symbol{width:34px;height:34px}.inventory-compact-photo{width:28px;height:28px}.inventory-compact-logo,.inventory-compact-symbol,.inventory-compact-photo{display:flex;align-items:center;justify-content:center;font-size:.6rem;line-height:1.1;text-align:center}.inventory-compact-front img{width:100%;height:100%;object-fit:contain}.inventory-compact-label{display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere;min-width:0;font-size:.82rem}.inventory-compact-label small{font-size:.72rem}.inventory-compact-count{font-size:1.5rem;white-space:nowrap}.inventory-compact-footer{grid-column:1/-1;font-size:.66rem;overflow-wrap:anywhere;opacity:.85;border-top:1px solid #ffffff18;padding-top:4px}
.inventory-card-details{width:min(700px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:80vh;overflow:auto;box-sizing:border-box;border:1px solid #64748b;border-radius:10px;background:#082334;color:#eef5f9;padding:0 10px 10px}.inventory-card-details::backdrop{background:#0009}.inventory-card-toolbar{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;background:#082334}.inventory-card-toolbar button{min-height:40px}.inventory-card-details .pec-card-shell,.inventory-card-details .normal-card-shell{max-width:100%;min-width:0}
@media(max-width:600px){.inventory-compact-front{grid-template-columns:72px minmax(0,1fr) 28px auto;gap:5px;padding:8px}.inventory-compact-company strong{font-size:.67rem}.inventory-compact-logo{width:58px;height:26px}.inventory-compact-symbol{width:28px;height:28px}.inventory-compact-count{font-size:1.3rem}.inventory-compact-label{font-size:.75rem}}

.pec-conquest-dialog{width:min(520px,calc(100vw - 32px));max-height:80vh;overflow:auto;box-sizing:border-box}.pec-conquest-dialog img{width:100px;height:80px;object-fit:contain;max-width:28%}.pec-conquest-dialog button{display:block;margin-top:1rem}.pec-conquest-dialog::backdrop{background:#0008}

.normal-inventory-search{width:100%;min-width:0}.normal-inventory-search input{width:100%;box-sizing:border-box;min-width:0}.normal-company-group summary{display:flex;align-items:center;gap:10px;padding:10px;cursor:pointer}.normal-company-group summary img{width:40px;height:32px;object-fit:contain}.normal-company-group summary strong:first-of-type{overflow-wrap:anywhere;flex:1;min-width:0}.normal-company-group>div>td{display:block;width:100%;box-sizing:border-box}.normal-company-group{margin-top:8px}
