/* Optional operations surfaces. Existing account chrome, payment styles and tables are untouched. */
.mdw-next{min-width:0;--next-line:#31454d;--next-mint:#80cbb4;--next-surface:#101c23}.mdw-next *{box-sizing:border-box}.mdw-next-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-block:18px}.mdw-next-head h2{margin:0;font-size:clamp(23px,3vw,30px);letter-spacing:-.035em}.mdw-next-head>p{flex-basis:100%;margin:0}.mdw-next-head-actions{margin:0}.mdw-next :is(button,input,select,textarea){min-height:44px;max-width:100%}.mdw-next .mdw-field select{width:100%;margin:0}.mdw-next [aria-pressed=true]{background:#173c35;color:#daf3e9;border-color:#73baa6}.mdw-next-filters{display:flex;gap:8px;flex-wrap:wrap;margin-block:20px}.mdw-next-status{color:#b7dbcc;white-space:pre-line;line-height:1.6}.mdw-next-status.is-error{border-left:3px solid #e2b567;background:#2b241c;color:#f5dcad;padding:12px 16px}.mdw-next-task{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;border:1px solid var(--next-line);border-radius:9px;background:var(--next-surface);padding:20px;margin-block:12px;overflow-wrap:anywhere}.mdw-next-task h3{font-size:17px;margin:9px 0}.mdw-next-task-main>a{font-weight:650}.mdw-next-task p{margin:8px 0}.mdw-next-task-actions{display:flex;align-items:flex-start;gap:10px}.mdw-next-task details{position:relative}.mdw-next-task details[open]{display:grid;gap:8px;max-width:220px}.mdw-next summary{cursor:pointer;min-height:44px;padding-block:11px;color:#a2d0c5}.mdw-next-note-text{white-space:pre-wrap;overflow-wrap:anywhere}.mdw-next :is(small,.mdw-next-provenance){color:#9dafbb;font-size:12px;line-height:1.6}.mdw-next-label{display:inline-block;font:11px 'DM Mono',monospace;padding:4px 7px;border:1px solid #36584f;border-radius:4px;color:#add8c8}.mdw-next-label.is-overdue{border-color:#9a6b54;color:#f3c49f}.mdw-next-rows[aria-busy=true]{opacity:.7}.mdw-next-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}.mdw-next-goals>.mdw-panel{margin-block:0 18px}.mdw-next-goal{min-width:0}.mdw-next-goal h3{margin-top:0}.mdw-next-goal-number{display:block;font-size:22px;letter-spacing:-.025em;line-height:1.4;font-variant-numeric:tabular-nums}.mdw-next-goal-outcome{color:#b5dfd0;font-weight:600}.mdw-next-bowls{display:flex;gap:28px;justify-content:center;margin-block:22px;pointer-events:none}.mdw-next-bowl-unit{display:grid;gap:10px;text-align:center;flex:1;max-width:150px;color:#9db9b2;font-size:12px}.mdw-next-bowl{height:86px;display:flex;align-content:flex-end;align-items:flex-end;justify-content:center;flex-wrap:wrap;gap:4px;border:1px solid #54756d;border-top:0;border-radius:4px 4px 40% 40%;background:linear-gradient(170deg,#1b363222,#89cbb414);padding:12px}.mdw-next-ball{display:block;width:12px;height:12px;flex:none;border-radius:50%;background:#80cbb4;box-shadow:inset -2px -2px 3px #295c4b}.mdw-next-team-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:20px;align-items:start}.mdw-next-team-map{overflow:auto;max-height:70vh;padding:18px 10px;border:1px solid var(--next-line);border-radius:9px;min-width:0}.mdw-next-team-tree,.mdw-next-team-tree ul{list-style:none;margin:0;padding:0}.mdw-next-team-tree{width:max-content;min-width:100%;display:flex;justify-content:center;gap:20px}.mdw-next-team-tree li{display:flex;flex-direction:column;align-items:center;padding:8px;position:relative}.mdw-next-team-tree ul{display:flex;justify-content:center;gap:12px;padding-top:24px;position:relative}.mdw-next-team-tree ul:before{content:'';position:absolute;top:0;left:50%;height:24px;border-left:1px solid #567269}.mdw-next-team-tree ul>li:before{content:'';position:absolute;top:0;left:0;right:0;border-top:1px solid #567269}.mdw-next-team-node{width:185px;text-align:left;display:grid;gap:8px;border-color:#3d555c!important;background:#13222a!important;white-space:normal;overflow-wrap:anywhere}.mdw-next-team-node[aria-current=true]{border-color:#88c9b3!important;box-shadow:0 0 0 1px #88c9b3;background:#183c33!important}.mdw-next-team-node strong{font-size:14px}.mdw-next-team-map.is-list .mdw-next-team-tree,.mdw-next-team-map.is-list .mdw-next-team-tree ul{display:block;width:100%}.mdw-next-team-map.is-list .mdw-next-team-tree li{align-items:stretch}.mdw-next-team-map.is-list .mdw-next-team-tree ul{padding:6px 0 0 16px;border-left:1px solid #54756d;margin-left:12px}.mdw-next-team-map.is-list .mdw-next-team-tree :before{display:none}.mdw-next-team-map.is-list .mdw-next-team-node{width:100%}.mdw-next-team-detail{min-width:0;overflow-wrap:anywhere}.mdw-next-team-detail>h3{font-size:22px;margin-top:0}.mdw-next-team-member,.mdw-next-type-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-block:12px;border-bottom:1px solid var(--next-line)}.mdw-next-team-member>strong,.mdw-next-type-row>span{flex:1;min-width:120px}.mdw-next-timeline-note{border-left:2px solid #508675;padding:10px 18px;margin-block:18px;background:#10221f}.mdw-next-timeline-note h3{font-size:15px}.mdw-next-timeline-note small{display:block}.mdw-next-company-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.mdw-next-company-choices{display:grid;gap:6px;max-height:230px;overflow:auto}.mdw-next-company-choice{text-align:left;overflow-wrap:anywhere}.mdw-next-selected-company{font-weight:650;margin-block:8px}.mdw-next-recovery{display:grid;gap:12px;margin-top:12px}.mdw-next-pager{margin-block:18px}.mdw-next [data-next-channel]{accent-color:#80cbb4}.mdw-next button:disabled{cursor:default}
.mdw-next-member-select{flex:1;text-align:left;background:transparent!important;border-color:transparent!important;color:#b8dfd1!important;min-width:120px}.mdw-next-team-member details[open]{display:grid;gap:8px}.mdw-next-history{padding-block:14px;border-bottom:1px solid var(--next-line)}.mdw-next-history small{display:block;margin-top:7px}
@media(max-width:900px){.mdw-next-team-layout{grid-template-columns:1fr}.mdw-next-team-map{max-height:45vh}.mdw-next-task-actions{flex-wrap:wrap}.mdw-next-head-actions{width:100%}}
@media(max-width:480px){.mdw-next-task{grid-template-columns:1fr;gap:10px;padding:16px}.mdw-next-task-actions{justify-content:space-between}.mdw-next-head-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mdw-next-head-actions>.mdw-action{grid-column:1/-1}.mdw-next-company-search{grid-template-columns:1fr}.mdw-next-company-search>.mdw-field{margin-bottom:0}.mdw-next-bowl{padding:10px 6px}.mdw-next-team-map{padding:10px 4px}.mdw-next-team-detail .mdw-actions{gap:8px}.mdw-next-team-detail .mdw-actions>button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.mdw-next *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mdw-next-purchase-summary > small{display:block;margin-top:.4rem;overflow-wrap:anywhere}

.mdw-list-export-check{display:flex;align-items:center;gap:.65rem;min-height:44px;font-size:.875rem;color:#b9d9d0}.mdw-list-export-check input{width:22px;height:22px;min-height:22px;accent-color:#80cbb4;flex:none}.mdw-list-export-toolbar{position:sticky;top:0;z-index:2;background:#0e1b22;border:1px solid #31454d;padding:.65rem .9rem;border-radius:8px}.mdw-entry>.mdw-list-export-check{margin-bottom:.65rem}
