/* Shared completed-shift report for every quiz. */
html[data-layout="mobile"][data-game-flow="true"] .app[data-screen="summary"]:has(.shift-report){display:block;min-height:0;padding-bottom:24px}
.shift-report-header{display:flex;align-items:center;justify-content:space-between;gap:12px;height:56px;margin:0 0 32px;width:100%}
.shift-report-header :is(button,h1){display:flex;align-items:center;justify-content:center;flex:none;height:56px;margin:0;border:1px solid transparent;border-radius:999px;background:linear-gradient(#1e1e1e,#1e1e1e) padding-box,linear-gradient(135deg,#ffffff2e,#ffffff03) border-box;color:#fff}
.shift-report-header h1{padding:6px 32px;font:700 16px/20px "Medeo Sans",Arial,sans-serif}
.shift-report-header button{padding:16px;cursor:pointer}
.shift-report-header .shift-report-back{gap:2px;padding:16px;width:111px;font:600 14px/20px "Medeo Sans",Arial,sans-serif}
.shift-report-back>span{padding-inline:4px;opacity:.6}
.shift-report-header .shift-report-info{width:56px}
.shift-report-header img{display:block;flex:none;max-width:none;max-height:none}
.shift-report{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;color:#fff}
.shift-report-overview{display:contents}
.shift-report-note{position:relative;order:0;display:flex;flex-direction:column;gap:8px;padding:16px 0 8px;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 59.5% -32%,#ffffff29,transparent),linear-gradient(#ffffff1a,#ffffff1a),linear-gradient(3.36deg,#171717,#282828)}
.shift-report-status{padding:0 16px}
.shift-report-status h2{margin:0;font:700 24px/32px "Medeo Sans",Arial,sans-serif}
.shift-report-status p{margin:2px 0 0;font:400 16px/24px "Medeo Sans",Arial,sans-serif}
.shift-rewards{margin:0;padding:0 16px}
.shift-reward-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;border-bottom:1px solid rgba(255,255,255,.08);font:400 14px/20px "Medeo Sans",Arial,sans-serif}
.shift-reward-row dt{display:flex;align-items:center;gap:10px;color:#fff9;min-width:0}
.shift-reward-row dd{margin:0;color:#fe5400;font-weight:600;white-space:nowrap}
.shift-reward-row.is-unearned dd{color:#fff9}
.shift-reward-total{min-height:33px;border:0;font-weight:600}
.shift-reward-total :is(dt,dd){color:#fff}
.shift-reward-multiplier{flex:none;padding:2px 4px;border-radius:6px;background:radial-gradient(ellipse at 100% 100%,#bdf700 0%,#deaa00 15%,#ff5500 55%);color:#fff;font:700 12px/16px "Medeo Sans",Arial,sans-serif}
.shift-report-corner{position:absolute;right:0;top:0;pointer-events:none;width:60px;height:60px;overflow:hidden}
.shift-report-corner>span{position:absolute;top:0}.shift-report-corner .corner-base{left:23.2px}.shift-report-corner .corner-cut{left:22.7px}.shift-report-corner .corner-fold{left:-85.6px}
.shift-report-corner img{display:block;max-width:none;max-height:none}
.shift-level-progress{order:1;min-width:0}
html[data-layout="mobile"] .shift-report .agent-level.profile-level-summary{display:flex;flex-direction:column;gap:8px;padding:16px;margin:0;border:0;border-radius:24px;background:#1e1e1e}
.shift-report .agent-level>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;font:700 16px/20px "Medeo Sans",Arial,sans-serif}
.shift-report .agent-level>div:first-child>span{white-space:nowrap}
.shift-report .agent-level>div:first-child>span>span{color:#fff8;font-weight:600}
.shift-report .agent-level-track{position:relative;display:flex;align-items:center;height:8px;background:none}
.shift-report .agent-level-track::before{content:"";position:absolute;inset:3px 0;height:2px;border-radius:40px;background:#ffffff1f}
.shift-report .agent-level-track>span{position:relative;display:block;flex:none;height:8px;border-radius:40px;background:#fe5400;transition:none}
.shift-report .agent-level>p{margin:0;color:#adadad;font:400 14px/20px "Medeo Sans",Arial,sans-serif}
.shift-report-actions{order:3;display:flex;flex-direction:column;gap:8px}
.shift-report-actions :is(.primary,.secondary){display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0;padding:10px 12px;border:1px solid transparent;border-radius:999px;font:600 14px/20px "Medeo Sans",Arial,sans-serif}
.shift-report-actions .primary{background:#fe5400}.shift-report-actions .secondary{border:0;color:#fff9;background:#1e1e1e}
html[data-layout][data-game-flow] .shift-report-actions .secondary{border:0}
.shift-report-actions p{font:400 14px/20px "Medeo Sans",Arial,sans-serif;color:#ff8b9e;margin:0}
.shift-report-results{order:2;min-width:0}
.shift-report-results>h2{font:700 20px/24px "Medeo Sans",Arial,sans-serif;margin:0 0 8px}
.shift-results-list{display:flex;flex-direction:column;gap:4px}
.shift-result-card{position:relative;padding:16px;border-radius:20px;background:#1e1e1e;min-height:116px;box-sizing:border-box}
.shift-result-open{display:flex;align-items:center;gap:12px;min-width:0;width:100%;min-height:84px;padding:0 48px 0 0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.shift-result-cover{display:block;flex:none;width:56px;height:84px;object-fit:cover;border-radius:8px;background:#292929}
.shift-result-content{display:flex;flex:1;flex-direction:column;gap:0;min-width:0}
.shift-result-title{display:flex;align-items:baseline;gap:4px;min-width:0}
.shift-result-title strong{font:700 16px/20px "Medeo Sans",Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.shift-result-title>span{font:500 12px/16px "Medeo Sans",Arial,sans-serif;opacity:.6;white-space:nowrap;flex:none}
.shift-result-message{margin-top:4px;font:500 12px/16px "Medeo Sans",Arial,sans-serif}
.shift-result-progress{display:flex;align-items:center;gap:4px;margin-top:8px;min-height:20px}
.shift-result-progress>img{display:block;flex:none;max-width:none;max-height:none}
.shift-result-track{display:flex;align-items:center;flex:1;height:8px;position:relative;min-width:0}
.shift-result-track::before{content:"";position:absolute;inset:3px 0;height:2px;border-radius:20px;background:#ffffff1f}
.shift-result-fill{position:relative;display:block;flex:none;height:8px;border-radius:20px;background:#30d158}
.shift-result-fill.is-failed{background:#ff375f}
.shift-result-card .shift-result-controls{right:16px;top:16px;bottom:16px}
.shift-report :is(button):focus-visible,.shift-report-header button:focus-visible{outline:2px solid #ff6b00;outline-offset:3px}
@media(min-width:720px){
 html[data-layout="mobile"][data-game-flow="true"] .desktop-shell:has(.shift-report) .sidebar{display:none!important}
 html[data-layout="mobile"][data-game-flow="true"] .desktop-shell:has(.shift-report) .workspace{padding-top:var(--desktop-header-top,16px)}
 .shift-report{display:grid;grid-template-columns:minmax(0,286px) minmax(0,410px);gap:24px;align-items:start}
 .shift-report-overview{display:flex;flex-direction:column;gap:16px;min-width:0}
 .shift-report-overview>*{width:100%}
 .shift-report-results{order:0}
}
@media(max-width:599px){
 .shift-report-header{gap:8px;margin-bottom:24px}
 .shift-report-header h1{font-size:14px;padding-inline:16px}
 .shift-report-header .shift-report-back{width:48px;height:48px;padding:12px}
 .shift-report-back>span{display:none}
 .shift-report-header .shift-report-info{width:48px;height:48px;padding:12px}
 .shift-result-card{padding:12px}
 .shift-result-open{padding-right:40px;gap:10px}
 .shift-result-card .shift-result-controls{right:12px;top:12px;bottom:12px}
 .shift-result-title strong{font-size:14px}
 .shift-result-title>span{font-size:11px}
}

.shift-no-experience{margin:8px 0 0;font:400 12px/16px "Medeo Sans",Arial,sans-serif;color:#adadad}
.shift-result-clue{display:flex;align-items:center;justify-content:center;padding:6px;box-sizing:border-box;font-size:22px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.shift-result-open:not(button){padding-right:0}
@media(hover:hover) and (pointer:fine){
 .shift-report :is(button),.shift-report-header button{transition:background-color .16s ease,color .16s ease,filter .16s ease;box-shadow:none}
 .shift-result-card:has(.shift-result-open:hover){background-color:#232323}
 .shift-result-card .lists-row-save:hover,.shift-result-card .lists-row-more:hover{background-color:#ffffff1f;box-shadow:none}
 .shift-report-header button:hover{background:linear-gradient(#252525,#252525) padding-box,linear-gradient(135deg,#ffffff2e,#ffffff03) border-box;color:#fff;box-shadow:none}
 .shift-report-actions .primary:not(:disabled):hover{filter:brightness(1.04);box-shadow:none}
}

.shift-result-card.is-pair .shift-result-title strong{width:100%;font-size:14px;line-height:18px;white-space:normal}
.shift-pair-name{display:flex;align-items:baseline;gap:4px;min-width:0}
.shift-pair-name>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.shift-pair-name>small{flex:none;font:500 11px/14px "Medeo Sans",Arial,sans-serif;color:#fff9}

.shift-statistics-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px 16px;border-radius:16px;background:#ffffff08;color:#adadad;font:400 12px/16px "Medeo Sans",Arial,sans-serif}
.shift-statistics-notice button{flex:none;padding:6px 10px;border:0;border-radius:20px;background:#333;color:#fff;font:600 12px/16px "Medeo Sans",Arial,sans-serif}
@media(hover:hover) and (pointer:fine){.shift-report-actions .secondary:hover{background:#252525;color:#fff;box-shadow:none}.shift-statistics-notice button:hover{background:#3c3c3c}}
