:root{font-family:Segoe UI,Arial,sans-serif;color-scheme:dark;background:#0d1117;color:#e6edf3}
*{box-sizing:border-box}body{margin:0;background:#0d1117;color:#e6edf3}button{font:inherit}
header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid #30363d;background:#111820;gap:20px;position:sticky;top:0;z-index:3}
h1{margin:0;font-size:24px}#version{font-size:12px;color:#8b949e}#summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sum{background:#161b22;border:1px solid #30363d;border-radius:10px;padding:8px 12px;min-width:105px}.sum b{display:block;font-size:20px}.sum span{font-size:11px;color:#8b949e}
.layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:calc(100vh - 88px)}aside{border-right:1px solid #30363d;background:#111820;padding:14px;overflow:auto}.aside-title{font-weight:700;margin-bottom:12px;color:#c9d1d9}.unit{margin-bottom:8px;border:1px solid #30363d;border-radius:10px;overflow:hidden;background:#0d1117}.unit>button{width:100%;text-align:left;border:0;background:#161b22;color:#e6edf3;padding:11px 12px;font-weight:700;cursor:pointer}.pcs{padding:6px}.pc-btn{display:flex;justify-content:space-between;align-items:center;width:100%;padding:9px 10px;margin:4px 0;border:1px solid transparent;border-radius:8px;background:transparent;color:#c9d1d9;cursor:pointer;text-align:left}.pc-btn:hover,.pc-btn.active{background:#1f2937;border-color:#3b82f6}.dot{font-size:15px}.online{color:#3fb950}.offline{color:#f85149}.warn{color:#d29922}.bad{color:#f85149}.ok{color:#3fb950}.muted{color:#8b949e}
main{padding:20px;overflow:auto}.empty-panel{border:1px dashed #30363d;border-radius:14px;padding:42px;color:#8b949e;text-align:center}.topbar{display:flex;justify-content:space-between;gap:12px;align-items:start}.topbar h2{margin:0 0 4px}.badge{display:inline-block;border:1px solid currentColor;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin:16px 0}.metric{background:#161b22;border:1px solid #30363d;border-radius:10px;padding:12px}.metric span{display:block;font-size:12px;color:#8b949e}.metric b{display:block;margin-top:4px;font-size:18px}.panel{background:#161b22;border:1px solid #30363d;border-radius:12px;padding:14px;margin:12px 0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel h3{margin:0 0 10px}.row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #21262d}.row:last-child{border-bottom:0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.actions button,.printer button,.dialog-head button{border:1px solid #3b82f6;background:#13233a;color:#dbeafe;border-radius:8px;padding:8px 11px;cursor:pointer}.actions button.danger{border-color:#f85149;background:#32141a;color:#ffd7d7}.actions button:disabled,.printer button:disabled{opacity:.45;cursor:not-allowed}.printer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;margin-top:10px}.printer{border:1px solid #30363d;border-radius:10px;padding:11px;background:#0d1117}.printer h4{margin:0 0 7px;font-size:14px;word-break:break-word}.printer .meta{font-size:12px;color:#8b949e;line-height:1.5}.printer .job{font-size:13px;margin:8px 0}dialog{width:min(900px,90vw);background:#111820;color:#e6edf3;border:1px solid #30363d;border-radius:12px}dialog::backdrop{background:#0009}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0}pre{white-space:pre-wrap;word-break:break-word;background:#0d1117;border-radius:8px;padding:12px;max-height:60vh;overflow:auto}
@media(max-width:850px){header{height:auto;position:static}.layout{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid #30363d}.grid{grid-template-columns:repeat(2,1fr)}}

.top-actions{margin:12px 0 4px}.small{font-size:12px}.mini{font-size:11px;margin-top:6px}.mono{font-family:Consolas,monospace;word-break:break-all}.printer-actions{display:flex;flex-wrap:wrap;gap:7px}.printer-actions button{margin:0}details{margin-top:10px;border-top:1px solid #21262d;padding-top:8px}summary{cursor:pointer;color:#c9d1d9;font-weight:600}dialog label{display:block;margin:12px 0;font-size:13px;color:#c9d1d9}dialog input{display:block;width:100%;margin-top:5px;padding:9px 10px;border-radius:8px;border:1px solid #30363d;background:#0d1117;color:#e6edf3}

.file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-top:10px}.file-box{border:1px solid #30363d;border-radius:10px;padding:12px;background:#0d1117}.file-box h4{margin:0 0 10px}.file-box label{display:block;margin:8px 0;font-size:12px;color:#c9d1d9}.file-box input[type=text],.file-box input:not([type]){width:100%}.file-box input[type=file]{width:100%;margin-bottom:8px}.file-box label input:not([type=checkbox]){display:block;width:100%;margin-top:5px;padding:8px;border:1px solid #30363d;border-radius:7px;background:#111820;color:#e6edf3}.file-box button,.button-link{display:inline-block;border:1px solid #3b82f6;background:#13233a;color:#dbeafe;border-radius:8px;padding:8px 11px;cursor:pointer;text-decoration:none}.check{display:flex!important;align-items:center;gap:7px}.check input{width:auto!important;margin:0!important}.transfer-list{margin-top:10px}.transfer-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #21262d}.transfer-row:last-child{border-bottom:0}.transfer-row>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}


/* 0.1.12.1 — envio de arquivos simplificado */
.file-panel .panel-head h3{margin-bottom:2px}.quick-send{max-width:760px;margin:14px auto 4px;padding:16px;border:1px solid #30363d;border-radius:12px;background:#0d1117}.quick-send-target{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;margin-bottom:12px}.quick-send-target span{font-size:12px;color:#8b949e}.quick-send-target b{font-size:16px}.quick-send-target small{grid-column:2;color:#8b949e;margin-top:2px}.file-drop{display:flex;align-items:center;justify-content:center;gap:12px;min-height:110px;padding:18px;border:2px dashed #3b82f6;border-radius:12px;background:#111820;cursor:pointer;text-align:left;transition:.15s ease}.file-drop:hover,.file-drop.drag{background:#13233a;border-color:#58a6ff;transform:translateY(-1px)}.file-drop-icon{font-size:30px;line-height:1;color:#58a6ff}.selected-file-info{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0;padding:10px 12px;border:1px solid #30363d;border-radius:8px;background:#111820}.selected-file-info b{word-break:break-all}.selected-file-info span{white-space:nowrap;color:#8b949e}.primary-wide{width:100%;border:1px solid #3b82f6;background:#1f6feb;color:#fff;border-radius:9px;padding:11px 14px;font-weight:700;cursor:pointer}.primary-wide:disabled{opacity:.45;cursor:not-allowed}.send-progress{min-height:17px;margin-top:8px}.destination-hint{margin-top:8px;font-size:11px;color:#8b949e;word-break:break-all}.advanced-file-options{max-width:760px;margin:10px auto}.file-options-row{padding-top:8px}.file-options-row label{display:block;margin:7px 0;font-size:12px;color:#c9d1d9}.file-options-row input:not([type=checkbox]){display:block;width:100%;margin-top:5px;padding:8px;border:1px solid #30363d;border-radius:7px;background:#0d1117;color:#e6edf3}.secondary-file-grid{margin-top:12px}@media(max-width:600px){.quick-send{padding:12px}.file-drop{min-height:90px}.selected-file-info{align-items:flex-start;flex-direction:column}}

/* 0.1.12.3 — navegador remoto de pastas */
.remote-browser{margin:14px 0;padding:14px;border:1px solid #30363d;border-radius:12px;background:#0d1117}.remote-browser-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.remote-browser-head>div:first-child{display:flex;flex-direction:column;gap:3px}.remote-browser-head small{color:#8b949e}.browser-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.browser-actions button,.browser-path-row button{border:1px solid #3b82f6;background:#13233a;color:#dbeafe;border-radius:8px;padding:7px 10px;cursor:pointer}.browser-actions button:disabled{opacity:.4;cursor:not-allowed}.browser-path-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:12px 0}.browser-path-row input{width:100%;padding:9px 10px;border:1px solid #30363d;border-radius:8px;background:#111820;color:#e6edf3}.browser-list{max-height:300px;overflow:auto;border:1px solid #21262d;border-radius:9px}.browser-entry{width:100%;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;padding:9px 10px;border:0;border-bottom:1px solid #21262d;background:#111820;color:#e6edf3}.browser-entry:last-child{border-bottom:0}.browser-entry.folder,.browser-entry.drive{cursor:pointer}.browser-entry.folder:hover,.browser-entry.drive:hover{background:#182335}.browser-entry.file{cursor:default}.entry-icon{font-size:17px;text-align:center}.entry-main{display:flex;min-width:0;flex-direction:column;gap:2px}.entry-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-main small,.entry-size{color:#8b949e;font-size:11px}.entry-size{white-space:nowrap}.browser-message{padding:18px;border:1px dashed #30363d;border-radius:8px;text-align:center}.unsupported-browser{padding:12px}.current-send-dest{display:flex;flex-direction:column;gap:3px;margin:0 0 12px;padding:9px 11px;border:1px solid #30363d;border-radius:8px;background:#111820}.current-send-dest span{font-size:11px;color:#8b949e}.current-send-dest b{font-size:12px;word-break:break-all;color:#dbeafe}@media(max-width:760px){.remote-browser-head{flex-direction:column}.browser-actions{justify-content:flex-start}.browser-entry{grid-template-columns:26px minmax(0,1fr)}.entry-size{grid-column:2}.browser-path-row{grid-template-columns:1fr}.browser-path-row button{width:100%}}


/* 0.1.12.4 — Gerenciador remoto de arquivos */
.file-manager-panel{padding:14px}.fm-shell{margin-top:12px;border:1px solid #30363d;border-radius:12px;overflow:hidden;background:#0d1117}.fm-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px;border-bottom:1px solid #30363d;background:#111820}.fm-toolbar button,.fm-address button,.manager-actions button{border:1px solid #30363d;background:#161b22;color:#dbeafe;border-radius:7px;padding:7px 10px;cursor:pointer}.fm-toolbar button:hover,.fm-address button:hover,.manager-actions button:hover{border-color:#3b82f6;background:#13233a}.fm-toolbar button:disabled{opacity:.4;cursor:not-allowed}.toolbar-sep{width:1px;height:24px;background:#30363d;margin:0 3px}.fm-address{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #30363d;background:#0d1117}.breadcrumbs{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow:auto;white-space:nowrap}.breadcrumbs button{padding:5px 7px;white-space:nowrap}.breadcrumbs span{color:#6e7681}.address-edit{display:flex;gap:5px;min-width:300px}.address-edit input{width:100%;padding:7px 9px;border:1px solid #30363d;border-radius:7px;background:#111820;color:#e6edf3}.fm-main{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:420px}.fm-list-wrap{min-width:0;border-right:1px solid #30363d}.fm-header,.fm-row{display:grid;grid-template-columns:34px minmax(220px,1fr) 105px 95px 150px;align-items:center;gap:6px;padding:7px 10px}.fm-header{position:sticky;top:0;background:#161b22;color:#8b949e;font-size:11px;border-bottom:1px solid #30363d;z-index:1}.fm-list{max-height:520px;overflow:auto}.fm-row{min-height:46px;border-bottom:1px solid #21262d;cursor:default;user-select:none}.fm-row:hover{background:#161b22}.fm-row.selected{background:#13233a;outline:1px solid #1f6feb;outline-offset:-1px}.fm-icon{font-size:18px}.fm-name{min-width:0;display:flex;flex-direction:column}.fm-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.fm-name small,.fm-type,.fm-size,.fm-date{color:#8b949e;font-size:11px}.fm-type,.fm-size,.fm-date{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.manager-message{padding:30px;text-align:center}.manager-limit{padding:8px 10px}.fm-side{padding:12px;background:#111820;display:flex;flex-direction:column;gap:12px;min-width:0}.selection-card,.selection-empty,.fm-upload{border:1px solid #30363d;border-radius:10px;background:#0d1117;padding:11px}.selection-empty{display:flex;flex-direction:column;gap:5px;color:#8b949e}.selection-title{display:flex;gap:10px;align-items:flex-start}.selection-title .big-icon{font-size:28px}.selection-title>div{min-width:0;display:flex;flex-direction:column;gap:4px}.selection-title b{word-break:break-word}.selection-title small{color:#8b949e;max-height:48px;overflow:auto}.selection-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;color:#8b949e;font-size:11px}.selection-meta span{border:1px solid #30363d;border-radius:999px;padding:3px 7px}.manager-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.manager-actions button{font-size:12px}.manager-actions button.danger{border-color:#f85149;background:#32141a;color:#ffd7d7}.file-drop.compact{min-height:78px;padding:10px;justify-content:flex-start;text-align:left}.file-drop.compact small{display:block;margin-top:3px;color:#8b949e;word-break:break-all}.fm-upload .selected-file-info{margin:8px 0;padding:8px;font-size:11px}.file-editor-dialog{width:min(1100px,94vw)}.file-editor-dialog textarea{width:100%;height:min(62vh,650px);resize:vertical;margin-top:10px;padding:12px;background:#0d1117;color:#e6edf3;border:1px solid #30363d;border-radius:8px;font:13px/1.45 Consolas,'Courier New',monospace;tab-size:4}.editor-meta,.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}.editor-footer .actions{margin:0}.properties-content{margin-top:12px}.prop-row{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #21262d}.prop-row span{color:#8b949e}.prop-row b{word-break:break-word}.drive-row{cursor:pointer}@media(max-width:1100px){.fm-main{grid-template-columns:1fr}.fm-list-wrap{border-right:0;border-bottom:1px solid #30363d}.fm-side{display:grid;grid-template-columns:1fr 1fr}.address-edit{min-width:220px}}@media(max-width:760px){.fm-address{flex-direction:column;align-items:stretch}.address-edit{min-width:0}.fm-header{display:none}.fm-row{grid-template-columns:30px minmax(0,1fr) 80px}.fm-type{display:none}.fm-date{display:none}.fm-size{text-align:right}.fm-side{grid-template-columns:1fr}.manager-actions{grid-template-columns:1fr 1fr}.prop-row{grid-template-columns:1fr}.toolbar-sep{display:none}}
.fm-toolbar button.paste-action{border-color:#2ea043;background:#16351f;color:#d8f5df;font-weight:700;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 0.1.12.5 - visualizador remoto de arquivos */
.file-preview-dialog,.office-preview-dialog{width:min(1180px,95vw)}
.file-preview-body{margin-top:12px;min-height:220px;max-height:72vh;overflow:auto;border:1px solid #30363d;border-radius:10px;background:#0d1117;display:flex;align-items:center;justify-content:center;padding:12px}
.preview-loading,.preview-fallback,.preview-error{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:180px;text-align:center;color:#8b949e;padding:24px}
.preview-error b{color:#f85149}.preview-image{display:block;max-width:100%;max-height:68vh;object-fit:contain;border-radius:6px}.preview-pdf{width:100%;height:min(68vh,820px);border:0;background:white}.preview-video{display:block;max-width:100%;max-height:68vh;background:#000}.preview-audio-wrap{width:min(620px,100%);display:flex;flex-direction:column;align-items:center;gap:18px;padding:28px}.preview-audio-icon{font-size:64px}.preview-audio{width:100%}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}.office-preview-info{margin-top:10px}.office-preview-content{max-height:68vh;min-height:320px;overflow:auto;white-space:pre-wrap;background:#0d1117;border:1px solid #30363d;border-radius:10px;padding:14px;font:13px/1.5 Consolas,'Courier New',monospace}.button-link{display:inline-block;border:1px solid #3b82f6;background:#13233a;color:#dbeafe;border-radius:8px;padding:8px 11px;text-decoration:none}.button-link:hover{background:#18304f}
@media(max-width:760px){.file-preview-body{padding:6px;max-height:none}.preview-pdf{height:520px}.office-preview-content{min-height:240px}}

/* 0.1.14.0 — painel de unidades e controles visuais */
.brand{display:flex;align-items:center;gap:12px}.home-button{width:38px;height:38px;border:1px solid #30363d;border-radius:9px;background:#161b22;color:#58a6ff;font-size:22px;cursor:pointer}.home-button:hover{border-color:#58a6ff;background:#13233a}
.dashboard-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.dashboard-title h2{margin:0 0 4px}.unit-card-grid{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:14px}.unit-card{min-height:150px;text-align:left;border:1px solid #30363d;border-radius:14px;padding:16px;background:linear-gradient(145deg,#111820,#0d1117);color:#e6edf3;cursor:pointer;box-shadow:0 8px 28px #0003;transition:.15s}.unit-card:hover{transform:translateY(-2px);border-color:#58a6ff}.unit-card.ok-state{border-color:#238636}.unit-card.warn-state{border-color:#9e6a03;background:linear-gradient(145deg,#211b0e,#111820)}.unit-card.bad-state{border-color:#da3633;background:linear-gradient(145deg,#251116,#111820)}.unit-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.unit-card-name{font-size:17px;font-weight:750}.status-light{width:13px;height:13px;border-radius:50%;box-shadow:0 0 12px currentColor}.status-light.green{background:#3fb950;color:#3fb950}.status-light.orange{background:#d29922;color:#d29922}.status-light.red{background:#f85149;color:#f85149}.unit-card-status{margin:14px 0 10px;font-size:12px;font-weight:700}.unit-card-meta{display:flex;gap:16px;flex-wrap:wrap;color:#8b949e;font-size:12px}.unit-detail-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.back-button{border:1px solid #30363d;background:#161b22;color:#dbeafe;border-radius:8px;padding:8px 11px;cursor:pointer}.pc-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.pc-overview-card{border:1px solid #30363d;border-radius:12px;padding:14px;background:#111820;cursor:pointer}.pc-overview-card:hover{border-color:#58a6ff}.pc-overview-card h3{margin:0 0 8px}.pc-overview-card .pc-meta{color:#8b949e;font-size:12px;line-height:1.7}
.admin-box{margin-top:18px;padding-top:12px;border-top:1px solid #30363d}.admin-box button{display:block;width:100%;margin:6px 0;border:1px solid #30363d;background:#161b22;color:#dbeafe;border-radius:8px;padding:8px 11px;cursor:pointer}
.printer-config-dialog{width:min(760px,94vw)}.choice-section{margin:18px 0}.choice-section h3{margin:0 0 9px}.choice-grid{display:grid;gap:10px}.choice-grid.two{grid-template-columns:1fr 1fr}.choice-grid.three{grid-template-columns:repeat(3,1fr)}.choice-card{min-height:100px;border:1px solid #30363d;border-radius:12px;background:#0d1117;color:#e6edf3;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.choice-card:hover{border-color:#58a6ff}.choice-card.selected{border-color:#1f6feb;background:#132b4f;box-shadow:inset 0 0 0 1px #1f6feb}.choice-icon{font-size:30px;color:#79c0ff}.config-preview{margin:14px 0;padding:12px;border:1px solid #30363d;border-radius:10px;background:#0d1117;line-height:1.7}.apply-button{background:#0d419d!important;color:#fff!important;font-weight:700}
@media(max-width:1200px){.unit-card-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.unit-card-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.unit-card-grid,.choice-grid.two,.choice-grid.three{grid-template-columns:1fr}}


/* 0.1.14.1 — experiência mobile aprovada */
.mobile-nav,.mobile-alert-summary,.mobile-chevron{display:none}
@media(max-width:700px){
 body{padding-bottom:70px;background:#07111c}
 header{position:sticky;top:0;height:72px;padding:10px 14px;background:#081827;border-bottom-color:#1e3a50;z-index:20}
 header h1{font-size:20px}.brand{gap:9px}.home-button{width:36px;height:36px}#version{font-size:10px}#summary{display:none}
 .layout{display:block;min-height:calc(100vh - 72px)}aside{display:none}main{padding:12px 10px 20px;overflow:visible}
 .dashboard-title{align-items:center;margin:2px 2px 12px}.dashboard-title h2{font-size:19px}.dashboard-title>.back-button{display:none}.dashboard-title .muted{font-size:11px;line-height:1.45}
 .mobile-alert-summary{display:block;margin-top:5px;font-size:12px;font-weight:700;color:#d29922}
 .unit-card-grid{display:flex;flex-direction:column;gap:10px}.unit-card{position:relative;min-height:116px;width:100%;padding:14px 38px 14px 14px;border-radius:13px;box-shadow:none}.unit-card:hover{transform:none}
 .unit-card-name{font-size:16px}.unit-card-status{margin:10px 0 8px}.unit-card-meta{gap:12px;font-size:11px}.mobile-chevron{display:block;position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:30px;color:#8b949e}
 .unit-detail-head{position:sticky;top:72px;z-index:8;margin:-12px -10px 10px;padding:10px;background:#07111cf2;border-bottom:1px solid #1e3a50}.unit-detail-head h2{font-size:19px}.unit-detail-head .muted{font-size:11px}.back-button{min-height:40px}
 .pc-card-grid{grid-template-columns:1fr;gap:9px}.pc-overview-card{padding:13px;border-radius:12px}.pc-overview-card h3{font-size:16px}.pc-overview-card .pc-meta{line-height:1.55}
 .topbar{align-items:center}.topbar h2{font-size:19px}.top-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.top-actions button{min-height:44px}
 .grid{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.metric{padding:10px}.metric b{font-size:16px}.panel{padding:12px;margin:9px 0}.panel-head{align-items:center}.panel-head h3{font-size:16px}.panel-head button{min-height:40px}
 .printer-list{grid-template-columns:1fr}.printer{padding:12px}.printer-actions{display:grid;grid-template-columns:1fr}.printer-actions button{min-height:44px;width:100%}
 .actions{display:grid;grid-template-columns:1fr;gap:8px}.actions button,.button-link{min-height:44px;width:100%;text-align:center}
 .file-grid{grid-template-columns:1fr}.quick-send{margin:10px 0}.remote-browser{padding:10px}.browser-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.browser-actions button{min-height:42px}
 dialog{width:calc(100vw - 16px);max-width:none;margin:auto 8px;padding:14px;border-radius:14px}.printer-config-dialog{width:calc(100vw - 16px)}.choice-grid.two{grid-template-columns:1fr 1fr}.choice-grid.three{grid-template-columns:1fr}.choice-card{min-height:84px}.choice-icon{font-size:26px}
 .mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;height:64px;z-index:30;background:#081827f5;border-top:1px solid #1e3a50;padding-bottom:max(2px,env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;color:#a8b8c8;font-size:10px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}.mobile-nav button span{font-size:20px;color:#58a6ff}.mobile-nav button:active{background:#102a40;color:#fff}
 .transfer-row{align-items:flex-start;flex-direction:column}.transfer-row>div:last-child{justify-content:flex-start}.row{align-items:flex-start}.mono{font-size:11px}
}
@media(max-width:380px){.choice-grid.two{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.top-actions{grid-template-columns:1fr}.browser-actions{grid-template-columns:1fr}}

/* 0.1.15.0-RC1 — troca controlada de driver de impressora */
.printer-driver-dialog{width:min(760px,94vw)}
.printer-driver-dialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-weight:700}
.printer-driver-dialog select{width:100%;padding:10px 12px;border:1px solid #30363d;border-radius:8px;background:#0d1117;color:#e6edf3}
.driver-selected-info{min-height:72px}.driver-tag{display:inline-block;padding:2px 7px;margin-left:5px;border:1px solid #30363d;border-radius:999px;font-size:11px;color:#8b949e}
@media(max-width:700px){.printer-driver-dialog{width:calc(100vw - 16px)}.printer-driver-dialog select{min-height:44px}}

/* 0.1.15.0-RC6 — preferências do perfil interativo */
.config-preview .mono{word-break:break-word}.config-preview hr{border:0;border-top:1px solid var(--line,#d9dee7);margin:12px 0}


/* 0.1.15.0-RC6-UI1 — computadores compactos e expansíveis */
.pc-compact-list{display:flex;flex-direction:column;gap:8px}
.pc-compact-row{border:1px solid #30363d;border-radius:11px;background:#111820;overflow:hidden;transition:border-color .15s,background .15s}
.pc-compact-row:hover{border-color:#45647f}.pc-compact-row.expanded{border-color:#3b82f6;background:#101a28}
.pc-compact-main{min-height:62px;display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(420px,2fr) auto;align-items:center;gap:14px;padding:9px 11px}
.pc-compact-name{display:flex;align-items:center;gap:10px;min-width:0}.pc-compact-name .status-light{flex:0 0 13px}.pc-compact-name>div{min-width:0;display:flex;flex-direction:column;gap:2px}.pc-compact-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.pc-compact-name small{color:#8b949e;font-size:10px}
.pc-compact-info{display:grid;grid-template-columns:minmax(110px,1.3fr) repeat(3,minmax(72px,.8fr));gap:8px;min-width:0}.pc-compact-info>span,.pc-detail-grid>span{display:flex;flex-direction:column;min-width:0}.pc-compact-info small,.pc-detail-grid small{color:#8b949e;font-size:10px;line-height:1.2}.pc-compact-info b,.pc-detail-grid b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-expand-button,.pc-open-button{border:1px solid #3b82f6;background:#13233a;color:#dbeafe;border-radius:8px;padding:7px 10px;cursor:pointer;white-space:nowrap}.pc-expand-button:hover,.pc-open-button:hover{background:#173456;border-color:#58a6ff}
.pc-compact-details{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 11px 11px 34px;border-top:1px solid #21262d;background:#0d1117}.pc-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:18px;flex:1}.pc-open-button{font-weight:700}
@media(max-width:1050px){.pc-compact-main{grid-template-columns:minmax(180px,1fr) minmax(330px,1.7fr) auto}.pc-compact-info{grid-template-columns:minmax(100px,1.3fr) repeat(3,minmax(62px,.75fr))}}
@media(max-width:760px){.pc-compact-main{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px}.pc-compact-info{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding-left:23px}.pc-expand-button{grid-column:2;grid-row:1}.pc-compact-details{align-items:stretch;flex-direction:column;padding:10px}.pc-detail-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.pc-open-button{width:100%;min-height:42px}.pc-compact-name b{font-size:14px}}


/* 0.1.15.0-RC16 — modulo de diagnostico e perfil de impressoras */
.printer-profile-dialog{width:min(940px,95vw)}
.printer-profile-content{margin-top:14px}
.profile-loading{padding:28px;text-align:center;border:1px dashed #30363d;border-radius:10px;color:#8b949e}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-grid section{border:1px solid #30363d;border-radius:10px;background:#0d1117;padding:12px;min-width:0}
.profile-grid h3{margin:0 0 9px;font-size:14px;color:#c9d1d9}
.profile-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:10px;padding:6px 0;border-bottom:1px solid #21262d;font-size:12px}
.profile-row:last-child{border-bottom:0}.profile-row span{color:#8b949e}.profile-row b{word-break:break-word;text-align:right}
.profile-note{margin-top:10px;padding:10px 12px;border:1px solid #30363d;border-radius:9px;background:#111820;font-size:12px;line-height:1.55}
.profile-details{margin-top:10px}
@media(max-width:700px){.printer-profile-dialog{width:calc(100vw - 16px)}.profile-grid{grid-template-columns:1fr}.profile-row{grid-template-columns:1fr;gap:3px}.profile-row b{text-align:left}}


/* 0.1.16.0-RC5-HF6 — progresso observável da atualização automática */
.updating{color:#58a6ff}.dot.updating{font-size:16px;animation:sentinel-spin 1.1s linear infinite}.status-light.blue{background:#58a6ff;color:#58a6ff}
.agent-update{margin:12px 0;padding:12px 14px;border:1px solid #1f6feb;border-radius:11px;background:#0d2038}
.agent-update.failed{border-color:#f85149;background:#2a1116}.agent-update.done{border-color:#238636;background:#0e2415}
.agent-update-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.agent-update-head b{color:#dbeafe}.agent-update-head span{font-weight:800;color:#79c0ff}
.agent-update.failed .agent-update-head span,.agent-update.failed .agent-update-head b{color:#ffb3b3}.agent-update.done .agent-update-head span,.agent-update.done .agent-update-head b{color:#7ee787}
.agent-update-bar{height:8px;overflow:hidden;border-radius:999px;background:#17263a;border:1px solid #284766}.agent-update-bar>span{display:block;height:100%;background:#58a6ff;transition:width .3s ease}
.agent-update.failed .agent-update-bar>span{background:#f85149}.agent-update.done .agent-update-bar>span{background:#3fb950}
.agent-update-bar.indeterminate>span{width:35%;animation:sentinel-progress 1.2s ease-in-out infinite}
.agent-update-meta{margin-top:7px;font-size:11px;color:#a8b8c8;line-height:1.45}
.agent-update.compact{padding:8px 10px;margin:6px 0}.agent-update.compact .agent-update-meta{font-size:10px}
@keyframes sentinel-progress{0%{transform:translateX(-120%)}100%{transform:translateX(340%)}}
@keyframes sentinel-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.agent-update{padding:10px 11px}.agent-update-head{font-size:12px}.agent-update-meta{font-size:10px}}

/* 0.1.16.0-RC5-HF7 — progresso central e pendencias offline */
.agent-update.pending{border-color:#8b6f2a;background:#231d0e}.agent-update.pending .agent-update-head b{color:#e3b341}
.badge.pending{border-color:#8b6f2a;color:#e3b341;background:#231d0e}.dot.pending{color:#e3b341}
.fleet-update-panel{margin:0 0 16px;padding:14px;border:1px solid #30363d;border-radius:12px;background:#0d1117}
.fleet-update-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.fleet-update-head>div:first-child{display:flex;flex-direction:column;gap:3px}.fleet-update-head small{color:#8b949e}
.fleet-update-counts{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.fleet-update-counts span{padding:4px 8px;border:1px solid #30363d;border-radius:999px;background:#111820}
.fleet-update-list{display:grid;gap:8px}.fleet-update-row{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:12px;align-items:center;padding:8px 0;border-top:1px solid #21262d}.fleet-update-row:first-child{border-top:0}.fleet-update-row>div:first-child{display:flex;flex-direction:column;gap:2px}.fleet-update-row small{color:#8b949e}
@media(max-width:700px){.fleet-update-head{flex-direction:column}.fleet-update-row{grid-template-columns:1fr}}

/* 0.1.16.0-RC5-HF9 — estados por computador dentro dos cards das unidades */
.agent-update.waiting-start{border-color:#9e6a03;background:#271d0c}.agent-update.waiting-start .agent-update-head b,.agent-update.waiting-start .agent-update-head span{color:#e3b341}
.agent-update.waiting-start .agent-update-bar{border-color:#6e520c;background:#17140d}.agent-update.waiting-start .agent-update-bar>span{background:#d29922}
.agent-update.pending{border-color:#484f58;background:#161b22}.agent-update.pending .agent-update-head b,.agent-update.pending .agent-update-head span{color:#8b949e}.agent-update.pending .agent-update-meta{color:#8b949e}
.badge.waiting{border-color:#9e6a03;color:#e3b341;background:#271d0c}.dot.waiting{color:#d29922;font-size:16px;animation:sentinel-pulse 1.35s ease-in-out infinite}
.badge.pending{border-color:#484f58;color:#8b949e;background:#161b22}.dot.pending{color:#8b949e}
.fleet-update-counts .wait{border-color:#9e6a03;color:#e3b341;background:#271d0c}.fleet-update-counts .pending-count{border-color:#484f58;color:#8b949e;background:#161b22}
@keyframes sentinel-pulse{0%,100%{opacity:.5}50%{opacity:1}}

/* HF9 — atualização compacta dentro de cada card de unidade */
.unit-card-pcs{margin-top:12px;padding-top:10px;border-top:1px solid #30363d;display:grid;gap:6px}
.unit-card-pc{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0;font-size:11px}
.unit-card-pc-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c9d1d9;font-weight:650}
.unit-card-pc-state{flex:0 0 auto;font-weight:750;white-space:nowrap}.unit-card-pc-state.updated{color:#3fb950}.unit-card-pc-state.running{color:#58a6ff}.unit-card-pc-state.waiting{color:#d29922}.unit-card-pc-state.pending{color:#8b949e}.unit-card-pc-state.failed{color:#f85149}.unit-card-pc-state.online{color:#3fb950}.unit-card-pc-state.offline{color:#8b949e}
@media(max-width:600px){.unit-card-pc{font-size:10px}.unit-card-pcs{margin-right:0}}
