/* A single calm visual language for active work and compact completed history. */
#appView.smart-transfers #taskCenter{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid #e4eceb;border-radius:14px;background:#e4eceb;margin:16px 0 6px;overflow:hidden}
#appView.smart-transfers #taskCenter button{display:grid;grid-template-columns:1fr auto;gap:7px;padding:15px 18px;text-align:left;background:#fafcfb;border:0;border-radius:0;box-shadow:none;min-width:0;color:#566f71;transition:background .18s}
#appView.smart-transfers #taskCenter button:hover,#appView.smart-transfers #taskCenter button.selected{background:#edf7f4}#appView.smart-transfers #taskCenter b{grid-column:2;grid-row:1/3;align-self:center;font-size:25px;letter-spacing:-.04em;color:#234c4c;font-variant-numeric:tabular-nums}#appView.smart-transfers #taskCenter span{font-size:12px}#appView.smart-transfers #taskCenter small{font-size:10px;color:#859795;line-height:1.4}
.smart-sort-field{display:grid;gap:5px;font-size:11px;color:#728581;min-width:140px}.smart-sort-field select{font:inherit;font-size:13px;color:#254c4c;border:1px solid #dfe8e5;background:white;border-radius:9px;height:44px;padding:0 28px 0 11px}.smart-sort-hint{font-size:11px;line-height:1.5;color:#7b8e89;margin:8px 0 14px}.smart-sort-hint:empty{display:none}
.transfer-group{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 3px 9px;color:#365d57;font-size:12px;font-weight:600}.transfer-group small{font-size:10px;color:#8a9b96;font-weight:400}
#appView.smart-transfers .job-row,.smart-transfer-card{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:15px;align-items:start;padding:19px 17px;border:1px solid #e3ebe7;border-radius:13px;background:#fff;margin:0 0 9px;box-shadow:0 3px 12px #16372a03;transition:border-color .2s}
#appView.smart-transfers .job-row:hover,.smart-transfer-card:hover{border-color:#bfd3ca}#appView.smart-transfers .job-row.is-live,.smart-transfer-card.is-live{border-color:#cce3d9;background:linear-gradient(115deg,#fbfefc,#fff 65%)}
#appView.smart-transfers .job-row .job-body{min-width:0}#appView.smart-transfers .job-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 8px}#appView.smart-transfers .job-name{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}#appView.smart-transfers .job-meta{font-size:11px;line-height:1.6;color:#80908a;gap:10px;margin:0;display:flex;flex-wrap:wrap}#appView.smart-transfers .file-icon{width:38px;height:43px;font-size:10px;border-radius:10px;background:#eef4f0;color:#608175;display:grid;place-items:center}
.transfer-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:500;line-height:1.5;color:#467664;flex-shrink:0}.transfer-status i{font-style:normal;width:15px;height:15px;border-radius:50%;background:#eef5ef;display:inline-grid;place-items:center;font-size:10px}.transfer-status.tone-0 i{width:6px;height:6px;background:#318575;margin:4px}.transfer-status.tone-1{color:#778066}.transfer-status.tone-2{color:#ae713b}.transfer-status.tone-2 i{background:#fbf0e4}.transfer-status.tone-3,.transfer-status.tone-5{color:#839187}.transfer-status.tone-4{color:#40795c}
.transfer-progress{margin-top:15px}.transfer-numbers{display:flex;gap:12px;justify-content:space-between;align-items:baseline;font-size:11px;color:#81918a}.transfer-numbers b{font-weight:500;color:#3e6252}.transfer-numbers strong{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.05em;color:#2a6551}.transfer-meter{margin:9px 0;height:5px;border-radius:10px;background:#edf2ee;overflow:hidden}.transfer-meter>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#60a58a,#287c64);transition:width .65s ease-out}
.transfer-live-meta{display:flex;justify-content:space-between;gap:14px;font-size:10px;color:#87958e;font-variant-numeric:tabular-nums;line-height:1.7}.transfer-live-meta span:first-child{color:#517c6b}.transfer-context{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.6;color:#8a968d;margin:13px 0 1px}.transfer-dot{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:#c1cfc5;margin-top:6px}.transfer-dot.is-confirming{background:#8f9d70;animation:quiet-pulse 1.8s ease-in-out infinite}
#appView.smart-transfers .job-actions,.smart-transfer-card .task-actions{display:flex;gap:7px;margin:0;align-self:center;flex-wrap:wrap;max-width:170px}#appView.smart-transfers .job-actions button,.smart-transfer-card .task-actions button{border:1px solid #dfe8e1;border-radius:8px;padding:8px 11px;min-height:34px;background:#fff;color:#647d6a;font-size:11px;white-space:nowrap;cursor:pointer}#appView.smart-transfers .job-actions button.primary-action{border-color:#d7e7da;background:#edf6ef;color:#3f7455}
#appView.smart-transfers .job-row.is-complete,.smart-transfer-card.is-complete{padding:13px 17px;box-shadow:none;border-color:transparent;border-bottom-color:#edf1ed;border-radius:5px;margin:0}#appView.smart-transfers .job-row.is-complete .file-icon,.smart-transfer-card.is-complete .file-icon{height:36px;background:#f4f6f3}#appView.smart-transfers .job-row.is-complete .job-title{margin-bottom:4px}.smart-transfer-card .job-name{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.smart-transfer-card .job-title{display:flex;justify-content:space-between;gap:12px}.smart-transfer-card .job-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#84958b;margin-top:7px}.smart-transfer-card .file-icon{height:40px;border-radius:9px;background:#eff5f0;font-size:10px;color:#6a8673;display:grid;place-items:center}.smart-transfer-card .job-body{min-width:0}.smart-transfer-card .transfer-extra{grid-column:2/-1;font-size:11px;color:#819389}.smart-transfer-card .transfer-extra summary,#appView.smart-transfers .job-detail summary{font-size:11px;cursor:pointer}.smart-transfer-card .transfer-extra p{font-size:11px;color:inherit;overflow-wrap:anywhere}.smart-transfer-card .transfer-extra[open]{background:#f8faf7;border-radius:8px;padding:10px}
#appView.smart-transfers #localUploads{border:0;margin:0 0 12px;overflow:visible}#appView.smart-transfers .local-uploads-title{background:none;padding:14px 3px 9px;font-size:12px;color:#365d57}#appView.smart-transfers .local-uploads-title small{font-size:10px}#appView.smart-transfers .job-detail{margin-top:9px;color:#8d958e}.transfer-scope-note{font-size:10px;color:#9aa39b}.transfer-source{display:inline-flex;border:1px solid #e6ece6;border-radius:5px;padding:0 5px;color:#849888;font-size:10px}.smart-transfer-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.smart-transfer-controls .smart-sort-hint{margin:0;flex:1}.smart-transfer-controls .smart-sort-field{min-width:170px}
@keyframes quiet-pulse{0%,100%{opacity:.4}50%{opacity:1}}
@media(max-width:760px){#appView.smart-transfers #taskCenter{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0}#appView.smart-transfers #taskCenter button{padding:12px}#appView.smart-transfers #taskCenter b{font-size:23px}#appView.smart-transfers .smart-sort-field{min-width:0;flex:1}#appView.smart-transfers .smart-sort-field select{width:100%;font-size:14px}#appView.smart-transfers .history-state-field{flex:1}#appView.smart-transfers .job-row,.smart-transfer-card{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:14px 12px}#appView.smart-transfers .file-icon,.smart-transfer-card .file-icon{width:29px;height:35px;font-size:9px}#appView.smart-transfers .job-title,.smart-transfer-card .job-title{flex-wrap:wrap;gap:5px}#appView.smart-transfers .job-name,.smart-transfer-card .job-name{font-size:13px;flex-basis:100%}#appView.smart-transfers .job-actions,.smart-transfer-card .task-actions{grid-column:2;max-width:none;justify-content:flex-end}#appView.smart-transfers .job-actions button,.smart-transfer-card .task-actions button{min-height:40px;padding:8px 12px}#appView.smart-transfers .job-row.is-complete,.smart-transfer-card.is-complete{padding:12px 5px}.transfer-live-meta{flex-wrap:wrap;gap:2px 8px}.transfer-live-meta span{font-size:10px}.transfer-group{padding-top:16px}.smart-transfer-controls{align-items:flex-end}.smart-transfer-controls .smart-sort-field{min-width:0;width:100%}.smart-transfer-controls .smart-sort-hint{flex-basis:100%}.smart-transfer-card .transfer-extra{grid-column:1/-1}.transfer-progress{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.transfer-meter>span,.transfer-dot.is-confirming{transition:none;animation:none}}

/* Replace inherited layout offsets instead of layering a second header. */
#appView.smart-transfers .queue-section{padding:20px 22px}
#appView.smart-transfers .queue-section>.section-head{display:none}
#appView.smart-transfers #taskCenter{padding:0;margin:0 0 10px}
#appView.smart-transfers #taskCenter button{grid-template-areas:none}
#appView.smart-transfers #taskCenter button span{grid-area:auto;grid-column:1;grid-row:1}
#appView.smart-transfers #taskCenter button small{grid-area:auto;grid-column:1;grid-row:2}
#appView.smart-transfers .queue-section .list-toolbar{padding:12px 0;margin:0;gap:12px}
#appView.smart-transfers .list-toolbar .search{order:0}
#appView.smart-transfers .history-state-field{order:1}
#appView.smart-transfers .smart-sort-field{order:2}
#appView.smart-transfers #refreshButton{order:3;font-size:11px}
#appView.smart-transfers #historyClear{order:4;font-size:11px}
#appView.smart-transfers .extra-transfer-history{float:right;margin:8px 0 0;gap:12px}
#appView.smart-transfers #jobSortHint{margin:12px 0 4px;font-size:10px;line-height:20px}
#appView.smart-transfers .pf-folder-head .file-sort-field{margin-left:auto;flex:0 0 160px;min-width:0}
@media(max-width:760px){#appView.smart-transfers .queue-section{padding:14px 12px}#appView.smart-transfers .queue-section .list-toolbar{gap:9px}#appView.smart-transfers .list-toolbar #refreshButton,#appView.smart-transfers .list-toolbar #historyClear{min-height:32px}#appView.smart-transfers .extra-transfer-history{float:none;justify-content:flex-start;margin:4px 0 0;gap:14px}#appView.smart-transfers #jobSortHint{margin:5px 0}#appView.smart-transfers .pf-folder-head{flex-wrap:wrap}#appView.smart-transfers .pf-folder-head .file-sort-field{margin:10px 0 0;flex-basis:100%}#appView.smart-transfers .pf-folder-head .file-sort-field select{width:100%}}

.transfer-group{clear:both}
@media(max-width:760px){#appView.smart-transfers .list-toolbar .history-state-field,#appView.smart-transfers .list-toolbar .smart-sort-field{flex:1 1 calc(50% - 6px)}#appView.smart-transfers .list-toolbar #refreshButton{margin-left:auto}}
