/* Quiet brand treatment: landing and team/project workspace. */
body.restored-landing{background:#fff!important;color:#23352b}
body.restored-landing header{background:#fff!important;border-bottom:1px solid #e7ebe8}
body.restored-landing .hero.concept-hero{border:0!important;border-radius:0!important;box-shadow:none!important;background:white!important;padding:32px 0!important;border-bottom:1px solid #dde5df!important}
body.restored-landing .concept-profile{background:white!important;border-radius:0!important;box-shadow:none!important;border-color:#e2e8e3!important}
body.restored-landing .concept-career{background:#f5f7f4!important;border:0!important;border-left:3px solid #168153!important;border-radius:0!important}
body.restored-landing .simple-areas{gap:0;margin:36px 0}
body.restored-landing .simple-areas article{border:0;border-right:1px solid #e2e8e3;border-radius:0;background:white;padding:8px 28px}
body.restored-landing .simple-areas article:first-child{padding-left:0}body.restored-landing .simple-areas article:last-child{border-right:0;padding-right:0}
body.restored-landing #app .simple-areas button.secondary{border:1px solid #bdcec2!important;border-radius:6px!important;background:white!important;color:#246348!important;box-shadow:none!important}
body.restored-landing .review-model,body.restored-landing .review-curator{border:0!important;border-top:1px solid #e2e8e3!important;border-radius:0!important;background:white!important;box-shadow:none!important}
body.restored-landing button{border-radius:6px!important;box-shadow:none!important}
body #team-statistics-access{background:white!important;border-bottom:1px solid #e2e8e3!important}
body #team-statistics-access .main-task-nav>button{background:white!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;color:#536358!important;box-shadow:none!important}
body #team-statistics-access .main-task-nav>button[aria-current]{background:white!important;color:#107b48!important;border-bottom-color:#168153!important}
body:has(#app.tp-workspace){background:white!important}
body.interior-view #app#app.tp-workspace .tp-demo{background:#f5f6f4!important;color:#667268!important;border-left:2px solid #cad5cd;border-radius:0;padding:12px 16px;font-size:13px!important}
body.interior-view #app#app.tp-workspace .tp-metrics{gap:0;border-block:1px solid #e1e7e2;background:white}
body.interior-view #app#app.tp-workspace .tp-metrics article{background:white;border:0;border-right:1px solid #e1e7e2;border-radius:0;padding:18px 16px}
body.interior-view #app#app.tp-workspace .tp-metrics article:last-child{border-right:0}
body.interior-view #app#app.tp-workspace .tp-metrics b{color:#203d30;font-size:28px}
body.interior-view #app#app.tp-workspace .tp-metrics span{color:#637066}
body.interior-view #app#app.tp-workspace .tp-card,.task-global-stats{border-radius:6px;box-shadow:none;background:white;border-color:#dfe6e0}
body.interior-view #app#app.tp-workspace .tp-table-wrap{border-radius:4px;border-color:#dfe6e0}
body.interior-view #app#app.tp-workspace .tp-table-wrap th{background:#f3f5f2;color:#536358}
body.interior-view #app#app.tp-workspace .tp-table-wrap td{border-bottom:1px solid #e8ece8}
body.interior-view #app#app.tp-workspace button.secondary{background:white!important;color:#246348!important;border-color:#bdcec2!important;border-radius:6px!important;box-shadow:none!important}
body.interior-view #app#app.tp-workspace .tp-tabs>button[aria-current]{background:#edf5ef!important;border-color:#168153!important}
body.interior-view #app#app.tp-workspace .tp-selection{background:#f5f7f4;border-color:#cbd9cf;border-radius:6px}
body.interior-view #app#app.tp-workspace .tp-badge.resilient{background:#e8f3eb;color:#246348}
body.interior-view #app#app.tp-workspace button:hover,body.restored-landing #app button:hover{background:#edf5ef!important;color:#116b40!important}
@media(max-width:800px){body.restored-landing .simple-areas article{padding:24px 0!important;border-right:0;border-bottom:1px solid #e2e8e3}body.interior-view #app#app.tp-workspace .tp-metrics article{border-bottom:1px solid #e1e7e2}}
/* Consistent visual language across all interior routes. */
body.interior-view{background:#fff!important;--green:#168153;--ink:#203d30;--line:#dfe6e0}
body.interior-view header{background:white!important;border-bottom:1px solid #e2e8e3;box-shadow:none}
body.interior-view #app :is(.card,.diagnostic-direction,.diagnostic-progress,.development-option,.journey,.diagnostic-intro){border:1px solid #dfe6e0!important;border-radius:6px!important;box-shadow:none!important;background:#fff!important}
body.interior-view #app :is(.spotlight,.attempt-rules,.compact-rules,.depth-action,.tp-opportunity){background:#f5f7f4!important;border-color:#dfe6e0!important;border-radius:6px!important;box-shadow:none!important;color:#354d3d!important}
body.interior-view #app :is(.profile-highlights>div,.profile-highlights>article,.card .grid>article){background:white!important;border:1px solid #dfe6e0!important;border-radius:6px!important;box-shadow:none!important}
body.interior-view #app :is(.pill,.tag,.depth-tag,.number){background:#f0f4ef!important;color:#375c43!important;border-radius:5px!important}
body.interior-view #app#app button{border-radius:6px!important;box-shadow:none!important;transition:background-color .15s,border-color .15s}
body.interior-view #app#app button.secondary{background:white!important;color:#246348!important;border-color:#bdcec2!important}
body.interior-view #app#app button.secondary:hover:not(:disabled){background:#edf5ef!important;border-color:#168153!important}
body.interior-view #app#app button[aria-pressed=true],body.interior-view #app#app button[aria-current=page]{background:#edf5ef!important;color:#116b40!important;border-color:#168153!important}
body.interior-view main>nav{gap:8px;border-bottom:1px solid #e2e8e3;padding-bottom:8px}
body.interior-view main>nav>button{border-radius:0!important;background:white!important;box-shadow:none!important;border:0!important;border-bottom:2px solid transparent!important}
body.interior-view main>nav>button[aria-current=page],body.interior-view main>nav>button:not(.secondary){background:white!important;color:#107b48!important;border-bottom-color:#168153!important;box-shadow:none!important}
body.interior-view #app input:not([type=radio]):not([type=checkbox]),body.interior-view #app textarea,body.interior-view #app select{border:1px solid #bfcfc3!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important;color:#203d30}
body.interior-view #app input[type=radio],body.interior-view #app input[type=checkbox]{accent-color:#168153}
body.interior-view #app :is(input,textarea,select,button):focus-visible{outline:3px solid #7eaf91!important;outline-offset:3px}
body.interior-view #app th{background:#f3f5f2!important;color:#536358}
body.interior-view #app :is(td,th){border-bottom-color:#e2e8e3}
body.interior-view #app .attempt-timer{background:#f5f7f4!important;border-color:#bdcec2!important;border-radius:6px!important}
body.interior-view dialog{background:white;border:1px solid #dfe6e0;border-radius:8px;box-shadow:0 12px 40px #183f2c22}
body.interior-view #app .diagnostic-progress{border-top:3px solid #168153!important}
body.interior-view #app .direction-number{background:#f0f4ef!important;color:#246348!important}

/* Keep selected stage copy legible, including the locked cycle state. */
body.interior-view #app#app .stage-grid button[aria-pressed="true"] strong,
body.interior-view #app#app .stage-grid button[aria-pressed="true"] small {
  color: #174d35 !important;
}
body.interior-view #app#app .stage-grid button:disabled {
  opacity: 1;
  cursor: default;
}

/* Three prominent entry points, with an unmistakable current section. */
body #team-statistics-access .main-task-nav {gap:16px;padding-top:18px;padding-bottom:18px}
body #team-statistics-access .main-task-nav>button {
  background:#f2f6f3!important;
  border:1px solid #b9cdbf!important;
  border-radius:8px!important;
  color:#244c36!important;
  min-height:60px;
  padding:16px 20px;
  transition:background .15s ease,border-color .15s ease;
}
body #team-statistics-access .main-task-nav>button:hover {
  background:#e2eee6!important;border-color:#168153!important;
}
body #team-statistics-access .main-task-nav>button[aria-current="page"] {
  background:#137c4b!important;color:#fff!important;border-color:#137c4b!important;
}
body #team-statistics-access .main-task-nav>button:focus-visible {
  outline:3px solid #7eb798;outline-offset:3px;
}
@media(max-width:650px){body #team-statistics-access .main-task-nav{gap:8px}body #team-statistics-access .main-task-nav>button{padding:12px;min-height:52px}}

/* Highlight opportunities only while new matches are available. */
body.interior-view #app#app .tp-opportunity.has-new {
 background:#fff4d6!important;border:1px solid #e7cb80!important;
 border-left:5px solid #d4a528!important;color:#234c36!important;
}
body.interior-view #app#app .tp-opportunity.has-new strong {color:#234c36;font-size:19px}
body.interior-view #app#app .tp-opportunity.has-new p {color:#625d45}
body.interior-view #app#app .tp-opportunity.has-new button.secondary {
 background:#137c4b!important;color:#fff!important;border-color:#137c4b!important;
}
body.interior-view #app#app .tp-opportunity.has-new button.secondary:hover:not(:disabled) {
 background:#0e633b!important;border-color:#0e633b!important;
}
