#rpgPurpose{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;border-bottom:1px solid #d2dcce;padding-bottom:12px;margin-bottom:12px}#rpgPurpose h3,#rpgPurposeHint{grid-column:1/-1;margin:4px 0}#rpgPurpose button{min-height:48px;white-space:normal;font-size:11px;line-height:1.3;border-radius:8px;margin:0}#rpgPurpose button.active{background:#355b4b;color:#fff;border-color:#355b4b}#rpgBasics{border-top:1px solid #d1dccd;padding-top:8px}#rpgFiles{width:min(100%,920px);text-align:left;background:#fbfcf7;border:1px solid #c8d4c1;padding:12px 16px;border-radius:10px;flex-shrink:0}#rpgFiles h3{margin:0 0 8px;font-size:14px}#rpgDownloads{display:flex;flex-wrap:wrap;gap:8px}.rpg-download{display:block;padding:7px 10px;border:1px solid #b9cbb2;border-radius:6px;color:#284e3d;background:white;font-size:12px;overflow-wrap:anywhere}#rpgLegendPreview{columns:2;max-height:180px;overflow:auto;padding-left:20px;font-size:12px}#rpgLegendPreview:empty{display:none}#gmStage #gmPreview{flex:0 0 auto;max-height:calc(100vh - 210px);max-width:100%;min-height:100px}#rpgPickOverlay{position:absolute;inset:0;z-index:25;touch-action:none;cursor:crosshair;outline:none}.rpg-pick-box{position:absolute;border:2px solid #ca9b39;background:#e9c26230;pointer-events:none}.rpg-pick-help{position:absolute;top:14px;left:50%;transform:translateX(-50%);padding:10px 16px;background:#fafff3f2;border:1px solid #b7c9ae;border-radius:8px;color:#294336;pointer-events:none;max-width:90%;font-size:13px;box-shadow:0 3px 16px #20352822}#rpgNotes textarea{width:100%;box-sizing:border-box}#rpgAdvanced{border-top:1px solid #d5dece;margin-top:10px}#exportProperties .gm-saved[hidden],#rpgNotes[hidden],#rpgLegendPreview[hidden]{display:none!important}@media(max-width:700px){#rpgLegendPreview{columns:1}#rpgPurpose{grid-template-columns:1fr}#rpgPurpose button{min-height:36px}}

#rpgDownloads:empty::before{content:"После подготовки карты здесь появятся ссылки на файлы.";font-size:12px;color:#687b6b}
