.ev113-dialog {
  width:min(680px,calc(100vw - 28px));
  max-height:90dvh;
  padding:0;
  border:1px solid #cbd9e8;
  border-radius:14px;
  color:#163751;
  background:white;
  box-shadow:0 18px 65px #061c3e55;
}
.ev113-dialog::backdrop {background:#071e3b77}
.ev113-dialog>header {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;background:#123452;color:white}
.ev113-dialog>header h2 {margin:0;font-size:17px}
.ev113-dialog>header button,.ev113-storage button {padding:6px 12px;border:0;border-radius:7px;cursor:pointer}
.ev113-dialog iframe {width:100%;height:min(65dvh,590px);border:0;display:block}
.ev113-popup main {box-sizing:border-box;max-width:none;margin:0;padding:14px}
.ev113-popup main h2 {font-size:16px;margin:0 0 12px}
.ev113-popup form {margin:10px 0;padding:10px}
.ev113-summary {display:flex;flex-wrap:wrap;gap:8px}
.ev113-summary span {padding:6px 8px;border-radius:8px;background:white}
.ev113-summary strong {margin-inline-start:5px}
.ev113-storage {display:grid;gap:12px;padding:16px}
.ev113-storage label {display:grid;gap:6px}
.ev113-storage button {justify-self:start;background:#076f67;color:white}

.ev118-links {display:flex;flex-wrap:wrap;gap:8px}
.ev118-links button:disabled {opacity:.55;cursor:default}

.ev119-setup { border-top:1px solid #d9e4eb;padding-block-start:10px; }
.ev119-setup summary { font-weight:700;cursor:pointer; }
.ev119-setup label[hidden] { display:none; }
.ev119-setup input { box-sizing:border-box;width:100%;padding:7px; }
.ev119-setup button { margin-block:4px; }

.ev113-dialog.ev120-task-dialog {width:min(1120px,calc(100vw - 32px));max-height:94dvh}
.ev120-task-dialog>header {margin:0;border:0;border-radius:0;padding:14px 22px}
.ev120-task-dialog>iframe {height:min(80dvh,780px)}
.ev113-popup {background:#f2f6fa}
.ev113-popup main {padding:clamp(12px,2.5vw,26px)}
.ev113-popup main>h2 {font-size:clamp(18px,2.5vw,24px);overflow-wrap:anywhere}
.ev113-popup .ev113-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ev113-popup .ev113-summary span {display:grid;gap:3px;padding:10px 14px;border:1px solid #d9e5ee}
.ev113-popup .ev113-summary strong {font-size:1.15rem;margin:0}
.ev120-rule,.ev120-actions form,.ev120-files,.ev120-sheet {background:#fff;border:1px solid #d9e5ee;border-radius:12px;padding:16px}
.ev113-popup .ev120-rule {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:14px 0;padding:12px 16px}
.ev120-rule label {margin:0}
.ev120-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.ev113-popup .ev120-actions form {margin:0;padding:16px;display:grid;align-content:start;gap:8px}
.ev120-actions label {display:grid;gap:4px;margin:0}
.ev120-actions input {width:100%;background:#fcfdff}
.ev120-actions small {margin:0}
.ev120-actions button {justify-self:start}
.ev120-files ul {list-style:none;padding:0;margin:0}
.ev120-files li {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e3ebf2}
.ev120-files li strong {display:block;overflow-wrap:anywhere}
.ev120-files small {display:block;margin:0;color:#4e6375}
.ev120-file-actions,.ev120-viewer-bar {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ev120-file-actions {flex-shrink:0}
.ev120-file-actions a,.ev120-viewer-bar a {padding:5px 11px;border:1px solid #aabfce;border-radius:7px;text-decoration:none}
.ev120-file-actions .ev120-primary {color:white;background:#0b655f;border-color:#0b655f}
.ev120-viewer-bar {justify-content:space-between;margin-bottom:12px}
.ev120-viewer .ev120-viewer-bar h2 {margin:0;overflow-wrap:anywhere}
.ev120-note {background:#e7eff7;padding:10px 14px;border-radius:8px}
.ev120-sheet {margin:8px 0}
.ev120-table {overflow:auto;max-height:52dvh;margin-top:8px}
.ev120-table table {border-collapse:collapse;min-width:100%}
.ev120-table caption {text-align:start;color:#4e6375}
.ev120-table td {border:1px solid #e0e9f1;padding:5px 8px;min-width:65px;white-space:pre-wrap;overflow-wrap:anywhere}
.ev120-table tr:nth-child(even) {background:#f4f8fc}
.ev120-media {border:1px solid #d9e5ee;border-radius:8px;background:white;display:block;max-width:100%;margin:auto}
iframe.ev120-media {width:100%;height:65dvh}
@media(max-width:600px) {
  .ev113-dialog.ev120-task-dialog {width:calc(100vw - 12px)}
  .ev120-actions {grid-template-columns:1fr}
  .ev120-files li {align-items:flex-start;flex-direction:column}
  .ev113-popup .ev113-summary span {padding:7px;overflow-wrap:anywhere}
}

.ev113-dialog.ev120-task-dialog[open] {
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  height:min(88dvh,860px);
  overflow:hidden;
}
.ev120-task-dialog>header {justify-content:start;gap:8px}
.ev120-task-dialog>header h2 {margin-inline-end:auto}
.ev120-task-dialog>iframe {height:100%;min-height:0}
.ev113-dialog.ev120-task-dialog.ev121-expanded[open] {
  position:fixed;inset:0;box-sizing:border-box;margin:0;
  width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;
}
body.ev121-preview {height:100dvh;overflow:hidden}
.ev121-preview main.ev120-viewer {
  height:100%;display:flex;flex-direction:column;overflow:auto;
  padding:0;
}
.ev121-preview .ev120-viewer-bar {
  flex:none;gap:6px;margin:0;padding:6px 10px;border-bottom:1px solid #d9e5ee;
}
.ev121-preview .ev120-viewer-bar h2 {flex:1;min-width:120px;text-align:center;font-size:14px}
.ev121-preview .ev120-viewer-bar a {font-size:13px;padding:3px 8px}
.ev121-preview main.ev121-media-view {overflow:hidden}
.ev121-media-view .ev120-media {flex:1;min-height:0;width:100%;height:auto;border:0;border-radius:0;margin:0}
.ev121-media-view img.ev120-media {object-fit:contain;background:#263442}
.ev121-preview .ev120-note,.ev121-preview .ev120-sheet {margin:8px 12px}
@media(max-width:600px) {
  .ev120-task-dialog>header {padding:8px 10px}
  .ev120-task-dialog>header h2 {font-size:14px}
  .ev120-task-dialog>header button {padding:5px 7px;font-size:12px}
  .ev121-preview .ev120-viewer-bar h2 {order:-1;flex-basis:100%;text-align:start}
}
