.restore-panel{padding:0;overflow:hidden}.restore-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:18px}.restore-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:var(--text)}.restore-form select,.restore-form input:not([type=checkbox]){width:100%;min-height:38px}.restore-notify{grid-column:1/-1;flex-direction:row!important;align-items:center;font-weight:500!important}.restore-notify input{margin:0}.restore-form>button{justify-self:start}.restore-status{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;padding:12px;color:var(--muted);background:#fff}.restore-status.ready{border-color:#a9d9e8;background:#f2fbfe;color:#17647a}.restore-warning{border-left:4px solid var(--red);border-radius:6px;background:#fff4f4;padding:14px;line-height:1.55}.restore-confirm{max-width:560px}@media(max-width:780px){.restore-form{grid-template-columns:1fr}}
.restore-form>[hidden]{display:none!important}.restore-status>button{margin-left:12px}.restore-form>span{grid-column:1/-1;min-width:0}
.restore-picker-navigation{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.restore-picker-navigation input{flex:1;min-width:180px}
.restore-picker-file{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;padding:10px;border:1px solid #E5E7EB;border-radius:6px;cursor:pointer;min-width:0}
.restore-picker-file:hover{background:#EFF6FF}
.restore-picker-file input{width:18px!important;height:18px;flex:none}
.restore-picker-file span{flex:1;min-width:0;overflow-wrap:anywhere}
.restore-picker-file small{white-space:nowrap;color:#6B7280}
.restore-picker-folder{text-align:left;white-space:normal;overflow-wrap:anywhere}
.restore-selected-summary{max-height:140px;overflow:auto;margin-top:8px}
.restore-selected-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;min-width:0}
.restore-selected-row span{min-width:0;overflow-wrap:anywhere}
.restore-selected-row button{flex:none;font-size:12px;padding:4px 8px}
.restore-target-info,.restore-original-info{overflow-wrap:anywhere;white-space:normal;color:#6B7280;font-size:13px;line-height:1.6}
.restore-confirm .tenant-dialog-body{grid-template-columns:minmax(0,1fr)}
.restore-confirm .restore-warning{min-width:0;overflow-wrap:anywhere}
.restore-execution-result{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.restore-result-summary{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere;line-height:1.5}.restore-execution-result>button{flex-shrink:0;margin-left:0}.restore-status.success{background:#f0fdf4;border-color:#86efac;color:#166534}.restore-status.warning{background:#fffbeb;border-color:#fcd34d;color:#92400e}.restore-status.error{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.restore-status.cancelled{background:#f8fafc;border-color:#cbd5e1;color:#475569}@media(max-width:600px){.restore-execution-result{align-items:flex-start;flex-direction:column}.restore-execution-result>button{max-width:100%;white-space:normal}}

.restore-activity{min-width:0;max-width:100%}.restore-activity-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0}.restore-activity-toolbar label{display:flex;flex:1;min-width:180px;flex-direction:column;gap:6px}.restore-activity .table-wrap{max-width:100%;overflow-x:auto}.restore-activity td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:220px;max-width:420px}

@media(max-width:780px){.restore-activity table,.restore-activity tbody,.restore-activity tr{display:block;width:100%}.restore-activity thead{display:none}.restore-activity tr{border:1px solid var(--line);border-radius:8px;margin-bottom:12px;overflow:hidden}.restore-activity td,.restore-activity td:first-child{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;min-width:0;max-width:none;width:auto;white-space:normal;overflow-wrap:anywhere;border:0;padding:10px 12px}.restore-activity td::before{content:attr(data-label);font-weight:600;color:var(--muted)}.restore-activity td button{justify-self:start;max-width:100%;white-space:normal}.restore-activity .table-wrap{border:0;overflow:visible}}
