.pc-position-actions .sel-tools,
.m-position-card-bottom .sel-tools {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.pc-position-action-btn input,
.m-position-compare input {
    accent-color: #d40012;
}

.pc-position-job a,
.m-position-card a {
    color: inherit;
    text-decoration: none;
}

.pc-position-job a:hover,
.m-position-card a:hover {
    color: #d40012;
}

.pc-pos-range-body select,
.m-position-scope-select select {
    max-width: 100%;
}

.m-position-scope-select {
    display: block;
}

.m-position-card-bottom {
    align-items: center;
}

.m-position-card-bottom .sel-tools {
    flex: 1 1 auto;
}

.m-position-card-bottom .m-position-pool-trigger {
    width: 100%;
}

.m-position-filter-grid .m-position-field--full {
    grid-column: 1 / -1;
}

.paging {
    flex-wrap: wrap;
}

.position-match-unavailable {
    color: #8190a0;
    font-size: 12px;
}

/* Keep long, unbroken source codes inside the first PC table column. */
.pc-position-row .pc-position-code {
    min-width: 0;
}

.pc-position-row .pc-position-code b {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-height: 1.4;
}

/* Match the prototype's compact mobile card and three equal actions. */
.m-position-title-row--no-match {
    grid-template-columns: minmax(0, 1fr);
}

.m-position-card .m-position-code {
    overflow-wrap: anywhere;
}

.m-position-card .m-position-company {
    overflow-wrap: anywhere;
}

.m-position-card .m-position-project {
    min-width: 0;
    overflow-wrap: anywhere;
}

.m-position-card-bottom .m-position-pool-wrap {
    position: relative;
}

.m-position-card-bottom .m-position-pool-wrap > .ui-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #7a8798;
    font-size: 13px;
    pointer-events: none;
}

.m-position-card-bottom .m-position-pool-trigger {
    display: block;
    appearance: none;
    padding: 0 5px 0 23px;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
}

.m-position-card-bottom .m-position-compare {
    cursor: pointer;
}

.m-position-card-bottom .m-position-compare input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.m-position-card-bottom .m-position-compare:has(input:checked) {
    border-color: #ff9aa3;
    background: #fff1f2;
    color: #d40012;
}

.m-position-card-bottom .m-position-detail,
.m-position-card-bottom .m-position-detail:hover {
    color: #fff;
}

@media (max-width: 360px) {
    .m-position-card-bottom {
        gap: 5px;
    }

    .m-position-card-bottom .m-position-pool-wrap > .ui-icon {
        left: 7px;
    }

    .m-position-card-bottom .m-position-pool-trigger {
        padding-left: 19px;
        font-size: 11px;
    }
}


/* A quieter mobile card: one project line and a labelled compact ring. */
.positions-mobile-page .m-position-list {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}
.positions-mobile-page .m-position-card {
    width: 100%;
    min-width: 0;
}
.positions-mobile-page .m-position-card .m-position-project {
    min-height: 26px;
    padding: 5px 7px;
    gap: 5px;
    white-space: nowrap;
}
.positions-mobile-page .m-position-project > .m-position-project-kind {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 500;
}
.positions-mobile-page .m-position-project > .m-position-project-name {
    flex: 1;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: transparent;
    color: #7e899a;
    font-size: 11px;
    font-weight: 400;
}
.positions-mobile-page .m-position-project > i {
    flex-shrink: 0;
    color: #b4a1a7;
    font-size: 12px;
    font-style: normal;
}
.positions-mobile-page .m-position-title-row {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 6px;
}
.positions-mobile-page .m-position-title-row--no-match { grid-template-columns: minmax(0, 1fr); }
.positions-mobile-page .m-position-match { width: 42px; height: 42px; }
.positions-mobile-page .m-position-match::after { width: 34px; height: 34px; }
.positions-mobile-page .m-position-match-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}
.positions-mobile-page .m-position-match strong {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
}
.positions-mobile-page .m-position-match small {
    color: #8b97a8;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
}

