/* Strommonitor 1.6 · Tapo Mehrfach-Upload */
.tapo-export-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 20px}
.tapo-export-card{display:flex;align-items:flex-start;gap:15px;min-width:0;border:1px solid #30465c;border-radius:15px;background:linear-gradient(140deg,#1b2d42,#112439);padding:19px}
.tapo-export-card.essential{border-color:#287b80;background:linear-gradient(120deg,#14373c,#132537)}
.tapo-export-card strong{font-size:.98rem;color:#f3f9ff;overflow-wrap:anywhere}
.tapo-export-card p{margin:8px 0 10px;font-size:.86rem;line-height:1.48;color:#aec3d7}
.tapo-export-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:52px;height:52px;background:#23465d;color:#7dd9ea;border-radius:12px;font-weight:780;font-size:.97rem}
.essential .tapo-export-icon{background:#1b5956;color:#a0f4d4}
.tapo-export-tag{display:inline-block;color:#a6d5d9;background:#204450;border-radius:99px;padding:5px 11px;font-size:.71rem}
.tapo-plug-select{margin:22px 0 16px;max-width:570px}
.tapo-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:30px 22px;border:2px dashed #4385a2;border-radius:17px;background:radial-gradient(circle at 50% 0%,#17465a55,transparent 65%),#102739;min-height:215px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s;user-select:none}
.tapo-dropzone:hover,.tapo-dropzone.is-dragging{border-color:#72e3e5;background:#133b47;box-shadow:inset 0 0 0 1px #72e3e544}
.tapo-dropzone.is-dragging{transform:scale(1.006)}
.tapo-dropzone:focus-within{outline:3px solid #77cbf0;outline-offset:3px}
.tapo-dropzone-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;left:50%;top:50%;padding:0;border:0}
.tapo-dropzone-mark{width:55px;height:55px;display:flex;align-items:center;justify-content:center;background:linear-gradient(125deg,#246788,#1e516a);border-radius:16px;color:#b4f4fa;font-size:2.15rem;line-height:1;margin:0 0 3px}
.tapo-dropzone strong{font-size:1.19rem;color:#fff}
.tapo-dropzone>span:not(.tapo-dropzone-mark){color:#aac8d8;font-size:.91rem}
.tapo-drop-link{color:#80e7ef;text-decoration:underline;text-underline-offset:3px;font-weight:650}
.tapo-dropzone small{color:#89aabb;font-size:.76rem;line-height:1.45;margin-top:4px}
.tapo-file-list{display:grid;gap:7px;margin:13px 0 0}
.tapo-file-placeholder{font-size:.82rem;color:#8eafc3;padding:4px 3px}
.tapo-file-row{display:flex;align-items:center;gap:11px;min-width:0;border:1px solid #29485a;border-radius:10px;background:#10293c;padding:10px 12px}
.tapo-file-badge{display:inline-flex;align-items:center;justify-content:center;min-width:47px;padding:5px 6px;border-radius:7px;background:#205257;color:#a1f4de;font-size:.73rem;font-weight:770}
.tapo-file-row.power .tapo-file-badge{background:#3b3b5e;color:#c5c4ff}
.tapo-file-row.unknown .tapo-file-badge{background:#3a4760;color:#c1d1e6}
.tapo-file-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.tapo-file-body strong{overflow-wrap:anywhere;font-size:.85rem;color:#e8f4fc}
.tapo-file-body small{font-size:.72rem;color:#9fbbce}
.tapo-file-row.error{border-color:#9f5f64}
.tapo-file-row.error .tapo-file-body small{color:#ffc4c6}
.tapo-upload-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:17px}
.tapo-upload-bottom p{flex:1 1 340px;color:#9fb7c9;font-size:.82rem;line-height:1.5;margin:0}
.tapo-upload-bottom button{flex-shrink:0;min-width:174px}
.tapo-upload-bottom button:disabled{opacity:.62;cursor:wait}
.tapo-import-results{background:#102d36;border:1px solid #2d6f74;border-radius:13px;margin:0 0 18px;overflow:hidden}
.tapo-import-results-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 17px;background:#15383e}
.tapo-import-results-head span{color:#a9d6d7;font-size:.79rem}
.tapo-import-results ul{margin:0;padding:7px 15px;list-style:none}
.tapo-import-results li{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid #2f485444}
.tapo-import-results li:last-child{border-bottom:0}
.tapo-import-results li>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#1a6754;color:#a3f8d0;flex-shrink:0}
.tapo-import-results li.tapo-result-duplicate>span{background:#4c465d;color:#dfcfff}
.tapo-import-results li.tapo-result-error>span{background:#693d48;color:#ffd0da}
.tapo-import-results li div{display:grid;gap:4px;min-width:0}
.tapo-import-results li strong{font-size:.84rem;overflow-wrap:anywhere}
.tapo-import-results li small{color:#b3c5cf;font-size:.79rem;overflow-wrap:anywhere}
@media(max-width:680px){.tapo-export-guide{grid-template-columns:1fr}.tapo-export-card{padding:15px}.tapo-dropzone{padding:23px 12px;min-height:200px}.tapo-upload-bottom button{width:100%}.tapo-export-icon{width:43px;height:43px}}
