/* Owner evaluation workspace. Other pages retain their original layout. */
body.eval-mode{background:#f3f6f4;color:#17251c}
body.eval-mode .profiles-head,
body.eval-mode .saved-reports,
body.eval-mode .pff-import,
body.eval-mode .site-footer{display:none}
body.eval-mode [hidden]{display:none!important}
body.eval-mode .eval-shell{margin:0;border:0;padding:0;min-width:0}
body.eval-mode .eval-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 9px;border:1px solid #d5dfd8;border-left:3px solid var(--green,#00693e);border-radius:4px;background:#fff;min-width:0}
body.eval-mode .eval-identity .lookup-bio{display:flex;align-items:center;gap:10px;margin:0;min-width:0;flex:1}
body.eval-mode .eval-identity .lookup-bio>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;min-width:0}
body.eval-mode .eval-identity .lookup-bio img{width:40px;height:44px;flex-shrink:0;object-fit:contain;background:#f2f6f3;border-radius:3px}
body.eval-mode .eval-identity .lookup-bio .eyebrow{display:none}
body.eval-mode .eval-identity h2{font-size:20px;line-height:1.15;margin:0;letter-spacing:-.5px}
body.eval-mode .eval-identity .lookup-bio p{font-size:11px;line-height:1.35;margin:0;color:#58675e}
body.eval-mode .eval-identity .row-link{font-size:11px;line-height:1.3;color:var(--green,#00693e)}
body.eval-mode .eval-season{display:flex;align-items:center;gap:7px;flex-shrink:0}
body.eval-mode .eval-season label{font-size:11px;color:#5d6d63}
body.eval-mode .eval-season select{font-size:12px;min-width:76px;height:29px;padding:3px 7px;border:1px solid #c6d3ca;border-radius:3px;background:#fff}
body.eval-mode .eval-warnings{min-height:0;max-height:58px;overflow:auto;flex-shrink:0}
body.eval-mode .eval-warnings:empty{display:none}
body.eval-mode .eval-warnings .source-review{margin:0;padding:5px 9px;font-size:11px;line-height:1.35;border-radius:3px}
body.eval-mode .eval-warnings .source-review p{margin-top:2px}
body.eval-mode .eval-shell>.lookup-detail-grid,
body.eval-mode .eval-shell>.stats-source{display:none}
body.eval-mode .eval-shell [data-player-tools]{min-width:0;min-height:0}
body.eval-mode .eval-shell .report-editor{margin:0;padding:0;border:0;min-width:0;min-height:0}
body.eval-mode .eval-form{margin:0;min-width:0;min-height:0}
body.eval-mode .eval-pane{min-width:0;min-height:0;padding:8px;border:1px solid #d5dfd8;border-radius:4px;background:#fff;scrollbar-width:thin;scrollbar-color:#b4c6b9 #f2f6f3}
body.eval-mode .eval-pane-title,
body.eval-mode .eval-pane-title h2,
body.eval-mode .eval-pane-title h3{font-size:13px;font-weight:700;line-height:1.25;letter-spacing:0;margin:0;color:#235237}
body.eval-mode .eval-reference .editor-player-details{padding:5px 6px 7px;margin:0;border-color:#dfe6e1;border-radius:3px;flex-shrink:0;min-width:0}
body.eval-mode .editor-player-details legend{font-size:11px;line-height:1.3;padding:0 4px}
body.eval-mode .eval-reference .editor-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 7px}
body.eval-mode .eval-form .control{font-size:10px;line-height:1.25;letter-spacing:.35px;color:#52655a;min-width:0}
body.eval-mode .eval-form input,
body.eval-mode .eval-form select{max-width:100%;min-width:0;border:1px solid #cbd7ce;border-radius:3px;background:#fff;color:#1d3024;font-size:11px;line-height:1.25}
body.eval-mode .eval-reference .control input,
body.eval-mode .eval-reference .control select{display:block;width:100%;height:26px;padding:3px 5px;margin:2px 0 0}
body.eval-mode .eval-reference-tabs{display:flex;gap:4px;flex-shrink:0}
body.eval-mode .eval-reference-tabs button{flex:1;min-width:0;padding:5px 7px;min-height:28px;background:#f3f7f4;border:1px solid #d1ddd4;border-radius:3px;font-size:11px;line-height:1.25;color:#44604d}
body.eval-mode .eval-reference-tabs button[aria-pressed="true"],
body.eval-mode .eval-reference-tabs button[aria-selected="true"]{background:var(--green,#00693e);border-color:var(--green,#00693e);color:#fff;font-weight:650}
body.eval-mode .eval-reference-content{min-width:0;min-height:0;scrollbar-width:thin;scrollbar-color:#b4c6b9 #f2f6f3}
body.eval-mode .eval-reference-content .stats-panel{margin:0;padding:6px;border:1px solid #e0e7e2;border-radius:3px;max-width:none;background:#fbfdfb}
body.eval-mode .eval-reference-content .stats-panel>header{gap:6px;padding-bottom:5px;align-items:center}
body.eval-mode .eval-reference-content .stats-panel h2{font-size:12px;line-height:1.3;letter-spacing:0}
body.eval-mode .eval-reference-content .stats-tools{gap:4px;min-width:0}
body.eval-mode .eval-reference-content .stats-tools label{font-size:10px}
body.eval-mode .eval-reference-content .stats-tools select{height:26px;font-size:11px;padding:3px;min-width:0;max-width:150px}
body.eval-mode .eval-reference-content .stats-source,
body.eval-mode .eval-reference-content .stats-message{font-size:11px;line-height:1.35;margin:5px 0;color:#617368}
body.eval-mode .eval-reference-content .stat-category h3{font-size:11px;line-height:1.3;margin:8px 0 5px;letter-spacing:0}
body.eval-mode .eval-reference-content .stat-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
body.eval-mode .eval-reference-content .stat-cell{padding:5px 6px;min-width:0;background:#f0f5f1;border-color:#e1e9e3}
body.eval-mode .eval-reference-content .stat-cell small{font-size:10px;line-height:1.25}
body.eval-mode .eval-reference-content .stat-cell strong{font-size:15px;line-height:1.2;margin-top:2px;overflow-wrap:anywhere}
body.eval-mode .eval-reference-content .games-panel .control{margin-top:6px}
body.eval-mode .eval-reference-content .games-panel [data-game-picker]{font-size:11px;height:auto;min-height:29px}
body.eval-mode .eval-reference-content .games-panel [data-add-game]{margin:6px 0 0;padding:5px 8px;min-height:28px;font-size:11px}
body.eval-mode .eval-reference-content .selected-game-stats{margin:6px 0}
body.eval-mode .eval-reference-content .games-table{font-size:11px}
body.eval-mode .eval-reference-content .games-table th{font-size:10px;padding:5px}
body.eval-mode .eval-reference-content .games-table td{padding:5px;line-height:1.3}
body.eval-mode .eval-source{font-size:11px;color:#617368;margin:5px 0;line-height:1.35}
body.eval-mode .eval-source>summary{cursor:pointer;color:#375d43;font-size:11px;line-height:1.3;padding:3px 0}
body.eval-mode .eval-writing .editor-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;flex-shrink:0}
body.eval-mode .eval-writing .editor-facts input{width:100%;height:27px;padding:3px 6px;font-size:12px;line-height:1.25;margin:3px 0 0}
body.eval-mode .eval-writing>[data-use-prefix]{align-self:flex-start;min-height:25px;font-size:11px;line-height:1.25;padding:4px 8px;margin:0;flex-shrink:0}
body.eval-mode .eval-text-control{display:flex;flex-direction:column;gap:3px;min-width:0;margin:0;min-height:49px}
body.eval-mode .eval-text-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:17px;flex-shrink:0}
body.eval-mode .eval-text-heading label{font-size:10px;font-weight:600;line-height:1.25;letter-spacing:.5px;color:#466251}
body.eval-mode .eval-expand{padding:2px 5px;min-height:21px;flex-shrink:0;background:#f2f7f3;border:1px solid #d8e3db;border-radius:3px;color:#2d6543;font-size:11px;line-height:1.25;letter-spacing:0;font-weight:500}
body.eval-mode .eval-text-control textarea{display:block;width:100%;height:70px;min-height:28px;max-height:none;margin:0;padding:6px 8px;border:1px solid #bdcec2;border-radius:3px;background:#fff;color:#1b2f22;font:12px/1.5 var(--sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);letter-spacing:0;font-weight:400;resize:vertical;overflow:auto;scrollbar-width:thin}
body.eval-mode .eval-text-control textarea[name="oneLiner"]{height:56px}
body.eval-mode .eval-text-control textarea[name="summary"]{height:120px}
body.eval-mode .eval-form textarea:focus,
body.eval-mode .eval-form input:focus,
body.eval-mode .eval-form select:focus{border-color:var(--green,#00693e)}
body.eval-mode .eval-form :is(button,input,select,textarea,summary):focus-visible{outline:2px solid var(--green,#00693e);outline-offset:2px;scroll-margin:6px}
body.eval-mode .eval-game-notes{min-width:0;flex-shrink:0;border-top:1px solid #e0e8e2;padding-top:4px;font-size:11px;line-height:1.35}
body.eval-mode .eval-game-notes>summary{cursor:pointer;font-weight:600;color:#385d45;padding:2px 0;min-height:20px}
body.eval-mode .eval-game-notes .evaluated-games{margin:6px 0}
body.eval-mode .eval-game-notes .evaluated-games h3{font-size:12px;margin:4px 0}
body.eval-mode .eval-game-notes .evaluated-game-breakdown{margin:6px 0;padding:7px}
body.eval-mode .eval-game-notes .evaluated-game{font-size:11px;padding:5px 0;gap:6px}
body.eval-mode .eval-game-notes .evaluated-game select{height:26px;padding:3px}
body.eval-mode .eval-game-notes .stat-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
body.eval-mode .eval-game-notes .stat-cell{padding:5px}
body.eval-mode .eval-game-notes .stat-cell small{font-size:10px;line-height:1.25}
body.eval-mode .eval-game-notes .stat-cell strong{font-size:14px;margin-top:2px}
body.eval-mode .eval-game-notes .stat-category h3{font-size:11px;margin:6px 0 4px}
body.eval-mode .eval-game-notes .editor-label{display:block;margin:8px 0 4px}
body.eval-mode .eval-game-notes textarea{font:12px/1.5 var(--sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif);min-height:65px;padding:6px 8px;margin-top:3px;resize:vertical}
body.eval-mode .eval-factors .factor-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;min-width:0;align-items:start}
body.eval-mode .eval-factors .factor-editor fieldset{padding:4px 5px 5px;margin:0;min-width:0;border-color:#dce5df;border-radius:3px}
body.eval-mode .eval-factors .factor-editor legend{font-size:11px;line-height:1.25;padding:0 3px}
body.eval-mode .eval-factors .factor-editor .stats-message{font-size:11px;line-height:1.2;margin:0 0 3px;color:#607568}
body.eval-mode .eval-factors .factor-grade-control{display:grid;grid-template-columns:minmax(0,1fr)84px;align-items:center;gap:4px;min-height:28px;padding:1px 0;border-bottom:1px solid #edf1ee;font-size:11px;line-height:1.1;letter-spacing:0}
body.eval-mode .eval-factors .factor-grade-control:last-child{border-bottom:0}
body.eval-mode .eval-factors .factor-grade-control span{max-width:none;min-width:0;font-size:11px;line-height:1.1;color:#304b39;overflow-wrap:anywhere}
body.eval-mode .eval-factors .factor-grade-control select{width:84px;min-width:0;max-width:none;height:26px;padding:2px 3px;border-radius:3px;font-size:11px;line-height:1.2;letter-spacing:0;background:#fbfdfb}
body.eval-mode .eval-actions{grid-column:1/-1;display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;padding:6px 8px;border:1px solid #d5dfd8;border-radius:4px;background:#fff}
body.eval-mode .eval-actions .button{margin:0;min-height:31px;padding:6px 10px;font-size:11px;line-height:1.25;flex-shrink:0}
body.eval-mode .eval-actions .stats-message{flex:1 1 180px;min-width:0;font-size:11px;line-height:1.3;margin:0;color:#526d5b;max-height:2.6em;overflow:auto}
body.eval-mode .eval-actions .stats-message:empty{display:none}
body.eval-mode .eval-actions [role="alert"]{color:#a52a25}

@media(min-width:1100px){
  body.eval-mode{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
  body.eval-mode .site-nav{flex-shrink:0}
  body.eval-mode .nav-inner{max-width:none;min-height:44px;padding:0 14px;gap:16px}
  body.eval-mode .brand{font-size:12px;gap:8px}
  body.eval-mode .brand-icon{width:27px;height:28px;font-size:20px}
  body.eval-mode .brand small{display:none}
  body.eval-mode .nav-links{gap:24px;font-size:11px;flex-wrap:nowrap}
  body.eval-mode .nav-links a{padding:12px 0 9px;line-height:1.3}
  body.eval-mode main#content{display:flex;flex:1;min-height:0;overflow:hidden}
  body.eval-mode main#content>.wrap{position:relative;display:flex;flex:1;flex-direction:column;align-self:stretch;gap:5px;width:100%;height:100%;max-width:none;min-width:0;min-height:0;margin:0;padding:6px 12px 8px}
  body.eval-mode #playerLookupForm{display:flex;align-items:center;gap:7px;margin:0;max-width:none;flex-shrink:0;min-height:33px}
  body.eval-mode #playerLookupForm>.control{display:flex;align-items:center;gap:8px;max-width:650px;font-size:10px;line-height:1.2;white-space:nowrap;letter-spacing:.4px;min-width:0}
  body.eval-mode #playerLookupForm input{height:29px;padding:4px 8px;font-size:12px;line-height:1.25;margin:0;min-width:0}
  body.eval-mode #playerLookupForm button{min-height:29px;margin:0;padding:5px 10px;font-size:11px;line-height:1.25}
  body.eval-mode #lookupStatus{font-size:11px;line-height:1.25;margin:0;min-height:14px;max-height:28px;overflow:auto;flex-shrink:0}
  body.eval-mode #lookupStatus:empty{display:none}
  body.eval-mode #lookupResults{position:absolute;top:42px;left:12px;right:12px;z-index:60;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;padding:7px;max-height:42dvh;overflow:auto;background:#fff;border:1px solid #c9d8ce;box-shadow:0 8px 25px #203c2829;border-radius:4px}
  body.eval-mode #lookupResults:empty{display:none}
  body.eval-mode #lookupResults .lookup-result{padding:7px 9px;gap:8px}
  body.eval-mode #lookupResults .lookup-result img{width:32px;height:34px}
  body.eval-mode #lookupResults .lookup-result strong{font-size:12px}
  body.eval-mode #lookupResults .lookup-result small{font-size:11px}
  body.eval-mode #lookupPlayer{display:flex;flex:1;min-width:0;min-height:0}
  body.eval-mode #lookupPlayer>.eval-shell{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;min-height:0}
  body.eval-mode .eval-identity{min-height:54px;flex-shrink:0}
  body.eval-mode .eval-shell [data-player-tools],
  body.eval-mode .eval-shell .report-editor{display:flex;flex:1;min-height:0;flex-direction:column}
  body.eval-mode [data-report-form].eval-form{display:grid;grid-template-columns:minmax(0,24fr) minmax(0,43fr) minmax(0,33fr);grid-template-rows:minmax(0,1fr) auto;gap:7px;flex:1;min-height:0}
  body.eval-mode .eval-reference,
  body.eval-mode .eval-writing,
  body.eval-mode .eval-factors{display:flex;flex-direction:column;gap:6px;min-height:0;overflow:auto;overscroll-behavior:contain}
  body.eval-mode .eval-reference{overflow:hidden}
  body.eval-mode .eval-reference>.eval-pane-title,
  body.eval-mode .eval-writing>.eval-pane-title,
  body.eval-mode .eval-factors>.eval-pane-title{flex-shrink:0}
  body.eval-mode .eval-reference-content{flex:1;overflow:auto;overscroll-behavior:contain}
  body.eval-mode .eval-writing>.eval-text-control{flex:1 1 auto;min-height:49px}
  body.eval-mode .eval-writing>.eval-text-control:has(textarea[name="summary"]){flex-grow:1.7;min-height:69px}
  body.eval-mode .eval-writing>.eval-text-control textarea{flex:1 1 auto}
  body.eval-mode .eval-game-notes[open]{max-height:180px;overflow:auto}
}

@media(min-width:700px) and (max-width:1099px){
  body.eval-mode main#content>.wrap{max-width:none;padding:12px 20px}
  body.eval-mode .eval-shell{display:flex;flex-direction:column;gap:10px}
  body.eval-mode .eval-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:10px;align-items:start}
  body.eval-mode .eval-reference{grid-column:1;grid-row:1}
  body.eval-mode .eval-writing{grid-column:2;grid-row:1/span 2}
  body.eval-mode .eval-factors{grid-column:1;grid-row:2}
  body.eval-mode .eval-pane{display:flex;flex-direction:column;gap:8px;padding:10px}
  body.eval-mode .eval-reference-content{max-height:500px;overflow:auto}
  body.eval-mode .eval-factors .factor-editor{grid-template-columns:1fr}
  body.eval-mode .eval-factors .factor-grade-control{grid-template-columns:minmax(0,1fr)100px;min-height:32px;font-size:12px}
  body.eval-mode .eval-factors .factor-grade-control span{font-size:12px}
  body.eval-mode .eval-factors .factor-grade-control select{width:100px;height:30px;font-size:12px}
  body.eval-mode .eval-text-control textarea{font-size:13px;min-height:65px}
  body.eval-mode .eval-text-control textarea[name="summary"]{height:180px}
  body.eval-mode .eval-writing .editor-facts{gap:5px}
  body.eval-mode .eval-writing .editor-facts input{font-size:13px;height:31px}
}

@media(max-width:699px){
  body.eval-mode{height:auto;min-height:100dvh;overflow:visible}
  body.eval-mode main#content>.wrap{padding:12px}
  body.eval-mode #playerLookupForm{display:flex;flex-direction:row;align-items:flex-end;gap:7px;margin:0 0 8px}
  body.eval-mode #playerLookupForm .control{flex:1;min-width:0;font-size:11px}
  body.eval-mode #playerLookupForm input{height:42px;font-size:16px;padding:8px;margin-top:4px}
  body.eval-mode #playerLookupForm button{width:auto;min-height:42px;font-size:13px;padding:8px 10px}
  body.eval-mode #lookupStatus{font-size:12px;line-height:1.4;margin:6px 0}
  body.eval-mode #lookupResults{grid-template-columns:1fr;margin:8px 0;gap:6px}
  body.eval-mode .eval-shell{display:flex;flex-direction:column;gap:10px}
  body.eval-mode .eval-identity{gap:8px;align-items:center;padding:8px;flex-wrap:wrap}
  body.eval-mode .eval-identity .lookup-bio{gap:9px}
  body.eval-mode .eval-identity .lookup-bio>div{display:block}
  body.eval-mode .eval-identity .lookup-bio img{width:44px;height:52px}
  body.eval-mode .eval-identity h2{font-size:22px}
  body.eval-mode .eval-identity .lookup-bio p{font-size:13px;line-height:1.4;margin:3px 0}
  body.eval-mode .eval-identity .row-link{font-size:12px}
  body.eval-mode .eval-season{margin-left:auto}
  body.eval-mode .eval-season label{font-size:13px}
  body.eval-mode .eval-season select{height:36px;font-size:16px;min-width:83px}
  body.eval-mode .eval-warnings{max-height:none}
  body.eval-mode .eval-warnings .source-review{font-size:13px;line-height:1.5;padding:8px}
  body.eval-mode .eval-form{display:flex;flex-direction:column;gap:10px}
  body.eval-mode .eval-pane{display:flex;flex-direction:column;gap:10px;padding:11px;width:100%;overflow:visible}
  body.eval-mode .eval-pane-title,
  body.eval-mode .eval-pane-title h2,
  body.eval-mode .eval-pane-title h3{font-size:16px}
  body.eval-mode .eval-form .control{font-size:11px;line-height:1.35}
  body.eval-mode .eval-reference .editor-details-grid{gap:8px}
  body.eval-mode .eval-reference .control input,
  body.eval-mode .eval-reference .control select{height:38px;font-size:16px;padding:6px;margin-top:3px}
  body.eval-mode .eval-reference .editor-player-details{padding:8px}
  body.eval-mode .editor-player-details legend{font-size:13px}
  body.eval-mode .eval-reference-tabs button{min-height:38px;font-size:14px}
  body.eval-mode .eval-reference-content{overflow:visible;max-height:none}
  body.eval-mode .eval-reference-content .stats-panel{padding:9px}
  body.eval-mode .eval-reference-content .stats-panel h2{font-size:15px}
  body.eval-mode .eval-reference-content .stats-tools label{font-size:12px}
  body.eval-mode .eval-reference-content .stats-tools select{height:36px;font-size:16px}
  body.eval-mode .eval-reference-content .stats-source,
  body.eval-mode .eval-reference-content .stats-message{font-size:12px;line-height:1.5;margin:7px 0}
  body.eval-mode .eval-reference-content .stat-category h3{font-size:13px;margin:10px 0 6px}
  body.eval-mode .eval-reference-content .stat-cell{padding:8px}
  body.eval-mode .eval-reference-content .stat-cell small{font-size:12px}
  body.eval-mode .eval-reference-content .stat-cell strong{font-size:18px}
  body.eval-mode .eval-reference-content .games-panel [data-game-picker]{font-size:16px;min-height:38px}
  body.eval-mode .eval-reference-content .games-panel [data-add-game]{min-height:38px;font-size:14px}
  body.eval-mode .eval-reference-content .games-table{font-size:13px}
  body.eval-mode .eval-reference-content .games-table th{font-size:11px}
  body.eval-mode .eval-reference-content .games-table td{padding:7px 5px}
  body.eval-mode .eval-source,
  body.eval-mode .eval-source>summary{font-size:13px}
  body.eval-mode .eval-writing .editor-facts{gap:6px}
  body.eval-mode .eval-writing .editor-facts input{height:38px;font-size:16px;padding:6px;margin-top:4px}
  body.eval-mode .eval-writing>[data-use-prefix]{min-height:36px;font-size:13px;padding:7px 9px}
  body.eval-mode .eval-text-heading{min-height:28px}
  body.eval-mode .eval-text-heading label{font-size:12px}
  body.eval-mode .eval-expand{min-height:30px;font-size:12px;padding:5px 8px}
  body.eval-mode .eval-text-control textarea{font-size:16px;line-height:1.55;min-height:90px;height:100px;padding:9px}
  body.eval-mode .eval-text-control textarea[name="summary"]{height:210px}
  body.eval-mode .eval-text-control textarea[name="vision"],
  body.eval-mode .eval-text-control textarea[name="filmNotes"]{height:140px}
  body.eval-mode .eval-game-notes{font-size:13px}
  body.eval-mode .eval-game-notes>summary{min-height:34px;padding:7px 0}
  body.eval-mode .eval-game-notes textarea{font-size:16px;min-height:110px;padding:8px}
  body.eval-mode .eval-game-notes .evaluated-game{font-size:13px;align-items:flex-start}
  body.eval-mode .eval-game-notes .evaluated-game select{height:36px;font-size:16px}
  body.eval-mode .eval-game-notes .stat-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.eval-mode .eval-factors .factor-editor{grid-template-columns:1fr;gap:12px}
  body.eval-mode .eval-factors .factor-editor fieldset{padding:8px}
  body.eval-mode .eval-factors .factor-editor legend{font-size:14px}
  body.eval-mode .eval-factors .factor-editor .stats-message{font-size:12px;line-height:1.4}
  body.eval-mode .eval-factors .factor-grade-control{grid-template-columns:minmax(0,1fr)116px;gap:9px;min-height:43px;padding:3px 0}
  body.eval-mode .eval-factors .factor-grade-control span{font-size:14px;line-height:1.3}
  body.eval-mode .eval-factors .factor-grade-control select{width:116px;height:36px;font-size:16px;padding:4px}
  body.eval-mode .eval-actions{align-items:stretch;gap:8px;padding:10px}
  body.eval-mode .eval-actions .button{flex:1 1 100%;display:flex;width:100%;min-height:42px;padding:9px 12px;font-size:14px}
  body.eval-mode .eval-actions .stats-message{flex-basis:100%;font-size:13px;max-height:none;line-height:1.5}
}

/* A single field can use the screen without moving or replacing its textarea. */
body.eval-mode .eval-text-control.is-expanded{position:fixed;inset:72px 40px 24px;z-index:100;display:flex;flex-direction:column;gap:10px;min-height:0;margin:0;padding:16px;border:1px solid #9fbba8;border-top:3px solid var(--green,#00693e);border-radius:5px;background:#fff;box-shadow:0 0 0 100vmax #132a1ecc,0 14px 50px #1029194d}
body.eval-mode .eval-text-control.is-expanded .eval-text-heading{min-height:27px}
body.eval-mode .eval-text-control.is-expanded .eval-text-heading label{font-size:13px}
body.eval-mode .eval-text-control.is-expanded .eval-expand{min-height:30px;padding:5px 9px;font-size:12px}
body.eval-mode .eval-text-control.is-expanded textarea{flex:1 1 auto;height:auto!important;min-height:0!important;max-height:none;font-size:15px;line-height:1.7;padding:12px;resize:none}
@media(max-width:699px){body.eval-mode .eval-text-control.is-expanded{inset:12px 8px;padding:12px}body.eval-mode .eval-text-control.is-expanded textarea{font-size:16px;line-height:1.6}body.eval-mode .eval-text-control.is-expanded .eval-text-heading label{font-size:12px}}
@media print{body.eval-mode{height:auto;overflow:visible;display:block;background:#fff}body.eval-mode main#content,body.eval-mode main#content>.wrap,body.eval-mode #lookupPlayer,body.eval-mode #lookupPlayer>.eval-shell,body.eval-mode .eval-shell [data-player-tools],body.eval-mode .eval-shell .report-editor{display:block;height:auto;overflow:visible}body.eval-mode .eval-form{display:block}body.eval-mode .eval-pane{overflow:visible;margin-bottom:12px}body.eval-mode .eval-text-control.is-expanded{position:static;box-shadow:none}body.eval-mode .eval-actions{display:none}}

body.eval-mode .evaluation-checklist{display:none!important}
