.st-launchers{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 18px;align-items:center}.st-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #536a95;border-radius:10px;color:#eaf3ff;background:#17263d;font:inherit;font-weight:650;text-decoration:none;cursor:pointer;transition:background .16s,border-color .16s}.st-button:hover:not(:disabled){background:#243c5d;border-color:#94c8ff}.st-button:focus-visible,#olimp-smr-tools :focus-visible{outline:2px solid #9ed5ff;outline-offset:3px}.st-button:disabled{opacity:.45;cursor:not-allowed}.st-primary,#olimp-smr-tools [data-save]{background:#e7bf75;color:#132033;border-color:#f1d6a0}#olimp-smr-tools{width:min(1000px,calc(100vw - 28px));max-width:100%;max-height:90vh;padding:22px;border:1px solid #536c94;border-radius:18px;background:#0d182a;color:#ecf4ff;box-shadow:0 24px 80px #000a;overflow:auto;box-sizing:border-box;font:inherit}#olimp-smr-tools::backdrop{background:#030911b8}#olimp-smr-tools [hidden]{display:none!important}.st-head,.st-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.st-head{border-bottom:1px solid #344a67;padding-bottom:12px;margin-bottom:12px}.st-head h2{margin:0;font-size:clamp(18px,2.2vw,26px)}.st-actions{justify-content:flex-start;margin:12px 0}.st-muted,.st-file small{color:#b4c5df;font-size:13px}.st-scroll{overflow:auto;max-height:47vh;border:1px solid #344a67;border-radius:10px}.st-scroll table{border-collapse:collapse;min-width:650px;width:100%;font-size:13px}.st-scroll th,.st-scroll td{padding:8px;text-align:center;border-bottom:1px solid #293e59;border-right:1px solid #293e59}.st-scroll th:first-child{text-align:left}.st-scroll .st-button{font-size:12px;padding:6px;min-height:32px}.st-cell{display:grid;place-items:center;gap:5px;cursor:pointer;min-height:40px}.st-cell small{font-size:11px;color:#b9c9e0}.st-cell:has(input:checked){background:#3e3826;border-radius:7px}.st-cell input,.st-choice input{width:20px;height:20px;accent-color:#e7bf75}.st-locked{color:#8798b0;background:#111c2c}.st-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-weight:600}.st-field select,.st-field textarea,.st-field input{font:inherit;color:#eaf3ff;background:#17263d;border:1px solid #536a95;padding:10px;border-radius:8px;max-width:100%;box-sizing:border-box}.st-choice{display:flex;gap:8px;align-items:flex-start;font-size:13px}.st-message,.st-result{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.st-message{color:#a7f0cc}.st-message.st-error{color:#ff9eac}.st-file{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #344a67;border-radius:10px;margin:8px 0;flex-wrap:wrap}.st-file>div{flex:1;min-width:150px;overflow-wrap:anywhere}.st-file small{display:block;margin-top:3px}.st-files{margin-top:16px}@media(max-width:600px){#olimp-smr-tools{padding:12px}.st-launchers .st-button{font-size:13px}.st-file .st-button{font-size:13px}}@media(prefers-reduced-motion:reduce){.st-button{transition:none}}

/* Document preview: no animated layers or expensive filters. */
#olimp-document-viewer{box-sizing:border-box;width:min(1440px,96vw);height:92dvh;max-width:96vw;max-height:92dvh;margin:auto;padding:16px;border:1px solid #536a95;border-radius:16px;background:#0d182a;color:#ecf4ff;overflow:hidden;box-shadow:0 12px 50px #0009}
#olimp-document-viewer[open]{display:flex;flex-direction:column;gap:12px}#olimp-document-viewer::backdrop{background:#020711da}#olimp-document-viewer.dv-expanded,#olimp-document-viewer:fullscreen{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0}
.dv-head,.dv-toolbar,.dv-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dv-head{justify-content:space-between;border-bottom:1px solid #344a67;padding-bottom:8px}.dv-title{flex:1;min-width:0}.dv-title small{color:#e7bf75;font-size:11px;letter-spacing:.13em}.dv-title h2{font-size:clamp(16px,2vw,24px);overflow-wrap:anywhere;margin:5px 0}.dv-toolbar{font-size:13px}.dv-toolbar select{max-width:240px;padding:8px;border:1px solid #536a95;background:#17263d;color:#eef4ff;border-radius:8px}.dv-content{flex:1;min-height:0;min-width:0;overflow:auto;background:#111e31;border:1px solid #344a67;border-radius:8px}.dv-pdf{display:block;width:100%;height:100%;border:0;background:#fff}.dv-image-wrap{display:flex;justify-content:center;min-height:100%;padding:20px;align-items:flex-start;overflow:auto}.dv-image{width:100%;height:auto;max-width:none;object-fit:contain;transform-origin:center top}.dv-status{margin:0;color:#b4c5df;font-size:12px;line-height:1.4}.dv-loading{padding:24px;color:#c6d6ec}.dv-table{border-collapse:collapse;min-width:100%;font-size:13px;background:#fff;color:#152239}.dv-table th,.dv-table td{border:1px solid #d5deeb;padding:7px 10px;min-width:90px;max-width:420px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.dv-table th{background:#e8eef7;position:sticky;top:0;z-index:1}.dv-table tr:nth-child(even) td{background:#f5f8fc}.dv-word{max-width:900px;margin:12px auto;padding:24px;background:white;color:#182538;white-space:pre-wrap;overflow-wrap:anywhere}.dv-word p{margin:0 0 12px}.dv-word table{margin:0 0 6px}.dv-word .dv-table td{min-width:40px}@media(max-width:600px){#olimp-document-viewer{padding:10px;width:98vw;max-width:98vw;height:95dvh;max-height:95dvh}.dv-head{gap:4px}.dv-actions .st-button,.dv-toolbar .st-button{min-height:32px;font-size:12px;padding:5px 8px}.dv-title{flex-basis:100%}.dv-toolbar{gap:4px}.dv-word{padding:12px}}