/* Mobile directory: personal estimate, annual summary and a compact recruitment corner. */
.positions-mobile-page .m-position-result-metrics--standalone{align-items:stretch;gap:10px;margin-bottom:14px;overflow:visible}
.positions-mobile-page .m-position-result-metric{position:relative;min-width:0;min-height:108px;padding:13px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;border-radius:19px 19px 7px 19px}
.positions-mobile-page .m-position-estimate{background:linear-gradient(135deg,#fff8f9,#fff1f3);border-color:#ffe0e5}
.positions-mobile-page .m-position-result-metric>span,.positions-mobile-page .m-position-history-link>span,.positions-mobile-page .m-position-history-picker summary>span{font-size:12px;font-weight:600;color:#846b73}
.positions-mobile-page .m-position-estimate>b{font-size:28px;line-height:1.15;color:#ec001b;font-variant-numeric:tabular-nums}
.positions-mobile-page .m-position-estimate>b.is-counting{font-size:21px}
.positions-mobile-page .m-position-result-metric small{font-size:10px;line-height:1.4;color:#8d8290}
.positions-mobile-page .m-position-estimate-login{font-size:17px;font-weight:700;color:#dc0020;line-height:1.6}
.positions-mobile-page .m-position-result-metric i{font-style:normal}
.positions-mobile-page .m-position-history{background:linear-gradient(135deg,#f3fcf9,#eaf8f3);border:1px solid #d5eee3;border-radius:19px 19px 19px 7px;color:#168267}
.positions-mobile-page .m-position-history-link{display:flex;flex-direction:column;gap:5px;align-self:stretch;color:inherit;text-decoration:none}
.positions-mobile-page .m-position-history-link>span,.positions-mobile-page .m-position-history-picker summary>span{color:#548575}
.positions-mobile-page .m-position-history-link strong{font-size:27px;line-height:1.15;font-variant-numeric:tabular-nums}
.positions-mobile-page .m-position-history-link strong small{margin-left:5px;color:#548575;font-weight:500}
.positions-mobile-page .m-position-history em,.positions-mobile-page .m-position-history-picker em{font-size:10px;font-style:normal;color:#548575}
.positions-mobile-page .m-position-history-link em{display:flex;justify-content:space-between;align-items:center}
.positions-mobile-page .m-position-history-link i{font-size:17px;line-height:1}
.positions-mobile-page .m-position-history-empty{font-size:19px;color:#68867d}
.positions-mobile-page .m-position-history-picker{width:100%}
.positions-mobile-page .m-position-history-picker summary{display:flex;flex-direction:column;gap:7px;list-style:none;cursor:pointer}
.positions-mobile-page .m-position-history-picker summary::-webkit-details-marker{display:none}
.positions-mobile-page .m-position-history-picker strong{font-size:18px}
.positions-mobile-page .m-position-history-options{position:absolute;z-index:8;top:calc(100% + 6px);right:0;min-width:230px;max-width:calc(100vw - 30px);max-height:240px;overflow:auto;padding:6px;background:#fff;border:1px solid #d5eee3;border-radius:14px;box-shadow:0 10px 28px #34594918}
.positions-mobile-page .m-position-history-options a{display:block;padding:11px 12px;color:#236c58;font-size:12px;border-radius:8px;text-decoration:none}
.positions-mobile-page .m-position-history-options a:active{background:#eef8f3}
.positions-mobile-page .m-position-card{position:relative;isolation:isolate;overflow:hidden;padding:14px;border-radius:18px 7px 18px 18px}
.positions-mobile-page .m-position-card-link{position:absolute;inset:0;z-index:1;border-radius:inherit}
.positions-mobile-page .m-position-card-link:focus-visible{outline:2px solid #e60020;outline-offset:-3px}
.positions-mobile-page .m-position-card a:not(.m-position-card-link),.positions-mobile-page .m-position-card-bottom{position:relative;z-index:2}
.positions-mobile-page .m-position-card-top{min-height:22px;padding-right:76px}
.positions-mobile-page .m-position-openings{position:absolute;top:0;right:0;display:flex;gap:4px;align-items:baseline;min-width:73px;justify-content:center;padding:7px 12px 8px 16px;background:linear-gradient(120deg,#fff1f3,#ffe7eb);border:0;border-left:1px solid #ffdde4;border-bottom:1px solid #ffdde4;border-radius:0 0 0 20px;color:#d92240;line-height:1.15}
.positions-mobile-page .m-position-openings b{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.positions-mobile-page .m-position-openings span{font-size:10px}
.positions-mobile-page .m-position-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.positions-mobile-page .m-position-info-row .m-position-brief{flex:1;min-width:0;margin:0}
.positions-mobile-page .m-position-match{flex-shrink:0;align-self:center;margin:0 2px 0 0}
.positions-mobile-page .m-position-card-bottom{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px;padding-top:11px;border-top:1px solid #f3edf0}
.positions-mobile-page .m-position-card-bottom .m-position-pool-wrap,.positions-mobile-page .m-position-card-bottom .m-position-compare{min-width:0;width:100%}
@media(max-width:360px){.positions-mobile-page .m-position-result-metric{padding:12px;min-height:102px}.positions-mobile-page .m-position-result-metric small{font-size:9px}}

/* One keyword field stays in the compact search bar; filters only reveal extra conditions. */
.positions-mobile-page .m-position-search-toolbar{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:7px;padding:8px}
.positions-mobile-page .m-position-search-toolbar button{border:0;cursor:pointer;padding:0;width:32px;height:32px}
.positions-mobile-page .m-position-search-toolbar .m-position-filter-action-icon{background:#ed0024;color:#fff;display:grid;place-items:center;border-radius:50%}
.positions-mobile-page .m-position-search-input{display:flex;align-items:center;gap:6px;min-width:0;height:36px;padding:0 9px;border:1px solid #f7dce1;border-radius:12px;background:#fff;transition:box-shadow .2s,border-color .2s}
.positions-mobile-page .m-position-search-input:focus-within{border-color:#ff8597;box-shadow:0 0 0 3px #fff1f4}
.positions-mobile-page .m-position-search-input>.ui-icon{color:#93a0b2;font-size:13px;flex-shrink:0}
.positions-mobile-page .m-position-search-input input{border:0;outline:0;background:transparent;box-shadow:none;width:100%;min-width:0;font-size:13px;color:#192b40;padding:0;line-height:34px}
.positions-mobile-page .m-position-search-input input::placeholder{color:#8e9aad}
.positions-mobile-page .m-position-filter-body[hidden],.positions-mobile-page .m-estimate-progress[hidden],.positions-mobile-page .m-estimate-retry[hidden]{display:none!important}
.positions-mobile-page .m-position-filter-leading[aria-expanded=true]{background:#ffe4e9;box-shadow:inset 0 0 0 1px #ffd0da}
.positions-mobile-page .m-position-openings{min-width:55px;gap:3px;padding:9px 12px 10px 17px;border-radius:0 0 0 27px;background:linear-gradient(135deg,#fff1f3 10%,#ffd8e0 90%);border-left:1px solid #ffc5d0;border-bottom:1px solid #ffc5d0;box-shadow:inset 3px -3px 0 #fff7f9,0 3px 8px #dc28430a}
.positions-mobile-page .m-position-openings::after{content:"";position:absolute;inset:0 0 4px 5px;border-left:1px solid #ffffffc9;border-bottom:1px solid #ffffffc9;border-bottom-left-radius:23px;pointer-events:none}
.positions-mobile-page .m-position-openings b{font-size:20px;line-height:1;font-weight:800;color:#e00024}
.positions-mobile-page .m-position-openings span{font-size:11px;color:#c83c56}
.positions-mobile-page .m-estimate-progress{width:100%;display:grid;gap:4px;margin-top:1px}
.positions-mobile-page .m-estimate-track{height:4px;overflow:hidden;border-radius:4px;background:#f7dce3}
.positions-mobile-page .m-estimate-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff92a5,#ed123a);transition:width .45s ease}
.positions-mobile-page [data-estimate-status]{font-size:9px;color:#a16e7b;font-variant-numeric:tabular-nums;line-height:1.4;white-space:nowrap}
.positions-mobile-page .m-estimate-retry{padding:0;border:0;background:none;color:#df1438;font-size:11px;cursor:pointer}
@media(prefers-reduced-motion:reduce){.positions-mobile-page .m-estimate-track i{transition:none}}

/* A single curved rim continues the card's top and right edges. */
.positions-mobile-page .m-position-card{border-color:#f0e4e8}
.positions-mobile-page .m-position-openings{top:-1px;right:-1px;min-width:57px;padding:11px 13px 11px 19px;border:1px solid #efbdc8;border-top:0;border-right:0;border-radius:0 7px 0 28px;background:linear-gradient(125deg,#fff8fa 0%,#ffe9ef 68%,#ffdee7 100%);box-shadow:inset 0 -2px 0 #fff9fb,0 2px 4px #a91c3905}
.positions-mobile-page .m-position-openings::before{content:"";position:absolute;top:0;right:0;left:0;height:1px;background:linear-gradient(90deg,#f0e4e8,#f1acbd)}
.positions-mobile-page .m-position-openings::after{inset:0 0 3px 4px;border-left:0;border-bottom:1px solid #ffffffed;border-bottom-left-radius:26px}
.positions-mobile-page .m-position-openings b{font-size:19px;letter-spacing:-.5px}
.positions-mobile-page .m-position-estimate-detail{position:absolute;inset:0;border-radius:inherit;z-index:1}
.positions-mobile-page .m-estimate-retry,.positions-mobile-page [data-estimate-note] a{position:relative;z-index:2}
.positions-mobile-page .m-position-estimate-detail:focus-visible{outline:2px solid #e6002b;outline-offset:2px}
.positions-mobile-page .m-position-result-count{display:flex;align-items:baseline;gap:4px;margin:0 2px 10px;color:#7e8b9c;font-size:12px}
.positions-mobile-page .m-position-result-count b{color:#e6002b;font-size:15px;font-variant-numeric:tabular-nums}
.positions-mobile-page .m-position-result-count small{margin-left:auto;font-size:10px;color:#9b8390}
.positions-mobile-page .m-position-card.is-ineligible{border-color:#d9dce2;background:#f7f8fa}
.positions-mobile-page .is-ineligible .m-position-title-main h2,.positions-mobile-page .is-ineligible .m-position-company{color:#737d8c}
.positions-mobile-page .is-ineligible .m-position-openings{background:linear-gradient(130deg,#fafbfc,#e9ecf1);border-color:#d8dde5}
.positions-mobile-page .is-ineligible .m-position-openings b,.positions-mobile-page .is-ineligible .m-position-openings span{color:#88909c}
.positions-mobile-page .is-ineligible .m-position-openings::before{background:#d8dde5}
.positions-mobile-page .is-ineligible .m-position-match{background:conic-gradient(#a6adb8 calc(var(--p)*1%),#e5e8ed 0);color:#7e8795}
.positions-mobile-page .m-position-ineligible-mark{position:absolute;right:10px;top:43%;font-size:34px;font-weight:900;color:#8c95a010;transform:rotate(-12deg);pointer-events:none;letter-spacing:3px}
.positions-mobile-page .m-position-ineligible-label{display:inline-block;font-size:10px;color:#78818e;border:1px solid #d7dce4;background:#eceff3;border-radius:6px;padding:2px 6px;margin-bottom:5px}

/* Current filtered scope, with a curved right-aligned count seal. */
.positions-mobile-page .m-position-result-count{flex-direction:column;align-items:flex-end;gap:5px;margin:1px 0 12px}
.positions-mobile-page .m-position-result-badge{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:9px 12px 9px 19px;border:1px solid #ffdae0;border-radius:24px 12px 12px 5px;background:linear-gradient(110deg,#fffafb,#fff1f4);box-shadow:inset 0 1px 0 #fff;color:#725661;font-size:12px;white-space:nowrap}
.positions-mobile-page .m-position-result-divider{height:12px;width:1px;background:#f1c8d1;margin:0 5px}
.positions-mobile-page .m-position-result-count small{margin-left:0}

.positions-mobile-page .m-position-estimate-detail[aria-disabled="true"]{pointer-events:none;cursor:default}.positions-mobile-page .m-position-estimate.has-no-positions{cursor:default}

.positions-mobile-page .m-position-toolbar-compact{display:flex;align-items:center;gap:6px;padding:11px 9px!important;background:#fff}.positions-mobile-page .m-position-filter-pills{display:flex;flex:1;gap:5px;min-width:0}.positions-mobile-page .m-position-filter-pills button{border:1px solid #f1e9ec;background:#f8f6f7;border-radius:20px;font:inherit;font-size:11px;color:#5c4f55;padding:7px 8px;white-space:nowrap;display:flex;align-items:center;gap:4px}.positions-mobile-page .m-position-filter-pills button.is-active{color:#e60020;background:#fff2f5;border-color:#ffdbe4}.positions-mobile-page .m-position-filter-pills i{width:4px;height:4px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin-top:-3px}.positions-mobile-page .m-position-toolbar-compact .m-position-search-input{display:none;min-width:0;flex:1;padding:0!important;border:1px solid #eddae0;border-radius:11px;height:36px}.positions-mobile-page .m-position-toolbar-compact .m-position-search-input input{width:100%;height:100%;border:0;outline:none;background:none;padding:0 10px;font-size:13px}.positions-mobile-page .m-position-search-switch,.positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading{flex:0 0 26px;width:26px;height:32px;padding:0;border:0;border-radius:0;background:none;color:#8a7480;display:grid;place-items:center}.positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading{border-left:1px solid #ede5e8;padding-left:5px}.positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-filter-pills{display:none}.positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-search-input{display:flex}.positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-search-switch{color:#e60020}.m-position-sheet-mask{position:fixed;inset:0;background:#1b15224d;z-index:1200}.m-position-sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-radius:24px 24px 0 0;z-index:1201;max-height:85dvh;overflow:auto;padding:10px 20px max(20px,env(safe-area-inset-bottom));box-shadow:0 -12px 40px #44202b0f}.m-position-sheet[hidden],.m-position-sheet-mask[hidden]{display:none!important}.m-position-sheet-handle{width:36px;height:4px;background:#eadce1;border-radius:9px;margin:0 auto 15px}.m-position-sheet header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.m-position-sheet h2{font-size:18px;color:#27202b;margin:0}.m-position-sheet header button{background:#fff3f5;border:0;border-radius:50%;width:30px;height:30px;color:#d90020;font-size:22px}.m-position-sheet-fields{display:grid;gap:14px}.m-position-sheet-fields label{display:grid;gap:7px}.m-position-sheet-fields select,.m-position-sheet-fields input{width:100%;padding:11px;border:1px solid #ecdfe4;border-radius:11px;background:#fffcfd;font:inherit;color:#44323a}.m-position-sheet footer{display:flex;gap:12px;margin-top:24px}.m-position-sheet footer button{flex:1;padding:12px;border-radius:14px 14px 14px 4px;border:1px solid #f0dae1;color:#a6495b;background:#fff7f9;font:inherit;font-weight:700}.m-position-sheet footer button:last-child{background:#e60020;border-color:#e60020;color:white}

@media(max-width:360px){.positions-mobile-page .m-position-toolbar-compact{gap:4px;padding:10px 6px!important}.positions-mobile-page .m-position-filter-pills{gap:3px}.positions-mobile-page .m-position-filter-pills button{font-size:10px;padding:7px 6px;gap:3px}.positions-mobile-page .m-position-search-switch,.positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading{flex-basis:23px;width:23px}}

.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button{width:auto;height:32px;padding:7px 8px;border:1px solid #f1e9ec}.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button.is-active{border-color:#ffdbe4}.positions-mobile-page .m-position-toolbar-compact .m-position-search-switch{width:26px}.positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading{width:26px}
@media(max-width:360px){.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button{padding:7px 6px}}

/* Bottom-sheet controls must not inherit the compact inline filter height. */

  .m-position-sheet{box-sizing:border-box;display:flex;flex-direction:column;max-height:85vh;max-height:85dvh;overflow:hidden}
  .m-position-sheet-handle,.m-position-sheet>header,.m-position-sheet>footer{flex-shrink:0}
  .m-position-sheet-fields{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:2px 0 5px}
  .m-position-sheet .m-position-sheet-fields label{display:grid;gap:8px;min-width:0;margin:0}
  .m-position-sheet .m-position-sheet-fields label>span{margin:0;line-height:20px;font-size:13px}
  .m-position-sheet .m-position-sheet-fields select,.m-position-sheet .m-position-sheet-fields input{box-sizing:border-box;display:block;width:100%;min-width:0;height:48px;min-height:48px;margin:0;padding:0 14px;border:1px solid #ecdfe4;border-radius:12px;background-color:#fffcfd;font-family:inherit;font-size:16px;font-weight:400;line-height:normal;color:#44323a;outline:none}
  .m-position-sheet .m-position-sheet-fields select{-webkit-appearance:none;appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%238a7480' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px 16px;background-position:right 14px center}
  .m-position-sheet .m-position-sheet-fields input{line-height:22px}
  .m-position-sheet .m-position-sheet-fields select:focus,.m-position-sheet .m-position-sheet-fields input:focus{border-color:#ff8597;box-shadow:inset 0 0 0 1px #ff8597}
  .m-position-sheet>footer{margin-top:20px;padding-top:2px;background:#fff}
  .m-position-sheet>footer button{box-sizing:border-box;min-height:48px;padding:12px 16px;font-size:16px;line-height:22px}


@keyframes positionSheetEnter{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes positionSheetMaskEnter{from{opacity:0}to{opacity:1}}
@media(max-width:767px) and (prefers-reduced-motion:no-preference){.m-position-sheet:not([hidden]){animation:positionSheetEnter .18s cubic-bezier(.22,.7,.3,1) both}.m-position-sheet-mask:not([hidden]){animation:positionSheetMaskEnter .15s ease-out both}}

/* Imported entry score sits immediately below the recruiting unit. */
.position-entry-score{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 8px;margin:8px 0 2px;font-size:12px;line-height:1.6;color:#8c6170}
.position-entry-score>b{color:#d90b35;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.position-entry-score>b small{margin-left:3px;font-size:11px;font-weight:500}
.position-entry-score>em{font-style:normal;font-size:10px;color:#9d6a38;background:#fff5e6;border:1px solid #f5e5c9;border-radius:6px;padding:0 5px}

.positions-mobile-page .m-position-data-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 14px;margin:8px 0 2px}
.positions-mobile-page .m-position-data-line .position-entry-score{margin:0;gap:4px 6px}
.positions-mobile-page .m-position-data-line .m-position-registration{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:0;font-size:12px;line-height:1.6;color:#758598}
.positions-mobile-page .m-position-registration b{font-weight:600;color:#566576;font-variant-numeric:tabular-nums}

/* Larger, labelled touch controls keep every filter available on narrow screens. */

  .positions-mobile-page .m-position-toolbar-compact{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:11px 10px;padding:14px 12px!important;background:linear-gradient(180deg,#fff 65%,#fffafb);border-radius:18px}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button{position:relative;justify-content:center;gap:5px;width:100%;min-width:0;height:46px;padding:10px 5px;border:1px solid #f1dfe5;border-radius:14px;background:#fff7f9;color:#563e49;font-size:14px;font-weight:700;line-height:22px;box-shadow:0 2px 4px #9b294106;touch-action:manipulation}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills i{flex-shrink:0;width:5px;height:5px;border-width:0 1.5px 1.5px 0;margin-top:-3px;color:#b8798b}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button.is-active{background:#ffe9ef;border-color:#f5adbd;color:#df002c;box-shadow:inset 0 0 0 1px #fff5f7}
  .positions-mobile-page .m-position-filter-pills button.is-active::after{content:"";position:absolute;right:7px;top:5px;width:5px;height:5px;background:#e6002d;border-radius:50%}
  .positions-mobile-page .m-position-search-control{display:flex;min-width:0;align-items:center;min-height:46px;border:1px solid #eae8ed;border-radius:13px;background:#f8f9fb;overflow:hidden}
  .positions-mobile-page .m-position-toolbar-compact .m-position-search-switch{display:flex;flex:1;justify-content:center;align-items:center;gap:8px;width:auto;height:44px;border:0;border-radius:12px;background:transparent;color:#64748a;font-size:14px;font-weight:600;line-height:22px;touch-action:manipulation}
  .positions-mobile-page .m-position-search-switch .ui-icon{font-size:21px}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading{position:relative;display:flex;flex:initial;justify-content:center;align-items:center;gap:6px;width:116px;min-height:46px;height:46px;padding:0 9px;border:1px solid #df002c;border-radius:14px 14px 6px 14px;background:linear-gradient(120deg,#ed0031,#d9002a);box-shadow:0 4px 10px #e600201a;color:#fff;font-size:14px;font-weight:700;line-height:22px;touch-action:manipulation}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading .ui-icon{font-size:22px}
  .positions-mobile-page .m-position-filter-leading b{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 3px;border:2px solid #fff;border-radius:20px;background:#fff0d7;color:#b73726;font-size:11px;line-height:15px}
  .positions-mobile-page .m-position-filter-leading b[hidden]{display:none}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading[aria-expanded=true]{background:#ad0027;border-color:#ad0027;box-shadow:inset 0 0 0 1px #ffffff38}
  .positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-filter-pills{display:grid}
  .positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-search-control{background:#fff;border-color:#f1a9b9;box-shadow:0 0 0 3px #fff0f4}
  .positions-mobile-page .m-position-toolbar-compact .m-position-search-input{height:44px;border:0;border-radius:0;background:transparent;box-shadow:none}
  .positions-mobile-page .m-position-toolbar-compact .m-position-search-input input{font-size:16px;padding:0 10px}
  .positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-search-switch{flex:0 0 44px;width:44px;color:#e6002d}
  .positions-mobile-page .m-position-toolbar-compact.is-searching .m-position-search-label{display:none}
  .positions-mobile-page .m-position-toolbar-compact button:focus-visible{outline:3px solid #f289a2;outline-offset:3px}
  .positions-mobile-page .m-position-toolbar-compact button:active{transform:translateY(1px);filter:brightness(.97)}

@media(max-width:360px){
  .positions-mobile-page .m-position-toolbar-compact{padding:12px 10px!important;grid-template-columns:minmax(0,1fr) 110px;gap:10px 8px}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button{font-size:15px}
  .positions-mobile-page .m-position-toolbar-compact .m-position-filter-leading{width:110px}
}
@media(prefers-reduced-motion:no-preference){.positions-mobile-page .m-position-toolbar-compact button{transition:background-color .16s,border-color .16s,box-shadow .16s,transform .12s}}
/* Site-owned option picker avoids WeChat/Android's full-screen native select. */
.positions-mobile-page select.m-position-native-select{display:none!important}
.positions-mobile-page .m-position-choice-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:11px 14px;border:1px solid #ecdfe4;border-radius:12px;background:#fffcfd;color:#44323a;font:inherit;font-size:16px;text-align:left;line-height:1.5;touch-action:manipulation}
.positions-mobile-page .m-position-choice-trigger>span{min-width:0;overflow-wrap:anywhere}
.positions-mobile-page .m-position-choice-trigger>i{flex-shrink:0;width:7px;height:7px;border-right:2px solid #ac7384;border-bottom:2px solid #ac7384;transform:rotate(45deg);margin:0 3px 4px 6px}
.positions-mobile-page .m-position-choice-trigger.is-selected{background:#fff4f7;border-color:#f0b8c6;color:#b9002b;font-weight:600}
.positions-mobile-page .m-position-choice-trigger[aria-expanded=true],.positions-mobile-page .m-position-choice-trigger:focus-visible{outline:2px solid #ec7895;outline-offset:2px}
.m-position-choice-mask{position:fixed;inset:0;z-index:1250;background:#221a274d}
.m-position-choice-panel{box-sizing:border-box;position:fixed;left:0;right:0;bottom:0;z-index:1251;display:flex;flex-direction:column;max-height:80vh;max-height:min(80dvh,600px);padding:12px 18px max(14px,env(safe-area-inset-bottom));border-radius:25px 25px 0 0;background:#fff;box-shadow:0 -12px 36px #3c14241a;overflow:hidden}
.m-position-choice-mask[hidden],.m-position-choice-panel[hidden]{display:none!important}
.m-position-choice-panel>.m-position-sheet-handle{flex-shrink:0;margin-bottom:14px}
.m-position-choice-panel>header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.m-position-choice-panel header small{display:block;margin-bottom:3px;color:#ad7384;font-size:11px;letter-spacing:1px}
.m-position-choice-panel h2{margin:0;color:#253144;font-size:21px;line-height:1.4}
.m-position-choice-panel [data-choice-close]{flex-shrink:0;width:40px;height:40px;border:0;border-radius:50%;background:#fff0f4;color:#e00032;font-size:28px;line-height:1}
.m-position-choice-panel .m-position-choice-search{display:flex;align-items:center;gap:9px;flex-shrink:0;margin:0;padding:0 12px;border:1px solid #efdce3;border-radius:13px;background:#fff8fa}
.m-position-choice-search>span{font-size:26px;line-height:1;color:#b75a74}
.m-position-choice-panel .m-position-choice-search input{width:100%;min-width:0;height:45px;padding:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:#2b3445}
.m-position-choice-panel .m-position-choice-search:focus-within{border-color:#ef94ac;box-shadow:0 0 0 3px #fff0f5}
.m-position-choice-status{flex-shrink:0;margin:10px 2px;color:#8e7280;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.m-position-choice-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-top:1px solid #f2e8ed}
.m-position-choice-list>[role=option]{position:relative;display:block;box-sizing:border-box;width:100%;min-height:49px;margin:0;padding:13px 44px 13px 12px;border:0;border-bottom:1px solid #f4edf1;border-radius:0;background:#fff;color:#394358;text-align:left;font:inherit;font-size:15px;line-height:1.65;overflow-wrap:anywhere;touch-action:manipulation}
.m-position-choice-list>[role=option]::after{content:"";position:absolute;right:13px;top:50%;width:17px;height:17px;margin-top:-9px;border:1.5px solid #e5cdd6;border-radius:50%}
.m-position-choice-list>[aria-selected=true]{border-bottom-color:#f4d9e2;background:#fff0f5;color:#d60031;font-weight:700}
.m-position-choice-list>[aria-selected=true]::after{content:"✓";display:grid;place-items:center;border-color:#e60035;background:#e60035;color:#fff;font-size:12px;line-height:1}
.m-position-choice-list>[role=option]:focus-visible{outline:2px solid #ef94ac;outline-offset:-3px}
.m-position-choice-panel .m-position-choice-more{display:block;width:100%;min-height:46px;border:0;border-radius:10px;background:#fff7fa;color:#bc4264;font-size:13px}
.m-position-choice-empty{padding:28px 10px;color:#9c7e8c;font-size:14px;text-align:center;line-height:1.8}
.m-position-choice-panel>footer{flex-shrink:0;padding-top:12px;color:#a68c98;font-size:11px;line-height:1.5;text-align:center}
@media(prefers-reduced-motion:no-preference){.m-position-choice-panel:not([hidden]){animation:positionSheetEnter .18s cubic-bezier(.22,.7,.3,1) both}.m-position-choice-mask:not([hidden]){animation:positionSheetMaskEnter .15s ease-out both}}

/* Keep all five entries visible, giving long labels proportionately more room. */
.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills{grid-template-columns:.75fr 1.25fr 1fr .75fr 1.35fr;gap:4px}.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button,.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button:nth-child(n+4){grid-column:auto;min-height:46px;padding:10px 3px;gap:4px;white-space:nowrap;font-size:14px;border-radius:12px}.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills i{width:4px;height:4px;margin-right:1px}
@media(max-width:360px){.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills{gap:3px}.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button,.positions-mobile-page .m-position-toolbar-compact .m-position-filter-pills button:nth-child(n+4){font-size:13px;padding:10px 2px;gap:3px}}
.m-position-sheet.is-single-choice{max-height:min(75vh,580px)}
.m-position-sheet.is-single-choice header{justify-content:center;position:relative;padding:8px 46px 16px;border-bottom:1px solid #eee9ed}
.m-position-sheet.is-single-choice header h2{font-size:16px;line-height:24px;text-align:center}
.m-position-sheet.is-single-choice header button{position:absolute;right:15px;top:3px}
.m-position-sheet.is-single-choice .m-position-sheet-fields{padding:0;overflow-y:auto}
.m-position-single-options{display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0)}
.m-position-single-options button{width:100%;min-height:56px;padding:15px 22px;border:0;border-bottom:1px solid #f0eaee;background:#fff;color:#29313e;font:inherit;font-size:15px;font-weight:650;line-height:25px;text-align:center;cursor:pointer;touch-action:manipulation}
.m-position-single-options button[aria-selected=true]{background:#fff7f9;color:#e60028;font-weight:800}
.m-position-single-options button:focus-visible{outline:2px solid #e60028;outline-offset:-3px;background:#fff3f6}
.m-position-sheet.is-single-choice footer[hidden]{display:none!important}
.m-position-fresh-note{margin:0;padding:0 20px 14px;color:#788397;font-size:13px;line-height:1.7}

/* URL-backed multi-region filter, shared desktop and mobile picker. */
.position-region-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;cursor:pointer;background:#fff;color:#34455b;min-height:44px}
.position-region-trigger [data-position-region-label]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.position-region-trigger.has-region-selection{border-color:#f4b6c1;color:#d90026;background:#fff8fa}
.m-position-filter-pills [data-region-count]{font-size:10px;line-height:16px;min-width:16px;text-align:center;border-radius:8px;background:#e60028;color:#fff;margin-left:2px}
.m-position-filter-pills .has-region-selection{color:#d60025!important;background:#fff1f4!important;border-color:#f4b6c1!important}
.is-position-region h2{font-size:20px;margin-bottom:8px}
.is-position-region .mc-region-help{font-size:12px;line-height:1.6;margin:0 0 12px;color:#7b8795}
.is-position-region .mc-region-help.is-limit{color:#d90026}
.is-position-region .mc-region-columns{height:min(38dvh,330px)}
.is-position-region .mc-region-selected{min-height:32px;max-height:100px;overscroll-behavior:contain}
.is-position-region .mc-region-selected button{font-size:12px;line-height:1.5;max-width:100%;text-align:left}
.is-position-region .mc-region-footer button{font-size:15px;padding:12px}
@media(min-width:768px){.mc-region-sheet.is-position-region{left:50%;right:auto;width:600px;max-width:calc(100vw - 40px);transform:translateX(-50%);border-radius:24px 24px 0 0;animation:none}.is-position-region .mc-region-column button{font-size:15px}}

.m-position-filter-pills [data-position-sheet="region"]{position:relative}.m-position-filter-pills [data-region-count]{position:absolute;right:0;top:-5px;margin-left:0}

/* The mobile template is also served to tablets: its controls must not depend on phone viewport width. */
@media(min-width:768px){
 body.positions-mobile-page .m-position-sheet,body.positions-mobile-page .m-position-choice-panel{left:50%;right:auto;width:560px;max-width:calc(100vw - 40px);transform:translateX(-50%);animation:none}
}
