:root{color-scheme:light;--ink:#172d45;--muted:#60738a;--blue:#075db2;--blue-dark:#064c92;--line:#dce5ef;--soft:#f1f6fc;--green:#188465;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:#f3f6fb;color:var(--ink);font-size:15px;line-height:1.5}.topbar{background:#fff;border-bottom:1px solid #e5ecf3}.topbar-inner{max-width:1050px;margin:auto;padding:15px 24px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand img{border-radius:10px;image-rendering:auto}.brand span{display:flex;flex-direction:column;line-height:1.22}.brand strong{font-size:18px;letter-spacing:-.02em}.brand small{font-size:10px;letter-spacing:.11em;font-weight:750;color:#6d829a;margin-top:4px}.help-button,.icon-close{display:grid;place-items:center;border:1px solid #d7e3f0;color:#165a99;background:#f7faff;border-radius:10px;width:40px;height:40px;font-size:19px;font-weight:700;cursor:pointer}.help-button:hover,.icon-close:hover{background:#eaf3ff}.page{width:min(100% - 48px,1000px);margin:42px auto 0}.intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow,.section-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#467da9}.eyebrow{display:flex;align-items:center;gap:8px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:#27a27d}.intro h1{font-size:clamp(27px,3.6vw,38px);line-height:1.18;letter-spacing:-.045em;margin:8px 0 7px;font-weight:750}.intro p{color:#60738a;font-size:16px;margin:0}.version-chip{font-weight:700;color:#54718c;white-space:nowrap;background:#e8eff8;border:1px solid #dfe9f4;padding:8px 13px;border-radius:999px;font-size:12px}.version-chip span{color:#a5bbcf;padding:0 2px}.notice{display:flex;align-items:flex-start;gap:12px;background:#eaf5f2;border:1px solid #cde9de;color:#315f54;border-radius:12px;padding:13px 16px;margin-bottom:18px}.notice-icon{display:flex;color:#188465;margin-top:2px;flex:none}.notice p{margin:0;font-size:13.5px}.notice strong{color:#174f40}.card,.result-card{border:1px solid var(--line);background:white;border-radius:15px;box-shadow:0 6px 22px rgba(39,72,111,.045);padding:22px 24px;margin-bottom:16px}.section-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:19px}.section-heading h2,.action-head h2,.result-heading h2{font-size:20px;line-height:1.25;letter-spacing:-.025em;margin:4px 0 0}.section-symbol{font-size:12px;font-weight:800;letter-spacing:.05em;color:#a5b8cb}.source-layout{display:grid;grid-template-columns:220px 1fr;gap:18px}.field label{display:block;font-size:13px;font-weight:700;color:#344e69;margin:0 0 7px}.field small{display:block;color:#8a9aab;font-size:11.5px;margin-top:5px}.field select,.field input,.selection{width:100%;height:45px;border:1px solid #cad7e5;background-color:#fff;border-radius:8px;color:#263e57;font:inherit;font-size:14px;outline:none}.field select{appearance:none;padding:0 38px 0 13px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%235c748c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.field select:focus,.field input:focus,.button:focus-visible,.help-button:focus-visible,a:focus-visible{outline:3px solid #b7d9ff;outline-offset:1px;border-color:#4d99e5}.field select:disabled,.field input:disabled{background-color:#f2f4f7;color:#93a2b2;cursor:not-allowed}.source-control{display:flex;gap:9px}.selection{display:flex;align-items:center;min-width:0;padding:0 13px;color:#8292a4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection.has-selection{color:#244b6e;background:#f9fbfe}.source-control .button{flex-shrink:0;min-width:112px}.hint{font-size:13px;color:#74879b;margin:10px 0 0}.options-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;row-gap:17px}.input-unit{position:relative}.input-unit input{padding:0 50px 0 13px}.input-unit span{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;padding:0 14px;border-left:1px solid #dbe4ee;color:#70869b;font-size:12px;font-weight:750}.action-card{padding-bottom:18px}.action-head{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:18px}.action-head .hint{margin-top:5px}.mode-label{border:1px solid #dce8f5;color:#577693;font-size:12px;font-weight:700;padding:6px 10px;border-radius:7px;background:#f7fbff;white-space:nowrap}.buttons{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 19px;font:inherit;font-size:14px;font-weight:700;border-radius:8px;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:background-color .15s,border-color .15s,box-shadow .15s}.button-primary{color:#fff;background:var(--blue);border-color:var(--blue);box-shadow:0 3px 6px rgba(4,77,149,.12)}.button-primary:hover{background:var(--blue-dark)}.button-outline{color:#325b7c;background:#fff;border-color:#c9d9e8}.button-outline:hover{background:#f2f7fd;border-color:#9bbfdf}.button:disabled{color:#a1aebc;background:#f1f3f5;border-color:#e4e9ed;box-shadow:none;cursor:not-allowed}.progress-area{margin-top:21px}.progress-track{height:7px;background:#e7eef6;border-radius:30px;overflow:hidden}.progress-fill{height:100%;width:0;background:#1675cc;border-radius:30px;transition:width .2s}.progress-meta{display:flex;align-items:start;justify-content:space-between;gap:20px;color:#6b8196;font-size:12px;margin-top:8px;overflow-wrap:anywhere}.progress-meta span:last-child{font-weight:700;color:#55738e;white-space:nowrap}.download-hint{margin:14px 0 0;padding-top:14px;border-top:1px solid #edf1f5;font-size:12px;color:#8292a3}.result-card{border-color:#b6e2d3;background:#fbfefc}.result-heading{display:flex;justify-content:space-between;align-items:center}.result-check{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;color:#188465;background:#ddf3e9;font-size:22px;font-weight:700}.result-card p{color:#617d76;font-size:14px}.result-metrics{display:flex;gap:0;margin:18px 0;background:#eef8f3;border:1px solid #dbefe4;border-radius:10px;padding:13px 0}.result-metrics div{display:flex;flex:1;flex-direction:column;padding:0 16px;border-right:1px solid #d6e9df}.result-metrics div:last-child{border-right:0}.result-metrics strong{font-size:22px;line-height:1.1;color:#24634d}.result-metrics span{font-size:12px;color:#668b79;margin-top:4px}.result-files{font-size:12px;color:#597266;overflow-wrap:anywhere;margin-bottom:15px}.result-files ul{margin:8px 0 0;padding-left:20px}.result-files li{margin:3px 0}.result-note{margin:10px 0 0!important;font-size:12px!important}.download-button{margin-top:2px}footer{text-align:center;padding:16px 0 32px;color:#889aab;font-size:12px}footer span{padding:0 5px;color:#c4d1df}dialog{width:min(650px,calc(100% - 32px));border:1px solid #dce5ee;box-shadow:0 24px 70px rgba(15,37,62,.28);border-radius:16px;color:var(--ink);padding:24px;max-height:min(85vh,800px)}dialog::backdrop{background:rgba(20,39,60,.48)}.dialog-top{display:flex;justify-content:space-between;gap:15px}.dialog-top h2{font-size:21px;letter-spacing:-.025em;margin:4px 0 0}.help-content{font-size:14px;color:#536b82;overflow:auto;max-height:55vh;margin-top:18px;padding-right:12px}.help-content h3{font-size:14px;color:#244661;margin:20px 0 5px}.help-content h3:first-child{margin-top:0}.help-content p{margin:6px 0}.help-content ol{padding-left:19px;margin:7px 0}.help-content li{margin:5px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.icon-close{width:36px;height:36px;font-size:24px}.result-card[hidden]{display:none!important}@media(max-width:650px){.page{width:calc(100% - 28px);margin-top:26px}.topbar-inner{padding:13px 16px}.intro{align-items:flex-start}.version-chip{display:none}.source-layout,.options-grid{grid-template-columns:1fr;gap:15px}.card,.result-card{padding:19px 17px}.source-control .button{min-width:100px}.action-head{flex-direction:column}.result-metrics{flex-direction:column;gap:9px}.result-metrics div{border:0;flex-direction:row;align-items:baseline;gap:9px}.result-metrics strong{font-size:19px}}
.download-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.result-filename{margin:15px 0 9px!important;font-size:13px!important;color:#435e55!important;overflow-wrap:anywhere}.save-feedback{margin:12px 0 0!important;padding:9px 12px;border-radius:7px;background:#edf6f1;color:#315f50!important;font-size:13px!important}.result-note a{color:#075db2;font-weight:700}
/* Mantém o seletor dentro do cartão e abrevia somente a apresentação de nomes extensos. */
.source-layout{grid-template-columns:220px minmax(0,1fr)}
.source-choice,.source-control{min-width:0}
.source-control .selection{flex:1 1 0%;width:auto;min-width:0}
.source-control .button{flex:0 0 auto}
.selection-name{flex:1 1 0%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.selection-count{flex:0 0 auto;white-space:nowrap}
@media(max-width:650px){.source-layout{grid-template-columns:minmax(0,1fr)}}
.elapsed-live{margin:8px 0 0;font-size:13px;color:#607891}.elapsed-live strong{color:#315e82;font-variant-numeric:tabular-nums}.result-metrics #result-elapsed{font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
footer{color:#526a81;font-size:13px;line-height:1.6}.footer-tech{margin-top:3px}
/* Seleção de pastas e histórico. */
.field-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.field-heading label{margin-bottom:7px}.history-clear{border:0;padding:0;background:none;color:#376f9c;font:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}.history-clear:hover{text-decoration:underline}.history-clear:disabled{color:#a1aebc;cursor:not-allowed}.source-control .folder-name{min-width:0;flex:1 1 auto;width:auto;padding:0 12px}.destination-field{margin-top:20px;padding-top:18px;border-top:1px solid #edf1f5}.optional{font-weight:500;color:#778b9c}.folder-privacy-note{margin:13px 0 0;color:#657c91;font-size:12px}.source-control input::placeholder{color:#8c9baa}
/* Manual: cabeçalho, seções e exemplos fáceis de consultar. */
#help-dialog{width:min(780px,calc(100% - 32px));max-height:min(90vh,900px);padding:25px 28px}.manual-header{display:flex;align-items:flex-start;gap:14px;padding-bottom:18px;border-bottom:1px solid #e5edf5}.manual-header img{flex:none;border-radius:10px}.manual-heading{flex:1;min-width:0}.manual-heading h2{font-size:20px;line-height:1.25;letter-spacing:-.025em;margin:4px 0 2px}.manual-heading h2 span{color:#8bacc7}.manual-heading p{font-size:12px;font-weight:650;color:#6f879d;margin:0}.manual-header .icon-close{flex:none}.help-content{font-size:14px;line-height:1.65;color:#455f77;overflow:auto;max-height:min(62vh,610px);margin-top:18px;padding-right:14px}.help-content .manual-intro{font-size:15px;color:#304d68;margin:0 0 20px}.help-content section{padding:0 0 17px;margin:0 0 17px;border-bottom:1px solid #eaf0f6}.help-content section:last-child{border-bottom:0;margin-bottom:0}.help-content h3{display:flex;align-items:baseline;gap:10px;color:#173e62;font-size:16px;margin:0 0 10px}.help-content h3 span{font-size:12px;color:#4783b5;letter-spacing:.04em}.help-content h4{font-size:13px;color:#244b6c;margin:0 0 6px}.help-content p{margin:0 0 10px;text-align:justify}.help-content p:last-child{margin-bottom:0}.help-content ol{padding-left:21px;margin:0 0 10px}.help-content li{margin:5px 0}.manual-examples{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}.manual-examples>div{min-width:0;border:1px solid #dfeaf5;background:#f7faff;border-radius:9px;padding:12px 14px}.manual-examples p{font-size:12px;color:#607b91;margin-top:8px;overflow-wrap:anywhere;text-align:left}.folder-tree,.folder-tree ul{list-style:none;padding-left:0;margin:0}.folder-tree ul{border-left:2px solid #d5e4f1;padding-left:12px;margin-left:4px}.folder-tree li{margin:4px 0;overflow-wrap:anywhere}.manual-example-line{background:#f3f7fb;border-left:3px solid #7badcf;border-radius:4px;padding:8px 11px;font-size:13px;overflow-wrap:anywhere;text-align:left!important}.help-content strong{color:#244a69}@media(max-width:650px){#help-dialog{padding:19px 17px}.manual-header{gap:10px}.manual-header img{width:40px;height:40px}.manual-heading h2{font-size:17px}.manual-examples{grid-template-columns:1fr}.help-content{max-height:60vh;padding-right:7px}.help-content p{text-align:left}.field-heading{gap:5px}.history-clear{font-size:11px}}
